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