forked from pool/openldap2
This commit is contained in:
parent
4c26b2be5c
commit
59a37d3a2c
@ -1,4 +1,6 @@
|
|||||||
openldap2-client
|
libldap-2_4-2
|
||||||
|
provides "openldap2-client-<targettype> = <version>"
|
||||||
|
obsoletes "openldap2-client-<targettype> <= <version>"
|
||||||
openldap2-devel
|
openldap2-devel
|
||||||
requires -openldap2-<targettype>
|
requires -openldap2-<targettype>
|
||||||
requires "openldap2-client-<targettype> = <version>"
|
requires "libldap-2_4-2-<targettype> = <version>"
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 24 11:08:00 CEST 2008 - rhafer@suse.de
|
||||||
|
|
||||||
|
- branched off libldap-2_4-2 package to support the shared library
|
||||||
|
packaging policy
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 11 13:03:29 CEST 2008 - rhafer@suse.de
|
Wed Jun 11 13:03:29 CEST 2008 - rhafer@suse.de
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ Summary: OpenLDAP Client Utilities
|
|||||||
%endif
|
%endif
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.4.10
|
Version: 2.4.10
|
||||||
Release: 1
|
Release: 2
|
||||||
Source: openldap-%{version}.tar.bz2
|
Source: openldap-%{version}.tar.bz2
|
||||||
Source1: openldap-rc.tgz
|
Source1: openldap-rc.tgz
|
||||||
Source2: addonschema.tar.gz
|
Source2: addonschema.tar.gz
|
||||||
@ -101,7 +101,7 @@ License: BSD 3-Clause; openldap 2.8
|
|||||||
Summary: Libraries, Header Files and Documentation for OpenLDAP
|
Summary: Libraries, Header Files and Documentation for OpenLDAP
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Conflicts: openldap-devel
|
Conflicts: openldap-devel
|
||||||
Requires: openldap2-client = %{version} cyrus-sasl-devel openssl-devel
|
Requires: libldap-2_4-2 = %{version} cyrus-sasl-devel openssl-devel
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%description -n openldap2-devel
|
%description -n openldap2-devel
|
||||||
@ -110,6 +110,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:
|
Authors:
|
||||||
--------
|
--------
|
||||||
The OpenLDAP Project <project@openldap.org>
|
The OpenLDAP Project <project@openldap.org>
|
||||||
@ -292,12 +307,14 @@ cat > openldap2-client.filelist <<EOF
|
|||||||
/usr/bin/ldapsearch
|
/usr/bin/ldapsearch
|
||||||
/usr/bin/ldappasswd
|
/usr/bin/ldappasswd
|
||||||
/usr/bin/ldapwhoami
|
/usr/bin/ldapwhoami
|
||||||
%{_libdir}/liblber*.so.*
|
|
||||||
%{_libdir}/libldap*.so.*
|
|
||||||
%doc %{_mandir}/man1/ldap*
|
%doc %{_mandir}/man1/ldap*
|
||||||
%doc %{_mandir}/man5/ldap.conf*
|
%doc %{_mandir}/man5/ldap.conf*
|
||||||
%doc %{_mandir}/man5/ldif.*
|
%doc %{_mandir}/man5/ldif.*
|
||||||
EOF
|
EOF
|
||||||
|
cat > libldap.filelist <<EOF
|
||||||
|
%{_libdir}/liblber*.so.*
|
||||||
|
%{_libdir}/libldap*.so.*
|
||||||
|
EOF
|
||||||
cat > openldap2-devel.filelist <<EOF
|
cat > openldap2-devel.filelist <<EOF
|
||||||
/usr/include/lber.h
|
/usr/include/lber.h
|
||||||
/usr/include/lber_types.h
|
/usr/include/lber_types.h
|
||||||
@ -322,7 +339,7 @@ cat > openldap2-back-meta.filelist <<EOF
|
|||||||
EOF
|
EOF
|
||||||
#remove files from other spec file
|
#remove files from other spec file
|
||||||
%if "%{name}" == "openldap2"
|
%if "%{name}" == "openldap2"
|
||||||
cat openldap2-client.filelist openldap2-devel.filelist |
|
cat openldap2-client.filelist libldap.filelist openldap2-devel.filelist |
|
||||||
%else
|
%else
|
||||||
cat openldap2.filelist openldap2-back-perl.filelist openldap2-back-meta.filelist |
|
cat openldap2.filelist openldap2-back-perl.filelist openldap2-back-meta.filelist |
|
||||||
%endif
|
%endif
|
||||||
@ -434,18 +451,24 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%else
|
%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
|
%files -f openldap2-client.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%files -n libldap-2_4-2 -f libldap.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%files -n openldap2-devel -f openldap2-devel.filelist
|
%files -n openldap2-devel -f openldap2-devel.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 11 2008 rhafer@suse.de
|
||||||
- Update to Version 2.4.10. Most important changes:
|
- Update to Version 2.4.10. Most important changes:
|
||||||
* Fixed libldap ld_defconn cleanup if it was freed (ITS#5518,
|
* Fixed libldap ld_defconn cleanup if it was freed (ITS#5518,
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 24 11:08:00 CEST 2008 - rhafer@suse.de
|
||||||
|
|
||||||
|
- branched off libldap-2_4-2 package to support the shared library
|
||||||
|
packaging policy
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 11 13:03:29 CEST 2008 - rhafer@suse.de
|
Wed Jun 11 13:03:29 CEST 2008 - rhafer@suse.de
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ Summary: The OpenLDAP Server
|
|||||||
%endif
|
%endif
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.4.10
|
Version: 2.4.10
|
||||||
Release: 1
|
Release: 2
|
||||||
Source: openldap-%{version}.tar.bz2
|
Source: openldap-%{version}.tar.bz2
|
||||||
Source1: openldap-rc.tgz
|
Source1: openldap-rc.tgz
|
||||||
Source2: addonschema.tar.gz
|
Source2: addonschema.tar.gz
|
||||||
@ -104,7 +104,7 @@ License: BSD 3-Clause; openldap 2.8
|
|||||||
Summary: Libraries, Header Files and Documentation for OpenLDAP
|
Summary: Libraries, Header Files and Documentation for OpenLDAP
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Conflicts: openldap-devel
|
Conflicts: openldap-devel
|
||||||
Requires: openldap2-client = %{version} cyrus-sasl-devel openssl-devel
|
Requires: libldap-2_4-2 = %{version} cyrus-sasl-devel openssl-devel
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%description -n openldap2-devel
|
%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:
|
Authors:
|
||||||
--------
|
--------
|
||||||
The OpenLDAP Project <project@openldap.org>
|
The OpenLDAP Project <project@openldap.org>
|
||||||
@ -295,12 +310,14 @@ cat > openldap2-client.filelist <<EOF
|
|||||||
/usr/bin/ldapsearch
|
/usr/bin/ldapsearch
|
||||||
/usr/bin/ldappasswd
|
/usr/bin/ldappasswd
|
||||||
/usr/bin/ldapwhoami
|
/usr/bin/ldapwhoami
|
||||||
%{_libdir}/liblber*.so.*
|
|
||||||
%{_libdir}/libldap*.so.*
|
|
||||||
%doc %{_mandir}/man1/ldap*
|
%doc %{_mandir}/man1/ldap*
|
||||||
%doc %{_mandir}/man5/ldap.conf*
|
%doc %{_mandir}/man5/ldap.conf*
|
||||||
%doc %{_mandir}/man5/ldif.*
|
%doc %{_mandir}/man5/ldif.*
|
||||||
EOF
|
EOF
|
||||||
|
cat > libldap.filelist <<EOF
|
||||||
|
%{_libdir}/liblber*.so.*
|
||||||
|
%{_libdir}/libldap*.so.*
|
||||||
|
EOF
|
||||||
cat > openldap2-devel.filelist <<EOF
|
cat > openldap2-devel.filelist <<EOF
|
||||||
/usr/include/lber.h
|
/usr/include/lber.h
|
||||||
/usr/include/lber_types.h
|
/usr/include/lber_types.h
|
||||||
@ -325,7 +342,7 @@ cat > openldap2-back-meta.filelist <<EOF
|
|||||||
EOF
|
EOF
|
||||||
#remove files from other spec file
|
#remove files from other spec file
|
||||||
%if "%{name}" == "openldap2"
|
%if "%{name}" == "openldap2"
|
||||||
cat openldap2-client.filelist openldap2-devel.filelist |
|
cat openldap2-client.filelist libldap.filelist openldap2-devel.filelist |
|
||||||
%else
|
%else
|
||||||
cat openldap2.filelist openldap2-back-perl.filelist openldap2-back-meta.filelist |
|
cat openldap2.filelist openldap2-back-perl.filelist openldap2-back-meta.filelist |
|
||||||
%endif
|
%endif
|
||||||
@ -437,18 +454,24 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%else
|
%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
|
%files -f openldap2-client.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
||||||
|
%files -n libldap-2_4-2 -f libldap.filelist
|
||||||
|
%defattr(-,root,root)
|
||||||
|
|
||||||
%files -n openldap2-devel -f openldap2-devel.filelist
|
%files -n openldap2-devel -f openldap2-devel.filelist
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Wed Jun 11 2008 rhafer@suse.de
|
||||||
- Update to Version 2.4.10. Most important changes:
|
- Update to Version 2.4.10. Most important changes:
|
||||||
* Fixed libldap ld_defconn cleanup if it was freed (ITS#5518,
|
* Fixed libldap ld_defconn cleanup if it was freed (ITS#5518,
|
||||||
|
Loading…
Reference in New Issue
Block a user