]> git.pld-linux.org Git - packages/perl-FCGI.git/commitdiff
- initial release
authorpius <pius@pld-linux.org>
Sat, 9 Oct 1999 19:29:02 +0000 (19:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-FCGI.spec -> 1.1

perl-FCGI.spec [new file with mode: 0644]

diff --git a/perl-FCGI.spec b/perl-FCGI.spec
new file mode 100644 (file)
index 0000000..7c88da8
--- /dev/null
@@ -0,0 +1,57 @@
+Summary:       FCGI perl module
+Summary(pl):   Modu³ perla FCGI
+Name:          perl-FCGI
+Version:       0.45
+Release:       3
+Copyright:     GPL
+Group:         Development/Languages/Perl
+Group(pl):     Programowanie/Jêzyki/Perl
+Source:                ftp://ftp.perl.org/pub/CPAN/modules/by-module//FCGI-%{version}.tar.gz
+BuildRequires: perl >= 5.005_03-10
+%requires_eq   perl
+Requires:      %{perl_sitearch}
+BuildRoot:     /tmp/%{name}-%{version}-root
+
+%description
+FCGI - Fast CGI module
+
+%description -l pl
+FCGI - szybki modu³ CGI
+
+%prep
+%setup -q -n FCGI-%{version}
+
+%build
+perl Makefile.PL
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+strip --strip-unneeded $RPM_BUILD_ROOT/%{perl_sitearch}/auto/FCGI/*.so
+
+(
+  cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/FCGI
+  sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
+  mv .packlist.new .packlist
+)
+
+gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
+        ChangeLog README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc {ChangeLog,README}.gz echo.fpl
+
+%{perl_sitearch}/FCGI.pm
+
+%dir %{perl_sitearch}/auto/FCGI
+%{perl_sitearch}/auto/FCGI/.packlist
+%{perl_sitearch}/auto/FCGI/FCGI.bs
+%attr(755,root,root) %{perl_sitearch}/auto/FCGI/FCGI.so
+
+%{_mandir}/man3/*
This page took 0.04473 seconds and 4 git commands to generate.