Logoj0ke.net Open Build Service > Projects > server:monitoring > perl-Math-Calc-Units > Changes
Sign Up | Log In

Changes of Revision 3

[-] Added perl-Math-Calc-Units_CentOS_6.spec
x
 
1
@@ -0,0 +1,112 @@
2
+Name:      perl-Math-Calc-Units
3
+Version:   1.07
4
+Release:   9%{?dist}
5
+Summary:   Human-readable unit-aware calculator
6
+License:   GPLv2 or Artistic
7
+Group:     Development/Libraries
8
+URL:       http://search.cpan.org/dist/Math-Calc-Units
9
+Source0:   http://search.cpan.org/CPAN/authors/id/S/SF/SFINK/Math-Calc-Units-%{version}.tar.gz
10
+BuildArch: noarch
11
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
12
+BuildRequires: perl(base)
13
+BuildRequires: perl(Carp)
14
+BuildRequires: perl(constant)
15
+BuildRequires: perl(Exporter)
16
+BuildRequires: perl(ExtUtils::MakeMaker)
17
+BuildRequires: perl(File::Basename)
18
+BuildRequires: perl(Getopt::Long)
19
+BuildRequires: perl(Test::More)
20
+BuildRequires: perl(Test::Pod)
21
+BuildRequires: perl(Time::Local)
22
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
+
24
+# Remove unwanted provide if we have rpm 4.9 or later
25
+%global __provides_exclude ^perl\\(Parse::Yapp::Driver\\)
26
+
27
+%description
28
+Math::Calc::Units is a simple calculator that keeps track of units. It
29
+currently handles combinations of byte sizes and duration only, although
30
+adding any other multiplicative types is easy. Any unknown type is treated
31
+as a unique user type (with some effort to map English plurals to their
32
+singular forms).
33
+
34
+%prep
35
+%setup -q -n Math-Calc-Units-%{version}
36
+
37
+# Remove unwanted provide if we don't have rpm 4.9 or later
38
+%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/perl(Parse::Yapp::Driver)/d'"
39
+%define __perl_provides %{provfilt}
40
+
41
+%build
42
+perl Makefile.PL INSTALLDIRS=vendor
43
+make %{?_smp_mflags}
44
+
45
+%install
46
+rm -rf %{buildroot}
47
+make pure_install DESTDIR=%{buildroot}
48
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
49
+%{_fixperms} %{buildroot}
50
+
51
+# Remove file we don't need packaging
52
+rm %{buildroot}%{perl_vendorlib}/Math/Calc/Units/Grammar.y
53
+
54
+%check
55
+make test
56
+
57
+%clean
58
+
59
+%files
60
+%doc Artistic.html Changes COPYING LICENSE README
61
+%{_bindir}/ucalc
62
+%{perl_vendorlib}/Math/
63
+%{_mandir}/man3/Math::Calc::Units.3pm*
64
+
65
+%changelog
66
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-9
67
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
68
+
69
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-8
70
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71
+
72
+* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.07-7
73
+- Perl 5.16 rebuild
74
+
75
+* Sun Apr  1 2012 Paul Howarth <paul@city-fan.org> - 1.07-6
76
+- License is "GPLv2 or Artistic", not "GPLv2+ or Artistic"
77
+- BR: perl(Test::Pod) for additional test coverage
78
+- BR: Perl core modules that might be dual-lived
79
+- Make %%files list more explicit
80
+- Drop %%defattr, redundant since rpm 4.4
81
+- Fix provides filter to work with rpm ≥ 4.9
82
+- Don't need to remove empty directories from buildroot
83
+- Use DESTDIR rather than PERL_INSTALL_ROOT
84
+- Don't use macros for commands
85
+- Reinstate buildroot definition and cleaning for EPEL-5 compatibility
86
+- Use tabs
87
+
88
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5
89
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
90
+
91
+* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-4
92
+- Perl mass rebuild
93
+
94
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3
95
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
96
+
97
+* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-2
98
+- Rebuild to fix problems with vendorarch/lib (#661697)
99
+
100
+* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.07-1
101
+- Upstream released new version
102
+
103
+* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-4
104
+- Mass rebuild with perl-5.12.0
105
+
106
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.06-3
107
+- Rebuild against perl 5.10.1
108
+
109
+* Wed Jul 29 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-2
110
+- Review fixes (#513874)
111
+
112
+* Sun Jul 26 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-1
113
+- Initial import
114
[-] Added perl-Math-Calc-Units_CentOS_7.spec ^
114
 
1
@@ -0,0 +1,112 @@
2
+Name:      perl-Math-Calc-Units
3
+Version:   1.07
4
+Release:   9%{?dist}
5
+Summary:   Human-readable unit-aware calculator
6
+License:   GPLv2 or Artistic
7
+Group:     Development/Libraries
8
+URL:       http://search.cpan.org/dist/Math-Calc-Units
9
+Source0:   http://search.cpan.org/CPAN/authors/id/S/SF/SFINK/Math-Calc-Units-%{version}.tar.gz
10
+BuildArch: noarch
11
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
12
+BuildRequires: perl(base)
13
+BuildRequires: perl(Carp)
14
+BuildRequires: perl(constant)
15
+BuildRequires: perl(Exporter)
16
+BuildRequires: perl(ExtUtils::MakeMaker)
17
+BuildRequires: perl(File::Basename)
18
+BuildRequires: perl(Getopt::Long)
19
+BuildRequires: perl(Test::More)
20
+BuildRequires: perl(Test::Pod)
21
+BuildRequires: perl(Time::Local)
22
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
+
24
+# Remove unwanted provide if we have rpm 4.9 or later
25
+%global __provides_exclude ^perl\\(Parse::Yapp::Driver\\)
26
+
27
+%description
28
+Math::Calc::Units is a simple calculator that keeps track of units. It
29
+currently handles combinations of byte sizes and duration only, although
30
+adding any other multiplicative types is easy. Any unknown type is treated
31
+as a unique user type (with some effort to map English plurals to their
32
+singular forms).
33
+
34
+%prep
35
+%setup -q -n Math-Calc-Units-%{version}
36
+
37
+# Remove unwanted provide if we don't have rpm 4.9 or later
38
+%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/perl(Parse::Yapp::Driver)/d'"
39
+%define __perl_provides %{provfilt}
40
+
41
+%build
42
+perl Makefile.PL INSTALLDIRS=vendor
43
+make %{?_smp_mflags}
44
+
45
+%install
46
+rm -rf %{buildroot}
47
+make pure_install DESTDIR=%{buildroot}
48
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
49
+%{_fixperms} %{buildroot}
50
+
51
+# Remove file we don't need packaging
52
+rm %{buildroot}%{perl_vendorlib}/Math/Calc/Units/Grammar.y
53
+
54
+%check
55
+make test
56
+
57
+%clean
58
+
59
+%files
60
+%doc Artistic.html Changes COPYING LICENSE README
61
+%{_bindir}/ucalc
62
+%{perl_vendorlib}/Math/
63
+%{_mandir}/man3/Math::Calc::Units.3pm*
64
+
65
+%changelog
66
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-9
67
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
68
+
69
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-8
70
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71
+
72
+* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.07-7
73
+- Perl 5.16 rebuild
74
+
75
+* Sun Apr  1 2012 Paul Howarth <paul@city-fan.org> - 1.07-6
76
+- License is "GPLv2 or Artistic", not "GPLv2+ or Artistic"
77
+- BR: perl(Test::Pod) for additional test coverage
78
+- BR: Perl core modules that might be dual-lived
79
+- Make %%files list more explicit
80
+- Drop %%defattr, redundant since rpm 4.4
81
+- Fix provides filter to work with rpm ≥ 4.9
82
+- Don't need to remove empty directories from buildroot
83
+- Use DESTDIR rather than PERL_INSTALL_ROOT
84
+- Don't use macros for commands
85
+- Reinstate buildroot definition and cleaning for EPEL-5 compatibility
86
+- Use tabs
87
+
88
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5
89
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
90
+
91
+* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-4
92
+- Perl mass rebuild
93
+
94
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3
95
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
96
+
97
+* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-2
98
+- Rebuild to fix problems with vendorarch/lib (#661697)
99
+
100
+* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.07-1
101
+- Upstream released new version
102
+
103
+* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-4
104
+- Mass rebuild with perl-5.12.0
105
+
106
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.06-3
107
+- Rebuild against perl 5.10.1
108
+
109
+* Wed Jul 29 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-2
110
+- Review fixes (#513874)
111
+
112
+* Sun Jul 26 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-1
113
+- Initial import
114
[-] Added perl-Math-Calc-Units_CentOS_8.spec ^
114
 
1
@@ -0,0 +1,112 @@
2
+Name:      perl-Math-Calc-Units
3
+Version:   1.07
4
+Release:   9%{?dist}
5
+Summary:   Human-readable unit-aware calculator
6
+License:   GPLv2 or Artistic
7
+Group:     Development/Libraries
8
+URL:       http://search.cpan.org/dist/Math-Calc-Units
9
+Source0:   http://search.cpan.org/CPAN/authors/id/S/SF/SFINK/Math-Calc-Units-%{version}.tar.gz
10
+BuildArch: noarch
11
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
12
+BuildRequires: perl(base)
13
+BuildRequires: perl(Carp)
14
+BuildRequires: perl(constant)
15
+BuildRequires: perl(Exporter)
16
+BuildRequires: perl(ExtUtils::MakeMaker)
17
+BuildRequires: perl(File::Basename)
18
+BuildRequires: perl(Getopt::Long)
19
+BuildRequires: perl(Test::More)
20
+BuildRequires: perl(Test::Pod)
21
+BuildRequires: perl(Time::Local)
22
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
+
24
+# Remove unwanted provide if we have rpm 4.9 or later
25
+%global __provides_exclude ^perl\\(Parse::Yapp::Driver\\)
26
+
27
+%description
28
+Math::Calc::Units is a simple calculator that keeps track of units. It
29
+currently handles combinations of byte sizes and duration only, although
30
+adding any other multiplicative types is easy. Any unknown type is treated
31
+as a unique user type (with some effort to map English plurals to their
32
+singular forms).
33
+
34
+%prep
35
+%setup -q -n Math-Calc-Units-%{version}
36
+
37
+# Remove unwanted provide if we don't have rpm 4.9 or later
38
+%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/perl(Parse::Yapp::Driver)/d'"
39
+%define __perl_provides %{provfilt}
40
+
41
+%build
42
+perl Makefile.PL INSTALLDIRS=vendor
43
+make %{?_smp_mflags}
44
+
45
+%install
46
+rm -rf %{buildroot}
47
+make pure_install DESTDIR=%{buildroot}
48
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
49
+%{_fixperms} %{buildroot}
50
+
51
+# Remove file we don't need packaging
52
+rm %{buildroot}%{perl_vendorlib}/Math/Calc/Units/Grammar.y
53
+
54
+%check
55
+make test
56
+
57
+%clean
58
+
59
+%files
60
+%doc Artistic.html Changes COPYING LICENSE README
61
+%{_bindir}/ucalc
62
+%{perl_vendorlib}/Math/
63
+%{_mandir}/man3/Math::Calc::Units.3pm*
64
+
65
+%changelog
66
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-9
67
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
68
+
69
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-8
70
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71
+
72
+* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.07-7
73
+- Perl 5.16 rebuild
74
+
75
+* Sun Apr  1 2012 Paul Howarth <paul@city-fan.org> - 1.07-6
76
+- License is "GPLv2 or Artistic", not "GPLv2+ or Artistic"
77
+- BR: perl(Test::Pod) for additional test coverage
78
+- BR: Perl core modules that might be dual-lived
79
+- Make %%files list more explicit
80
+- Drop %%defattr, redundant since rpm 4.4
81
+- Fix provides filter to work with rpm ≥ 4.9
82
+- Don't need to remove empty directories from buildroot
83
+- Use DESTDIR rather than PERL_INSTALL_ROOT
84
+- Don't use macros for commands
85
+- Reinstate buildroot definition and cleaning for EPEL-5 compatibility
86
+- Use tabs
87
+
88
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5
89
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
90
+
91
+* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-4
92
+- Perl mass rebuild
93
+
94
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3
95
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
96
+
97
+* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-2
98
+- Rebuild to fix problems with vendorarch/lib (#661697)
99
+
100
+* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.07-1
101
+- Upstream released new version
102
+
103
+* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-4
104
+- Mass rebuild with perl-5.12.0
105
+
106
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.06-3
107
+- Rebuild against perl 5.10.1
108
+
109
+* Wed Jul 29 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-2
110
+- Review fixes (#513874)
111
+
112
+* Sun Jul 26 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-1
113
+- Initial import
114
[-] Added perl-Math-Calc-Units_RHEL_6.spec ^
114
 
1
@@ -0,0 +1,112 @@
2
+Name:      perl-Math-Calc-Units
3
+Version:   1.07
4
+Release:   9%{?dist}
5
+Summary:   Human-readable unit-aware calculator
6
+License:   GPLv2 or Artistic
7
+Group:     Development/Libraries
8
+URL:       http://search.cpan.org/dist/Math-Calc-Units
9
+Source0:   http://search.cpan.org/CPAN/authors/id/S/SF/SFINK/Math-Calc-Units-%{version}.tar.gz
10
+BuildArch: noarch
11
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
12
+BuildRequires: perl(base)
13
+BuildRequires: perl(Carp)
14
+BuildRequires: perl(constant)
15
+BuildRequires: perl(Exporter)
16
+BuildRequires: perl(ExtUtils::MakeMaker)
17
+BuildRequires: perl(File::Basename)
18
+BuildRequires: perl(Getopt::Long)
19
+BuildRequires: perl(Test::More)
20
+BuildRequires: perl(Test::Pod)
21
+BuildRequires: perl(Time::Local)
22
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
+
24
+# Remove unwanted provide if we have rpm 4.9 or later
25
+%global __provides_exclude ^perl\\(Parse::Yapp::Driver\\)
26
+
27
+%description
28
+Math::Calc::Units is a simple calculator that keeps track of units. It
29
+currently handles combinations of byte sizes and duration only, although
30
+adding any other multiplicative types is easy. Any unknown type is treated
31
+as a unique user type (with some effort to map English plurals to their
32
+singular forms).
33
+
34
+%prep
35
+%setup -q -n Math-Calc-Units-%{version}
36
+
37
+# Remove unwanted provide if we don't have rpm 4.9 or later
38
+%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/perl(Parse::Yapp::Driver)/d'"
39
+%define __perl_provides %{provfilt}
40
+
41
+%build
42
+perl Makefile.PL INSTALLDIRS=vendor
43
+make %{?_smp_mflags}
44
+
45
+%install
46
+rm -rf %{buildroot}
47
+make pure_install DESTDIR=%{buildroot}
48
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
49
+%{_fixperms} %{buildroot}
50
+
51
+# Remove file we don't need packaging
52
+rm %{buildroot}%{perl_vendorlib}/Math/Calc/Units/Grammar.y
53
+
54
+%check
55
+make test
56
+
57
+%clean
58
+
59
+%files
60
+%doc Artistic.html Changes COPYING LICENSE README
61
+%{_bindir}/ucalc
62
+%{perl_vendorlib}/Math/
63
+%{_mandir}/man3/Math::Calc::Units.3pm*
64
+
65
+%changelog
66
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-9
67
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
68
+
69
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-8
70
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71
+
72
+* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.07-7
73
+- Perl 5.16 rebuild
74
+
75
+* Sun Apr  1 2012 Paul Howarth <paul@city-fan.org> - 1.07-6
76
+- License is "GPLv2 or Artistic", not "GPLv2+ or Artistic"
77
+- BR: perl(Test::Pod) for additional test coverage
78
+- BR: Perl core modules that might be dual-lived
79
+- Make %%files list more explicit
80
+- Drop %%defattr, redundant since rpm 4.4
81
+- Fix provides filter to work with rpm ≥ 4.9
82
+- Don't need to remove empty directories from buildroot
83
+- Use DESTDIR rather than PERL_INSTALL_ROOT
84
+- Don't use macros for commands
85
+- Reinstate buildroot definition and cleaning for EPEL-5 compatibility
86
+- Use tabs
87
+
88
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5
89
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
90
+
91
+* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-4
92
+- Perl mass rebuild
93
+
94
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3
95
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
96
+
97
+* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-2
98
+- Rebuild to fix problems with vendorarch/lib (#661697)
99
+
100
+* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.07-1
101
+- Upstream released new version
102
+
103
+* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-4
104
+- Mass rebuild with perl-5.12.0
105
+
106
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.06-3
107
+- Rebuild against perl 5.10.1
108
+
109
+* Wed Jul 29 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-2
110
+- Review fixes (#513874)
111
+
112
+* Sun Jul 26 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-1
113
+- Initial import
114
[-] Added perl-Math-Calc-Units_RHEL_7.spec ^
114
 
1
@@ -0,0 +1,112 @@
2
+Name:      perl-Math-Calc-Units
3
+Version:   1.07
4
+Release:   9%{?dist}
5
+Summary:   Human-readable unit-aware calculator
6
+License:   GPLv2 or Artistic
7
+Group:     Development/Libraries
8
+URL:       http://search.cpan.org/dist/Math-Calc-Units
9
+Source0:   http://search.cpan.org/CPAN/authors/id/S/SF/SFINK/Math-Calc-Units-%{version}.tar.gz
10
+BuildArch: noarch
11
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
12
+BuildRequires: perl(base)
13
+BuildRequires: perl(Carp)
14
+BuildRequires: perl(constant)
15
+BuildRequires: perl(Exporter)
16
+BuildRequires: perl(ExtUtils::MakeMaker)
17
+BuildRequires: perl(File::Basename)
18
+BuildRequires: perl(Getopt::Long)
19
+BuildRequires: perl(Test::More)
20
+BuildRequires: perl(Test::Pod)
21
+BuildRequires: perl(Time::Local)
22
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
+
24
+# Remove unwanted provide if we have rpm 4.9 or later
25
+%global __provides_exclude ^perl\\(Parse::Yapp::Driver\\)
26
+
27
+%description
28
+Math::Calc::Units is a simple calculator that keeps track of units. It
29
+currently handles combinations of byte sizes and duration only, although
30
+adding any other multiplicative types is easy. Any unknown type is treated
31
+as a unique user type (with some effort to map English plurals to their
32
+singular forms).
33
+
34
+%prep
35
+%setup -q -n Math-Calc-Units-%{version}
36
+
37
+# Remove unwanted provide if we don't have rpm 4.9 or later
38
+%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/perl(Parse::Yapp::Driver)/d'"
39
+%define __perl_provides %{provfilt}
40
+
41
+%build
42
+perl Makefile.PL INSTALLDIRS=vendor
43
+make %{?_smp_mflags}
44
+
45
+%install
46
+rm -rf %{buildroot}
47
+make pure_install DESTDIR=%{buildroot}
48
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
49
+%{_fixperms} %{buildroot}
50
+
51
+# Remove file we don't need packaging
52
+rm %{buildroot}%{perl_vendorlib}/Math/Calc/Units/Grammar.y
53
+
54
+%check
55
+make test
56
+
57
+%clean
58
+
59
+%files
60
+%doc Artistic.html Changes COPYING LICENSE README
61
+%{_bindir}/ucalc
62
+%{perl_vendorlib}/Math/
63
+%{_mandir}/man3/Math::Calc::Units.3pm*
64
+
65
+%changelog
66
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-9
67
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
68
+
69
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-8
70
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71
+
72
+* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.07-7
73
+- Perl 5.16 rebuild
74
+
75
+* Sun Apr  1 2012 Paul Howarth <paul@city-fan.org> - 1.07-6
76
+- License is "GPLv2 or Artistic", not "GPLv2+ or Artistic"
77
+- BR: perl(Test::Pod) for additional test coverage
78
+- BR: Perl core modules that might be dual-lived
79
+- Make %%files list more explicit
80
+- Drop %%defattr, redundant since rpm 4.4
81
+- Fix provides filter to work with rpm ≥ 4.9
82
+- Don't need to remove empty directories from buildroot
83
+- Use DESTDIR rather than PERL_INSTALL_ROOT
84
+- Don't use macros for commands
85
+- Reinstate buildroot definition and cleaning for EPEL-5 compatibility
86
+- Use tabs
87
+
88
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5
89
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
90
+
91
+* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-4
92
+- Perl mass rebuild
93
+
94
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3
95
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
96
+
97
+* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-2
98
+- Rebuild to fix problems with vendorarch/lib (#661697)
99
+
100
+* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.07-1
101
+- Upstream released new version
102
+
103
+* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-4
104
+- Mass rebuild with perl-5.12.0
105
+
106
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.06-3
107
+- Rebuild against perl 5.10.1
108
+
109
+* Wed Jul 29 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-2
110
+- Review fixes (#513874)
111
+
112
+* Sun Jul 26 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-1
113
+- Initial import
114
[-] Added perl-Math-Calc-Units_RHEL_8.spec ^
114
 
1
@@ -0,0 +1,112 @@
2
+Name:      perl-Math-Calc-Units
3
+Version:   1.07
4
+Release:   9%{?dist}
5
+Summary:   Human-readable unit-aware calculator
6
+License:   GPLv2 or Artistic
7
+Group:     Development/Libraries
8
+URL:       http://search.cpan.org/dist/Math-Calc-Units
9
+Source0:   http://search.cpan.org/CPAN/authors/id/S/SF/SFINK/Math-Calc-Units-%{version}.tar.gz
10
+BuildArch: noarch
11
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -nu)
12
+BuildRequires: perl(base)
13
+BuildRequires: perl(Carp)
14
+BuildRequires: perl(constant)
15
+BuildRequires: perl(Exporter)
16
+BuildRequires: perl(ExtUtils::MakeMaker)
17
+BuildRequires: perl(File::Basename)
18
+BuildRequires: perl(Getopt::Long)
19
+BuildRequires: perl(Test::More)
20
+BuildRequires: perl(Test::Pod)
21
+BuildRequires: perl(Time::Local)
22
+Requires:  perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version))
23
+
24
+# Remove unwanted provide if we have rpm 4.9 or later
25
+%global __provides_exclude ^perl\\(Parse::Yapp::Driver\\)
26
+
27
+%description
28
+Math::Calc::Units is a simple calculator that keeps track of units. It
29
+currently handles combinations of byte sizes and duration only, although
30
+adding any other multiplicative types is easy. Any unknown type is treated
31
+as a unique user type (with some effort to map English plurals to their
32
+singular forms).
33
+
34
+%prep
35
+%setup -q -n Math-Calc-Units-%{version}
36
+
37
+# Remove unwanted provide if we don't have rpm 4.9 or later
38
+%global provfilt /bin/sh -c "%{__perl_provides} | sed -e '/perl(Parse::Yapp::Driver)/d'"
39
+%define __perl_provides %{provfilt}
40
+
41
+%build
42
+perl Makefile.PL INSTALLDIRS=vendor
43
+make %{?_smp_mflags}
44
+
45
+%install
46
+rm -rf %{buildroot}
47
+make pure_install DESTDIR=%{buildroot}
48
+find %{buildroot} -type f -name .packlist -exec rm -f {} \;
49
+%{_fixperms} %{buildroot}
50
+
51
+# Remove file we don't need packaging
52
+rm %{buildroot}%{perl_vendorlib}/Math/Calc/Units/Grammar.y
53
+
54
+%check
55
+make test
56
+
57
+%clean
58
+
59
+%files
60
+%doc Artistic.html Changes COPYING LICENSE README
61
+%{_bindir}/ucalc
62
+%{perl_vendorlib}/Math/
63
+%{_mandir}/man3/Math::Calc::Units.3pm*
64
+
65
+%changelog
66
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-9
67
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
68
+
69
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-8
70
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
71
+
72
+* Mon Jun 11 2012 Petr Pisar <ppisar@redhat.com> - 1.07-7
73
+- Perl 5.16 rebuild
74
+
75
+* Sun Apr  1 2012 Paul Howarth <paul@city-fan.org> - 1.07-6
76
+- License is "GPLv2 or Artistic", not "GPLv2+ or Artistic"
77
+- BR: perl(Test::Pod) for additional test coverage
78
+- BR: Perl core modules that might be dual-lived
79
+- Make %%files list more explicit
80
+- Drop %%defattr, redundant since rpm 4.4
81
+- Fix provides filter to work with rpm ≥ 4.9
82
+- Don't need to remove empty directories from buildroot
83
+- Use DESTDIR rather than PERL_INSTALL_ROOT
84
+- Don't use macros for commands
85
+- Reinstate buildroot definition and cleaning for EPEL-5 compatibility
86
+- Use tabs
87
+
88
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-5
89
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
90
+
91
+* Fri Jun 17 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.07-4
92
+- Perl mass rebuild
93
+
94
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.07-3
95
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
96
+
97
+* Mon Dec 20 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.07-2
98
+- Rebuild to fix problems with vendorarch/lib (#661697)
99
+
100
+* Thu Jun 24 2010 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.07-1
101
+- Upstream released new version
102
+
103
+* Mon May 03 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.06-4
104
+- Mass rebuild with perl-5.12.0
105
+
106
+* Mon Dec  7 2009 Stepan Kasal <skasal@redhat.com> - 1.06-3
107
+- Rebuild against perl 5.10.1
108
+
109
+* Wed Jul 29 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-2
110
+- Review fixes (#513874)
111
+
112
+* Sun Jul 26 2009 Ruben Kerkhof <ruben@rubenkerkhof.com> - 1.06-1
113
+- Initial import
114
Added Math-Calc-Units-1.07.tar.gz ^