+++ /dev/null
---- 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@nostalgeek.comE<gt>
-+
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
%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@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}
%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}