2008-11-30 05:20:28 +00:00
|
|
|
#
|
|
|
|
# spec file for package perl-PDF-API2
|
|
|
|
#
|
|
|
|
|
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
Name: perl-PDF-API2
|
|
|
|
%define real_name PDF-API2
|
|
|
|
Summary: Perl Module Chain to faciliate the Creation and Modification of PDF Files
|
|
|
|
Url: http://search.cpan.org/perldoc?PDF::API2
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
License: Artistic License
|
|
|
|
Version: 0.72.003
|
|
|
|
Release: 1
|
|
|
|
Vendor: openSUSE-Education
|
|
|
|
Source: %{real_name}-%{version}.tar.bz2
|
|
|
|
Requires: perl = %{perl_version}
|
2008-11-30 12:25:27 +00:00
|
|
|
%if 0%{?suse_version} < 1100
|
|
|
|
BuildRequires: perl-Compress-Zlib
|
|
|
|
%endif
|
2008-11-30 05:20:28 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
|
|
|
%description
|
|
|
|
PDF::API2 - A Perl Module Chain to faciliate the Creation and Modification of
|
|
|
|
High-Quality "Portable Document Format (aka. PDF)" Files.
|
|
|
|
|
|
|
|
Author:
|
|
|
|
-------
|
|
|
|
alfred reibenschuh
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -n %{real_name}-%{version}
|
|
|
|
|
|
|
|
%build
|
|
|
|
perl Makefile.PL
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%check
|
|
|
|
make test
|
|
|
|
|
|
|
|
%install
|
|
|
|
%perl_make_install
|
|
|
|
%perl_process_packlist
|
|
|
|
for filename in AUTHORS CONTACT COPYING LICENSE MANIFEST README TODO VERSION; do
|
|
|
|
perl -pi -e 's/\r\n/\n/g' $filename
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-, root, root)
|
|
|
|
%doc AUTHORS CONTACT COPYING LICENSE MANIFEST README TODO VERSION
|
|
|
|
%dir %{perl_vendorarch}/auto/PDF
|
|
|
|
%dir %{perl_vendorarch}/auto/PDF/API2
|
|
|
|
%dir %{perl_vendorlib}/PDF
|
|
|
|
%dir %{perl_vendorlib}/PDF/API2
|
|
|
|
%dir %{perl_vendorlib}/PDF/API2/fonts
|
|
|
|
%{perl_vendorarch}/auto/PDF/API2/.packlist
|
|
|
|
%{perl_vendorlib}/PDF/*
|
|
|
|
/var/adm/perl-modules/%{name}
|
|
|
|
|
|
|
|
%changelog
|