Add tcl sub-package (#203275)
This commit is contained in:
parent
bdd2b16a53
commit
eeb4076b1d
25
rrdtool.spec
25
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 <jwilson@redhat.com> 1.2.15-5
|
||||
- Add tcl sub-package (#203275)
|
||||
|
||||
* Tue Sep 05 2006 Jarod Wilson <jwilson@redhat.com> 1.2.15-4
|
||||
- Rebuild for new glibc
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user