1 | Name: perl-Math-Round |
---|
2 | Version: 0.06 |
---|
3 | Release: 2%{?_dist_release} |
---|
4 | Summary: Perl extension for rounding numbers |
---|
5 | Group: Development/Libraries |
---|
6 | License: GPL+ or Artistic |
---|
7 | URL: http://search.cpan.org/dist/Math-Round |
---|
8 | Source0: http://search.cpan.org/CPAN/authors/id/G/GR/GROMMEL/Math-Round-%{version}.tar.gz |
---|
9 | Patch0: Math-Round-0.06-utf8.patch |
---|
10 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
11 | BuildArch: noarch |
---|
12 | BuildRequires: perl(Exporter) |
---|
13 | BuildRequires: perl(ExtUtils::MakeMaker) |
---|
14 | BuildRequires: perl(POSIX) |
---|
15 | Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) |
---|
16 | |
---|
17 | %description |
---|
18 | Math::Round supplies functions that will round numbers in different ways. The |
---|
19 | functions round and nearest are exported by default; others are available as |
---|
20 | described below. "use ... qw(:all)" exports all functions. |
---|
21 | |
---|
22 | %prep |
---|
23 | %setup -q -n Math-Round-%{version} |
---|
24 | |
---|
25 | # Recode docs as UTF-8 |
---|
26 | %patch0 -p1 |
---|
27 | |
---|
28 | # remove errant execute bits |
---|
29 | find . -type f -exec chmod -c -x {} ';' |
---|
30 | |
---|
31 | %build |
---|
32 | perl Makefile.PL INSTALLDIRS=vendor |
---|
33 | make %{?_smp_mflags} |
---|
34 | |
---|
35 | %install |
---|
36 | rm -rf %{buildroot} |
---|
37 | make pure_install DESTDIR=%{buildroot} |
---|
38 | find %{buildroot} -type f -name .packlist -exec rm -f {} ';' |
---|
39 | find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';' |
---|
40 | %{_fixperms} %{buildroot} |
---|
41 | |
---|
42 | %check |
---|
43 | make test |
---|
44 | |
---|
45 | %clean |
---|
46 | rm -rf %{buildroot} |
---|
47 | |
---|
48 | %files |
---|
49 | %defattr(-,root,root,-) |
---|
50 | %doc Changes README |
---|
51 | %{perl_vendorlib}/auto/Math/ |
---|
52 | %{perl_vendorlib}/Math/ |
---|
53 | %{_mandir}/man3/Math::Round.3pm* |
---|
54 | |
---|
55 | %changelog |
---|
56 | * Tue Nov 25 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.06-2 |
---|
57 | - rebuilt with perl 5.16.3 |
---|
58 | |
---|
59 | * Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.06-1 |
---|
60 | - initial build for Vine Linux |
---|
61 | |
---|
62 | * Fri Jan 20 2012 Paul Howarth <paul@city-fan.org> - 0.06-12 |
---|
63 | - BR: perl(Exporter) and perl(POSIX) |
---|
64 | - Make %%files list more specific |
---|
65 | - Don't use macros for commands |
---|
66 | - Use DESTDIR rather than PERL_INSTALL_ROOT |
---|
67 | - Recode README as UTF-8 |
---|
68 | |
---|
69 | * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-11 |
---|
70 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild |
---|
71 | |
---|
72 | * Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-10 |
---|
73 | - Perl mass rebuild |
---|
74 | |
---|
75 | * Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-9 |
---|
76 | - Perl mass rebuild |
---|
77 | |
---|
78 | * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-8 |
---|
79 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
---|
80 | |
---|
81 | * Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-7 |
---|
82 | - Rebuild to fix problems with vendorarch/lib (#661697) |
---|
83 | |
---|
84 | * Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-6 |
---|
85 | - Mass rebuild with perl-5.12.0 |
---|
86 | |
---|
87 | * Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-5 |
---|
88 | - rebuild against perl 5.10.1 |
---|
89 | |
---|
90 | * Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4 |
---|
91 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
---|
92 | |
---|
93 | * Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3 |
---|
94 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
---|
95 | |
---|
96 | * Tue Mar 4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-2 |
---|
97 | - rebuild for new perl |
---|
98 | |
---|
99 | * Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-1.1 |
---|
100 | - correct license tag |
---|
101 | - add BR: perl(ExtUtils::MakeMaker) |
---|
102 | |
---|
103 | * Tue Dec 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1 |
---|
104 | - update to 0.06 |
---|
105 | - minor spec file tweaks |
---|
106 | |
---|
107 | * Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-2 |
---|
108 | - bump for mass rebuild |
---|
109 | |
---|
110 | * Mon Jul 3 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1 |
---|
111 | - bump for F-E release |
---|
112 | |
---|
113 | * Thu Jun 29 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-0 |
---|
114 | - Initial spec file for F-E |
---|