]> git.pld-linux.org Git - packages/rrdtool.git/blobdiff - rrdtool.spec
- updated to 1.2.27
[packages/rrdtool.git] / rrdtool.spec
index 8ae0f0798fd059ea5e557f9ba10b7d8e6d56ff56..4095477ae92ec8a799f10c831bae72b05047dff8 100644 (file)
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_without python  # Python binding
+#
 %include       /usr/lib/rpm/macros.perl
 %define        pdir    RRDp
 Summary:       RRDtool - round robin database
@@ -6,12 +10,12 @@ 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.2.26
+Version:       1.2.27
 Release:       1
-License:       GPL
+License:       GPL v2+ + FLOSS exception
 Group:         Applications/Databases
 Source0:       http://oss.oetiker.ch/rrdtool/pub/%{name}-%{version}.tar.gz
-# Source0-md5: b2c179e2d2ec2a92969648c4ebd382dc
+# Source0-md5: 841ca303c88f7184cf0aaab07e52dec4
 Patch0:                %{name}-tcl-path.patch
 URL:           http://oss.oetiker.ch/rrdtool/  
 BuildRequires: autoconf
@@ -21,8 +25,10 @@ BuildRequires:       libart_lgpl-devel >= 2.3.17
 BuildRequires: libpng-devel >= 2:1.2.8
 BuildRequires: perl-devel >= 1:5.8.0
 BuildRequires: pkgconfig
+%if %{with python}
 BuildRequires: python >= 1:2.5
 BuildRequires: python-devel >= 1:2.5
+%endif
 BuildRequires: rpm-perlprov
 BuildRequires: rpm-pythonprov
 BuildRequires: tcl-devel
@@ -264,10 +270,12 @@ rm -rf $RPM_BUILD_ROOT
 %{_mandir}/man3/RRDp.3*
 %{_mandir}/man3/RRDs.3*
 
+%if %{with python}
 %files -n python-rrdtool
 %defattr(644,root,root,755)
 %attr(755,root,root) %{py_sitedir}/rrdtoolmodule.so
 %{py_sitedir}/py_rrdtool-*.egg-info
+%endif
 
 %files -n tcl-rrdtool
 %defattr(644,root,root,755)
This page took 0.059034 seconds and 4 git commands to generate.