]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - rrdtool/rrdtool.nm
file: Update to 5.18.
[people/ms/ipfire-3.x.git] / rrdtool / rrdtool.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = rrdtool
7 version = 1.4.7
8 release = 1
9
10 groups = Applications/Databases
11 url = http://oss.oetiker.ch/rrdtool/
12 license = GPLv2+ with exceptions
13 summary = Round Robin Database Tool to store and display time-series data.
14
15 description
16 RRD is the Acronym for Round Robin Database. RRD is a system to \
17 store and display time-series data. It stores the data in a \
18 very compact way that will not expand over time, and it presents \
19 useful graphs by processing the data to enforce a certain data \
20 density.
21 end
22
23 source_dl = http://oss.oetiker.ch/rrdtool/pub/
24
25 build
26 requires
27 cairo-devel
28 gcc-c++
29 gettext
30 groff
31 libtool
32 libxml2-devel
33 pango-devel
34 pkg-config
35 python-devel
36 end
37
38 configure_options += \
39 --disable-rrdcgi \
40 --disable-perl \
41 --disable-tcl \
42 --disable-ruby \
43 --disable-static \
44 --enable-python \
45 --enable-latin2
46
47 prepare_cmds
48 # Remove rpath
49 sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
50 end
51
52 install_cmds
53 # Remove unused files
54 rm -rvf %{BUILDROOT}/usr/share/rrdtool/examples
55
56 # Remove locale dir because no locales were installed
57 rm -rvf %{BUILDROOT}/usr/share/locale
58 end
59 end
60
61 packages
62 package %{name}
63
64 package %{name}-libs
65 template LIBS
66 end
67
68 package python-%{name}
69 summary = Python bindings for rrdtool %{thisver}.
70 description = %{summary}
71
72 requires = %{name}-libs = %{thisver}
73
74 files
75 /usr/lib*/python*
76 end
77 end
78
79 package %{name}-devel
80 template DEVEL
81 end
82
83 package %{name}-debuginfo
84 template DEBUGINFO
85 end
86 end