SPECS: libcli_smb.spec - updated to alpha4 release

pascalek pascalek at pld-linux.org
Sun Jul 6 11:01:49 CEST 2008


Author: pascalek                     Date: Sun Jul  6 09:01:48 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to alpha4 release

---- Files affected:
SPECS:
   libcli_smb.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/libcli_smb.spec
diff -u SPECS/libcli_smb.spec:1.3 SPECS/libcli_smb.spec:1.4
--- SPECS/libcli_smb.spec:1.3	Tue Jan 22 00:45:49 2008
+++ SPECS/libcli_smb.spec	Sun Jul  6 11:01:43 2008
@@ -6,18 +6,19 @@
 Summary(pl.UTF-8):	libcli_smb - biblioteka klienta samby
 Name:		libcli_smb
 Version:	4.0.0
-%define	subver	alpha2
+%define	subver	alpha4
 Release:	0.%{subver}.1
 Epoch:		1
 License:	GPL v3+
 Group:		Libraries
 Source0:	http://us1.samba.org/samba/ftp/samba4/samba-%{version}%{subver}.tar.gz
-# Source0-md5:	90dec861198d7732a0e684f8b9c27bf5
+# Source0-md5:	320a9fcf8f3a74b40d010352529b29d1
 URL:		http://www.samba.org/
 BuildRequires:	cyrus-sasl-devel
 BuildRequires:	gnutls-devel
 BuildRequires:	libaio-devel
 BuildRequires:	pam-devel
+BuildRequires:	python-devel
 BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -49,33 +50,34 @@
 
 %build
 cd source
+./autogen.sh
 %configure \
 	-C \
 	--enable-developer \
 	--enable-socket-wrapper \
 	--with-privatedir=%{_sysconfdir}/samba
-	                 
+
+%{__make} heimdal_basics
 %{__make} proto
-%{__make} bin/shared/libcli_smb.so.0.0.1
+%{__make} bin/shared/libdcerpc.so.0.0.1
 %{__make} headers
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d \
 	$RPM_BUILD_ROOT%{_libdir} \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/auth/credentials \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/auth/gensec \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/lib/charset \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/system \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/lib/util \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/lib/replace \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/libcli/raw \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/libcli/util \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/librpc/gen_ndr \
-	$RPM_BUILD_ROOT%{_includedir}/samba4/param
-
-cp -a source/bin/shared/libcli_smb* $RPM_BUILD_ROOT%{_libdir}
+	$RPM_BUILD_ROOT%{_includedir}/samba4/auth/{credentials,gensec} \
+	$RPM_BUILD_ROOT%{_includedir}/samba4/lib/{charset,cmdline,events,popt,replace,smbreadline,util} \
+	$RPM_BUILD_ROOT%{_includedir}/samba4/libcli/{nbt,raw,resolve,rpc,security,util} \
+	$RPM_BUILD_ROOT%{_includedir}/samba4/librpc/{gen_ndr,ndr,rpc} \
+	$RPM_BUILD_ROOT%{_includedir}/samba4/param \
+	$RPM_BUILD_ROOT%{_includedir}/samba4/system
+
+cp -a source/bin/shared/libdcerpc* $RPM_BUILD_ROOT%{_libdir}
+ln -sf %{_libdir}/libdcerpc.so.0.0.1 $RPM_BUILD_ROOT%{_libdir}/libdcerpc.so.0
+ln -sf %{_libdir}/libdcerpc.so.0.0.1 $RPM_BUILD_ROOT%{_libdir}/libdcerpc.so
 
+cp source/*.h $RPM_BUILD_ROOT%{_includedir}/samba4
 cp source/include/*.h $RPM_BUILD_ROOT%{_includedir}/samba4
 cp source/libcli/*.h $RPM_BUILD_ROOT%{_includedir}/samba4
 cp source/param/*.h $RPM_BUILD_ROOT%{_includedir}/samba4
@@ -83,15 +85,25 @@
 cp source/auth/gensec/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/auth/gensec
 cp source/auth/credentials/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/auth/credentials
 cp source/lib/charset/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/lib/charset
+cp source/lib/cmdline/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/lib/cmdline
+cp source/lib/events/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/lib/events
 cp source/lib/ldb/include/*.h $RPM_BUILD_ROOT%{_includedir}/samba4
+cp source/lib/popt/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/lib/popt
 cp source/lib/replace/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/lib/replace
 cp source/lib/replace/system/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/system
+cp source/lib/smbreadline/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/lib/smbreadline
 cp source/lib/talloc/*.h $RPM_BUILD_ROOT%{_includedir}/samba4
 cp source/lib/util/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/lib/util
+cp source/libcli/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/libcli
 cp source/libcli/libcli_proto.h $RPM_BUILD_ROOT%{_includedir}/samba4/libcli
+cp source/libcli/nbt/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/libcli/nbt
 cp source/libcli/raw/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/libcli/raw
+cp source/libcli/resolve/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/libcli/resolve
+cp source/libcli/security/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/libcli/security
 cp source/libcli/util/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/libcli/util
 cp source/librpc/gen_ndr/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/librpc/gen_ndr
+cp source/librpc/ndr/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/librpc/ndr
+cp source/librpc/rpc/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/librpc/rpc
 cp source/param/*.h $RPM_BUILD_ROOT%{_includedir}/samba4/param
 
 %clean
@@ -102,12 +114,12 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libcli_smb.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libcli_smb.so.0
+%attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.*
+%attr(755,root,root) %{_libdir}/libdcerpc.so.0
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libcli_smb.so
+%attr(755,root,root) %{_libdir}/libdcerpc.so
 %{_includedir}/samba4
 
 %define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -116,6 +128,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2008/07/06 09:01:43  pascalek
+- updated to alpha4 release
+
 Revision 1.3  2008/01/21 23:45:49  qboosh
 - updated to samba 4.0.0alpha2 source
 - some BRs (only those used by final package, probably not all required to build)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/libcli_smb.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list