8
0
forked from pool/perl-PDF-API2
Stephan Kulow
2012-01-11 09:43:04 +00:00
committed by Git OBS Bridge
parent a198b3b43c
commit 6008f0017e
5 changed files with 112 additions and 48 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4cf6248a8a932ff051caf89e468cc300e1493c40acb66a202411dff788e920c9
size 6212502

3
PDF-API2-2.019.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93385cf3d6b74583195572c0018706e4f7ab95c81f1ab50efc46b18dec44bc13
size 3496615

3
UnicodeData.txt.bz2 Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0b4b03725d313f0cc1056b80a4ea6d30a3b0a959316228c60b7a05e958d90486
size 159460

View File

@@ -1,3 +1,61 @@
-------------------------------------------------------------------
Tue Sep 6 22:18:58 UTC 2011 - jw@suse.com
- workround broken Unicode::UCD in 11.4 and 11.3:
We providing our own UnicodeData.txt to make
t/00-all-usable.t happy.
-------------------------------------------------------------------
Thu Mar 31 18:41:56 UTC 2011 - coolo@novell.com
- update to 2.019
- [RT #66167] Fix a typo in the require statement for code128
barcodes (TC Kuan).
- Numerous modules are now only loaded when they're needed, which
should help speed up the load time and reduce the memory
footprint.
- Test coverage is up to about 45% of the codebase.
- The tests in 2.017 exposed a floating point issue where some
computers give more trailing zeros than others. It doesn't
affect the output, but it does break the tests on those
computers, since the PDFs are slightly different. This version
modifies the float() method to remove trailing zeros, which
should fix the test breakage and give consistent PDFs.
- The DejaVu fonts have been removed from the distribution, since
they were only used by one example script. If you need them for
your project, you can download them from http://dejavu-fonts.org
-------------------------------------------------------------------
Fri Dec 10 11:02:36 UTC 2010 - coolo@novell.com
- fix buildrequires
-------------------------------------------------------------------
Wed Dec 1 13:34:25 UTC 2010 - coolo@novell.com
- switch to perl_requires macro
-------------------------------------------------------------------
Mon Nov 29 18:30:51 UTC 2010 - coolo@novell.com
- remove /var/adm/perl-modules
-------------------------------------------------------------------
Sun Nov 28 11:37:55 UTC 2010 - coolo@novell.com
- remove .packlist file
-------------------------------------------------------------------
Fri Jan 8 17:56:27 UTC 2010 - coolo@novell.com
- update to version 0.73
- only released to get a "final" version
- build require perl-doc for the test suite
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 27 14:37:05 CEST 2009 - coolo@novell.com Mon Jul 27 14:37:05 CEST 2009 - coolo@novell.com

View File

@@ -1,64 +1,67 @@
# #
# spec file for package perl-PDF-API2 # spec file for package perl-PDF-API2 (Version 2.019)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# #
# norootforbuild Name: perl-PDF-API2
Version: 2.019
Name: perl-PDF-API2 Release: 1
%define real_name PDF-API2 License: LGPLv2+
Summary: Perl Module Chain to faciliate the Creation and Modification of PDF Files %define cpan_name PDF-API2
Url: http://search.cpan.org/perldoc?PDF::API2 Summary: Facilitates the creation and modification of PDF files
Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/PDF-API2/
License: Artistic License Group: Development/Libraries/Perl
Version: 0.72.003 #Source: http://www.cpan.org/authors/id/S/SS/SSIMMS/PDF-API2-%{version}.tar.gz
Release: 1 Source: %{cpan_name}-%{version}.tar.gz
Vendor: openSUSE-Education Source1: UnicodeData.txt.bz2
Source: %{real_name}-%{version}.tar.bz2 BuildArch: noarch
Requires: perl = %{perl_version} BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} < 1100 BuildRequires: perl
BuildRequires: perl-Compress-Zlib BuildRequires: perl-macros
%endif BuildRequires: perl(Font::TTF)
BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: perl(Font::TTF)
%{perl_requires}
%description %description
PDF::API2 - A Perl Module Chain to faciliate the Creation and Modification of sorry, no description found
High-Quality "Portable Document Format (aka. PDF)" Files.
Author:
-------
alfred reibenschuh
%prep %prep
%setup -n %{real_name}-%{version} %setup -q -n %{cpan_name}-%{version}
%if 0%{?suse_version} == 1140 || 0%{?suse_version} == 1130
# workaround for broken Unicode::UCD needed by t/00-all-usable.t
mkdir unicore
bzip2 -dc < %{S:1} > unicore/UnicodeData.txt
%endif
%build %build
perl Makefile.PL %{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?jobs:-j%jobs} %{__make} %{?_smp_mflags}
%check %check
make test %{__make} test
%install %install
%perl_make_install %perl_make_install
%perl_process_packlist %perl_process_packlist
for filename in AUTHORS CONTACT COPYING LICENSE MANIFEST README TODO VERSION; do %perl_gen_filelist
perl -pi -e 's/\r\n/\n/g' $filename
done
%clean %clean
rm -rf %{buildroot} %{__rm} -rf %{buildroot}
%files %files -f %{name}.files
%defattr(-, root, root) %defattr(644,root,root,755)
%doc AUTHORS CONTACT COPYING LICENSE MANIFEST README TODO VERSION %doc Changes CONTACT contrib examples HACKING LICENSE PATENTS README
%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 %changelog