perl 5.16 mass rebuild [release 0.03-2mamba;Mon Nov 12 2012]
This commit is contained in:
parent
78af9662d3
commit
22422517d0
@ -1,2 +1,8 @@
|
|||||||
# perl-Number-Compare
|
# perl-Number-Compare
|
||||||
|
|
||||||
|
Number::Compare compiles a simple comparison to an anonymous subroutine, which you can call with a value to be tested again.
|
||||||
|
|
||||||
|
Now this would be very pointless, if Number::Compare didn't understand magnitudes.
|
||||||
|
|
||||||
|
The target value may use magnitudes of kilobytes (k, ki), megabytes (m, mi), or gigabytes (g, gi). Those suffixed with an i use the appropriate 2**n version in accordance with the IEC standard: http://physics.nist.gov/cuu/Units/binary.html
|
||||||
|
|
||||||
|
68
perl-Number-Compare.spec
Normal file
68
perl-Number-Compare.spec
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
%define perl_major_ver %(eval `perl -V:version`; echo ${version%*.[0-9]*}.0)
|
||||||
|
|
||||||
|
Name: perl-Number-Compare
|
||||||
|
Version: 0.03
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: Number::Compare - numeric comparisons
|
||||||
|
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/R/RC/RCLAMP/Number-Compare-%{version}.tar.gz
|
||||||
|
License: GPL, Artistic
|
||||||
|
Requires: perl >= %perl_major_ver
|
||||||
|
BuildRequires: perl-devel >= %perl_major_ver
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
|
||||||
|
%description
|
||||||
|
Number::Compare compiles a simple comparison to an anonymous subroutine, which you can call with a value to be tested again.
|
||||||
|
|
||||||
|
Now this would be very pointless, if Number::Compare didn't understand magnitudes.
|
||||||
|
|
||||||
|
The target value may use magnitudes of kilobytes (k, ki), megabytes (m, mi), or gigabytes (g, gi). Those suffixed with an i use the appropriate 2**n version in accordance with the IEC standard: http://physics.nist.gov/cuu/Units/binary.html
|
||||||
|
|
||||||
|
%prep
|
||||||
|
|
||||||
|
%setup -q -n Number-Compare-%{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
|
||||||
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.03-2mamba
|
||||||
|
- perl 5.16 mass rebuild
|
||||||
|
|
||||||
|
* Tue Oct 04 2011 Automatic Build System <autodist@mambasoft.it> 0.03-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Mon Sep 12 2011 Automatic Build System <autodist@mambasoft.it> 0.02-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.01-2mamba
|
||||||
|
- automatic rebuild by autodist
|
||||||
|
|
||||||
|
* Mon Oct 20 2008 gil <puntogil@libero.it> 0.01-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user