]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/blobdiff - rrdtool/rrdtool.nm
rrdtool: Update to 1.8.0
[people/pmueller/ipfire-3.x.git] / rrdtool / rrdtool.nm
index fbf994b91e21335d164c0005f2d7e59178347d38..c9fa29602bb1c2d674483339ae2e4b05eae38fd3 100644 (file)
@@ -4,35 +4,40 @@
 ###############################################################################
 
 name       = rrdtool
-version    = 1.4.7
+version    = 1.8.0
 release    = 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,20 +67,17 @@ end
 
 packages
        package %{name}
+               requires = %{name}-libs = %{thisver}
+       end
 
        package %{name}-libs
                template LIBS
-       end
 
-       package python-%{name}
-               summary = Python bindings for rrdtool %{thisver}.
-               description = %{summary}
-
-               requires = %{name}-libs = %{thisver}
+               requires += dejavu-fonts-sans-mono-fonts
+       end
 
-               files
-                       /usr/lib*/python*
-               end
+       package python3-%{name}
+               template PYTHON3
        end
 
        package %{name}-devel