packages (SAMBA_3_3): samba/samba.spec - build and package tdb here (same a...

baggins baggins at pld-linux.org
Tue Feb 9 17:19:48 CET 2010


Author: baggins                      Date: Tue Feb  9 16:19:48 2010 GMT
Module: packages                      Tag: SAMBA_3_3
---- Log message:
- build and package tdb here (same as HEAD)

---- Files affected:
packages/samba:
   samba.spec (1.450.2.3 -> 1.450.2.4) 

---- Diffs:

================================================================
Index: packages/samba/samba.spec
diff -u packages/samba/samba.spec:1.450.2.3 packages/samba/samba.spec:1.450.2.4
--- packages/samba/samba.spec:1.450.2.3	Tue Feb  9 17:02:01 2010
+++ packages/samba/samba.spec	Tue Feb  9 17:19:43 2010
@@ -349,7 +349,7 @@
 Summary(ru.UTF-8):	Файлы, используемые как сервером, так и клиентом Samba
 Summary(uk.UTF-8):	Файли, що використовуються як сервером, так і клієнтом Samba
 Group:		Networking/Daemons
-Requires:	tdb >= 1.1.3
+Requires:	tdb >= %{epoch}:%{version}-%{release}
 
 %description common
 Samba-common provides files necessary for both the server and client
@@ -477,6 +477,37 @@
 The libtalloc-devel package contains the header files and libraries needed to
 develop programs that link against the talloc library in the Samba suite.
 
+%package -n tdb
+Summary:	TDB - Trivial Database
+Summary(pl.UTF-8):	TDB - prosta baza danych
+Group:		Libraries
+Obsoletes:	tdb-extras
+
+%description -n tdb
+TDB is a Trivial Database. In concept, it is very much like GDBM, and
+BSD's DB except that it allows multiple simultaneous writers and uses
+locking internally to keep writers from trampling on each other. TDB
+is also extremely small.
+
+%description -n tdb -l pl.UTF-8
+TDB to Trivial Database, czyli prosta baza danych. W założeniach jest
+bardzo podobna do GDBM lub DB z BSD z wyjątkiem tego, że pozwala na
+zapis wielu procesom jednocześnie i używa wewnętrznie blokowania, aby
+nie pozwolić piszącym na zadeptanie się nawzajem. TDB jest ponadto
+ekstremalnie mała.
+
+%package  -n tdb-devel
+Summary:	Header files for TDB library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki TDB
+Group:		Development/Libraries
+Requires:	tdb = %{epoch}:%{version}-%{release}
+
+%description -n tdb-devel
+Header files for TDB library.
+
+%description -n tdb-devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki TDB.
+
 %package devel
 Summary:	Header files for Samba
 Summary(pl.UTF-8):	Pliki nagłówkowe Samby
@@ -1059,14 +1090,9 @@
 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
 
-# we have this utility in tdb package
-rm -f $RPM_BUILD_ROOT{%{_bindir}/tdb{backup,dump},%{_mandir}/man8/tdb{backup,dump}.8*}
-
 # unneeded
 rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
 
-mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
-
 %if %{with ldap}
 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
 %endif
@@ -1335,6 +1361,21 @@
 %attr(755,root,root) %{_libdir}/libtalloc.so
 %{_includedir}/talloc.h
 
+%files -n tdb
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/tdbbackup
+%attr(755,root,root) %{_bindir}/tdbdump
+%attr(755,root,root) %{_bindir}/tdbtool
+%attr(755,root,root) %{_libdir}/libtdb.so.*
+%{_mandir}/man8/tdbbackup.8*
+%{_mandir}/man8/tdbdump.8*
+%{_mandir}/man8/tdbtool.8*
+
+%files -n tdb-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libtdb.so
+%{_includedir}/tdb.h
+
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/%{name}
@@ -1507,6 +1548,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.450.2.4  2010/02/09 16:19:43  baggins
+- build and package tdb here (same as HEAD)
+
 Revision 1.450.2.3  2010/02/09 16:02:01  baggins
 - 3.3.10
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/samba/samba.spec?r1=1.450.2.3&r2=1.450.2.4&f=u



More information about the pld-cvs-commit mailing list