]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blame - rrdtool/rrdtool.nm
elfutils: Correctly configure debuginfod
[people/pmueller/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
0a149261 7version = 1.8.0
fb0b5f5a 8release = 1.2
301a3ede 9
802ea3af 10groups = Applications/Databases
1c8242cd 11url = https://oss.oetiker.ch/rrdtool/
802ea3af 12license = GPLv2+ with exceptions
0a149261 13summary = Round Robin Database Tool to store and display time-series data
301a3ede 14
802ea3af 15description
0a149261
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
301a3ede 20 density.
802ea3af
MT
21end
22
0a149261 23source_dl = https://github.com/oetiker/rrdtool-1.x/releases/download/v%{version}/
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
0a149261
MT
37 python3-devel
38 python3-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 \
0a149261
MT
51 --with-pic \
52 PYTHON=%{python3}
168a9e21 53
802ea3af
MT
54 prepare_cmds
55 # Remove rpath
56 sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
57 end
301a3ede 58
802ea3af
MT
59 install_cmds
60 # Remove unused files
61 rm -rvf %{BUILDROOT}/usr/share/rrdtool/examples
fa44e2f5 62
802ea3af
MT
63 # Remove locale dir because no locales were installed
64 rm -rvf %{BUILDROOT}/usr/share/locale
65 end
66end
301a3ede 67
802ea3af
MT
68packages
69 package %{name}
b6159043
MT
70 requires = %{name}-libs = %{thisver}
71 end
1f9bc2f0 72
802ea3af
MT
73 package %{name}-libs
74 template LIBS
75 end
1f9bc2f0 76
0a149261
MT
77 package python3-%{name}
78 template PYTHON3
a33f4021
MT
79 end
80
802ea3af
MT
81 package %{name}-devel
82 template DEVEL
83 end
1f9bc2f0
MT
84
85 package %{name}-debuginfo
86 template DEBUGINFO
87 end
802ea3af 88end