Flip perl, php and python subpackage names around to conform more with
established standards
This commit is contained in:
parent
5ca214b61b
commit
996d1befb8
34
rrdtool.spec
34
rrdtool.spec
@ -4,7 +4,7 @@
|
|||||||
Summary: Round Robin Database Tool to store and display time-series data
|
Summary: Round Robin Database Tool to store and display time-series data
|
||||||
Name: rrdtool
|
Name: rrdtool
|
||||||
Version: 1.2.13
|
Version: 1.2.13
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
License: GPL
|
License: GPL
|
||||||
Group: Applications/Databases
|
Group: Applications/Databases
|
||||||
URL: http://people.ee.ethz.ch/~oetiker/webtools/%{name}/
|
URL: http://people.ee.ethz.ch/~oetiker/webtools/%{name}/
|
||||||
@ -47,36 +47,40 @@ RRD is the Acronym for Round Robin Database. RRD is a system to store and
|
|||||||
display time-series data (i.e. network bandwidth, machine-room temperature,
|
display time-series data (i.e. network bandwidth, machine-room temperature,
|
||||||
server load average). This package contains documentation on using RRD.
|
server load average). This package contains documentation on using RRD.
|
||||||
|
|
||||||
%package -n perl-%{name}
|
%package perl
|
||||||
Summary: Perl RRDtool bindings
|
Summary: Perl RRDtool bindings
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||||
Obsoletes: %{name}-perl <= %{version}
|
Obsoletes: perl-%{name} <= %{version}
|
||||||
Provides: %{name}-perl = %{version}-%{release}
|
Provides: perl-%{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n perl-%{name}
|
%description perl
|
||||||
The Perl RRDtool bindings
|
The Perl RRDtool bindings
|
||||||
|
|
||||||
%package -n python-%{name}
|
%package python
|
||||||
Summary: Python RRDtool bindings
|
Summary: Python RRDtool bindings
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
BuildRequires: python
|
BuildRequires: python
|
||||||
Requires: python >= %{python_version}
|
Requires: python >= %{python_version}
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Obsoletes: python-%{name} <= %{version}
|
||||||
|
Provides: python-%{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n python-%{name}
|
%description python
|
||||||
Python RRDtool bindings.
|
Python RRDtool bindings.
|
||||||
|
|
||||||
%package -n php-%{name}
|
%package php
|
||||||
Summary: PHP RRDtool bindings
|
Summary: PHP RRDtool bindings
|
||||||
Group: Development/Languages
|
Group: Development/Languages
|
||||||
BuildRequires: php-devel >= 4.0
|
BuildRequires: php-devel >= 4.0
|
||||||
Requires: php >= 4.0
|
Requires: php >= 4.0
|
||||||
Requires: %{name} = %{version}-%{release}
|
Requires: %{name} = %{version}-%{release}
|
||||||
|
Obsoletes: php-%{name} <= %{version}
|
||||||
|
Provides: php-%{name} = %{version}-%{release}
|
||||||
|
|
||||||
%description -n php-%{name}
|
%description php
|
||||||
The php-%{name} package includes a dynamic shared object (DSO) that adds
|
The %{name}-php package includes a dynamic shared object (DSO) that adds
|
||||||
RRDtool bindings to the PHP HTML-embedded scripting language.
|
RRDtool bindings to the PHP HTML-embedded scripting language.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
@ -199,25 +203,29 @@ find examples/ -type f -exec chmod 0644 {} \;
|
|||||||
%doc CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO NEWS THREADS
|
%doc CHANGES CONTRIBUTORS COPYING COPYRIGHT README TODO NEWS THREADS
|
||||||
%doc examples doc2/html doc2/txt
|
%doc examples doc2/html doc2/txt
|
||||||
|
|
||||||
%files -n perl-%{name}
|
%files perl
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc doc3/html
|
%doc doc3/html
|
||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
%{perl_vendorarch}/*.pm
|
%{perl_vendorarch}/*.pm
|
||||||
%attr(0755,root,root) %{perl_vendorarch}/auto/RRDs/
|
%attr(0755,root,root) %{perl_vendorarch}/auto/RRDs/
|
||||||
|
|
||||||
%files -n python-%{name}
|
%files python
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc bindings/python/AUTHORS bindings/python/COPYING bindings/python/README
|
%doc bindings/python/AUTHORS bindings/python/COPYING bindings/python/README
|
||||||
%{python_sitearch}/rrdtoolmodule.so
|
%{python_sitearch}/rrdtoolmodule.so
|
||||||
|
|
||||||
%files -n php-%{name}
|
%files php
|
||||||
%defattr(-,root,root,0755)
|
%defattr(-,root,root,0755)
|
||||||
%doc php4/examples php4/README
|
%doc php4/examples php4/README
|
||||||
%config(noreplace) %{_sysconfdir}/php.d/rrdtool.ini
|
%config(noreplace) %{_sysconfdir}/php.d/rrdtool.ini
|
||||||
%{php_extdir}/rrdtool.so
|
%{php_extdir}/rrdtool.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 19 2006 Jarod Wilson <jwilson@redhat.com> 1.2.13-6
|
||||||
|
- Flip perl, php and python sub-package names around to
|
||||||
|
conform with general practices
|
||||||
|
|
||||||
* Sat Jun 10 2006 Jarod Wilson <jwilson@redhat.com> 1.2.13-5
|
* Sat Jun 10 2006 Jarod Wilson <jwilson@redhat.com> 1.2.13-5
|
||||||
- Minor fixes to make package own created directories
|
- Minor fixes to make package own created directories
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user