X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=rrdtool.spec;h=caeb8c89544948b4a1727ab50077d634e9c83b0d;hb=5a4510047d4a806c19eddcc4eb20aa129b89eabe;hp=cf2db5db53c12c600a35bf045bda23932d9d649f;hpb=c2af0823828caea094a779b9849983cae14b945d;p=packages%2Frrdtool.git diff --git a/rrdtool.spec b/rrdtool.spec index cf2db5d..caeb8c8 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -15,22 +15,27 @@ %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(pl.UTF-8): RRDtool - baza danych typu round-robin Summary(pt_BR.UTF-8): Round Robin Database, uma ferramenta para construção de gráficos Summary(ru.UTF-8): RRDtool - база данных с "циклическим обновлением" Summary(uk.UTF-8): RRDtool - це система зберігання та показу серійних даних Name: rrdtool -Version: 1.7.0 +Version: 1.7.2 Release: 2 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 @@ -63,6 +68,7 @@ BuildRequires: python >= 1:2.3 BuildRequires: python-devel >= 1:2.3 %endif %if %{with ruby} +BuildRequires: rpm-rubyprov BuildRequires: ruby-devel %endif %if %{with tcl} @@ -302,9 +308,16 @@ 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|$),#!%{__python}\1,' \ + examples/stripes.py -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/env\s+tclsh@TCL_VERSION@(\s|$),#!%{__tclsh}\1,' \ + bindings/tcl/ifOctets.tcl.in # We only want .txt and .html files for the main documentation install -d docs/{html,/txt} @@ -382,6 +395,7 @@ rm -rf $RPM_BUILD_ROOT %{_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*