perl 5.16 mass rebuild [release 1.22-3mamba;Tue Nov 13 2012]

This commit is contained in:
Silvan Calarco 2024-01-06 09:34:17 +01:00
parent a03e7d9806
commit a7439e7627
2 changed files with 67 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# perl-Roman # perl-Roman
This package provides some functions which help conversion of numeric notation between Roman and Arabic.

65
perl-Roman.spec Normal file
View File

@ -0,0 +1,65 @@
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
Name: perl-Roman
Version: 1.22
Release: 3mamba
Summary: Roman - Perl module for conversion between Roman and Arabic numerals.
Group: System/Libraries/Perl
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.cpan.org
Source: http://search.cpan.org/CPAN/authors/id/C/CH/CHORNY/Roman-%{version}.tar.gz
License: Artistic, GPL
Requires: perl >= %perl_major_ver
Requires: perl-Test-Pod
Requires: perl-Test-Pod-Coverage
BuildRequires: perl-Test-Pod
BuildRequires: perl-Test-Pod-Coverage
## AUTOBUILDREQ-BEGIN
BuildRequires: perl-devel >= %perl_major_ver
BuildRequires: perl-Test-Pod
BuildRequires: perl-Test-Pod-Coverage
## AUTOBUILDREQ-EN
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This package provides some functions which help conversion of numeric notation between Roman and Arabic.
%prep
%setup -q -n Roman-%{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
* Tue Nov 13 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22-3mamba
- perl 5.16 mass rebuild
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.22-2mamba
- automatic rebuild by autodist
* Fri Oct 03 2008 gil <puntogil@libero.it> 1.22-1mamba
- package created by autospec