2024-01-05 17:29:42 +01:00
|
|
|
%define rrddocdir %{_datadir}/doc/%{name}-%{version}
|
|
|
|
|
|
|
|
Name: rrdtool
|
2024-01-05 17:29:42 +01:00
|
|
|
Version: 1.5.3
|
|
|
|
Release: 1mamba
|
2024-01-05 17:29:42 +01:00
|
|
|
Summary: Round Robin Database Tool to store and display time-series data
|
|
|
|
Group: Applications/Databases
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://oss.oetiker.ch/rrdtool/
|
|
|
|
Source0: http://oss.oetiker.ch/rrdtool/pub/rrdtool-%{version}.tar.gz
|
|
|
|
Source1: rrdtool-log2rrd.pl
|
2024-01-05 17:29:42 +01:00
|
|
|
Patch0: rrdtool-1.4.8-lua-5.2.patch
|
2024-01-05 17:29:42 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-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: liblzma-devel
|
|
|
|
BuildRequires: libpango-devel
|
|
|
|
BuildRequires: libpng-devel
|
|
|
|
BuildRequires: libpython-devel
|
|
|
|
BuildRequires: libpython27-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).
|
|
|
|
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
|
|
|
|
Summary: LUA RRDtool bindings
|
|
|
|
Group: Development/Bindings
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description lua
|
|
|
|
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
|
|
|
|
Summary: Perl RRDtool bindings
|
|
|
|
Group: Development/Libraries/Perl
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description perl
|
|
|
|
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
|
|
|
|
Summary: Python RRDtool bindings
|
|
|
|
Group: Development/Bindings
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description python
|
|
|
|
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.
|
2024-01-05 17:29:42 +01:00
|
|
|
%package ruby
|
|
|
|
Summary: Ruby RRDtool bindings
|
|
|
|
Group: Development/Bindings
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description ruby
|
|
|
|
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.
|
|
|
|
|
2024-01-05 17:29:42 +01:00
|
|
|
|
|
|
|
%package ruby
|
|
|
|
Summary: Ruby RRDtool bindings
|
|
|
|
Group: Development/Bindings
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
%description ruby
|
|
|
|
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
|
|
|
|
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).
|
2024-01-05 17:29:42 +01:00
|
|
|
|
2024-01-05 17:29:42 +01:00
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 17:29:42 +01:00
|
|
|
%patch0 -p1
|
2024-01-05 17:29:42 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 17:29:42 +01:00
|
|
|
#./autogen.sh
|
2024-01-05 17:29:42 +01:00
|
|
|
%configure \
|
|
|
|
--enable-shared \
|
2024-01-05 17:29:42 +01:00
|
|
|
--enable-lua \
|
2024-01-05 17:29:42 +01:00
|
|
|
--enable-perl-site-install \
|
|
|
|
--with-perl-options='INSTALLDIRS="vendor"' \
|
|
|
|
--with-ruby-options='sitedir="%{_libdir}/ruby/site_ruby"'
|
|
|
|
# --with-tcllib=%{_libdir}
|
|
|
|
|
2024-01-05 17:29:42 +01:00
|
|
|
%make -j1 LDFLAGS="`pkg-config --libs glib-2.0` -lwrap"
|
2024-01-05 17:29:42 +01:00
|
|
|
|
|
|
|
#cd examples
|
|
|
|
#find . -name "*.pl" -exec perl -e 's;\015;;gi' -p -i \{\} \;
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall RRDDOCDIR=%{rrddocdir}
|
|
|
|
|
|
|
|
install -D -m755 %{SOURCE1} %{buildroot}%{_bindir}/log2rrd.pl
|
|
|
|
|
|
|
|
# remove unpackaged files
|
|
|
|
find %{buildroot}%{_prefix}/lib -name perllocal.pod -exec rm -f {} \;
|
|
|
|
find %{buildroot}%{_prefix}/lib -name .packlist -exec rm -f {} \;
|
|
|
|
|
|
|
|
# log2rrd.pl requires perl(ctime.pl) missing in perl 5.16
|
|
|
|
rm -f %{buildroot}%{_bindir}/log2rrd.pl
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
rm -f %{name}-%{version}-file
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/*
|
|
|
|
%{_libdir}/*.so.*
|
2024-01-05 17:29:42 +01:00
|
|
|
%{_unitdir}/rrdcached.service
|
|
|
|
%{_unitdir}/rrdcached.socket
|
2024-01-05 17:29:42 +01:00
|
|
|
%{_libdir}/rrdtool/ifOctets.tcl
|
|
|
|
%{_libdir}/rrdtool/pkgIndex.tcl
|
2024-01-05 17:29:42 +01:00
|
|
|
%{_libdir}/tclrrd1.5.3.so
|
2024-01-05 17:29:42 +01:00
|
|
|
%dir %{_datadir}/rrdtool
|
2024-01-05 17:29:42 +01:00
|
|
|
#%{_datadir}/rrdtool/ifOctets.tcl
|
|
|
|
#%{_datadir}/rrdtool/pkgIndex.tcl
|
2024-01-05 17:29:42 +01:00
|
|
|
%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/*
|
|
|
|
%{_mandir}/man3/librrd.3.*
|
|
|
|
|
|
|
|
%files lua
|
|
|
|
%defattr(-,root,root)
|
|
|
|
#%{_libdir}/lua/*/rrd.so.*
|
|
|
|
|
|
|
|
%files perl
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_mandir}/man3/RRDp.3pm.*
|
|
|
|
%{_mandir}/man3/RRDs.3pm.*
|
|
|
|
%{perl_vendorlib}/*
|
|
|
|
|
|
|
|
%files python
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitearch}/py_rrdtool-*-py%{python_version}.egg-info
|
|
|
|
%{python_sitearch}/rrdtoolmodule.so
|
|
|
|
|
|
|
|
%files ruby
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{ruby_sitearch}/RRD.so
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
2024-01-05 17:29:42 +01:00
|
|
|
%{_libdir}/lib*.a
|
|
|
|
%{_libdir}/lib*.la
|
|
|
|
%{_libdir}/lib*.so
|
2024-01-05 17:29:42 +01:00
|
|
|
#%{_libdir}/ruby/*/i586-linux/RRD.so
|
|
|
|
%{_libdir}/pkgconfig/librrd.pc
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 17:29:42 +01:00
|
|
|
* Tue May 19 2015 Automatic Build System <autodist@mambasoft.it> 1.5.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 17:29:42 +01:00
|
|
|
* Mon Nov 12 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.7-2mamba
|
|
|
|
- perl 5.16 rebuild
|
|
|
|
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 1.4.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 20 2012 Automatic Build System <autodist@mambasoft.it> 1.4.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 03 2011 Automatic Build System <autodist@mambasoft.it> 1.4.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jul 12 2010 Automatic Build System <autodist@mambasoft.it> 1.4.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Apr 17 2010 Automatic Build System <autodist@mambasoft.it> 1.4.3-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Mon Jan 18 2010 Automatic Build System <autodist@mambasoft.it> 1.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Jun 09 2009 Automatic Build System <autodist@mambasoft.it> 1.3.8-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Apr 16 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.7-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sun Mar 08 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.6-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.5-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Nov 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.4-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Sep 06 2006 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.15-1qilnx
|
|
|
|
- update to version 1.2.15 by autospec
|
|
|
|
|
|
|
|
* Wed Oct 05 2005 Davide Madrisan <davide.madrisan@qilinux.it> 1.2.11-1qilnx
|
|
|
|
- update to version 1.2.11 by autospec
|
|
|
|
- run ldconfig to update library db
|
|
|
|
- specfiles updates and fixes
|
|
|
|
- new packages rrdtool-perl, rrdtool-python
|
|
|
|
|
|
|
|
* Thu Jul 14 2004 Davide Madrisan <davide.madrisan@qilinux.it> 1.0.48-1qilnx
|
|
|
|
- first build
|