perl-HTML-Mason/perl-HTML-Mason.spec

Name: perl-HTML-Mason
Summary: High-performance, dynamic web site authoring system
Version: 1.45
Release: 2
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/HTML-Mason/
Description: Mason is a Perl-based web site development and delivery system. Mason allows web pages and sites to be constructed from shared, reusable building blocks called components. Components contain a mix of Perl and HTML, and can call each other and pass values back and forth like subroutines. Components increase modularity and eliminate repetitive work: common design elements (headers, footers, menus, logos) can be extracted into their own components where they need be changed only once to affect the whole site.

CentOS 7 x86_64

No build log yet for CentOS 7 x86_64

Build Status

CentOS 6 x86_64

The build could not start because of the following missing build requirements:

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dries
# Upstream: Dave Rolsky <autarch$urth,org>
# Upstream: Jonathan Swartz <swartz$pobox,com>
# Upstream: Ken Williams <ken$mathforum,org>
# Upstream: John Williams <williams$tni,com>

%define perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)

%define real_name HTML-Mason

Summary: High-performance, dynamic web site authoring system
Name: perl-HTML-Mason
Version: 1.45
Release: 2%{?dist}
License: Artistic/GPL
Group: Applications/CPAN
URL: http://search.cpan.org/dist/HTML-Mason/

Source: http://search.cpan.org/CPAN/authors/id/D/DR/DROLSKY/HTML-Mason-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

BuildArch: noarch
BuildRequires: perl(CGI) >= 2.46
BuildRequires: perl(Cache::Cache) >= 1
BuildRequires: perl(Class::Container) >= 0.07
BuildRequires: perl(Exception::Class) >= 1.15
BuildRequires: perl(File::Spec) >= 0.8
BuildRequires: perl(HTML::Entities)
BuildRequires: perl(Module::Build) >= 0.26
BuildRequires: perl(Params::Validate) >= 0.7
BuildRequires: perl(Scalar::Util) >= 1.01
BuildRequires: perl(Test)
BuildRequires: perl(Test::Builder)
BuildRequires: perl(Test::Deep)
Requires: perl(CGI) >= 2.46
Requires: perl(Cache::Cache) >= 1
Requires: perl(Class::Container) >= 0.07
Requires: perl(Exception::Class) >= 1.15
Requires: perl(File::Spec) >= 0.8
Requires: perl(HTML::Entities)
Requires: perl(Log::Any) >= 0.08
Requires: perl(Params::Validate) >= 0.7
Requires: perl(Scalar::Util) >= 1.01
Requires: perl(Test::Deep)

%filter_from_requires /^perl*/d
%filter_setup

%description
Mason is a Perl-based web site development and delivery
system. Mason allows web pages and sites to be constructed from
shared, reusable building blocks called components. Components contain
a mix of Perl and HTML, and can call each other and pass values back
and forth like subroutines. Components increase modularity and
eliminate repetitive work: common design elements (headers, footers,
menus, logos) can be extracted into their own components where they
need be changed only once to affect the whole site.

%prep
%setup -n %{real_name}-%{version}

%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" PREFIX="%{buildroot}%{_prefix}"
%{__make} %{?_smp_mflags}

%install
%{__rm} -rf %{buildroot}
%{__make} pure_install

### Clean up buildroot
find %{buildroot} -name .packlist -exec %{__rm} {} \;

### Clean up docs
find eg/ htdocs/ samples/ -type f -exec %{__chmod} a-x {} \;

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc CREDITS Changes LICENSE MANIFEST MANIFEST.SKIP META.yml README UPGRADE eg/ htdocs/ samples/
%doc %{_mandir}/man3/Bundle::HTML::Mason.3pm*
%doc %{_mandir}/man3/HTML::Mason.3pm*
%doc %{_mandir}/man3/HTML::Mason::*.3pm*
%{_bindir}/mason.pl
%{_bindir}/convert0.*
%dir %{perl_vendorlib}/Apache/
%{perl_vendorlib}/Apache/Mason.pm
%dir %{perl_vendorlib}/Bundle/
%dir %{perl_vendorlib}/Bundle/HTML/
%{perl_vendorlib}/Bundle/HTML/Mason.pm
%dir %{perl_vendorlib}/HTML/
%{perl_vendorlib}/HTML/Mason/
%{perl_vendorlib}/HTML/Mason.pm

%changelog
* Tue Jul 27 2010 Steve Huff <shuff@vecna.org> - 1.45-2
- Captured dependency on Log::Any 0.08.

* Tue May 18 2010 Christoph Maser <cmaser@gmx.de> - 1.45-1
- Updated to version 1.45.

* Tue Jan  5 2010 Christoph Maser <cmr@financial.com> - 1.44-1
- Updated to version 1.44.

* Wed Dec 30 2009 Christoph Maser <cmr@financial.com> - 1.43-1
- Updated to version 1.43.

* Sun Jul  5 2009 Christoph Maser <cmr@financial.com> - 1.42-1
- Updated to version 1.42.

* Tue Oct 07 2008 Dag Wieers <dag@wieers.com> - 1.40-1
- Updated to release 1.40.

* Sun Feb 17 2008 Dag Wieers <dag@wieers.com> - 1.39-1
- Updated to release 1.39.

* Sun Dec 23 2007 Dries Verachtert <dries@ulyssis.org> - 1.38-1
- Updated to release 1.38.

* Fri Apr 28 2006 Dries Verachtert <dries@ulyssis.org> - 1.3200-1
- Changed the version so it's greater as the previous version 1.3101, 
  informed the author about the problem with these versions for rpms.

* Sat Jan  7 2006 Dries Verachtert <dries@ulyssis.org> - 1.32-1
- Updated to release 1.32.

* Sat Dec 31 2005 Dries Verachtert <dries@ulyssis.org> - 1.3101-1
- Initial package.