Summary(ru): RRDtool - ÂÁÚÁ ÄÁÎÎÙÈ Ó "ÃÉËÌÉÞÅÓËÉÍ ÏÂÎÏ×ÌÅÎÉÅÍ"
Summary(uk): RRDtool - ÃÅ ÓÉÓÔÅÍÁ ÚÂÅÒ¦ÇÁÎÎÑ ÔÁ ÐÏËÁÚÕ ÓÅÒ¦ÊÎÉÈ ÄÁÎÉÈ
Name: rrdtool
-Version: 1.2.8
+Version: 1.2.10
Release: 0.1
License: GPL
Group: Applications/Databases
Source0: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/%{name}-%{version}.tar.gz
-# Source0-md5: 94666a3e01260a6b1ad0f18715d1feb3
+# Source0-md5: ebf90d351126a225e87dbb88da7635f9
Patch0: %{name}-cgic.patch
URL: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
BuildRequires: autoconf >= 2.59
BuildRequires: libtool
BuildRequires: perl-devel >= 1:5.8.0
BuildRequires: pkgconfig
+BuildRequires: python
+BuildRequires: python-devel
BuildRequires: rpm-perlprov
-#BuildRequired: tcl-devel
+BuildRequires: tcl-devel
BuildRequires: zlib-devel >= 1.2.1
Requires: cgilibc >= 0.5
Requires: libart_lgpl >= 2.3.17
RRDtoola jako modu³u dzielonego oraz RRDp do dostêpu poprzez zestaw
potoków.
+%package -n python-rrdtool
+Summary: Python interface to RRDtool
+Summary(pl): Pythonowy interfejs do RRDtoola
+Group: Development/Languages/Python
+Requires: %{name} = %{version}-%{release}
+%pyrequires_eq python-libs
+
+%description -n python-rrdtool
+Python interface to RRDtool, the graphing and logging utility.
+
+%description -n python-rrdtool -l pl
+Interfejs Pythona do RRDtoola - narzêdzia do tworzenia wykresów i
+logowania.
+
+%package -n tcl-rrdtool
+Summary: Tcl extension to access the RRD library
+Summary(pl): Rozszerzenie Tcl-a pozwalaj±ce na dostêp do biblioteki Tcl
+Group: Development/Languages/Tcl
+Requires: %{name} = %{version}-%{release}
+Requires: tcl
+
+%description -n tcl-rrdtool
+Tcl extension to access the RRD library.
+
+%description -n tcl-rrdtool -l pl
+Rozszerzenie Tcl-a pozwalaj±ce na dostêp do biblioteki Tcl.
+
%prep
%setup -q
%patch0 -p1
%{__automake}
CPPFLAGS="-I%{_includedir}/cgilibc"
%configure \
- --enable-shared=yes \
--enable-latin2 \
--with-perl=%{__perl} \
--with-perl-options="INSTALLDIRS=vendor"
-# uncoment this line ONLY IF Tcl package is ready.
-# --with-tcllib=%{_libdir}
%{__make}
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT \
perl_sitearch=%{perl_vendorarch} \
+ pythondir=%{py_sitedir} \
examplesdir=%{_examplesdir}/%{name}-%{version}
rm -rf $RPM_BUILD_ROOT%{_prefix}/{doc,html}
%attr(755,root,root) %{perl_vendorarch}/auto/RRDs/RRDs.so
%{_mandir}/man3/RRDp.3*
%{_mandir}/man3/RRDs.3*
+
+%files -n python-rrdtool
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/rrdtoolmodule.so
+
+%files -n tcl-rrdtool
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/tclrrd%{version}.so
+/usr/lib/tclrrd%{version}