Summary(pl): Modu³ perla Text-PDF
Name: perl-Text-PDF
Version: 0.12
-Release: 1
+Release: 2
License: GPL
Group: Development/Languages/Perl
Group(de): Entwicklung/Sprachen/Perl
Group(pl): Programowanie/Jêzyki/Perl
Source0: ftp://ftp.perl.org/pub/CPAN/modules/by-module/Text/Text-PDF-%{version}.tar.gz
BuildRequires: rpm-perlprov >= 3.0.3-16
-BuildRequires: perl >= 5.005_03-14
+BuildRequires: perl >= 5.6
BuildRequires: perl-Compress-Zlib
BuildRequires: perl-Font-TTF
%requires_eq perl
%install
rm -rf $RPM_BUILD_ROOT
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
-(
- cd $RPM_BUILD_ROOT%{perl_sitearch}/auto/Text/PDF
- sed -e "s#$RPM_BUILD_ROOT##" .packlist >.packlist.new
- mv -f .packlist.new .packlist
-)
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
-gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man3/* \
- *txt
+gzip -9nf *txt
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc readme.txt.gz
-
+%doc *.gz
%{perl_sitelib}/Text/PDF
-%{perl_sitearch}/auto/Text/PDF
-
%{_mandir}/man3/*