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

Revision 5844, 3.5 KB checked in by shaolin, 12 years ago (diff)
  • new packages
Line 
1Name:           perl-Math-Round
2Version:        0.06
3Release:        1%{?_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}-%{release}-root-%(id -nu)
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* Mon Mar 05 2012 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.06-1
57- initial build for Vine Linux
58
59* Fri Jan 20 2012 Paul Howarth <paul@city-fan.org> - 0.06-12
60- BR: perl(Exporter) and perl(POSIX)
61- Make %%files list more specific
62- Don't use macros for commands
63- Use DESTDIR rather than PERL_INSTALL_ROOT
64- Recode README as UTF-8
65
66* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-11
67- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
68
69* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-10
70- Perl mass rebuild
71
72* Tue Jun 14 2011 Marcela Mašláňová <mmaslano@redhat.com> - 0.06-9
73- Perl mass rebuild
74
75* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-8
76- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
77
78* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-7
79- Rebuild to fix problems with vendorarch/lib (#661697)
80
81* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 0.06-6
82- Mass rebuild with perl-5.12.0
83
84* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 0.06-5
85- rebuild against perl 5.10.1
86
87* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-4
88- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
89
90* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.06-3
91- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
92
93* Tue Mar  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-2
94- rebuild for new perl
95
96* Tue Oct 16 2007 Tom "spot" Callaway <tcallawa@redhat.com> 0.06-1.1
97- correct license tag
98- add BR: perl(ExtUtils::MakeMaker)
99
100* Tue Dec 05 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.06-1
101- update to 0.06
102- minor spec file tweaks
103
104* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-2
105- bump for mass rebuild
106
107* Mon Jul  3 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-1
108- bump for F-E release
109
110* Thu Jun 29 2006 Chris Weyl <cweyl@alumni.drew.edu> 0.05-0
111- Initial spec file for F-E
Note: See TracBrowser for help on using the repository browser.