]>
Commit | Line | Data |
---|---|---|
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 | 6 | name = rrdtool |
1c8242cd | 7 | version = 1.7.1 |
802ea3af | 8 | release = 1 |
301a3ede | 9 | |
802ea3af | 10 | groups = Applications/Databases |
1c8242cd | 11 | url = https://oss.oetiker.ch/rrdtool/ |
802ea3af MT |
12 | license = GPLv2+ with exceptions |
13 | summary = Round Robin Database Tool to store and display time-series data. | |
301a3ede | 14 | |
802ea3af | 15 | description |
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 |
21 | end |
22 | ||
1c8242cd | 23 | source_dl = https://oss.oetiker.ch/rrdtool/pub/ |
301a3ede | 24 | |
802ea3af MT |
25 | build |
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 | |
65 | end | |
301a3ede | 66 | |
802ea3af MT |
67 | packages |
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 | 96 | end |