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: libtool
16 BuildRequires: perl-devel >= 5.6.1
17 #BuildRequired: tcl-devel
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 RRD is the Acronym for Round Robin Database. RRD is a system to store
22 and display time-series data (i.e. network bandwidth, machine-room
23 temperature, server load average). It stores the data in a very
24 compact way that will not expand over time, and it presents useful
25 graphs by processing the data to enforce a certain data density. It
26 can be used either via simple wrapper scripts (from shell or Perl) or
27 via frontends that poll network devices and put a friendly user
31 Summary: RDDTools development
32 Summary(pl): Narzêdzia programistyczne pakietu RRDtools
33 Group: Development/Libraries
34 Group(de): Entwicklung/Libraries
35 Group(fr): Development/Librairies
36 Group(pl): Programowanie/Biblioteki
40 RDDTools development files.
42 %description -l pl devel
43 Narzêdzia programistyczne pakietu RRDtools.
46 Summary: RDDTools static library
47 Summary(pl): Statyczne biblioteki RRDtools
48 Group: Development/Libraries
49 Group(de): Entwicklung/Libraries
50 Group(fr): Development/Librairies
51 Group(pl): Programowanie/Biblioteki
52 Requires: %{name}-devel
55 RDDTools static library.
57 %description -l pl static
58 Statyczne biblioteki RRDtools.
66 libtoolize --copy --force
73 # uncoment this line ONLY IF tcl package is ready.
74 # --with-tclib=%{_prefix}
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}
82 DESTDIR=$RPM_BUILD_ROOT \
83 perl_sitearch=%{perl_sitearch}
85 %{__make} site-perl-install \
86 DESTDIR=$RPM_BUILD_ROOT \
87 perl_sitearch=%{perl_sitearch}
89 (cd $RPM_BUILD_ROOT%{_examplesdir}/%{name};
90 mv -f ../../../examples/* .;
91 mv -f ../../../contrib .)
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 rm -rf $RPM_BUILD_ROOT
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/rrd*
102 %attr(755,root,root) %{_bindir}/trytime
103 %attr(755,root,root) %{_libdir}/lib*.so.*.*
104 %{perl_sitearch}/*.pm
105 %dir %{perl_sitearch}/auto/RRDs
106 %{perl_sitearch}/auto/RRDs/RRDs.bs
107 %attr(755,root,root) %{perl_sitearch}/auto/RRDs/RRDs.so
111 %defattr(644,root,root,755)
112 %attr(644,root,root) %{_libdir}/librrd.so
113 %attr(644,root,root) %{_libdir}/librrd.la
114 %{_examplesdir}/%{name}
117 %defattr(644,root,root,755)