]> git.pld-linux.org Git - packages/perl-HTML-Mason-PSGIHandler.git/commitdiff
- initial auto/th/perl-HTML-Mason-PSGIHandler-0_52-1
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Wed, 6 Jul 2011 07:49:16 +0000 (07:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-HTML-Mason-PSGIHandler.spec -> 1.1

perl-HTML-Mason-PSGIHandler.spec [new file with mode: 0644]

diff --git a/perl-HTML-Mason-PSGIHandler.spec b/perl-HTML-Mason-PSGIHandler.spec
new file mode 100644 (file)
index 0000000..5b6a54f
--- /dev/null
@@ -0,0 +1,55 @@
+#
+# 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/*
This page took 0.092418 seconds and 4 git commands to generate.