diff --git a/rrdtool.spec b/rrdtool.spec index a3ac8cf..33dbb01 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -1,47 +1,46 @@ %define rrddocdir %{_datadir}/doc/%{name}-%{version} Name: rrdtool -Version: 1.7.2 +Version: 1.8.0 Release: 1mamba Summary: Round Robin Database Tool to store and display time-series data Group: Applications/Databases Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://oss.oetiker.ch/rrdtool/ -Source0: http://oss.oetiker.ch/rrdtool/pub/rrdtool-%{version}.tar.gz +URL: https://oss.oetiker.ch/rrdtool/ +Source0: https://github.com/oetiker/rrdtool-1.x.git/v%{version}/rrdtool-1.x-%{version}.tar.bz2 Source1: rrdtool-log2rrd.pl Patch0: rrdtool-1.4.8-lua-5.2.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel +BuildRequires: libbrotli-devel BuildRequires: libbzip2-devel BuildRequires: libcairo-devel BuildRequires: libdbi-devel -BuildRequires: libexpat-devel -BuildRequires: libffi-devel -BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libglib-devel BuildRequires: libgraphite2-devel BuildRequires: libharfbuzz-devel +BuildRequires: liblua-devel BuildRequires: liblzma-devel BuildRequires: libpango-devel +BuildRequires: libpcre-devel +BuildRequires: libperl BuildRequires: libpng-devel -BuildRequires: libpython-devel -BuildRequires: libpython27-devel +BuildRequires: libpython3-devel +BuildRequires: libreadline-devel BuildRequires: libwrap-devel BuildRequires: libxml2-devel BuildRequires: libz-devel BuildRequires: perl-devel -BuildRequires: ruby-devel ## AUTOBUILDREQ-END BuildRequires: libcgi-devel >= 0.5 BuildRequires: pkgconfig >= 0.10 BuildRequires: python BuildRequires: groff BuildRequires: libtcl >= 8.4.11 -BuildRoot: %{_tmppath}/%{name}-%{version}-root %description RRD (Round Robin Database) is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). @@ -81,8 +80,8 @@ Requires: %{name} = %{version}-%{release} RRD (Round Robin Database) is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). 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. It can be used either via simple wrapper scripts (from shell or Perl) or via frontends that poll network devices and put a friendly user interface on it. - This package contains the python RRDtool bindings. + %package ruby Summary: Ruby RRDtool bindings Group: Development/Bindings @@ -92,10 +91,8 @@ Requires: %{name} = %{version}-%{release} RRD (Round Robin Database) is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). 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. It can be used either via simple wrapper scripts (from shell or Perl) or via frontends that poll network devices and put a friendly user interface on it. - This package contains the ruby RRDtool bindings. - %package devel Summary: RRDtool static libraries and headers Group: Development/Libraries @@ -103,16 +100,16 @@ Requires: %{name} = %{version}-%{release} Requires: %{name}-lua = %{version}-%{release} %description devel -RRD (Round Robin Database) is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). - +RRD (Round Robin Database) is a system to store and display time-series data (i.e. network bandwidth, machine-room temperature, server load average). 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. It can be used either via simple wrapper scripts (from shell or Perl) or via frontends that poll network devices and put a friendly user interface on it. - This package allow you to use directly this library. +%debug_package + %prep -%setup -q -#%patch0 -p1 +%setup -q -n rrdtool-1.x-%{version} +./bootstrap %build #./autogen.sh @@ -121,7 +118,9 @@ This package allow you to use directly this library. --enable-lua \ --enable-perl-site-install \ --with-perl-options='INSTALLDIRS="vendor"' \ - --with-ruby-options='sitedir="%{_libdir}/ruby/site_ruby"' + --with-ruby-options='sitedir="%{_libdir}/ruby/site_ruby"' \ + PYTHON=%{__python3} + # --with-tcllib=%{_libdir} %make -j1 LDFLAGS="`pkg-config --libs glib-2.0` -lwrap" @@ -185,8 +184,8 @@ rm -f %{name}-%{version}-file %files python %defattr(-,root,root) -%{python_sitearch}/rrdtool-*-py%{python_version}.egg-info -%{python27_sitearch}/rrdtool.so +%{python3_sitearch}/rrdtool-*-py%{python3_version}.egg-info +%{python3_sitearch}/rrdtool.cpython-*.so #%files ruby #%defattr(-,root,root) @@ -206,6 +205,9 @@ rm -f %{name}-%{version}-file %{_includedir}/*.h %changelog +* Sat May 07 2022 Automatic Build System 1.8.0-1mamba +- automatic version update by autodist + * Mon Mar 30 2020 Ercole 'ercolinux' Carpanetto 1.7.2-1mamba - update to 1.7.2