Author: arekm Date: Wed Jul 6 07:49:21 2011 GMT Module: packages Tag: HEAD ---- Log message: - initial
---- Files affected: packages/perl-HTML-Mason-PSGIHandler: perl-HTML-Mason-PSGIHandler.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/perl-HTML-Mason-PSGIHandler/perl-HTML-Mason-PSGIHandler.spec diff -u /dev/null packages/perl-HTML-Mason-PSGIHandler/perl-HTML-Mason-PSGIHandler.spec:1.1 --- /dev/null Wed Jul 6 09:49:21 2011 +++ packages/perl-HTML-Mason-PSGIHandler/perl-HTML-Mason-PSGIHandler.spec Wed Jul 6 09:49:16 2011 @@ -0,0 +1,66 @@ +# $Revision$, $Date$ +# +# Conditional build: +%bcond_without tests # do not perform "make test" +# +%include /usr/lib/rpm/macros.perl +%define pdir HTML +%define pnam Mason-PSGIHandler +Summary: HTML::Mason::PSGIHandler - PSGI handler for HTML::Mason +Name: perl-HTML-Mason-PSGIHandler +Version: 0.52 +Release: 1 +# same as perl +License: GPL v1+ or Artistic +Group: Development/Languages/Perl +URL: http://search.cpan.org/dist/HTML-Mason-PSGIHandler/ +Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz +# Source0-md5: 42aa3272e16af0d6f35ac031d274dad8 +BuildRequires: perl-devel >= 1:5.8.0 +BuildRequires: rpm-perlprov >= 4.1-13 +%if %{with tests} +BuildRequires: perl-HTML-Mason >= 1.12 +%endif +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +HTML::Mason::PSGIHandler is a PSGI handler for HTML::Mason. It's based +on HTML::Mason::CGIHandler and allows you to process Mason templates +on any web servers that support PSGI. + +%prep +%setup -q -n %{pdir}-%{pnam}-%{version} + +%build +%{__perl} Makefile.PL \ +INSTALLDIRS=vendor +%{__make} + +%{?with_tests:%{__make} test} + +%install +rm -rf $RPM_BUILD_ROOT + +%{__make} install \ +DESTDIR=$RPM_BUILD_ROOT + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%{perl_vendorlib}/HTML/Mason/PSGIHandler.pm +%dir %{perl_vendorlib}/HTML/Mason/PSGIHandler +%{perl_vendorlib}/HTML/Mason/PSGIHandler/Streamy.pm +%{_mandir}/man3/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[email protected]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2011/07/06 07:49:16 arekm +- initial + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
