]>
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 |
a33f4021 | 7 | version = 1.4.7 |
802ea3af | 8 | release = 1 |
301a3ede | 9 | |
802ea3af MT |
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. | |
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 | ||
23 | source_dl = http://oss.oetiker.ch/rrdtool/pub/ | |
301a3ede | 24 | |
802ea3af MT |
25 | build |
26 | requires | |
27 | cairo-devel | |
28 | gcc-c++ | |
29 | gettext | |
30 | groff | |
31 | libtool | |
32 | libxml2-devel | |
33 | pango-devel | |
34 | pkg-config | |
35 | python-devel | |
36 | end | |
301a3ede | 37 | |
802ea3af MT |
38 | configure_options += \ |
39 | --disable-rrdcgi \ | |
40 | --disable-perl \ | |
41 | --disable-tcl \ | |
42 | --disable-ruby \ | |
43 | --disable-static \ | |
44 | --enable-python \ | |
45 | --enable-latin2 | |
168a9e21 | 46 | |
802ea3af MT |
47 | prepare_cmds |
48 | # Remove rpath | |
49 | sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.* | |
50 | end | |
301a3ede | 51 | |
802ea3af MT |
52 | install_cmds |
53 | # Remove unused files | |
54 | rm -rvf %{BUILDROOT}/usr/share/rrdtool/examples | |
fa44e2f5 | 55 | |
802ea3af MT |
56 | # Remove locale dir because no locales were installed |
57 | rm -rvf %{BUILDROOT}/usr/share/locale | |
58 | end | |
59 | end | |
301a3ede | 60 | |
802ea3af MT |
61 | packages |
62 | package %{name} | |
1f9bc2f0 | 63 | |
802ea3af MT |
64 | package %{name}-libs |
65 | template LIBS | |
66 | end | |
1f9bc2f0 | 67 | |
a33f4021 MT |
68 | package python-%{name} |
69 | summary = Python bindings for rrdtool %{thisver}. | |
70 | description = %{summary} | |
71 | ||
72 | requires = %{name}-libs = %{thisver} | |
73 | ||
74 | files | |
75 | /usr/lib*/python* | |
76 | end | |
77 | end | |
78 | ||
802ea3af MT |
79 | package %{name}-devel |
80 | template DEVEL | |
81 | end | |
1f9bc2f0 MT |
82 | |
83 | package %{name}-debuginfo | |
84 | template DEBUGINFO | |
85 | end | |
802ea3af | 86 | end |