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}-makefile.patch
11 URL: http://ee-staff.ethz.ch/~oetiker/webtools/rrdtol/
12 BuildRequired: autoconf
13 BuildRequired: automake
14 #BuildRequired: tcl-devel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 RRD is the Acronym for Round Robin Database. RRD is a system to store
20 and display time-series data (i.e. network bandwidth, machine-room
21 temperature, server load average). It stores the data in a very
22 compact way that will not expand over time, and it presents useful
23 graphs by processing the data to enforce a certain data density. It
24 can be used either via simple wrapper scripts (from shell or Perl) or
25 via frontends that poll network devices and put a friendly user
29 Summary: RDDTools development
30 Summary(pl): Narzêdzia programistyczne pakietu RRDtools
31 Group: Development/Libraries
32 Group(de): Entwicklung/Libraries
33 Group(fr): Development/Librairies
34 Group(pl): Programowanie/Biblioteki
38 RDDTools development files.
40 %description -l pl devel
41 Narzêdzia programistyczne pakietu RRDtools.
44 Summary: RDDTools static library
45 Summary(pl): Statyczne biblioteki RRDtools
46 Group: Development/Libraries
47 Group(de): Entwicklung/Libraries
48 Group(fr): Development/Librairies
49 Group(pl): Programowanie/Biblioteki
50 Requires: %{name}-devel
53 RDDTools static library.
55 %description -l pl static
56 Statyczne biblioteki RRDtools.
69 # uncoment this line ONLY IF tcl package is ready.
70 # --with-tclib=%{_prefix}
74 rm -rf $RPM_BUILD_ROOT
75 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
77 %{__make} DESTDIR=$RPM_BUILD_ROOT install
78 %{__make} DESTDIR=$RPM_BUILD_ROOT site-perl-install
80 (cd $RPM_BUILD_ROOT%{_examplesdir}/%{name};
81 mv -f ../../../examples/* .;
82 mv -f ../../../contrib .)
84 %post -p /sbin/ldconfig
85 %postun -p /sbin/ldconfig
88 rm -rf $RPM_BUILD_ROOT
91 %defattr(644,root,root,755)
92 %attr(755,root,root) %{_bindir}/rrd*
93 %attr(755,root,root) %{_bindir}/trytime
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*
99 %defattr(644,root,root,755)
100 %attr(644,root,root) %{_libdir}/librrd.so
101 %attr(644,root,root) %{_libdir}/librrd.la
102 %{_examplesdir}/%{name}
105 %defattr(644,root,root,755)
106 %attr(755,root,root) %{_libdir}/librrd.la