%undefine with_rrdcgi
%endif
+# ceph >= 14.0 no longer support 32-bit archs
+%ifarch %{ix86}
+%undefine with_ceph
+%endif
+
%define pdir RRDp
%include /usr/lib/rpm/macros.perl
Summary: RRDtool - round robin database
Summary(ru.UTF-8): RRDtool - база данных с "циклическим обновлением"
Summary(uk.UTF-8): RRDtool - це система зберігання та показу серійних даних
Name: rrdtool
-Version: 1.7.0
-Release: 3
+Version: 1.7.2
+Release: 1
License: GPL v2+ + FLOSS exception
Group: Applications/Databases
Source0: https://oss.oetiker.ch/rrdtool/pub/%{name}-%{version}.tar.gz
-# Source0-md5: 2f37eeb613bed11077470c9e2057010e
+# Source0-md5: 638e3a0a1609d97e9f82e8832759dcd2
Patch0: %{name}-tcl-path.patch
Patch1: %{name}-missing.patch
+Patch2: groff.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
%{_mandir}/man1/cdeftutorial.1*
%{_mandir}/man1/rpntutorial.1*
%{_mandir}/man1/rrd-beginners.1*
+%{_mandir}/man1/rrd_pdpcalc.1*
%{_mandir}/man1/rrdbuild.1*
%{?with_rrdcgi:%{_mandir}/man1/rrdcgi.1*}
%{_mandir}/man1/rrdcreate.1*