1 |
jpp |
1.1 |
Name: perl-RRD-Simple |
2 |
|
|
Version: 1.44 |
3 |
|
|
Release: 47%{?dist} |
4 |
|
|
Summary: Simple interface to create and store data in RRD files |
5 |
|
|
License: Apache-2.0 |
6 |
|
|
URL: https://metacpan.org/release/RRD-Simple |
7 |
|
|
Source0: https://cpan.metacpan.org/authors/id/N/NI/NICOLAW/RRD-Simple-%{version}.tar.gz |
8 |
|
|
BuildArch: noarch |
9 |
|
|
# Module Build |
10 |
|
|
BuildRequires: coreutils |
11 |
|
|
BuildRequires: findutils |
12 |
|
|
BuildRequires: make |
13 |
|
|
BuildRequires: perl-generators |
14 |
|
|
BuildRequires: perl-interpreter |
15 |
|
|
BuildRequires: perl(Config) |
16 |
|
|
BuildRequires: perl(Module::Build) |
17 |
|
|
# Module Runtime |
18 |
|
|
BuildRequires: perl(Carp) |
19 |
|
|
BuildRequires: perl(Data::Dumper) |
20 |
|
|
BuildRequires: perl(Exporter) |
21 |
|
|
BuildRequires: perl(File::Basename) |
22 |
|
|
BuildRequires: perl(File::Copy) |
23 |
|
|
BuildRequires: perl(File::Spec) |
24 |
|
|
BuildRequires: perl(File::Temp) |
25 |
|
|
BuildRequires: perl(POSIX) |
26 |
|
|
BuildRequires: perl(RRDs) |
27 |
|
|
BuildRequires: perl(strict) |
28 |
|
|
BuildRequires: perl(vars) |
29 |
|
|
BuildRequires: perl(warnings) |
30 |
|
|
# Test Suite |
31 |
|
|
BuildRequires: perl(lib) |
32 |
|
|
BuildRequires: perl(Test::More) |
33 |
|
|
# Optional Tests |
34 |
|
|
BuildRequires: perl(Test::Pod) |
35 |
|
|
BuildRequires: perl(Test::Pod::Coverage) |
36 |
|
|
# Runtime |
37 |
|
|
Requires: perl(Data::Dumper) |
38 |
|
|
Requires: perl(File::Copy) |
39 |
|
|
Requires: perl(File::Temp) |
40 |
|
|
|
41 |
|
|
# Optional test dependency that breaks tests |
42 |
|
|
# https://rt.cpan.org/Public/Bug/Display.html?id=46193 |
43 |
|
|
BuildConflicts: perl(Test::Deep) |
44 |
|
|
|
45 |
|
|
# Move to unversioned documentation directories from F-20 |
46 |
|
|
# https://fedoraproject.org/wiki/Changes/UnversionedDocdirs |
47 |
|
|
%global rrd_docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} |
48 |
|
|
|
49 |
|
|
%description |
50 |
|
|
RRD::Simple provides a simple interface to RRDTool's RRDs module. This module |
51 |
|
|
does not currently offer the fetch method that is available in the RRDs |
52 |
|
|
module. It does, however, create RRD files with a sensible set of default RRA |
53 |
|
|
Round Robin Archive) definitions, and can dynamically add new data source |
54 |
|
|
names to an existing RRD file. |
55 |
|
|
|
56 |
|
|
This module is ideal for quick and simple storage of data within an RRD file |
57 |
|
|
if you do not need to, nor want to, bother defining custom RRA definitions. |
58 |
|
|
|
59 |
|
|
%prep |
60 |
|
|
%setup -q -n RRD-Simple-%{version} |
61 |
|
|
|
62 |
|
|
# Don't want provides/requires from documentation |
63 |
|
|
%global docfilt perl -p -e 's|%{rrd_docdir}\\S+||' |
64 |
|
|
# RRD::Simple version should be from distribution version, not svn revision |
65 |
|
|
%global verfilt perl -p -e 's/(perl\\(RRD::Simple\\) =) \\d+/\\1 %{version}/' |
66 |
|
|
# Apply provides/requires filters |
67 |
|
|
%global provfilt /bin/sh -c "%{docfilt} | %{__perl_provides} | %{verfilt}" |
68 |
|
|
%global __perl_provides %{provfilt} |
69 |
|
|
%global reqfilt /bin/sh -c "%{docfilt} | %{__perl_requires}" |
70 |
|
|
%global __perl_requires %{reqfilt} |
71 |
|
|
|
72 |
|
|
%build |
73 |
|
|
# Prevent call-home query/timeout; not strictly necessary |
74 |
|
|
AUTOMATED_TESTING=1 perl Build.PL --installdirs=vendor |
75 |
|
|
./Build |
76 |
|
|
|
77 |
|
|
%install |
78 |
|
|
./Build install --destdir=%{buildroot} --create_packlist=0 |
79 |
|
|
%{_fixperms} -c %{buildroot} |
80 |
|
|
|
81 |
|
|
%check |
82 |
|
|
LC_ALL=C ./Build test |
83 |
|
|
|
84 |
|
|
%files |
85 |
|
|
%license LICENSE NOTICE |
86 |
|
|
%doc Changes README examples/ t/ |
87 |
|
|
%dir %{perl_vendorlib}/RRD/ |
88 |
|
|
%dir %{perl_vendorlib}/RRD/Simple/ |
89 |
|
|
%{perl_vendorlib}/RRD/Simple.pm |
90 |
|
|
%doc %{perl_vendorlib}/RRD/Simple/Examples.pod |
91 |
|
|
%{_mandir}/man3/RRD::Simple.3* |
92 |
|
|
%{_mandir}/man3/RRD::Simple::Examples.3* |
93 |
|
|
|
94 |
|
|
%changelog |
95 |
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-47 |
96 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild |
97 |
|
|
|
98 |
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-46 |
99 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild |
100 |
|
|
|
101 |
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-45 |
102 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild |
103 |
|
|
|
104 |
|
|
* Wed Jun 01 2022 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-44 |
105 |
|
|
- Perl 5.36 rebuild |
106 |
|
|
|
107 |
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-43 |
108 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild |
109 |
|
|
|
110 |
|
|
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-42 |
111 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild |
112 |
|
|
|
113 |
|
|
* Sat May 22 2021 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-41 |
114 |
|
|
- Perl 5.34 rebuild |
115 |
|
|
|
116 |
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-40 |
117 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild |
118 |
|
|
|
119 |
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-39 |
120 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild |
121 |
|
|
|
122 |
|
|
* Thu Jun 25 2020 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-38 |
123 |
|
|
- Perl 5.32 rebuild |
124 |
|
|
|
125 |
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-37 |
126 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild |
127 |
|
|
|
128 |
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-36 |
129 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
130 |
|
|
|
131 |
|
|
* Fri May 31 2019 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-35 |
132 |
|
|
- Perl 5.30 rebuild |
133 |
|
|
|
134 |
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-34 |
135 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
136 |
|
|
|
137 |
|
|
* Tue Jan 29 2019 Paul Howarth <paul@city-fan.org> - 1.44-33 |
138 |
|
|
- Drop redundant buildroot cleaning in %%install section |
139 |
|
|
- Drop redundant explicit %%clean section |
140 |
|
|
|
141 |
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-32 |
142 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
143 |
|
|
|
144 |
|
|
* Fri Jun 29 2018 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-31 |
145 |
|
|
- Perl 5.28 rebuild |
146 |
|
|
|
147 |
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-30 |
148 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
149 |
|
|
|
150 |
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-29 |
151 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
152 |
|
|
|
153 |
|
|
* Mon Jun 05 2017 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-28 |
154 |
|
|
- Perl 5.26 rebuild |
155 |
|
|
|
156 |
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-27 |
157 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
158 |
|
|
|
159 |
|
|
* Thu Jul 21 2016 Petr Pisar <ppisar@redhat.com> - 1.44-26 |
160 |
|
|
- Adjust RPM version detection to SRPM build root without perl |
161 |
|
|
|
162 |
|
|
* Tue May 17 2016 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-25 |
163 |
|
|
- Perl 5.24 rebuild |
164 |
|
|
|
165 |
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.44-24 |
166 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
167 |
|
|
|
168 |
|
|
* Tue Jan 12 2016 Paul Howarth <paul@city-fan.org> - 1.44-23 |
169 |
|
|
- Use %%global rather than %%define |
170 |
|
|
|
171 |
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-22 |
172 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
173 |
|
|
|
174 |
|
|
* Mon Jun 08 2015 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-21 |
175 |
|
|
- Perl 5.22 rebuild |
176 |
|
|
|
177 |
|
|
* Tue Apr 21 2015 Paul Howarth <paul@city-fan.org> - 1.44-20 |
178 |
|
|
- Classify buildreqs by usage |
179 |
|
|
- Drop %%defattr, redundant since rpm 4.4 |
180 |
|
|
- Use %%license where possible |
181 |
|
|
|
182 |
|
|
* Thu Aug 28 2014 Jitka Plesnikova <jplesnik@redhat.com> - 1.44-19 |
183 |
|
|
- Perl 5.20 rebuild |
184 |
|
|
|
185 |
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-18 |
186 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
187 |
|
|
|
188 |
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-17 |
189 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
190 |
|
|
|
191 |
|
|
* Wed Jul 31 2013 Paul Howarth <paul@city-fan.org> - 1.44-16 |
192 |
|
|
- Handle filtering of provides from unversioned doc-dirs from F-20 |
193 |
|
|
- Don't need to remove empty directories from the buildroot |
194 |
|
|
|
195 |
|
|
* Fri Jul 26 2013 Petr Pisar <ppisar@redhat.com> - 1.44-15 |
196 |
|
|
- Perl 5.18 rebuild |
197 |
|
|
|
198 |
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-14 |
199 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild |
200 |
|
|
|
201 |
|
|
* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-13 |
202 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild |
203 |
|
|
|
204 |
|
|
* Wed Jun 27 2012 Petr Pisar <ppisar@redhat.com> - 1.44-12 |
205 |
|
|
- Perl 5.16 rebuild |
206 |
|
|
|
207 |
|
|
* Thu Jan 12 2012 Paul Howarth <paul@city-fan.org> - 1.44-11 |
208 |
|
|
- Fix provides/requires filters to work with rpm 4.9+ too |
209 |
|
|
- Add buildreqs for perl core modules, which may be dual-lived |
210 |
|
|
- Nobody else likes macros for commands |
211 |
|
|
- Don't package INSTALL file |
212 |
|
|
|
213 |
|
|
* Mon Jun 20 2011 Marcela Mašláňová <mmaslano@redhat.com> - 1.44-10 |
214 |
|
|
- Perl mass rebuild |
215 |
|
|
|
216 |
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-9 |
217 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild |
218 |
|
|
|
219 |
|
|
* Tue Nov 16 2010 Paul Howarth <paul@city-fan.org> - 1.44-8 |
220 |
|
|
- Rebuild with rrdtool 1.4.4 in Rawhide (#631131) |
221 |
|
|
|
222 |
|
|
* Thu May 06 2010 Marcela Maslanova <mmaslano@redhat.com> - 1.44-7 |
223 |
|
|
- Mass rebuild with perl-5.12.0 |
224 |
|
|
|
225 |
|
|
* Thu Mar 11 2010 Paul Howarth <paul@city-fan.org> - 1.44-6 |
226 |
|
|
- Drop POD patch, only needed with Test::Pod 1.40 |
227 |
|
|
|
228 |
|
|
* Wed Mar 3 2010 Paul Howarth <paul@city-fan.org> - 1.44-5 |
229 |
|
|
- Change buildreq perl(Test::Deep) to a build conflict until upstream fixes |
230 |
|
|
failing t/32exported_function_interface.t (#464964, CPAN RT#46193) |
231 |
|
|
- Fix broken POD (CPAN RT#50868) |
232 |
|
|
- Cosmetic clean-up of spec |
233 |
|
|
- Mark RRD::Simple::Examples POD as %%doc |
234 |
|
|
- Run test suite in "C" locale for spec compatibility with old distributions |
235 |
|
|
- Simplify provides/requires filter |
236 |
|
|
- Fix versioned provide for perl(RRD::Simple) |
237 |
|
|
|
238 |
|
|
* Mon Dec 7 2009 Stepan Kasal <skasal@redhat.com> - 1.44-4 |
239 |
|
|
- Rebuild against perl 5.10.1 |
240 |
|
|
|
241 |
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-3 |
242 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
243 |
|
|
|
244 |
|
|
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.44-2 |
245 |
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
246 |
|
|
|
247 |
|
|
* Sun Aug 03 2008 Chris Weyl <cweyl@alumni.drew.edu> - 1.44-1 |
248 |
|
|
- Update to 1.44 |
249 |
|
|
|
250 |
|
|
* Thu Mar 06 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.43-3 |
251 |
|
|
- Rebuild for new perl |
252 |
|
|
|
253 |
|
|
* Fri Jan 11 2008 Ralf Corsépius <rc040203@freenet.de> - 1.43-2 |
254 |
|
|
- BR: perl(Test::More) (BZ 419631) |
255 |
|
|
- BR: perl(Test::Pod), perl(Test::Pod::Coverage) |
256 |
|
|
|
257 |
|
|
* Wed Mar 21 2007 Chris Weyl <cweyl@alumni.drew.edu> - 1.43-1 |
258 |
|
|
- Update to 1.43 |
259 |
|
|
|
260 |
|
|
* Tue Feb 13 2007 Chris Weyl <cweyl@alumni.drew.edu> - 1.41-1 |
261 |
|
|
- Update to 1.41 |
262 |
|
|
- Use Build.PL directly |
263 |
|
|
|
264 |
|
|
* Thu Aug 31 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.40-2 |
265 |
|
|
- Bump for mass rebuild |
266 |
|
|
|
267 |
|
|
* Fri Aug 25 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.40-1 |
268 |
|
|
- Update to 1.40 |
269 |
|
|
- Minor spec cleanups |
270 |
|
|
|
271 |
|
|
* Tue Jun 27 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.39-1 |
272 |
|
|
- Bump release for extras build |
273 |
|
|
|
274 |
|
|
* Tue Jun 27 2006 Chris Weyl <cweyl@alumni.drew.edu> - 1.39-0 |
275 |
|
|
- Initial spec file for F-E |