Changes of Revision 3
[-] | Added | perl-PDF-API2.spec |
x 1
2 +# 3 +# spec file for package perl-PDF-API2 4 +# 5 + 6 +# norootforbuild 7 + 8 +Name: perl-PDF-API2 9 +%define real_name PDF-API2 10 +Summary: Perl Module Chain to faciliate the Creation and Modification of PDF Files 11 +Url: http://search.cpan.org/perldoc?PDF::API2 12 +Group: Development/Libraries/Perl 13 +License: Artistic License 14 +Version: 0.72.003 15 +Release: 1 16 +Vendor: openSUSE-Education 17 +Source: %{real_name}-%{version}.tar.bz2 18 +Requires: perl = %{perl_version} 19 +%if 0%{?suse_version} < 1100 20 +BuildRequires: perl-Compress-Zlib 21 +%endif 22 +BuildRoot: %{_tmppath}/%{name}-%{version}-build 23 + 24 +%description 25 +PDF::API2 - A Perl Module Chain to faciliate the Creation and Modification of 26 +High-Quality "Portable Document Format (aka. PDF)" Files. 27 + 28 +Author: 29 +------- 30 + alfred reibenschuh 31 + 32 + 33 +%prep 34 +%setup -n %{real_name}-%{version} 35 + 36 +%build 37 +perl Makefile.PL 38 +make %{?jobs:-j%jobs} 39 + 40 +%check 41 +make test 42 + 43 +%install 44 +%perl_make_install 45 +%perl_process_packlist 46 +for filename in AUTHORS CONTACT COPYING LICENSE MANIFEST README TODO VERSION; do 47 + perl -pi -e 's/\r\n/\n/g' $filename 48 +done 49 + 50 +%clean 51 +rm -rf %{buildroot} 52 + 53 +%files 54 +%defattr(-, root, root) 55 +%doc AUTHORS CONTACT COPYING LICENSE MANIFEST README TODO VERSION 56 +%dir %{perl_vendorarch}/auto/PDF 57 +%dir %{perl_vendorarch}/auto/PDF/API2 58 +%dir %{perl_vendorlib}/PDF 59 +%dir %{perl_vendorlib}/PDF/API2 60 +%dir %{perl_vendorlib}/PDF/API2/fonts 61 +%{perl_vendorarch}/auto/PDF/API2/.packlist 62 +%{perl_vendorlib}/PDF/* 63 +/var/adm/perl-modules/%{name} 64 + 65 +%changelog 66 |