packages: samba/samba.spec - updated files, python subpkg added
arekm
arekm at pld-linux.org
Sun Jul 5 10:59:26 CEST 2009
Author: arekm Date: Sun Jul 5 08:59:26 2009 GMT
Module: packages Tag: HEAD
---- Log message:
- updated files, python subpkg added
---- Files affected:
packages/samba:
samba.spec (1.454 -> 1.455)
---- Diffs:
================================================================
Index: packages/samba/samba.spec
diff -u packages/samba/samba.spec:1.454 packages/samba/samba.spec:1.455
--- packages/samba/samba.spec:1.454 Sun Jul 5 09:52:24 2009
+++ packages/samba/samba.spec Sun Jul 5 10:59:21 2009
@@ -74,6 +74,7 @@
BuildRequires: pam-devel >= 0.99.8.1
BuildRequires: popt-devel
%{?with_pgsql:BuildRequires: postgresql-devel}
+BuildRequires: python-devel
BuildRequires: readline-devel >= 4.2
BuildRequires: rpmbuild(macros) >= 1.304
BuildRequires: sed >= 4.0
@@ -934,6 +935,15 @@
%description doc-pdf -l pl.UTF-8
Documentacja samby w formacie PDF.
+%package -n python-samba
+Summary: Samba Module for Python
+Group: Development/Languages/Python
+%pyrequires_eq python
+Requires: %{name}-common = %{epoch}:%{version}-%{release}
+
+%description -n python-samba
+Samba Module for Python.
+
%prep
%setup -q
%patch0 -p1
@@ -1071,8 +1081,11 @@
# unneeded
rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
+# tests
+rm -r $RPM_BUILD_ROOT%{_bindir}/{gentest4,locktest4,masktest4,nsstest4}
+
mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
-mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool4_samba
+mv $RPM_BUILD_ROOT%{_bindir}/tdbtool4 $RPM_BUILD_ROOT%{_bindir}/tdbtool4_samba
%if %{with ldap}
install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
@@ -1080,6 +1093,10 @@
%find_lang pam_winbind
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -1143,7 +1160,12 @@
%attr(755,root,root) %{_sbindir}/nmbd
%attr(755,root,root) %{_sbindir}/smbd
%attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
+%attr(755,root,root) %{_bindir}/ad2oLschema4
+%attr(755,root,root) %{_bindir}/oLschema2ldif4
%attr(755,root,root) %{_bindir}/ldb*
+%attr(755,root,root) %{_bindir}/reg*
+# "This utility disabled until rewritten"
+#%attr(755,root,root) %{_bindir}/setnttoken4
%attr(755,root,root) %{_bindir}/smbstatus
%attr(755,root,root) %{_bindir}/smbpasswd
%attr(755,root,root) %{_bindir}/smbcontrol
@@ -1210,6 +1232,7 @@
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/winbindd
%attr(755,root,root) %{_bindir}/wbinfo
+%attr(755,root,root) %{_bindir}/wbinfo4
%attr(755,root,root) /%{_lib}/security/pam_winbind*
%attr(755,root,root) /%{_lib}/libnss_winbind*
%attr(754,root,root) /etc/rc.d/init.d/winbind
@@ -1226,6 +1249,7 @@
%defattr(644,root,root,755)
%attr(755,root,root) /sbin/mount.cifs
%attr(755,root,root) /sbin/umount.cifs
+%attr(755,root,root) %{_bindir}/cifsdd4
%attr(755,root,root) %{_bindir}/findsmb
%attr(755,root,root) %{_bindir}/net
%attr(755,root,root) %{_bindir}/net4
@@ -1263,12 +1287,15 @@
%attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
%attr(755,root,root) %{_bindir}/eventlogadm
+%attr(755,root,root) %{_bindir}/getntacl4
+%attr(755,root,root) %{_bindir}/ndrdump4
%attr(755,root,root) %{_bindir}/ntlm_auth
%attr(755,root,root) %{_bindir}/ntlm_auth4
%attr(755,root,root) %{_bindir}/pdbedit
%attr(755,root,root) %{_bindir}/profiles
%attr(755,root,root) %{_bindir}/smbcquotas
%attr(755,root,root) %{_bindir}/testparm
+%attr(755,root,root) %{_bindir}/testparm4
%attr(755,root,root) %{_bindir}/vfstest
%dir %{_libdir}/%{name}
%{_libdir}/%{name}/*.dat
@@ -1514,12 +1541,31 @@
%defattr(644,root,root,755)
%doc docs/*.pdf
+%files -n python-samba
+%defattr(644,root,root,755)
+%attr(755,root,root) %{py_sitedir}/*.so
+%dir %{py_sitedir}/samba
+%attr(755,root,root) %{py_sitedir}/samba/*.so
+%{py_sitedir}/samba/*.py[co]
+%dir %{py_sitedir}/samba/dcerpc
+%{py_sitedir}/samba/dcerpc/*.py[co]
+%attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
+%dir %{py_sitedir}/samba/tests
+%{py_sitedir}/samba/tests/*.py[co]
+%dir %{py_sitedir}/samba/tests/dcerpc
+%{py_sitedir}/samba/tests/dcerpc/*.py[co]
+%dir %{py_sitedir}/samba/torture
+%{py_sitedir}/samba/torture/*.py[co]
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.455 2009/07/05 08:59:21 arekm
+- updated files, python subpkg added
+
Revision 1.454 2009/07/05 07:52:24 arekm
- update (builds with -j1; files need update; python subpkg needed)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/samba/samba.spec?r1=1.454&r2=1.455&f=u
More information about the pld-cvs-commit
mailing list