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
|
||||
Version: 1.8.0
|
||||
Release: 1mamba
|
||||
Release: 3mamba
|
||||
Summary: Round Robin Database Tool to store and display time-series data
|
||||
Group: Applications/Databases
|
||||
Vendor: openmamba
|
||||
@ -15,91 +15,108 @@ 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: 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: libpython3-devel
|
||||
BuildRequires: libpython310-devel
|
||||
BuildRequires: libreadline-devel
|
||||
BuildRequires: libwrap-devel
|
||||
BuildRequires: libxml2-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: perl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: perl >= 2:5.36.0
|
||||
BuildRequires: libcgi-devel >= 0.5
|
||||
BuildRequires: pkgconfig >= 0.10
|
||||
BuildRequires: python
|
||||
BuildRequires: groff
|
||||
BuildRequires: libtcl >= 8.4.11
|
||||
Requires: librrd = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%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).
|
||||
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.
|
||||
|
||||
%package lua
|
||||
%package -n lua-rrdtool
|
||||
Summary: LUA RRDtool 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).
|
||||
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 LUA RRDtool bindings.
|
||||
|
||||
%package perl
|
||||
%package -n perl-rrdtool
|
||||
Summary: Perl RRDtool bindings
|
||||
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).
|
||||
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 perl RRDtool bindings.
|
||||
|
||||
%package python
|
||||
%package -n python-rrdtool
|
||||
Summary: Python RRDtool 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).
|
||||
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
|
||||
%package -n ruby-rrdtool
|
||||
Summary: Ruby RRDtool 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).
|
||||
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
|
||||
%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
|
||||
Group: Development/Libraries
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: %{name}-lua = %{version}-%{release}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{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).
|
||||
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.
|
||||
@ -112,14 +129,13 @@ This package allow you to use directly this library.
|
||||
./bootstrap
|
||||
|
||||
%build
|
||||
#./autogen.sh
|
||||
%configure \
|
||||
--enable-shared \
|
||||
--enable-lua \
|
||||
--enable-perl-site-install \
|
||||
--with-perl-options='INSTALLDIRS="vendor"' \
|
||||
--with-ruby-options='sitedir="%{_libdir}/ruby/site_ruby"' \
|
||||
PYTHON=%{__python3}
|
||||
PYTHON=%{__python310}
|
||||
|
||||
# --with-tcllib=%{_libdir}
|
||||
|
||||
@ -147,13 +163,12 @@ rm -f %{buildroot}%{_bindir}/log2rrd.pl
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
rm -f %{name}-%{version}-file
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
%post -n librrd -p /sbin/ldconfig
|
||||
%postun -n librrd -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_bindir}/rrd*
|
||||
%{_unitdir}/rrdcached.service
|
||||
%{_unitdir}/rrdcached.socket
|
||||
#%{_libdir}/rrdtool/ifOctets.tcl
|
||||
@ -164,47 +179,52 @@ rm -f %{name}-%{version}-file
|
||||
#%{_datadir}/rrdtool/pkgIndex.tcl
|
||||
%dir %{_datadir}/rrdtool/examples
|
||||
%{_datadir}/rrdtool/examples/*
|
||||
#%dir %{_datadir}/rrdtool/fonts
|
||||
#%{_datadir}/rrdtool/fonts/DejaVuSansMono-Roman.ttf
|
||||
%dir %{rrddocdir}
|
||||
%{rrddocdir}/html/*
|
||||
%{rrddocdir}/txt/*
|
||||
%{_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.*
|
||||
|
||||
%files lua
|
||||
%files -n lua-rrdtool
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/lua/*/rrd.so.*
|
||||
%{_libdir}/lua/*/*.a
|
||||
%{_libdir}/lua/*/*.so
|
||||
|
||||
%files perl
|
||||
%files -n perl-rrdtool
|
||||
%defattr(-,root,root)
|
||||
%{_mandir}/man3/RRDp.3pm.*
|
||||
%{_mandir}/man3/RRDs.3pm.*
|
||||
%{perl_vendorlib}/*
|
||||
|
||||
%files python
|
||||
%files -n python-rrdtool
|
||||
%defattr(-,root,root)
|
||||
%{python3_sitearch}/rrdtool-*-py%{python3_version}.egg-info
|
||||
%{python3_sitearch}/rrdtool.cpython-*.so
|
||||
%{python310_sitearch}/rrdtool-*-py*.egg-info
|
||||
%{python310_sitearch}/rrdtool.cpython-*.so
|
||||
|
||||
#%files ruby
|
||||
#%defattr(-,root,root)
|
||||
#%{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
|
||||
* 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
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user