1 %include /usr/lib/rpm/macros.perl
2 Summary: RRDtool - round robin database
7 Group: Applications/Databases
8 Group(pl): Aplikacje/Bazy danych
9 Source0: http://ee-staff.ethz.ch/~oetiker/webtools/rrdtools/pub/%{name}-%{version}.tar.gz
10 #Patch0: /%{name}-perl-location.patch
11 Patch0: %{name}-makefile.patch
12 URL: http://ee-staff.ethz.ch/~oetiker/webtools/rrdtol/
13 #BuildRequired: tcl-devel
14 Requires: perl >= 5.005
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 RRD is the Acronym for Round Robin Database. RRD is a system to store
19 and display time-series data (i.e. network bandwidth, machine-room
20 temperature, server load average). It stores the data in a very
21 compact way that will not expand over time, and it presents useful
22 graphs by processing the data to enforce a certain data density. It
23 can be used either via simple wrapper scripts (from shell or Perl) or
24 via frontends that poll network devices and put a friendly user
28 Summary: RDDTools development
29 Summary(pl): Narzêdzia programistyczne pakietu RRDtools
30 Group: Development/Libraries
31 Group(de): Entwicklung/Libraries
32 Group(fr): Development/Librairies
33 Group(pl): Programowanie/Biblioteki
37 RDDTools development files.
39 %description -l pl devel
40 Narzêdzia programistyczne pakietu RRDtools.
43 Summary: RDDTools static library
44 Summary(pl): Statyczne biblioteki RRDtools
45 Group: Development/Libraries
46 Group(de): Entwicklung/Libraries
47 Group(fr): Development/Librairies
48 Group(pl): Programowanie/Biblioteki
49 Requires: %{name}-devel
52 RDDTools static library.
54 %description -l pl static
55 Statyczne biblioteki RRDtools.
68 # uncoment this line ONLY IF tcl package is ready.
69 # --with-tclib=%{_prefix}
73 rm -rf $RPM_BUILD_ROOT
74 %{__make} DESTDIR=$RPM_BUILD_ROOT install
75 %{__make} DESTDIR=$RPM_BUILD_ROOT site-perl-install
77 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
79 (cd $RPM_BUILD_ROOT%{_prefix}/src/examples/%{name};
80 mv -f ../../../examples/* .;
81 mv -f ../../../contrib .)
83 %post -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
87 rm -rf $RPM_BUILD_ROOT
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_bindir}/rrd*
92 %attr(755,root,root) %{_bindir}/trytime
93 %attr(755,root,root) %{_libdir}/lib*.so.*.*
98 %defattr(644,root,root,755)
99 %attr(644,root,root) %{_libdir}/librrd.so
100 %attr(644,root,root) %{_libdir}/librrd.la
101 %{_examplesdir}/%{name}
104 %defattr(644,root,root,755)
105 %attr(755,root,root) %{_libdir}/librrd.la