perl-Business-ISBN/perl-Business-ISBN.spec

83 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: perl-Business-ISBN
Version: 3.004
Release: 1mamba
Summary: Business::ISBN - International Standard Book Numbers support
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
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
* Sun Jun 11 2017 Automatic Build System <autodist@mambasoft.it> 3.004-1mamba
- automatic update by autodist
* Mon Jan 06 2014 Automatic Build System <autodist@mambasoft.it> 2.07-1mamba
- automatic update by autodist
* Sat Jun 01 2013 Automatic Build System <autodist@mambasoft.it> 2.06-1mamba
- automatic version update by autodist
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 2.05_03-1mamba
- perl 5.16 mass rebuild
* Thu Jul 21 2011 Automatic Build System <autodist@mambasoft.it> 2.05_01-1mamba
- automatic update by autodist
* Fri Oct 22 2010 Davide Madrisan <davide.madrisan@gmail.com> 2.05-2mamba
- rebuild with INSTALLDIRS=vendor
* Wed Mar 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.05-1mamba
- automatic update by autodist
* Mon Nov 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.03-2mamba
- automatic rebuild by autodist
* Thu Jun 12 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.03-1mamba
- update to 2.03
* Tue Feb 15 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.79-1qilnx
- package created by autospec