SPECS: samba.spec - hacked together samba-devel for building samba...

glen glen at pld-linux.org
Tue Jul 25 11:02:19 CEST 2006


Author: glen                         Date: Tue Jul 25 09:02:19 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- hacked together samba-devel for building samba-pdbsql

---- Files affected:
SPECS:
   samba.spec (1.326 -> 1.327) 

---- Diffs:

================================================================
Index: SPECS/samba.spec
diff -u SPECS/samba.spec:1.326 SPECS/samba.spec:1.327
--- SPECS/samba.spec:1.326	Tue Jul 25 10:43:49 2006
+++ SPECS/samba.spec	Tue Jul 25 11:02:11 2006
@@ -34,7 +34,7 @@
 Summary(zh_CN):	Samba żÍť§śËşÍˇţÎńĆ÷
 Name:		samba
 Version:	3.0.23a
-Release:	0.2
+Release:	0.4
 Epoch:		1
 License:	GPL v2
 Group:		Networking/Daemons
@@ -470,6 +470,13 @@
 %description -n libsmbclient-static -l pl
 Statyczna biblioteka libsmbclient.
 
+%package devel
+Summary:	Header files for Samba
+Group:		Development/Libraries
+
+%description devel
+Header files for Samba.
+
 %package -n smbget
 Summary:	A utility for retrieving files using the SMB protocol
 Summary(pl):	Narzędzie do pobierania plików protokołem SMB
@@ -1038,6 +1045,13 @@
 
 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
 
+# these are needed to build samba-pdbsql
+install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{smbwrapper,tdb,nsswitch}
+cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -a source/smbwrapper/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -a source/tdb/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
+
 # vscan modules
 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
 install examples/VFS/samba-vscan-%{vscan_version}/{antivir,clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
@@ -1302,6 +1316,10 @@
 %{_includedir}/libmsrpc.h
 %{_includedir}/libsmbclient.h
 
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/%{name}
+
 %files -n libsmbclient-static
 %defattr(644,root,root,755)
 %{_libdir}/libmsrpc.a
@@ -1447,6 +1465,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.327  2006/07/25 09:02:11  glen
+- hacked together samba-devel for building samba-pdbsql
+
 Revision 1.326  2006/07/25 08:43:49  glen
 - updated to 3.0.23a
   NOTE: mysql and pgsql have been removed from sources. See samba-pdbsql.spec
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/samba.spec?r1=1.326&r2=1.327&f=u



More information about the pld-cvs-commit mailing list