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

96 lines
2.9 KiB
RPMSpec
Raw Permalink Normal View History

Name: perl-Business-ISBN
Version: 3.008
Release: 2mamba
Summary: Business::ISBN - International Standard Book Numbers support
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: https://www.cpan.org
Source: https://cpan.metacpan.org/modules/by-module/Business/Business-ISBN-%{version}.tar.gz
License: Artistic
## AUTOBUILDREQ-BEGIN
BuildRequires: libperl
BuildRequires: perl-Business-ISBN-Data
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: perl >= 2:5.36.0
Requires: perl >= %perl_major_ver
BuildArch: noarch
# 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 Apr 17 2023 Sdk Build System <sdk@mambasoft.it> 3.008-2mamba
- rebuilt with perl 5.36.0
* Sun Mar 26 2023 Automatic Build System <autodist@mambasoft.it> 3.008-1mamba
- automatic version update by autodist
* Sun Jan 09 2022 Automatic Build System <autodist@mambasoft.it> 3.007-1mamba
- automatic version update by autodist
* Sun Feb 21 2021 Automatic Build System <autodist@mambasoft.it> 3.006-1mamba
- automatic version update by autodist
* 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