commit 1b39245bee570c1f7916abec73cd8f347dc97ddf Author: Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> Date: Mon Aug 30 22:05:04 2010 +0200 Initial import. .gitignore | 1 + perl-EBook-EPUB.spec | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 68 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..15782f6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/EBook-EPUB-0.5.tar.gz diff --git a/perl-EBook-EPUB.spec b/perl-EBook-EPUB.spec new file mode 100644 index 0000000..21c8e5d --- /dev/null +++ b/perl-EBook-EPUB.spec @@ -0,0 +1,66 @@ +Name: perl-EBook-EPUB +Version: 0.5 +Release: 2%{?dist} +Summary: Perl module for generating EPUB documents +License: BSD +Group: Development/Libraries +URL: http://search.cpan.org/dist/EBook-EPUB/ +Source0: http://www.cpan.org/authors/id/O/OT/OTY/EBook-EPUB-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Archive::Zip) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Data::UUID) +BuildRequires: perl(Moose) +BuildRequires: perl(Test::More) +BuildRequires: perl(XML::Writer) +BuildRequires: perl(version) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%{?perl_default_subpackage_tests} + +%description +This module permits creating EPUB documents. + +%prep +%setup -q -n EBook-EPUB-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install DESTDIR=$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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Thu Aug 26 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.5-2 +- Add perl(version) to BR +- Use DESTDIR instead of PERL_INSTALL_ROOT + +* Fri Aug 20 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.5-1 +- Update to 0.5 + +* Tue Jul 20 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> - 0.4-1 +- Update to 0.4 + +* Fri May 07 2010 Emmanuel Seyman <emmanuel.seyman@xxxxxxxxxxxxxxxx> 0.3-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..73c397b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +ed6a49cba2a173db3c479b229aec0cc2 EBook-EPUB-0.5.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