]> git.ipfire.org Git - ipfire-3.x.git/blob - rrdtool/rrdtool.nm
kernel: Update to 5.1
[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.7.1
8 release = 1
9
10 groups = Applications/Databases
11 url = https://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 = https://oss.oetiker.ch/rrdtool/pub/
24
25 build
26 requires
27 cairo-devel
28 freetype-devel
29 gcc-c++
30 gettext
31 groff
32 libtool
33 libxml2-devel
34 openssl-devel
35 pango-devel
36 pkg-config
37 python-devel
38 python-setuptools
39 systemd-devel
40 zlib-devel
41 end
42
43 configure_options += \
44 --disable-rrdcgi \
45 --disable-perl \
46 --disable-tcl \
47 --disable-ruby \
48 --disable-static \
49 --enable-python \
50 --disable-rrdcached \
51 --with-pic
52
53 prepare_cmds
54 # Remove rpath
55 sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
56 end
57
58 install_cmds
59 # Remove unused files
60 rm -rvf %{BUILDROOT}/usr/share/rrdtool/examples
61
62 # Remove locale dir because no locales were installed
63 rm -rvf %{BUILDROOT}/usr/share/locale
64 end
65 end
66
67 packages
68 package %{name}
69 requires = %{name}-libs = %{thisver}
70 end
71
72 package %{name}-libs
73 template LIBS
74
75 requires += dejavu-fonts-sans-mono-fonts
76 end
77
78 package python-%{name}
79 summary = Python bindings for rrdtool %{thisver}.
80 description = %{summary}
81
82 requires = %{name}-libs = %{thisver}
83
84 files
85 /usr/lib*/python*
86 end
87 end
88
89 package %{name}-devel
90 template DEVEL
91 end
92
93 package %{name}-debuginfo
94 template DEBUGINFO
95 end
96 end