From eeb4076b1d18865429e71dd69457d08200eac515 Mon Sep 17 00:00:00 2001 From: Jarod Wilson Date: Wed, 25 Oct 2006 19:28:53 +0000 Subject: [PATCH] Add tcl sub-package (#203275) --- rrdtool.spec | 25 ++++++++++++++++++++++++- 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/rrdtool.spec b/rrdtool.spec index d605d1b..eb1b55d 100644 --- a/rrdtool.spec +++ b/rrdtool.spec @@ -4,7 +4,7 @@ Summary: Round Robin Database Tool to store and display time-series data Name: rrdtool Version: 1.2.15 -Release: 4%{?dist} +Release: 5%{?dist} License: GPL Group: Applications/Databases URL: http://people.ee.ethz.ch/~oetiker/webtools/%{name}/ @@ -85,6 +85,18 @@ Provides: php-%{name} = %{version}-%{release} The %{name}-php package includes a dynamic shared object (DSO) that adds RRDtool bindings to the PHP HTML-embedded scripting language. +%package tcl +Summary: Tcl RRDtool bindings +Group: Development/Languages +BuildRequires: tcl-devel >= 8.0 +Requires: tcl >= 8.0 +Requires: %{name} = %{version}-%{release} +Obsoletes: tcl-%{name} < %{version}-%{release} +Provides: tcl-%{name} = %{version}-%{release} + +%description tcl +The %{name}-tcl package includes RRDtool bindings for Tcl. + %prep %setup -q %setup -q -T -D -a 1 @@ -105,6 +117,8 @@ RRDtool bindings to the PHP HTML-embedded scripting language. %configure \ --disable-static \ --with-pic \ + --enable-tcl-site \ + --with-tcllib=%{_libdir} \ --with-perl-options='INSTALLDIRS="vendor"' # Fix another rpath issue @@ -221,7 +235,16 @@ find examples/ -type f -exec chmod 0644 {} \; %config(noreplace) %{_sysconfdir}/php.d/rrdtool.ini %{php_extdir}/rrdtool.so +%files tcl +%defattr(-,root,root,-) +%doc bindings/tcl/README +%{_libdir}/tclrrd*.so +%{_libdir}/rrdtool/*.tcl + %changelog +* Wed Oct 25 2006 Jarod Wilson 1.2.15-5 +- Add tcl sub-package (#203275) + * Tue Sep 05 2006 Jarod Wilson 1.2.15-4 - Rebuild for new glibc