123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- Name: perl-Math-Round
- Version: 0.06
- Release: 2%{?_dist_release}
- Summary: Perl extension for rounding numbers
- Group: Development/Libraries
- License: GPL+ or Artistic
- URL: http://search.cpan.org/dist/Math-Round
- Source0: http://search.cpan.org/CPAN/authors/id/G/GR/GROMMEL/Math-Round-%{version}.tar.gz
- Patch0: Math-Round-0.06-utf8.patch
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildArch: noarch
- BuildRequires: perl(Exporter)
- BuildRequires: perl(ExtUtils::MakeMaker)
- BuildRequires: perl(POSIX)
- Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
- %description
- Math::Round supplies functions that will round numbers in different ways. The
- functions round and nearest are exported by default; others are available as
- described below. "use ... qw(:all)" exports all functions.
- %prep
- %setup -q -n Math-Round-%{version}
- # Recode docs as UTF-8
- %patch0 -p1
- # remove errant execute bits
- find . -type f -exec chmod -c -x {} ';'
- %build
- perl Makefile.PL INSTALLDIRS=vendor
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make pure_install DESTDIR=%{buildroot}
- find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
- find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
- %{_fixperms} %{buildroot}
- %check
- make test
- %clean
- rm -rf %{buildroot}
- %files
- %defattr(-,root,root,-)
- %doc Changes README
- %{perl_vendorlib}/auto/Math/
- %{perl_vendorlib}/Math/
- %{_mandir}/man3/Math::Round.3pm*
- %changelog
- * Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.06-2
- - rebuilt with perl 5.16.3
- * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.06-1
- - initial build for Vine Linux
- * Fri Jan 20 2012 Paul Howarth <paul@city-fan.org> - 0.06-12
- - BR: perl(Exporter) and perl(POSIX)
- - Make %%files list more specific
- - Don't use macros for commands
- - Use DESTDIR rather than PERL_INSTALL_ROOT
- - Recode README as UTF-8
- * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-11
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
- * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-10
- - Perl mass rebuild
- * Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-9
- - Perl mass rebuild
- * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-8
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
- * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-7
- - Rebuild to fix problems with vendorarch/lib (#661697)
- * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-6
- - Mass rebuild with perl-5.12.0
- * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-5
- - rebuild against perl 5.10.1
- * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
- * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3
- - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-2
- - rebuild for new perl
- * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-1.1
- - correct license tag
- - add BR: perl(ExtUtils::MakeMaker)
- * Tue Dec 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
- - update to 0.06
- - minor spec file tweaks
- * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-2
- - bump for mass rebuild
- * Mon Jul 3 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1
- - bump for F-E release
- * Thu Jun 29 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-0
- - Initial spec file for F-E
|