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 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 RRD is the Acronym for Round Robin Database. RRD is a system to store
18 and display time-series data (i.e. network bandwidth, machine-room
19 temperature, server load average). It stores the data in a very
20 compact way that will not expand over time, and it presents useful
21 graphs by processing the data to enforce a certain data density. It
22 can be used either via simple wrapper scripts (from shell or Perl) or
23 via frontends that poll network devices and put a friendly user
27 Summary: RDDTools development
28 Summary(pl): Narzêdzia programistyczne pakietu RRDtools
29 Group: Development/Libraries
30 Group(de): Entwicklung/Libraries
31 Group(fr): Development/Librairies
32 Group(pl): Programowanie/Biblioteki
36 RDDTools development files.
38 %description -l pl devel
39 Narzêdzia programistyczne pakietu RRDtools.
42 Summary: RDDTools static library
43 Summary(pl): Statyczne biblioteki RRDtools
44 Group: Development/Libraries
45 Group(de): Entwicklung/Libraries
46 Group(fr): Development/Librairies
47 Group(pl): Programowanie/Biblioteki
48 Requires: %{name}-devel
51 RDDTools static library.
53 %description -l pl static
54 Statyczne biblioteki RRDtools.
67 # uncoment this line ONLY IF tcl package is ready.
68 # --with-tclib=%{_prefix}
72 rm -rf $RPM_BUILD_ROOT
73 %{__make} DESTDIR=$RPM_BUILD_ROOT install
74 %{__make} DESTDIR=$RPM_BUILD_ROOT site-perl-install
76 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
78 (cd $RPM_BUILD_ROOT%{_prefix}/src/examples/%{name};
79 mv -f ../../../examples/* .;
80 mv -f ../../../contrib .)
82 %post -p /sbin/ldconfig
83 %postun -p /sbin/ldconfig
86 rm -rf $RPM_BUILD_ROOT
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_bindir}/rrd*
91 %attr(755,root,root) %{_bindir}/trytime
92 %attr(755,root,root) %{_libdir}/lib*.so.*.*
97 %defattr(644,root,root,755)
98 %attr(644,root,root) %{_libdir}/librrd.so
99 %attr(644,root,root) %{_libdir}/librrd.la
100 %{_examplesdir}/%{name}
103 %defattr(644,root,root,755)
104 %attr(755,root,root) %{_libdir}/librrd.la