File perl-FCGI.spec of Package perl-FCGI
%define _real_name FCGI
%define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
%define perl_vendorarch %(eval "`perl -V:installvendorarch`"; echo $installvendorarch)
Summary: Fast CGI module
Name: perl-FCGI
Version: 0.67
Release: 1
License: GPL
Group: Applications/CPAN
Packager: Leo Eraly <leo@unstable.be>
URL: http://search.cpan.org/~skimo/FCGI-0.67/FCGI.PL
Source: http://search.cpan.org/CPAN/authors/id/S/SK/SKIMO/FCGI-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
%description
Fast CGI module
%prep
%setup -n %{_real_name}-%{version}
%build
%{__perl} Makefile.PL INSTALLDIRS="vendor" destdir="%{buildroot}"
%{__make}
%install
%{__rm} -rf %{buildroot}
%{__make} install
%{__rm} -rf %{buildroot}%{perl_archlib}/perllocal.pod
find %{buildroot} -name .packlist -exec %{__rm} {} \;
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-, root, root, 0755)
%{_mandir}/man3/*.gz
%dir %{perl_vendorarch}/auto/FCGI/
%{perl_vendorarch}/FCGI.pm
%{perl_vendorarch}/auto/FCGI/*
%changelog
* Thu Feb 19 2009 Leo Eraly <leo@unstable.be> - 0.67-1
- Initial package