diff --git a/README.md b/README.md index 27b8856..cbe45fe 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # perl-Statistics-Descriptive +A stastistics module for Perl + diff --git a/perl-Statistics-Descriptive.spec b/perl-Statistics-Descriptive.spec new file mode 100644 index 0000000..b2c41f6 --- /dev/null +++ b/perl-Statistics-Descriptive.spec @@ -0,0 +1,61 @@ +%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 +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 2.6-5mamba +- automatic rebuild by autodist + +* Wed Nov 05 2008 Silvan Calarco 2.6-4mamba +- automatic rebuild by autodist + +* Thu Jun 12 2008 Tiziana Ferro 2.6-3mamba +- Update Vendor, Distribution, Packager mail address + +* Tue Feb 01 2005 Silvan Calarco 2.6-2qilnx +- perl version check fix + +* Fri Apr 30 2004 Silvan Calarco 2.6-1qilnx +- First build