automatic rebuild by autodist [release 0.73-2mamba;Sun Jul 14 2013]

This commit is contained in:
Automatic Build System 2024-01-06 09:27:08 +01:00
parent dba2113f67
commit 753948bfd5
3 changed files with 76 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-PDF-API2
PDF::API2 - A Perl Module Chain to faciliate the Creation and Modification of High-Quality "Portable Document Format (aka. PDF)" Files.

View File

@ -0,0 +1,14 @@
diff -Nru PDF-API2-0.73.orig/lib/PDF/API2/Resource/XObject/Image/PNM.pm PDF-API2-0.73/lib/PDF/API2/Resource/XObject/Image/PNM.pm
--- PDF-API2-0.73.orig/lib/PDF/API2/Resource/XObject/Image/PNM.pm 2007-05-24 20:29:46.000000000 +0200
+++ PDF-API2-0.73/lib/PDF/API2/Resource/XObject/Image/PNM.pm 2009-05-04 17:44:44.000000000 +0200
@@ -389,8 +389,8 @@
PAM image just fine and the program will never know the difference.
To confuse things more, there is a collection of library routines called the "pam" functions that read and
write the PAM format, but also read and write the PBM, PGM, and PPM formats. They do this because
-the latter formats are much older and more popular, so this makes it convenient to write programs that
-use the newer PAM format.
+the latter formats are much older and more popular, so this makes it convenient to write programs
+that use the newer PAM format.
SEE ALSO
pbm(5), pgm(5), ppm(5), pnm(5), libpnm(3).THpbm505 March 2000
NAME

60
perl-PDF-API2.spec Normal file
View File

@ -0,0 +1,60 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-PDF-API2
Version: 0.73
Release: 2mamba
Summary: PDF::API2 - Module for the Creation and Modification of PDF Files
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/A/AR/AREIBENS/PDF-API2-%{version}.tar.gz
Patch0: %{name}-0.73-fix_autoreq.patch
License: Artistic, GPL
Requires: perl >= %perl_major_ver
BuildRequires: perl-devel >= %perl_major_ver
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
PDF::API2 - A Perl Module Chain to faciliate the Creation and Modification of High-Quality "Portable Document Format (aka. PDF)" Files.
%prep
%setup -q -n PDF-API2-%{version}
%patch0 -p1
%build
perl Makefile.PL PREFIX=%{_prefix} INSTALLDIRS=vendor
%make
%make test
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall_perl
packlist=`find %{buildroot} -name .packlist`
[ -z "$packlist" ] && exit 1 || cat $packlist | \
sed "s,%buildroot,,g;s,.*/man/.*,&.gz,g" | \
sort -u > .packlist && rm $packlist
rm -f %{buildroot}%{perl_vendorlib}/PDF/API2/Win32.pm
rm -f %{buildroot}%{perl_vendorlib}/PDF/API2/Basic/TTF/Win32.pm
sed -i "/Win32.pm/d" .packlist
strid=`echo $packlist | sed 's,.*auto\(.*\)/.packlist,\1,'`
for dir in `find %{buildroot} -type d | grep $strid`; do
echo "%dir ${dir#%buildroot}" >> .packlist
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
rm -f .packlist
%files -f .packlist
%defattr(-,root,root)
%changelog
* Sun Jul 14 2013 Automatic Build System <autodist@mambasoft.it> 0.73-2mamba
- automatic rebuild by autodist
* Mon May 04 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.73-1mamba
- package created by autospec