From 6ab968760e24ea92178ad7ab209df958bc7294fc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Arkadiusz=20Mi=C5=9Bkiewicz?= Date: Wed, 28 Feb 2007 20:55:36 +0000 Subject: [PATCH 1/1] - rel 3; openldap schema separated into subpackage Changed files: bind.spec -> 1.237 --- bind.spec | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/bind.spec b/bind.spec index d658923..407f571 100644 --- a/bind.spec +++ b/bind.spec @@ -17,7 +17,7 @@ Summary(uk.UTF-8): BIND - cервер системи доменних імен ( Summary(zh_CN.UTF-8): Internet 域名服务器 Name: bind Version: 9.3.4 -Release: 2 +Release: 3 Epoch: 6 License: BSD-like Group: Networking/Daemons @@ -305,6 +305,19 @@ Bibliotecas estáticas para desenvolvimento DNS. Статичні бібліотеки, необхідні для розробки програм з використанням BIND. +%package -n openldap-schema-bind +Summary: BIND schema for openldap +Summary(pl.UTF-8): Schemat BIND dla openldap +Group: Development/Libraries +Requires: %{name} = %{epoch}:%{version}-%{release} +Requires: openldap-servers + +%description -n openldap-schema-bind +BIND schema for openldap. + +%description -n openldap-schema-bind -l pl.UTF-8 +Schemat BIND dla openldap. + %prep %setup -q -a1 %patch0 -p1 @@ -430,8 +443,6 @@ fi %attr(755,root,root) %{_sbindir}/* -%{?with_ldap:%{_datadir}/openldap/schema/*.schema} - %{_mandir}/man8/dns* %{_mandir}/man8/lwres* %{_mandir}/man8/named* @@ -499,3 +510,9 @@ fi %defattr(644,root,root,755) %{_libdir}/*.a %endif + +%if %{with ldap} +%files -n openldap-schema-bind +%defattr(644,root,root,755) +%{_datadir}/openldap/schema/*.schema +%endif -- 2.44.0