rpms/perl-PDF-Reuse/devel import.log, NONE, 1.1 perl-PDF-Reuse.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Chris Weyl cweyl at fedoraproject.org
Thu Jun 11 17:13:20 UTC 2009


Author: cweyl

Update of /cvs/extras/rpms/perl-PDF-Reuse/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31891/devel

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-PDF-Reuse.spec 
Log Message:
initial import


--- NEW FILE import.log ---
perl-PDF-Reuse-0_35-1_fc10:HEAD:perl-PDF-Reuse-0.35-1.fc10.src.rpm:1244740359


--- NEW FILE perl-PDF-Reuse.spec ---
Name:       perl-PDF-Reuse 
Version:    0.35 
Release:    1%{?dist}
# Reuse.pm -> GPL+ or Artistic
License:    GPL+ or Artistic 
Group:      Development/Libraries
Summary:    Reuse and mass produce PDF documents 
Source:     http://search.cpan.org/CPAN/authors/id/L/LA/LARSLUND/PDF-Reuse-%{version}.tar.gz 
Url:        http://search.cpan.org/dist/PDF-Reuse
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) 
Requires:   perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
BuildArch:  noarch

BuildRequires: perl(AutoLoader)
BuildRequires: perl(Carp)
BuildRequires: perl(Compress::Zlib)
BuildRequires: perl(Data::Dumper)
BuildRequires: perl(Digest::MD5)
BuildRequires: perl(Exporter)
BuildRequires: perl(ExtUtils::MakeMaker)
BuildRequires: perl(Font::TTF)
BuildRequires: perl(Text::PDF::TTFont0)

# until we get the filtering framework in... 
%global _use_internal_dependency_generator 0
%global __deploop() while read FILE; do /usr/lib/rpm/rpmdeps -%{1} ${FILE}; done | /bin/sort -u
%global __find_provides /bin/sh -c "%{__grep} -v '%_docdir' | %{__grep} -v '%{perl_vendorarch}/.*\\.so$' | %{__deploop P} | %{__sed} -e '/^perl(PDF::Reuse)$/d'"
%global __find_requires /bin/sh -c "%{__grep} -v '%_docdir' | %{__deploop R}"

%description
This module allows you to reuse PDF-files. You can use pages, images,
fonts and Acrobat JavaScript from old PDF-files (if they were not
encrypted), and rearrange the components, and add new graphics, texts etc.

There is also support for graphics. In the tutorial there is a description of
how to transform simple PDF-pages to graphic Perl objects with the help of
programs based on this module.

The module is fairly fast, so it should be possible to use it for mass
production. 

%prep
%setup -q -n PDF-Reuse-%{version}

find . -type f -exec sed -i 's/\r//' {} ';'
cat Util/reuseComponent_pl | iconv -f iso8859-1 -t utf8 > foo
mv foo Util/reuseComponent_pl

%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make pure_install PERL_INSTALL_ROOT=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'

%{_fixperms} %{buildroot}/*

%check
make test

%clean
rm -rf %{buildroot} 

%files
%defattr(-,root,root,-)
%doc Changes README Util/ 
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*

%changelog
* Mon Jun 08 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.35-1
- touch-up for submission
- note we use the filtering to remove an errant extra perl(PDF::Reuse)

* Mon Jun 08 2009 Chris Weyl <cweyl at alumni.drew.edu> 0.35-0
- initial RPM packaging
- generated with cpan2dist (CPANPLUS::Dist::RPM version 0.0.8)



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-PDF-Reuse/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	11 Jun 2009 17:01:08 -0000	1.1
+++ .cvsignore	11 Jun 2009 17:12:50 -0000	1.2
@@ -0,0 +1 @@
+PDF-Reuse-0.35.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-PDF-Reuse/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	11 Jun 2009 17:01:08 -0000	1.1
+++ sources	11 Jun 2009 17:12:50 -0000	1.2
@@ -0,0 +1 @@
+1e2541eacaf8df4f4012312f6c353688  PDF-Reuse-0.35.tar.gz




More information about the Fedora-perl-devel-list mailing list