rename rrdtool-{python,perl,ruby,lua} as {python,perl,ruby,lua}-rrdtool [release 1.8.0-3mamba;Mon Apr 17 2023]
This commit is contained in:
parent
bc6bf19d24
commit
7733ad18f2
122
rrdtool.spec
122
rrdtool.spec
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
Name: rrdtool
|
Name: rrdtool
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 1mamba
|
Release: 3mamba
|
||||||
Summary: Round Robin Database Tool to store and display time-series data
|
Summary: Round Robin Database Tool to store and display time-series data
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -15,91 +15,108 @@ Patch0: rrdtool-1.4.8-lua-5.2.patch
|
|||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libbrotli-devel
|
|
||||||
BuildRequires: libbzip2-devel
|
|
||||||
BuildRequires: libcairo-devel
|
BuildRequires: libcairo-devel
|
||||||
BuildRequires: libdbi-devel
|
BuildRequires: libdbi-devel
|
||||||
BuildRequires: libfreetype-devel
|
|
||||||
BuildRequires: libglib-devel
|
BuildRequires: libglib-devel
|
||||||
BuildRequires: libgraphite2-devel
|
|
||||||
BuildRequires: libharfbuzz-devel
|
BuildRequires: libharfbuzz-devel
|
||||||
BuildRequires: liblua-devel
|
BuildRequires: liblua-devel
|
||||||
BuildRequires: liblzma-devel
|
|
||||||
BuildRequires: libpango-devel
|
BuildRequires: libpango-devel
|
||||||
BuildRequires: libpcre-devel
|
|
||||||
BuildRequires: libperl
|
BuildRequires: libperl
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libpython3-devel
|
BuildRequires: libpython310-devel
|
||||||
BuildRequires: libreadline-devel
|
BuildRequires: libreadline-devel
|
||||||
BuildRequires: libwrap-devel
|
BuildRequires: libwrap-devel
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libz-devel
|
|
||||||
BuildRequires: perl-devel
|
BuildRequires: perl-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: perl >= 2:5.36.0
|
||||||
BuildRequires: libcgi-devel >= 0.5
|
BuildRequires: libcgi-devel >= 0.5
|
||||||
BuildRequires: pkgconfig >= 0.10
|
BuildRequires: pkgconfig >= 0.10
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
BuildRequires: groff
|
BuildRequires: groff
|
||||||
BuildRequires: libtcl >= 8.4.11
|
BuildRequires: libtcl >= 8.4.11
|
||||||
|
Requires: librrd = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
%description
|
%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).
|
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 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.
|
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.
|
||||||
|
|
||||||
%package lua
|
%package -n lua-rrdtool
|
||||||
Summary: LUA RRDtool bindings
|
Summary: LUA RRDtool bindings
|
||||||
Group: Development/Bindings
|
Group: Development/Bindings
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: rrdtool-lua
|
||||||
|
Obsoletes: rrdtool-lua <= 1.8.0-2mamba
|
||||||
|
|
||||||
%description lua
|
%description -n lua-rrdtool
|
||||||
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 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.
|
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 LUA RRDtool bindings.
|
This package contains the LUA RRDtool bindings.
|
||||||
|
|
||||||
%package perl
|
%package -n perl-rrdtool
|
||||||
Summary: Perl RRDtool bindings
|
Summary: Perl RRDtool bindings
|
||||||
Group: Development/Libraries/Perl
|
Group: Development/Libraries/Perl
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: rrdtool-perl
|
||||||
|
Obsoletes: rrdtool-perl <= 1.8.0-2mamba
|
||||||
|
|
||||||
%description perl
|
%description -n perl-rrdtool
|
||||||
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 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.
|
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 perl RRDtool bindings.
|
This package contains the perl RRDtool bindings.
|
||||||
|
|
||||||
%package python
|
%package -n python-rrdtool
|
||||||
Summary: Python RRDtool bindings
|
Summary: Python RRDtool bindings
|
||||||
Group: Development/Bindings
|
Group: Development/Bindings
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: rrdtool-python
|
||||||
|
Obsoletes: rrdtool-python <= 1.8.0-2mamba
|
||||||
|
|
||||||
%description python
|
%description -n python-rrdtool
|
||||||
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 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.
|
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.
|
This package contains the python RRDtool bindings.
|
||||||
|
|
||||||
%package ruby
|
%package -n ruby-rrdtool
|
||||||
Summary: Ruby RRDtool bindings
|
Summary: Ruby RRDtool bindings
|
||||||
Group: Development/Bindings
|
Group: Development/Bindings
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: rrdtool-ruby
|
||||||
|
Obsoletes: rrdtool-ruby <= 1.8.0-2mamba
|
||||||
|
|
||||||
%description ruby
|
%description -n ruby-rrdtool
|
||||||
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 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.
|
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.
|
This package contains the ruby RRDtool bindings.
|
||||||
|
|
||||||
%package devel
|
%package -n librrd
|
||||||
|
Summary: RRDtool shared library
|
||||||
|
Group: System/Libraries
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description -n librrd
|
||||||
|
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 provides the RRDtool shared library.
|
||||||
|
|
||||||
|
%package -n librrd-devel
|
||||||
Summary: RRDtool static libraries and headers
|
Summary: RRDtool static libraries and headers
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
Requires: %{name}-lua = %{version}-%{release}
|
Requires: librrd = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: lua-rrdtool = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Provides: rrdtool-devel
|
||||||
|
Obsoletes: rrdtool-devel < 1.8.0-3mamba
|
||||||
|
|
||||||
%description devel
|
%description -n librrd-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 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.
|
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.
|
||||||
@ -112,14 +129,13 @@ This package allow you to use directly this library.
|
|||||||
./bootstrap
|
./bootstrap
|
||||||
|
|
||||||
%build
|
%build
|
||||||
#./autogen.sh
|
|
||||||
%configure \
|
%configure \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-lua \
|
--enable-lua \
|
||||||
--enable-perl-site-install \
|
--enable-perl-site-install \
|
||||||
--with-perl-options='INSTALLDIRS="vendor"' \
|
--with-perl-options='INSTALLDIRS="vendor"' \
|
||||||
--with-ruby-options='sitedir="%{_libdir}/ruby/site_ruby"' \
|
--with-ruby-options='sitedir="%{_libdir}/ruby/site_ruby"' \
|
||||||
PYTHON=%{__python3}
|
PYTHON=%{__python310}
|
||||||
|
|
||||||
# --with-tcllib=%{_libdir}
|
# --with-tcllib=%{_libdir}
|
||||||
|
|
||||||
@ -147,13 +163,12 @@ rm -f %{buildroot}%{_bindir}/log2rrd.pl
|
|||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
rm -f %{name}-%{version}-file
|
rm -f %{name}-%{version}-file
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n librrd -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -n librrd -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/*
|
%{_bindir}/rrd*
|
||||||
%{_libdir}/*.so.*
|
|
||||||
%{_unitdir}/rrdcached.service
|
%{_unitdir}/rrdcached.service
|
||||||
%{_unitdir}/rrdcached.socket
|
%{_unitdir}/rrdcached.socket
|
||||||
#%{_libdir}/rrdtool/ifOctets.tcl
|
#%{_libdir}/rrdtool/ifOctets.tcl
|
||||||
@ -164,47 +179,52 @@ rm -f %{name}-%{version}-file
|
|||||||
#%{_datadir}/rrdtool/pkgIndex.tcl
|
#%{_datadir}/rrdtool/pkgIndex.tcl
|
||||||
%dir %{_datadir}/rrdtool/examples
|
%dir %{_datadir}/rrdtool/examples
|
||||||
%{_datadir}/rrdtool/examples/*
|
%{_datadir}/rrdtool/examples/*
|
||||||
#%dir %{_datadir}/rrdtool/fonts
|
|
||||||
#%{_datadir}/rrdtool/fonts/DejaVuSansMono-Roman.ttf
|
|
||||||
%dir %{rrddocdir}
|
%dir %{rrddocdir}
|
||||||
%{rrddocdir}/html/*
|
%{rrddocdir}/html/*
|
||||||
%{rrddocdir}/txt/*
|
%{rrddocdir}/txt/*
|
||||||
%{_mandir}/man1/*
|
%{_mandir}/man1/*
|
||||||
|
|
||||||
|
%files -n librrd
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/librrd.so.*
|
||||||
|
|
||||||
|
%files -n librrd-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/rrd*.h
|
||||||
|
%{_libdir}/librrd.a
|
||||||
|
%{_libdir}/librrd.so
|
||||||
|
%dir %{_libdir}/lua/*/
|
||||||
|
%{_libdir}/pkgconfig/librrd.pc
|
||||||
%{_mandir}/man3/librrd.3.*
|
%{_mandir}/man3/librrd.3.*
|
||||||
|
|
||||||
%files lua
|
%files -n lua-rrdtool
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/lua/*/rrd.so.*
|
%{_libdir}/lua/*/rrd.so.*
|
||||||
|
%{_libdir}/lua/*/*.a
|
||||||
|
%{_libdir}/lua/*/*.so
|
||||||
|
|
||||||
%files perl
|
%files -n perl-rrdtool
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_mandir}/man3/RRDp.3pm.*
|
%{_mandir}/man3/RRDp.3pm.*
|
||||||
%{_mandir}/man3/RRDs.3pm.*
|
%{_mandir}/man3/RRDs.3pm.*
|
||||||
%{perl_vendorlib}/*
|
%{perl_vendorlib}/*
|
||||||
|
|
||||||
%files python
|
%files -n python-rrdtool
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{python3_sitearch}/rrdtool-*-py%{python3_version}.egg-info
|
%{python310_sitearch}/rrdtool-*-py*.egg-info
|
||||||
%{python3_sitearch}/rrdtool.cpython-*.so
|
%{python310_sitearch}/rrdtool.cpython-*.so
|
||||||
|
|
||||||
#%files ruby
|
#%files ruby
|
||||||
#%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
#%{ruby_sitearch}/RRD.so
|
#%{ruby_sitearch}/RRD.so
|
||||||
|
|
||||||
%files devel
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_libdir}/lib*.a
|
|
||||||
%{_libdir}/lib*.la
|
|
||||||
%{_libdir}/lib*.so
|
|
||||||
%dir %{_libdir}/lua/*/
|
|
||||||
%{_libdir}/lua/*/*.a
|
|
||||||
%{_libdir}/lua/*/*.la
|
|
||||||
%{_libdir}/lua/*/*.so
|
|
||||||
#%{_libdir}/ruby/*/i586-linux/RRD.so
|
|
||||||
%{_libdir}/pkgconfig/librrd.pc
|
|
||||||
%{_includedir}/*.h
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 17 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.0-3mamba
|
||||||
|
- rename rrdtool-{python,perl,ruby,lua} as {python,perl,ruby,lua}-rrdtool
|
||||||
|
|
||||||
|
* Sun Apr 16 2023 Sdk Build System <sdk@mambasoft.it> 1.8.0-2mamba
|
||||||
|
- rebuilt with perl 5.36.0
|
||||||
|
|
||||||
* Sat May 07 2022 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
* Sat May 07 2022 Automatic Build System <autodist@mambasoft.it> 1.8.0-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user