SHA256
1
0
forked from pool/ldb

Rename libtalloc2 to talloc.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=4
This commit is contained in:
Lars Müller 2012-05-31 11:43:00 +00:00 committed by Git OBS Bridge
parent 8a634e70d2
commit e22946fdd5

View File

@ -25,9 +25,10 @@ BuildRequires: pkg-config
%else %else
BuildRequires: pkgconfig BuildRequires: pkgconfig
%endif %endif
#!BuildIgnore: libtalloc-devel
BuildRequires: libtalloc2-devel >= 2.0.7 BuildRequires: libtalloc2-devel >= 2.0.7
BuildRequires: libtdb1-devel >= 1.2.10 BuildRequires: libtdb1-devel >= 1.2.10
#BuildRequires: libtevent0-devel >= 0.9.15 BuildRequires: libtevent0-devel >= 0.9.15
BuildRequires: python-tdb >= 1.2.10 BuildRequires: python-tdb >= 1.2.10
BuildRequires: python-devel BuildRequires: python-devel
BuildRequires: python-tevent >= 0.9.15 BuildRequires: python-tevent >= 0.9.15
@ -51,13 +52,13 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
This package includes the ldb1 library. This package includes the ldb1 library.
%package devel %package -n libldb-devel
License: LGPL-3.0+ License: LGPL-3.0+
Summary: Libraries and Header Files to Develop Programs with ldb1 Support Summary: Libraries and Header Files to Develop Programs with ldb1 Support
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libldb1 = %{version} Requires: libldb1 = %{version}
%description devel %description -n libldb-devel
Libraries and Header Files to Develop Programs with ldb1 Support Libraries and Header Files to Develop Programs with ldb1 Support
@ -87,8 +88,11 @@ export CFLAGS="${RPM_OPT_FLAGS} -D_GNU_SOURCE ${OPTIMIZATION} -D_LARGEFILE64_SOU
CONFIGURE_OPTIONS="\ CONFIGURE_OPTIONS="\
--prefix=%{_prefix} \ --prefix=%{_prefix} \
--libdir=%{_libdir} \ --libdir=%{_libdir} \
--with-modulesdir=%{_libdir}/samba \ --with-modulesdir=%{_libdir} \
--bundled-libraries=tdb2 \
" "
# --bundled-libraries=NONE \
# --bundled-libraries=!tdb \
./configure ${CONFIGURE_OPTIONS} ./configure ${CONFIGURE_OPTIONS}
%{__make} %{build_make_smp_mflags} \ %{__make} %{build_make_smp_mflags} \
all all
@ -110,22 +114,20 @@ DESTDIR=${RPM_BUILD_ROOT} make install
%{_libdir}/libldb.so.* %{_libdir}/libldb.so.*
%{_libdir}/ldb/libccan.so.* %{_libdir}/ldb/libccan.so.*
%{_libdir}/ldb/libpytalloc-util.so.* %{_libdir}/ldb/libpytalloc-util.so.*
%{_libdir}/ldb/libtalloc.so.*
%{_libdir}/ldb/libtdb.so.* %{_libdir}/ldb/libtdb.so.*
%{_libdir}/ldb/libtevent.so.*
%{_libdir}/libpyldb-util.so.* %{_libdir}/libpyldb-util.so.*
%{_libdir}/ldb/libtdb_compat.so %{_libdir}/ldb/libtdb_compat.so
%{_libdir}/samba/asq.so %{_libdir}/ldb/asq.so
%{_libdir}/samba/ldap.so #%{_libdir}/ldb/ldap.so
%{_libdir}/samba/paged_results.so %{_libdir}/ldb/paged_results.so
%{_libdir}/samba/paged_searches.so %{_libdir}/ldb/paged_searches.so
%{_libdir}/samba/rdn_name.so %{_libdir}/ldb/rdn_name.so
%{_libdir}/samba/sample.so %{_libdir}/ldb/sample.so
%{_libdir}/samba/server_sort.so %{_libdir}/ldb/server_sort.so
%{_libdir}/samba/skel.so %{_libdir}/ldb/skel.so
%{_libdir}/samba/tdb.so %{_libdir}/ldb/tdb.so
%files devel %files -n libldb-devel
%defattr(-,root,root) %defattr(-,root,root)
%{_includedir}/ldb.h %{_includedir}/ldb.h
%{_includedir}/ldb_errors.h %{_includedir}/ldb_errors.h
@ -136,6 +138,7 @@ DESTDIR=${RPM_BUILD_ROOT} make install
%{_includedir}/pytalloc.h %{_includedir}/pytalloc.h
%{_libdir}/libldb.so %{_libdir}/libldb.so
%{_libdir}/ldb/libldb-cmdline.so %{_libdir}/ldb/libldb-cmdline.so
%{_libdir}/ldb/libpopt.so
%{_libdir}/libpyldb-util.so %{_libdir}/libpyldb-util.so
%{_libdir}/pkgconfig/ldb.pc %{_libdir}/pkgconfig/ldb.pc
%{_libdir}/pkgconfig/pyldb-util.pc %{_libdir}/pkgconfig/pyldb-util.pc