automatic version update by autodist [release 20120719.001-1mamba;Fri Nov 02 2012]
This commit is contained in:
parent
6e1b7f34f0
commit
04cd5a4c2b
@ -1,2 +1,4 @@
|
||||
# perl-Business-ISBN-Data
|
||||
|
||||
The perl-Business-ISBN-Data package is the data pack for Business::ISBN.
|
||||
|
||||
|
68
perl-Business-ISBN-Data.spec
Normal file
68
perl-Business-ISBN-Data.spec
Normal file
@ -0,0 +1,68 @@
|
||||
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||
|
||||
Name: perl-Business-ISBN-Data
|
||||
Version: 20120719.001
|
||||
Release: 1mamba
|
||||
Summary: Business::ISBN::Data - The data pack for Business::ISBN
|
||||
Group: System/Libraries/Perl
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Davide Madrisan <davide.madrisan@qilinux.it>
|
||||
URL: http://www.cpan.org
|
||||
Source: http://www.cpan.org/authors/id/B/BD/BDFOY/Business-ISBN-Data-%{version}.tar.gz
|
||||
License: Artistic License
|
||||
Requires: perl >= %perl_major_ver
|
||||
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: perl-devel >= %perl_major_ver
|
||||
## AUTOBUILDREQ-END
|
||||
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
The %{name} package is the data pack for Business::ISBN.
|
||||
|
||||
%prep
|
||||
|
||||
%setup -q -n Business-ISBN-Data-%{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 $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}"
|
||||
rm -f .packlist
|
||||
|
||||
%files -f .packlist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%changelog
|
||||
* Fri Nov 02 2012 Automatic Build System <autodist@mambasoft.it> 20120719.001-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Mar 25 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 20081208-1mamba
|
||||
- update to 20081208
|
||||
|
||||
* Mon Nov 03 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.17-2mamba
|
||||
- automatic rebuild by autodist
|
||||
|
||||
* Fri May 30 2008 gil <puntogil@libero.it> 1.17-1mamba
|
||||
- update to 1.17 by autospec
|
||||
|
||||
* Tue Feb 15 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.09-1qilnx
|
||||
- package created by autospec
|
Loading…
Reference in New Issue
Block a user