###############################################################################
name = rrdtool
-version = 1.8.0
-release = 1.2
+version = 1.9.0
+release = 1
groups = Applications/Databases
url = https://oss.oetiker.ch/rrdtool/
density.
end
-source_dl = https://github.com/oetiker/rrdtool-1.x/releases/download/v%{version}/
+# This project is hosted on GitHub
+github_organization = oetiker
+github_project = rrdtool-1.x
+github_version = v%{version}
+
+source_dl = %{github_download_url}
build
requires
--with-pic \
PYTHON=%{python3}
- prepare_cmds
- # Remove rpath
- sed -e "s/--rpath=.* &/\&/" -i bindings/Makefile.*
- end
-
install_cmds
# Remove unused files
rm -rvf %{BUILDROOT}/usr/share/rrdtool/examples