commit f64377f16d5538ab782b929bfaff896e0318eca9 Author: Jitka Plesnikova <jplesnik@xxxxxxxxxx> Date: Wed Jun 27 08:34:27 2012 +0200 Initial import .gitignore | 1 + perl-Paper-Specs-0.10-fix_Avery_5393.patch | 13 +++++++ perl-Paper-Specs.spec | 52 ++++++++++++++++++++++++++++ sources | 1 + 4 files changed, 67 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..24eee51 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Paper-Specs-0.10.tar.gz diff --git a/perl-Paper-Specs-0.10-fix_Avery_5393.patch b/perl-Paper-Specs-0.10-fix_Avery_5393.patch new file mode 100644 index 0000000..50a4d85 --- /dev/null +++ b/perl-Paper-Specs-0.10-fix_Avery_5393.patch @@ -0,0 +1,13 @@ +diff -up Paper-Specs-0.10/lib/Paper/Specs/Avery/5393.pm.orig Paper-Specs-0.10/lib/Paper/Specs/Avery/5393.pm +--- Paper-Specs-0.10/lib/Paper/Specs/Avery/5393.pm.orig 2012-06-25 10:01:57.792286927 +0200 ++++ Paper-Specs-0.10/lib/Paper/Specs/Avery/5393.pm 2012-06-25 10:02:19.243378293 +0200 +@@ -1,7 +1,7 @@ + +-package Paper::Specs::Axxxx::5393; ++package Paper::Specs::Avery::5393; + use strict; +-use base qw(Paper::Specs::base::label Paper::Specs::Axxxx); ++use base qw(Paper::Specs::base::label Paper::Specs::Avery); + + sub specs { + diff --git a/perl-Paper-Specs.spec b/perl-Paper-Specs.spec new file mode 100644 index 0000000..4b18768 --- /dev/null +++ b/perl-Paper-Specs.spec @@ -0,0 +1,52 @@ +Name: perl-Paper-Specs +Version: 0.10 +Release: 1%{?dist} +Summary: Size and layout information for paper stock, forms, and labels +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Paper-Specs/ +Source0: http://www.cpan.org/authors/id/J/JO/JONALLEN/Paper-Specs-%{version}.tar.gz +# https://rt.cpan.org/Public/Bug/Display.html?id=78027 +Patch0: %{name}-0.10-fix_Avery_5393.patch +BuildArch: noarch +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(base) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod) >= 1.00 +BuildRequires: perl(Test::Pod::Coverage) >= 0.08 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +This package provides features such as: +- Layout PDF and PostScript documents +- Obtain page size information +- Support page sizes you didn't know about + +%prep +%setup -q -n Paper-Specs-%{version} +%patch0 -p1 + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Jun 25 2012 Jitka Plesnikova <jplesnik@xxxxxxxxxx> 0.10-1 +- Specfile autogenerated by cpanspec 1.78. +- Add patch for RT#78027 diff --git a/sources b/sources index e69de29..d1391d1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +9015563658a30f9fcfd98f23bb88651b Paper-Specs-0.10.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel