]> git.ipfire.org Git - ipfire-3.x.git/blame - rrdtool/rrdtool.nm
kernel: Update to 5.1
[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
1c8242cd 7version = 1.7.1
802ea3af 8release = 1
301a3ede 9
802ea3af 10groups = Applications/Databases
1c8242cd 11url = https://oss.oetiker.ch/rrdtool/
802ea3af
MT
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
1c8242cd 23source_dl = https://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
1c8242cd 38 python-setuptools
b6159043
MT
39 systemd-devel
40 zlib-devel
802ea3af 41 end
301a3ede 42
802ea3af
MT
43 configure_options += \
44 --disable-rrdcgi \
45 --disable-perl \
46 --disable-tcl \
47 --disable-ruby \
48 --disable-static \
49 --enable-python \
1c8242cd 50 --disable-rrdcached \
b6159043 51 --with-pic
168a9e21 52
802ea3af
MT
53 prepare_cmds
54 # Remove rpath
55 sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
56 end
301a3ede 57
802ea3af
MT
58 install_cmds
59 # Remove unused files
60 rm -rvf %{BUILDROOT}/usr/share/rrdtool/examples
fa44e2f5 61
802ea3af
MT
62 # Remove locale dir because no locales were installed
63 rm -rvf %{BUILDROOT}/usr/share/locale
64 end
65end
301a3ede 66
802ea3af
MT
67packages
68 package %{name}
b6159043
MT
69 requires = %{name}-libs = %{thisver}
70 end
1f9bc2f0 71
802ea3af
MT
72 package %{name}-libs
73 template LIBS
b6159043
MT
74
75 requires += dejavu-fonts-sans-mono-fonts
802ea3af 76 end
1f9bc2f0 77
a33f4021
MT
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
802ea3af
MT
89 package %{name}-devel
90 template DEVEL
91 end
1f9bc2f0
MT
92
93 package %{name}-debuginfo
94 template DEBUGINFO
95 end
802ea3af 96end