diff --git a/README.md b/README.md index f4f3177..bdea328 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Business-ISBN +This Perl module add support for International Standard Book Numbers. + diff --git a/perl-Business-ISBN.spec b/perl-Business-ISBN.spec new file mode 100644 index 0000000..d8de0c2 --- /dev/null +++ b/perl-Business-ISBN.spec @@ -0,0 +1,79 @@ +Name: perl-Business-ISBN +Version: 2.07 +Release: 1mamba +Summary: Business::ISBN - International Standard Book Numbers support +Group: System/Libraries/Perl +Vendor: openmamba +Distribution: openmamba +Packager: Davide Madrisan +URL: http://www.cpan.org +Source: http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-%{version}.tar.gz +License: Artistic +## AUTOBUILDREQ-BEGIN +BuildRequires: perl-Business-ISBN-Data +BuildRequires: perl-devel +## AUTOBUILDREQ-END +Requires: perl >= %perl_major_ver +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +# FIXME: 4/10 skipped: Need GD::Barcode::EAN13 + +%description +This Perl module add support for International Standard Book Numbers. + +%prep +%setup -q -n Business-ISBN-%{version} + +%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 -f $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} + +%files -f .packlist +%defattr(-,root,root) + +%changelog +* Mon Jan 06 2014 Automatic Build System 2.07-1mamba +- automatic update by autodist + +* Sat Jun 01 2013 Automatic Build System 2.06-1mamba +- automatic version update by autodist + +* Mon Nov 12 2012 Silvan Calarco 2.05_03-1mamba +- perl 5.16 mass rebuild + +* Thu Jul 21 2011 Automatic Build System 2.05_01-1mamba +- automatic update by autodist + +* Fri Oct 22 2010 Davide Madrisan 2.05-2mamba +- rebuild with INSTALLDIRS=vendor + +* Wed Mar 25 2009 Silvan Calarco 2.05-1mamba +- automatic update by autodist + +* Mon Nov 03 2008 Silvan Calarco 2.03-2mamba +- automatic rebuild by autodist + +* Thu Jun 12 2008 Silvan Calarco 2.03-1mamba +- update to 2.03 + +* Tue Feb 15 2005 Davide Madrisan 1.79-1qilnx +- package created by autospec