8
0
forked from pool/perl-PDF-API2
Files
perl-PDF-API2/perl-PDF-API2.spec

65 lines
1.5 KiB
RPMSpec
Raw Normal View History

#
# 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}
%if 0%{?suse_version} < 1100
BuildRequires: perl-Compress-Zlib
%endif
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