2 %bcond_without tests # do not perform "make test"
6 Summary: Portable, standalone (no need for RRDs.pm) tool to create and edit RRD files
10 License: GPL v1+ or Artistic
11 Group: Development/Languages/Perl
12 Source0: http://www.cpan.org/modules/by-module/RRD/%{pdir}-%{pnam}-%{version}.tar.gz
13 # Source0-md5: 41d2d4feec7dbe748cde9aee1343debb
14 URL: http://search.cpan.org/dist/RRD-Editor/
15 BuildRequires: perl-devel >= 1:5.8.0
16 BuildRequires: rpm-perlprov >= 4.1-13
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 RRD:Editor implements most of the functionality of RRDTOOL, apart from
22 graphing, plus adds some new editing and portability features. It aims
23 to be portable and self-contained (no need for RRDs.pm).
25 RRD::Editor provides the ability to add/delete DSs and RRAs and to
26 get/set most of the parameters in DSs and RRAs (renaming, resizing
27 etc). It also allows the data values stored in each RRA to be
28 inspected and changed individually. That is, it provides almost
29 complete control over the contents of an RRD.
31 The RRD files created by RRDTOOL use a binary format (let's call it
32 native-double) that is not portable across platforms. In addition to
33 this file format, RRD:Editor provides two new portable file formats
34 (portable-double and portable-single) that allow the exchange of
35 files. RRD::Editor can freely convert RRD files between these three
36 formats (native-double,portable-double and portable-single).
39 %setup -q -n %{pdir}-%{pnam}-%{version}
42 %{__perl} Makefile.PL \
46 %{?with_tests:%{__make} test}
49 rm -rf $RPM_BUILD_ROOT
51 %{__make} pure_install \
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)