62 lines
1.8 KiB
RPMSpec
62 lines
1.8 KiB
RPMSpec
%define PERL_VERSION %(eval `perl -V:version`; echo $version)
|
|
Name: perl-Statistics-Descriptive
|
|
Version: 2.6
|
|
Release: 5mamba
|
|
Summary: A stastistics module for Perl
|
|
Group: Development/Libraries/Perl
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@openmamba.org>
|
|
URL: http://www.cpan.org
|
|
Source: http://www.cpan.org/authors/id/C/CO/COLINK/Statistics-Descriptive-%{version}.tar.gz
|
|
License: GPL
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: perl-devel >= %PERL_VERSION
|
|
## AUTOBUILDREQ-END
|
|
Requires: perl >= %PERL_VERSION
|
|
|
|
%description
|
|
A stastistics module for Perl
|
|
|
|
%prep
|
|
%setup -q -n Statistics-Descriptive-%{version}
|
|
|
|
%build
|
|
echo "y" | perl Makefile.PL
|
|
%make
|
|
make test
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall_perl
|
|
|
|
%define PERL_SITEARCH %(eval `perl -V:sitearch`; echo $sitearch)
|
|
cat %{buildroot}%PERL_SITEARCH/auto/Statistics/Descriptive/.packlist | \
|
|
sed "s@%{buildroot}@@g;s@.*/man/.*@&.gz@g" | \
|
|
sort -u > .packlist
|
|
rm -f %{buildroot}%PERL_SITEARCH/auto/Statistics/Descriptive/.packlist
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
rm -f .packlist
|
|
|
|
%files -f .packlist
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|
|
* Fri Aug 30 2013 Automatic Build System <autodist@mambasoft.it> 2.6-5mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Wed Nov 05 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-4mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Thu Jun 12 2008 Tiziana Ferro <tiziana.ferro@email.it> 2.6-3mamba
|
|
- Update Vendor, Distribution, Packager mail address
|
|
|
|
* Tue Feb 01 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-2qilnx
|
|
- perl version check fix
|
|
|
|
* Fri Apr 30 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6-1qilnx
|
|
- First build
|