]> git.pld-linux.org Git - packages/rrdtool.git/blob - rrdtool.spec
- typo.
[packages/rrdtool.git] / rrdtool.spec
1 Summary:        RRDtool - round robin database
2 Name:           rrdtool
3 Version:        1.0.28
4 Release:        1
5 License:        GPL
6 Group:          Applications/Databases
7 Group(pl):      Aplikacje/Bazy danych
8 Source0:        http://ee-staff.ethz.ch/~oetiker/webtools/rrdtools/pub/%{name}-%{version}.tar.gz
9 #Patch0:        /%{name}-perl-location.patch
10 #Url:           http://www.caida.org/tools/utilites/rrdtool/
11 URL:            http://ee-staff.ethz.ch/~oetiker/webtools/rrdtol/
12 #Vendor:        Tobi Oetiker <oetiker@ee.ethz.ch>
13 #BuildRequired: tcl-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define _prefix /usr
17
18 %description
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
26 interface on it.
27
28 %package devel
29 Summary:        RDDTools development.
30 Summary(pl):    Na¿êdzia programistyczne pakietu RRDtools
31 Group:          Development/Libraries
32 Group(pl):      Programowanie/Biblioteki
33 Requires:       %{name}
34 %description devel
35 %description -l pl devel
36
37 %package static
38 Summary:        RDDTools static library.
39 Summary(pl):    Statycznie linkowana biblioteka RRDtools.
40 Group:          Development/Libraries
41 Group(pl):      Programowanie/Biblioteki
42 Requires:       %{name}-devel
43 %description static
44 %description -l pl static
45
46 %prep
47 %setup -q
48 #%patch0 -p1
49 #mv contrib/log2rrd/log2rrd.pl contrib/log2rrd/log2rrd.pl.in
50
51 %build
52 aclocal
53 autoconf
54 %configure --prefix=%{_prefix} \
55         --enable-shared=yes \
56         --without-tclib
57 # uncoment this line ONLY IF tcl package is ready. 
58 #       --with-tclib=%{_prefix}
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 %{__make} imandir=%{_mandir} DESTDIR=$RPM_BUILD_ROOT install
64 install -d $RPM_BUILD_ROOT/usr/src/examples/%{name}
65 install -d $RPM_BUILD_ROOT/usr/src/examples/%{name}/contrib
66 (cd $RPM_BUILD_ROOT/usr/src/examples/%{name};
67 cp -Rp ../../../examples/* .;
68 cp -Rp ../../../contrib .)
69
70 %files
71 %defattr(644,root,root,755)
72 %doc doc/*.txt
73 %doc doc/*.html
74 %doc doc/*.pod
75
76 %attr(755,root,root) %{_bindir}/rrd*
77 %attr(755,root,root) %{_bindir}/trytime
78
79 %attr(644,root,root) %{_libdir}/librrd.so
80 %attr(755,root,root) %{_libdir}/librrd.so.0.0.0
81
82 %dir %{_libdir}/perl
83 %attr(644,root,root) %{_mandir}/man1/*
84
85 %files static
86 %attr(644,root,root) %{_libdir}/librrd.a
87 %attr(755,root,root) %{_libdir}/librrd.la
88
89 %files devel
90 %attr(644,root,root) %{_libdir}/librrd.so.0
91 %dir %{_examplesdir}/%{name}
This page took 0.068872 seconds and 3 git commands to generate.