]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/blob - rrdtool/rrdtool.nm
glibc: Disable multilib support on X86_64
[people/stevee/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.5.4
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 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 systemd-devel
39 zlib-devel
40 end
41
42 configure_options += \
43 --disable-rrdcgi \
44 --disable-perl \
45 --disable-tcl \
46 --disable-ruby \
47 --disable-static \
48 --enable-python \
49 --with-pic
50
51 prepare_cmds
52 # Remove rpath
53 sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
54 end
55
56 install_cmds
57 # Remove unused files
58 rm -rvf %{BUILDROOT}/usr/share/rrdtool/examples
59
60 # Remove locale dir because no locales were installed
61 rm -rvf %{BUILDROOT}/usr/share/locale
62 end
63 end
64
65 packages
66 package %{name}
67 requires = %{name}-libs = %{thisver}
68 end
69
70 package %{name}-libs
71 template LIBS
72
73 requires += dejavu-fonts-sans-mono-fonts
74 end
75
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
87 package %{name}-devel
88 template DEVEL
89 end
90
91 package %{name}-debuginfo
92 template DEBUGINFO
93 end
94 end