forked from pool/openldap2
This commit is contained in:
committed by
Git OBS Bridge
parent
4c26b2be5c
commit
59a37d3a2c
@@ -29,7 +29,7 @@ Summary: The OpenLDAP Server
|
||||
%endif
|
||||
AutoReqProv: on
|
||||
Version: 2.4.10
|
||||
Release: 1
|
||||
Release: 2
|
||||
Source: openldap-%{version}.tar.bz2
|
||||
Source1: openldap-rc.tgz
|
||||
Source2: addonschema.tar.gz
|
||||
@@ -103,8 +103,8 @@ Authors:
|
||||
License: BSD 3-Clause; openldap 2.8
|
||||
Summary: Libraries, Header Files and Documentation for OpenLDAP
|
||||
AutoReqProv: on
|
||||
Conflicts: openldap-devel
|
||||
Requires: openldap2-client = %{version} cyrus-sasl-devel openssl-devel
|
||||
Conflicts: openldap-devel
|
||||
Requires: libldap-2_4-2 = %{version} cyrus-sasl-devel openssl-devel
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n openldap2-devel
|
||||
@@ -113,6 +113,21 @@ documentation.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
The OpenLDAP Project <project@openldap.org>
|
||||
|
||||
%package -n libldap-2_4-2
|
||||
License: BSD 3-Clause
|
||||
Summary: OpenLDAP Client Libraries
|
||||
AutoReqProv: on
|
||||
Group: Productivity/Networking/LDAP/Clients
|
||||
|
||||
%description -n libldap-2_4-2
|
||||
This package contains the OpenLDAP client libraries.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
The OpenLDAP Project <project@openldap.org>
|
||||
@@ -295,12 +310,14 @@ cat > openldap2-client.filelist <<EOF
|
||||
/usr/bin/ldapsearch
|
||||
/usr/bin/ldappasswd
|
||||
/usr/bin/ldapwhoami
|
||||
%{_libdir}/liblber*.so.*
|
||||
%{_libdir}/libldap*.so.*
|
||||
%doc %{_mandir}/man1/ldap*
|
||||
%doc %{_mandir}/man5/ldap.conf*
|
||||
%doc %{_mandir}/man5/ldif.*
|
||||
EOF
|
||||
cat > libldap.filelist <<EOF
|
||||
%{_libdir}/liblber*.so.*
|
||||
%{_libdir}/libldap*.so.*
|
||||
EOF
|
||||
cat > openldap2-devel.filelist <<EOF
|
||||
/usr/include/lber.h
|
||||
/usr/include/lber_types.h
|
||||
@@ -325,7 +342,7 @@ cat > openldap2-back-meta.filelist <<EOF
|
||||
EOF
|
||||
#remove files from other spec file
|
||||
%if "%{name}" == "openldap2"
|
||||
cat openldap2-client.filelist openldap2-devel.filelist |
|
||||
cat openldap2-client.filelist libldap.filelist openldap2-devel.filelist |
|
||||
%else
|
||||
cat openldap2.filelist openldap2-back-perl.filelist openldap2-back-meta.filelist |
|
||||
%endif
|
||||
@@ -437,18 +454,24 @@ fi
|
||||
%defattr(-,root,root)
|
||||
%else
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libldap-2_4-2 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libldap-2_4-2 -p /sbin/ldconfig
|
||||
|
||||
%files -f openldap2-client.filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -n libldap-2_4-2 -f libldap.filelist
|
||||
%defattr(-,root,root)
|
||||
|
||||
%files -n openldap2-devel -f openldap2-devel.filelist
|
||||
%defattr(-,root,root)
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Tue Jun 24 2008 rhafer@suse.de
|
||||
- branched off libldap-2_4-2 package to support the shared library
|
||||
packaging policy
|
||||
* Wed Jun 11 2008 rhafer@suse.de
|
||||
- Update to Version 2.4.10. Most important changes:
|
||||
* Fixed libldap ld_defconn cleanup if it was freed (ITS#5518,
|
||||
|
Reference in New Issue
Block a user