###############################################################################
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 += \
--disable-ruby \
--disable-static \
--enable-python \
- --enable-latin2
+ --disable-rrdcached \
+ --with-pic \
+ PYTHON=%{python3}
prepare_cmds
# Remove rpath
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