[packages/rrdtool] up to 1.8.0
atler
atler at pld-linux.org
Mon Nov 20 04:03:52 CET 2023
commit 9b55d77b7151149c7e149eed2ad9bea487983176
Author: Jan Palus <atler at pld-linux.org>
Date: Mon Nov 20 02:07:17 2023 +0100
up to 1.8.0
rrdtool-missing.patch | 71 ---------------------------------------------------
rrdtool.spec | 16 ++++++------
2 files changed, 8 insertions(+), 79 deletions(-)
---
diff --git a/rrdtool.spec b/rrdtool.spec
index eaac5e3..6062a32 100644
--- a/rrdtool.spec
+++ b/rrdtool.spec
@@ -22,15 +22,14 @@ Summary(pt_BR.UTF-8): Round Robin Database, uma ferramenta para construção de
Summary(ru.UTF-8): RRDtool - база данных с "циклическим обновлением"
Summary(uk.UTF-8): RRDtool - це система зберігання та показу серійних даних
Name: rrdtool
-Version: 1.7.2
-Release: 8
+Version: 1.8.0
+Release: 1
License: GPL v2+ + FLOSS exception
Group: Applications/Databases
Source0: https://github.com/oetiker/rrdtool-1.x/releases/download/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 638e3a0a1609d97e9f82e8832759dcd2
+# Source0-md5: 852754364cbd0703a099b5eb32932851
Patch0: %{name}-tcl-path.patch
-Patch1: %{name}-missing.patch
-Patch2: %{name}-build.patch
+Patch1: %{name}-build.patch
URL: http://oss.oetiker.ch/rrdtool/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
@@ -308,16 +307,15 @@ Rozszerzenie Tcl-a pozwalające na dostęp do biblioteki Tcl.
%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%{__sed} -i -e 's#\$TCL_PACKAGE_PATH#%{_prefix}/lib#g' configure.ac
%{__sed} -i -e 's#/lib/lua/#/%{_lib}/lua/#g' configure.ac
%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python3}\1,' \
- examples/stripes.py
+ examples/stripes.py
%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+tclsh at TCL_VERSION@(\s|$),#!%{__tclsh}\1,' \
- bindings/tcl/ifOctets.tcl.in
+ bindings/tcl/ifOctets.tcl.in
# We only want .txt and .html files for the main documentation
install -d docs/{html,/txt}
@@ -464,12 +462,14 @@ rm -rf $RPM_BUILD_ROOT
%defattr(644,root,root,755)
%attr(755,root,root) %{py3_sitedir}/rrdtool*.so
%{py3_sitedir}/rrdtool-*.egg-info
+%{_mandir}/man1/rrdpython.1*
%endif
%if %{with ruby}
%files -n ruby-rrdtool
%defattr(644,root,root,755)
%attr(755,root,root) %{ruby_archdir}/RRD.so
+%{_mandir}/man1/rrdruby.1*
%endif
%if %{with tcl}
diff --git a/rrdtool-missing.patch b/rrdtool-missing.patch
deleted file mode 100644
index af066f2..0000000
--- a/rrdtool-missing.patch
+++ /dev/null
@@ -1,71 +0,0 @@
---- rrdtool-1.5.4/doc/rrdrados.pod.orig 1970-01-01 01:00:00.000000000 +0100
-+++ rrdtool-1.5.4/doc/rrdrados.pod 2015-09-20 11:15:15.308190828 +0200
-@@ -0,0 +1,68 @@
-+=head1 NAME
-+
-+rrdrados - Creating, updating and retrieving RRD files from Ceph
-+
-+=head1 SYNOPSIS
-+
-+E<lt>rrdfileE<gt> = B<ceph//E<lt>nameE<gt>>
-+
-+
-+=head1 DESCRIPTION
-+
-+This module adds support for creating, updating and retrieving RRD files
-+directly from a Ceph cluster using librados.
-+
-+It adds a ceph// prefix to RRD file name which is used to instruct rrdtool to
-+operate on a file that is stored in Ceph.
-+
-+Currently the module expects to find the Ceph configuration file in the default
-+location at /etc/ceph/ceph.conf. By default it uses Ceph client ID "admin" and a
-+Ceph pool named "rrd".
-+
-+
-+=head1 ENVIRONMENT VARIABLES
-+
-+=over 4
-+
-+=item B<CEPH_ID>
-+
-+Sets the Ceph Client ID to use when connecting. By default the client ID "admin"
-+is used.
-+
-+=item B<CEPH_POOL>
-+
-+Sets the name of the Ceph Pool to connect to. By default, the pool "rrd" is
-+used.
-+
-+=back
-+
-+
-+=head1 EXAMPLES
-+
-+B<Creating an RRD file on Ceph>
-+
-+ rrdtool create ceph//temperature.rrd --step 300 \
-+ DS:temp:GAUGE:600:-273:5000 \
-+ RRA:AVERAGE:0.5:1:1200 \
-+ RRA:MIN:0.5:12:2400 \
-+ RRA:MAX:0.5:12:2400 \
-+ RRA:AVERAGE:0.5:12:2400
-+
-+
-+B<Importing an existing RRD into Ceph>
-+
-+ rrdtool dump existing.rrd | rrdtool restore - ceph//new.rrd
-+
-+Or you could also copy the RRD file directly into Ceph using the rados command
-+line utility.
-+
-+
-+B<Retrieving RRD data from Ceph>
-+
-+ rrdtool fetch ceph//file.rrd AVERAGE
-+
-+
-+=head1 AUTHOR
-+
-+Simon Boulet E<lt>simon at nostalgeek.comE<gt>
-+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/rrdtool.git/commitdiff/8f1ee4db3e4ad6e8b32c85970e73478067c43375
More information about the pld-cvs-commit
mailing list