]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - rrdtool/rrdtool.nm
rrdtool: Update to version 1.5.4
[people/amarx/ipfire-3.x.git] / rrdtool / rrdtool.nm
CommitLineData
301a3ede 1###############################################################################
802ea3af
MT
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
301a3ede
MT
4###############################################################################
5
802ea3af 6name = rrdtool
35c86ab7 7version = 1.5.4
802ea3af 8release = 1
301a3ede 9
802ea3af
MT
10groups = Applications/Databases
11url = http://oss.oetiker.ch/rrdtool/
12license = GPLv2+ with exceptions
13summary = Round Robin Database Tool to store and display time-series data.
301a3ede 14
802ea3af 15description
301a3ede
MT
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.
802ea3af
MT
21end
22
23source_dl = http://oss.oetiker.ch/rrdtool/pub/
301a3ede 24
802ea3af
MT
25build
26 requires
27 cairo-devel
b6159043 28 freetype-devel
802ea3af
MT
29 gcc-c++
30 gettext
31 groff
32 libtool
33 libxml2-devel
b6159043 34 openssl-devel
802ea3af
MT
35 pango-devel
36 pkg-config
37 python-devel
b6159043
MT
38 systemd-devel
39 zlib-devel
802ea3af 40 end
301a3ede 41
802ea3af
MT
42 configure_options += \
43 --disable-rrdcgi \
44 --disable-perl \
45 --disable-tcl \
46 --disable-ruby \
47 --disable-static \
48 --enable-python \
b6159043 49 --with-pic
168a9e21 50
802ea3af
MT
51 prepare_cmds
52 # Remove rpath
53 sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
54 end
301a3ede 55
802ea3af
MT
56 install_cmds
57 # Remove unused files
58 rm -rvf %{BUILDROOT}/usr/share/rrdtool/examples
fa44e2f5 59
802ea3af
MT
60 # Remove locale dir because no locales were installed
61 rm -rvf %{BUILDROOT}/usr/share/locale
62 end
63end
301a3ede 64
802ea3af
MT
65packages
66 package %{name}
b6159043
MT
67 requires = %{name}-libs = %{thisver}
68 end
1f9bc2f0 69
802ea3af
MT
70 package %{name}-libs
71 template LIBS
b6159043
MT
72
73 requires += dejavu-fonts-sans-mono-fonts
802ea3af 74 end
1f9bc2f0 75
a33f4021
MT
76 package python-%{name}
77 summary = Python bindings for rrdtool %{thisver}.
78 description = %{summary}
79
80 requires = %{name}-libs = %{thisver}
81
82 files
83 /usr/lib*/python*
84 end
85 end
86
802ea3af
MT
87 package %{name}-devel
88 template DEVEL
89 end
1f9bc2f0
MT
90
91 package %{name}-debuginfo
92 template DEBUGINFO
93 end
802ea3af 94end