SHA256
1
0
forked from pool/samba

Remove accidently created package. The real name is libldb1.

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=237
This commit is contained in:
Lars Müller 2012-05-14 13:36:55 +00:00 committed by Git OBS Bridge
parent 9b50e61a05
commit 5799e66cc1
6 changed files with 105 additions and 61 deletions

View File

@ -1,2 +1,2 @@
2799 2799M
Branch : 3.6.5.PTF Branch : 3.6.5

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:69e6748aecc26b93e4518843a20136491669ade44337ccb1e6059b7f193d334b oid sha256:cd86be1a627f462a4c312f4dfc000b7e804e7e669affb6aa524a453879fe056a
size 53552 size 53537

View File

@ -451,7 +451,7 @@ This package contains all the Samba documentation as it is not part of
the man pages. the man pages.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%changelog %changelog

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon May 14 09:37:57 UTC 2012 - lmuelle@suse.com
- Disable included build of ldb, talloc, tdb, and tevent on post-12.1 systems.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed May 2 13:17:54 UTC 2012 - lmuelle@suse.com Wed May 2 13:17:54 UTC 2012 - lmuelle@suse.com

View File

@ -211,8 +211,8 @@ binary packages of the most current Samba version, and a bug reporting
how to. how to.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package client %package client
License: GPL-3.0+ License: GPL-3.0+
@ -252,8 +252,8 @@ binary packages of the most current Samba version, and a bug reporting
how to. how to.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020 %if 0%{?suse_version} == 0 || 0%{?suse_version} > 1020
@ -272,8 +272,8 @@ This package contains the static libraries and header files needed to
develop programs which make use of Samba. develop programs which make use of Samba.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%endif %endif
%if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110 %if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110
@ -297,8 +297,8 @@ This package contains all the Samba documentation as it is not part of
the man pages. the man pages.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%endif %endif
@ -319,8 +319,8 @@ Requires: samba-client >= %{version}
A wrapper binary to run smbspool with the original calling UID. A wrapper binary to run smbspool with the original calling UID.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%if %{make_utils} %if %{make_utils}
@ -335,8 +335,8 @@ Obsoletes: samba-gplv3-utils < %{version}
Some of the debug-tools for developpers. Some of the debug-tools for developpers.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%endif %endif
@ -368,8 +368,8 @@ PreReq: coreutils
This is the winbind-daemon and the wbinfo-tool. This is the winbind-daemon and the wbinfo-tool.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%if 0%{?suse_version} && 0%{?suse_version} < 1031 %if 0%{?suse_version} && 0%{?suse_version} < 1031
@ -394,15 +394,15 @@ PreReq: /sbin/ldconfig
%description -n libsmbclient %description -n libsmbclient
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%else %else
%description -n libsmbclient0 %description -n libsmbclient0
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%endif %endif
This package includes the libsmbclient library. This package includes the libsmbclient library.
@ -440,8 +440,8 @@ This package contains the static libraries and header files needed to
develop programs which make use of the smbclient programming interface. develop programs which make use of the smbclient programming interface.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libnetapi0 %package -n libnetapi0
License: GPL-3.0+ License: GPL-3.0+
@ -453,8 +453,8 @@ PreReq: /sbin/ldconfig
This package includes the netapi library. This package includes the netapi library.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libnetapi-devel %package -n libnetapi-devel
License: GPL-3.0+ License: GPL-3.0+
@ -472,8 +472,8 @@ This package contains the static libraries and header files needed to
develop programs which make use of the netapi programming interface. develop programs which make use of the netapi programming interface.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%if 0%{?suse_version} && 0%{?suse_version} < 1031 %if 0%{?suse_version} && 0%{?suse_version} < 1031
@ -493,15 +493,15 @@ PreReq: /sbin/ldconfig
%description -n libsmbsharemodes %description -n libsmbsharemodes
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%else %else
%description -n libsmbsharemodes0 %description -n libsmbsharemodes0
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%endif %endif
This package includes the smbsharemodes library. This package includes the smbsharemodes library.
@ -526,8 +526,8 @@ This package contains the static libraries and header files needed to
develop programs which make use of the smbsharemodes programming interface. develop programs which make use of the smbsharemodes programming interface.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libwbclient0 %package -n libwbclient0
License: LGPL-3.0+ License: LGPL-3.0+
@ -539,8 +539,8 @@ PreReq: /sbin/ldconfig
This package includes the wbclient library. This package includes the wbclient library.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libwbclient-devel %package -n libwbclient-devel
License: LGPL-3.0+ License: LGPL-3.0+
@ -558,8 +558,10 @@ This package contains the static libraries and header files needed to
develop programs which make use of the wbclient programming interface. develop programs which make use of the wbclient programming interface.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%if 0%{?suse_version} && 0%{?suse_version} < 1211
%package -n libtalloc2 %package -n libtalloc2
Version: %{libtalloc_ver} Version: %{libtalloc_ver}
@ -573,8 +575,8 @@ PreReq: /sbin/ldconfig
This package includes the talloc library. This package includes the talloc library.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libtalloc-devel %package -n libtalloc-devel
Version: %{libtalloc_ver} Version: %{libtalloc_ver}
@ -594,8 +596,8 @@ This package contains the static libraries and header files needed to
develop programs which make use of the talloc programming interface. develop programs which make use of the talloc programming interface.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libtdb1 %package -n libtdb1
Version: %{libtdb_ver} Version: %{libtdb_ver}
@ -609,8 +611,8 @@ PreReq: /sbin/ldconfig
This package includes the tdb library. This package includes the tdb library.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libtdb-devel %package -n libtdb-devel
Version: %{libtdb_ver} Version: %{libtdb_ver}
@ -626,8 +628,8 @@ This package contains the static libraries and header files needed to
develop programs which make use of the tdb programming interface. develop programs which make use of the tdb programming interface.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libtevent0 %package -n libtevent0
Version: %{libtevent_ver} Version: %{libtevent_ver}
@ -641,8 +643,8 @@ PreReq: /sbin/ldconfig
This package includes the tevent library. This package includes the tevent library.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libtevent-devel %package -n libtevent-devel
Version: %{libtevent_ver} Version: %{libtevent_ver}
@ -663,8 +665,8 @@ This package contains the static libraries and header files needed to
develop programs which make use of the tevent programming interface. develop programs which make use of the tevent programming interface.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libldb1 %package -n libldb1
Version: %{libldb_ver} Version: %{libldb_ver}
@ -679,8 +681,8 @@ PreReq: /sbin/ldconfig
This package includes the ldb library. This package includes the ldb library.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%package -n libldb-devel %package -n libldb-devel
Version: %{libldb_ver} Version: %{libldb_ver}
@ -700,9 +702,10 @@ Requires: libtalloc-devel
This package contains the static libraries and header files needed to This package contains the static libraries and header files needed to
develop programs which make use of the tevent programming interface. develop programs which make use of the tevent programming interface.
Source Timestamp: 2799M
Branch : 3.6.5
Source Timestamp: 2799 %endif
Branch : 3.6.5.PTF
%if %{make_ldapsmb} %if %{make_ldapsmb}
@ -719,15 +722,15 @@ This tool aims to simplify the administration of a Samba Domain
Controller that uses the ldapsam passdb backend. Controller that uses the ldapsam passdb backend.
Source Timestamp: 2799 Source Timestamp: 2799M
Branch : 3.6.5.PTF Branch : 3.6.5
%endif %endif
%prep %prep
%setup -n samba-%{samba_ver_full} -q %setup -n samba-%{samba_ver_full} -q
# check if our library versions from the spec are still current # check if our library versions from the spec are still current
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1130 %if 0%{?suse_version} > 1130 && 0%{?suse_version} < 1211
grep "^VERSION = '%{libldb_ver}'$" source4/lib/ldb/wscript || \ grep "^VERSION = '%{libldb_ver}'$" source4/lib/ldb/wscript || \
exit 1 exit 1
grep "^VERSION = '%{libtalloc_ver}'$" lib/talloc/wscript || \ grep "^VERSION = '%{libtalloc_ver}'$" lib/talloc/wscript || \
@ -890,6 +893,8 @@ popd
%endif %endif
popd popd
%if 0%{?suse_version} && 0%{?suse_version} < 1211
for lib_dir in tdb talloc; do for lib_dir in tdb talloc; do
pushd lib/${lib_dir} pushd lib/${lib_dir}
./configure \ ./configure \
@ -928,12 +933,16 @@ TDB_LIBS=../../../source3/bin/libtdb.so.1 TDB_CFLAGS=-I../../../lib/tdb/include
make make
popd popd
%endif
%check %check
%if 0%{?suse_version} && 0%{?suse_version} < 1211
for lib_dir in tdb talloc tevent; do for lib_dir in tdb talloc tevent; do
pushd lib/${lib_dir} pushd lib/${lib_dir}
make test make test
popd popd
done done
%endif
pushd source3 pushd source3
make test_shlibs make test_shlibs
make test_nss_modules make test_nss_modules
@ -977,6 +986,9 @@ install -d -m 0755 -p \
%{buildroot}/%{DOCBOOKDIR} \ %{buildroot}/%{DOCBOOKDIR} \
%{buildroot}/%{SWATDIR}/help \ %{buildroot}/%{SWATDIR}/help \
%{buildroot}/%{_datadir}/susehelp/meta/Administration/System %{buildroot}/%{_datadir}/susehelp/meta/Administration/System
%if 0%{?suse_version} && 0%{?suse_version} < 1211
for lib_dir in tdb talloc tevent; do for lib_dir in tdb talloc tevent; do
pushd lib/${lib_dir} pushd lib/${lib_dir}
make install \ make install \
@ -989,9 +1001,15 @@ make -C source4/lib/ldb/ install \
CONFIGDIR=%{CONFIGDIR} CONFIGDIR=%{CONFIGDIR}
# we prefer the s3 binaries of the tdbtools # we prefer the s3 binaries of the tdbtools
rm %{buildroot}/%{_bindir}/tdb{backup,dump,restore,tool} rm %{buildroot}/%{_bindir}/tdb{backup,dump,restore,tool}
%endif
make -C source3/ install \ make -C source3/ install \
DESTDIR=%{buildroot} \ DESTDIR=%{buildroot} \
CONFIGDIR=%{CONFIGDIR} CONFIGDIR=%{CONFIGDIR}
%if 0%{?suse_version} && 0%{?suse_version} < 1211
# libtalloc # libtalloc
#rm %{buildroot}/%{_libdir}/*talloc* #rm %{buildroot}/%{_libdir}/*talloc*
make -C lib/talloc/ install \ make -C lib/talloc/ install \
@ -1004,6 +1022,9 @@ make -C lib/talloc/ install \
rm -r %{buildroot}/%{python_sitearch} \ rm -r %{buildroot}/%{python_sitearch} \
%{buildroot}/%{_libdir}/ldb/lib{t*,p*} \ %{buildroot}/%{_libdir}/ldb/lib{t*,p*} \
%{buildroot}/%{_libdir}/tevent %{buildroot}/%{_libdir}/tevent
%endif
for file in source3/pkgconfig/*.pc; do for file in source3/pkgconfig/*.pc; do
install -m 0644 "${file}" %{buildroot}/%{_libdir}/pkgconfig install -m 0644 "${file}" %{buildroot}/%{_libdir}/pkgconfig
done done
@ -1299,14 +1320,20 @@ fi
%postun -n libnetapi0 -p /sbin/ldconfig %postun -n libnetapi0 -p /sbin/ldconfig
%if 0%{?suse_version} && 0%{?suse_version} < 1211
%post -n libtalloc2 -p /sbin/ldconfig %post -n libtalloc2 -p /sbin/ldconfig
%postun -n libtalloc2 -p /sbin/ldconfig %postun -n libtalloc2 -p /sbin/ldconfig
%endif
%post -n libwbclient0 -p /sbin/ldconfig %post -n libwbclient0 -p /sbin/ldconfig
%postun -n libwbclient0 -p /sbin/ldconfig %postun -n libwbclient0 -p /sbin/ldconfig
%if 0%{?suse_version} && 0%{?suse_version} < 1211
%post -n libtdb1 -p /sbin/ldconfig %post -n libtdb1 -p /sbin/ldconfig
%postun -n libtdb1 -p /sbin/ldconfig %postun -n libtdb1 -p /sbin/ldconfig
@ -1318,6 +1345,9 @@ fi
%post -n libldb1 -p /sbin/ldconfig %post -n libldb1 -p /sbin/ldconfig
%postun -n libldb1 -p /sbin/ldconfig %postun -n libldb1 -p /sbin/ldconfig
%endif
%if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110 %if 0%{?suse_version} && 0%{?suse_version} < 1001 || 0%{?suse_version} > 1110
%pre doc %pre doc
@ -1746,6 +1776,8 @@ fi
%{_libdir}/libsmbsharemodes.so %{_libdir}/libsmbsharemodes.so
%{_libdir}/pkgconfig/smbsharemodes.pc %{_libdir}/pkgconfig/smbsharemodes.pc
%if 0%{?suse_version} && 0%{?suse_version} < 1211
%files -n libtalloc2 %files -n libtalloc2
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libpytalloc-util.so.* %{_libdir}/libpytalloc-util.so.*
@ -1776,6 +1808,8 @@ fi
%{_libdir}/libtdb.so %{_libdir}/libtdb.so
%{_libdir}/pkgconfig/tdb.pc %{_libdir}/pkgconfig/tdb.pc
%endif
%files -n libwbclient0 %files -n libwbclient0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libwbclient.so.* %{_libdir}/libwbclient.so.*
@ -1788,6 +1822,8 @@ fi
%{_libdir}/libwbclient.so %{_libdir}/libwbclient.so
%{_libdir}/pkgconfig/wbclient.pc %{_libdir}/pkgconfig/wbclient.pc
%if 0%{?suse_version} && 0%{?suse_version} < 1211
%files -n libtevent0 %files -n libtevent0
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libtevent.so.* %{_libdir}/libtevent.so.*
@ -1813,6 +1849,9 @@ fi
%{_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
%endif
%if %{make_ldapsmb} %if %{make_ldapsmb}
%files -n ldapsmb %files -n ldapsmb

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:f994a4bd2415e99d0199f8a2610477f2042753007345558a11fee71f4496dd2e oid sha256:946e6efe5c37e29a29e4826e2d428896b2e42309695d7880d12c0d50cac37ff4
size 52523 size 52549