source: projects/specs/trunk/p/perl-Math-Round/perl-Math-Round-vl.spec @ 9118

Revision 9118, 3.6 KB checked in by inagaki, 9 years ago (diff)

2014-11-25 Ryoichi INAGAKI <ryo1@…>

  • perl-Math-{Base85, Round}, perl-PHP-Session, perl-Params-Coerce, perl-Term-Encoding: rebuilt
  • perl-Path-Class, perl-Test-Classy, perl-Test-UseAllModules?: updated


Line 
1Name:           perl-Math-Round
2Version:        0.06
3Release:        2%{?_dist_release}
4Summary:        Perl extension for rounding numbers
5Group:          Development/Libraries
6License:        GPL+ or Artistic
7URL:            http://search.cpan.org/dist/Math-Round
8Source0:        http://search.cpan.org/CPAN/authors/id/G/GR/GROMMEL/Math-Round-%{version}.tar.gz
9Patch0:         Math-Round-0.06-utf8.patch
10BuildRoot:      %{_tmppath}/%{name}-%{version}-root
11BuildArch:      noarch
12BuildRequires:  perl(Exporter)
13BuildRequires:  perl(ExtUtils::MakeMaker)
14BuildRequires:  perl(POSIX)
15Requires:       perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
16
17%description
18Math::Round supplies functions that will round numbers in different ways. The
19functions round and nearest are exported by default; others are available as
20described 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
29find . -type f -exec chmod -c -x {} ';'
30
31%build
32perl Makefile.PL INSTALLDIRS=vendor
33make %{?_smp_mflags}
34
35%install
36rm -rf %{buildroot}
37make pure_install DESTDIR=%{buildroot}
38find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
39find %{buildroot} -type d -depth -exec rmdir {} 2>/dev/null ';'
40%{_fixperms} %{buildroot}
41
42%check
43make test
44
45%clean
46rm -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
Note: See TracBrowser for help on using the repository browser.