# # spec file for package compat-ldap (Version 11sp1) # # Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org # # norootforbuild Name: compat-ldap License: BSD 3-clause Group: System/Libraries Autoreqprov: on #Requires: compat-openssl097g Version: 10sp3_9sp4 Release: 1 Summary: OpenLDAP2 libraries from SLES10 and SLES9 Source: openldap2-lib.tar.bz2 Source1: baselibs.conf # dummy, unused, included for reference Source10: openldap2-sles9.src.rpm Source11: openldap2-sles10.src.rpm BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This package contains the openldap2 client libraries (liblber, libldap, libldap_r) from SLES9 and SLES10 to provide backwards compatility for applications that that have been built against those SLES versions. %prep %setup -n compat-ldap %build # NOTHING TO DO %install %ifarch %ix86 MY_CPU=i386 %else MY_CPU=%{_target_cpu} %endif mkdir -p $RPM_BUILD_ROOT/%_libdir cp -pr $MY_CPU/usr $RPM_BUILD_ROOT/ #/sbin/ldconfig -n $RPM_BUILD_ROOT/%_libdir %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root) %_libdir/lib* %changelog -n compat-ldap