]> git.pld-linux.org Git - packages/apache-mod_cfg_ldap.git/commitdiff
*** empty log message ***
authorzbyniu <zbyniu@pld-linux.org>
Sat, 17 Feb 2007 01:34:21 +0000 (01:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_cfg_ldap.spec -> 1.17

apache-mod_cfg_ldap.spec

index 57492bbc5c7311555c554bbe0eac4f8c27a4241a..9c539ce3da876a09948f598828e492b34eabcb5c 100644 (file)
@@ -21,6 +21,7 @@ BuildRoot:    %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _pkglibdir      %(%{apxs} -q LIBEXECDIR 2>/dev/null)
 %define                _sysconfdir     %(%{apxs} -q SYSCONFDIR 2>/dev/null)
+%define                schemadir       /usr/share/openldap/schema
 
 %description
 mod_cfg_ldap allows you to keep your virtual host configuration in a
@@ -30,6 +31,18 @@ LDAP directory and update it in nearly realtime.
 mod_cfg_ldap pozwala na przechowywanie konfiguracji hostów wirtualnych
 w katalogu LDAP i uaktualnianie jej prawie w czasie rzeczywistym.
 
+%package -n openldap-schema-mod_cfg_ldap
+Summary:       Amavisd-new LDAP schema
+Summary(pl.UTF-8):     Schemat LDAP dla amavisd-new
+Group:         Networking/Daemons
+Requires:      openldap-servers
+
+%description -n openldap-schema-mod_cfg_ldap
+This package contains LDAP schema for use with mod_cfg_ldap.
+
+%description -n openldap-schema-mod_cfg_ldap -l pl.UTF-8
+Ten pakiet zawiera schemat LDAP do używania z mod_cfg_ldap.
+
 %prep
 %setup -q -n mod_%{mod_name}-%{version}
 %patch0 -p1
@@ -44,6 +57,7 @@ install -d $RPM_BUILD_ROOT{%{_pkglibdir},%{_sysconfdir}/httpd.conf}
 
 install .libs/mod_%{mod_name}.so $RPM_BUILD_ROOT%{_pkglibdir}
 install cfg_ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd.conf/85_mod_cfg_ldap.conf
+install -D mod_cfg_ldap.schema $RPM_BUILD_ROOT%{schemadir}/mod_cfg_ldap.schema
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -58,6 +72,10 @@ fi
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS ChangeLog INSTALL README TODO *.schema
+%doc AUTHORS ChangeLog INSTALL README TODO
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/httpd.conf/*_mod_%{mod_name}.conf
 %attr(755,root,root) %{_pkglibdir}/*.so
+
+%files -n openldap-schema-mod_cfg_ldap
+%defattr(644,root,root,755)
+%{schemadir}/*.schema
This page took 0.080988 seconds and 4 git commands to generate.