]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - rrdtool/rrdtool.nm
rrdtool: Do not depend on dejavu-fonts
[people/pmueller/ipfire-3.x.git] / rrdtool / rrdtool.nm
index cbfb3d44c8efba99c6e1343bea6cdab0bef97597..6842ba49164b3852f8bd964d8fcec7c0b9a19182 100644 (file)
@@ -4,35 +4,40 @@
 ###############################################################################
 
 name       = rrdtool
-version    = 1.4.5
-release    = 1
+version    = 1.8.0
+release    = 1.1
 
 groups     = Applications/Databases
-url        = http://oss.oetiker.ch/rrdtool/
+url        = https://oss.oetiker.ch/rrdtool/
 license    = GPLv2+ with exceptions
-summary    = Round Robin Database Tool to store and display time-series data.
+summary    = Round Robin Database Tool to store and display time-series data
 
 description
-       RRD is the Acronym for Round Robin Database. RRD is a system to \
-       store and display time-series data. It stores the data in a \
-       very compact way that will not expand over time, and it presents \
-       useful graphs by processing the data to enforce a certain data \
+       RRD is the Acronym for Round Robin Database. RRD is a system to
+       store and display time-series data. It stores the data in a
+       very compact way that will not expand over time, and it presents
+       useful graphs by processing the data to enforce a certain data
        density.
 end
 
-source_dl  = http://oss.oetiker.ch/rrdtool/pub/
+source_dl  = https://github.com/oetiker/rrdtool-1.x/releases/download/v%{version}/
 
 build
        requires
                cairo-devel
+               freetype-devel
                gcc-c++
                gettext
                groff
                libtool
                libxml2-devel
+               openssl-devel
                pango-devel
                pkg-config
-               python-devel
+               python3-devel
+               python3-setuptools
+               systemd-devel
+               zlib-devel
        end
 
        configure_options += \
@@ -42,7 +47,9 @@ build
                --disable-ruby \
                --disable-static \
                --enable-python \
-               --enable-latin2
+               --disable-rrdcached \
+               --with-pic \
+               PYTHON=%{python3}
 
        prepare_cmds
                # Remove rpath
@@ -60,12 +67,17 @@ end
 
 packages
        package %{name}
+               requires = %{name}-libs = %{thisver}
        end
 
        package %{name}-libs
                template LIBS
        end
 
+       package python3-%{name}
+               template PYTHON3
+       end
+
        package %{name}-devel
                template DEVEL
        end