From 6879ff201b36e19773544a69cee012517acbe56a Mon Sep 17 00:00:00 2001 From: Ercole 'ercolinux' Carpanetto Date: Fri, 5 Jan 2024 17:29:42 +0100 Subject: [PATCH] update to 1.7.2 [release 1.7.2-1mamba;Mon Mar 30 2020] --- rrdtool.spec | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) diff --git a/rrdtool.spec b/rrdtool.spec index 289a124..a3ac8cf 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -1,8 +1,8 @@ %define rrddocdir %{_datadir}/doc/%{name}-%{version} Name: rrdtool -Version: 1.5.6 -Release: 2mamba +Version: 1.7.2 +Release: 1mamba Summary: Round Robin Database Tool to store and display time-series data Group: Applications/Databases Vendor: openmamba @@ -83,7 +83,6 @@ It stores the data in a very compact way that will not expand over time, and 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. - %package ruby Summary: Ruby RRDtool bindings Group: Development/Bindings @@ -96,6 +95,7 @@ It can be used either via simple wrapper scripts (from shell or Perl) or via fro This package contains the ruby RRDtool bindings. + %package devel Summary: RRDtool static libraries and headers Group: Development/Libraries @@ -112,7 +112,7 @@ This package allow you to use directly this library. %prep %setup -q -%patch0 -p1 +#%patch0 -p1 %build #./autogen.sh @@ -142,6 +142,8 @@ 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 +%find_lang %{name} + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" rm -f %{name}-%{version}-file @@ -149,17 +151,15 @@ rm -f %{name}-%{version}-file %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%files +%files -f %{name}.lang %defattr(-,root,root) %{_bindir}/* %{_libdir}/*.so.* %{_unitdir}/rrdcached.service %{_unitdir}/rrdcached.socket -%ifnarch arm -%{_libdir}/rrdtool/ifOctets.tcl -%{_libdir}/rrdtool/pkgIndex.tcl -%{_libdir}/tclrrd%{version}.so -%endif +#%{_libdir}/rrdtool/ifOctets.tcl +#%{_libdir}/rrdtool/pkgIndex.tcl +#%{_libdir}/tclrrd%{version}.so %dir %{_datadir}/rrdtool #%{_datadir}/rrdtool/ifOctets.tcl #%{_datadir}/rrdtool/pkgIndex.tcl @@ -175,7 +175,7 @@ rm -f %{name}-%{version}-file %files lua %defattr(-,root,root) -#%{_libdir}/lua/*/rrd.so.* +%{_libdir}/lua/*/rrd.so.* %files perl %defattr(-,root,root) @@ -185,25 +185,33 @@ rm -f %{name}-%{version}-file %files python %defattr(-,root,root) -%{python_sitearch}/py_rrdtool-*-py%{python_version}.egg-info +%{python_sitearch}/rrdtool-*-py%{python_version}.egg-info %{python27_sitearch}/rrdtool.so -%ifnarch arm -%files ruby -%defattr(-,root,root) -%{ruby_sitearch}/RRD.so -%endif +#%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 Mar 30 2020 Ercole 'ercolinux' Carpanetto 1.7.2-1mamba +- update to 1.7.2 + +* Mon Aug 28 2017 Automatic Build System 1.7.0-1mamba +- automatic version update by autodist + * Wed Nov 09 2016 Silvan Calarco 1.5.6-2mamba - rebuilt with perl 5.24 @@ -264,5 +272,5 @@ rm -f %{name}-%{version}-file - specfiles updates and fixes - new packages rrdtool-perl, rrdtool-python -* Thu Jul 14 2004 Davide Madrisan 1.0.48-1qilnx +* Wed Jul 14 2004 Davide Madrisan 1.0.48-1qilnx - first build