# TODO:
# - look into other distro specs for valid %descriptions for samba 3
-# - check where's pdb-xml
#
# Conditional build:
%bcond_without ads # without ActiveDirectory support
Summary(zh_CN): Samba ¿Í»§¶ËºÍ·þÎñÆ÷
Name: samba
Version: 3.0.23a
-Release: 0.4
+Release: 0.6
Epoch: 1
License: GPL v2
Group: Networking/Daemons
BuildRequires: iconv
BuildRequires: libmagic-devel
BuildRequires: libtool >= 2:1.4d
-BuildRequires: libxml2-devel
+#BuildRequires: libxml2-devel
BuildRequires: ncurses-devel >= 5.2
%{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
BuildRequires: openssl-devel >= 0.9.7d
Requires: pam >= 0.66
Requires: rc-scripts
Requires: setup >= 2.4.6-7
+Obsoletes: samba-pdb-xml
Obsoletes: samba-vfs-block
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ÄÌÑ ÄÉÓÔÁÎæÊÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ ÆÁÊÌÕ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
ÕÌÀÂÌÅÎÏÇÏ Web-ÂÒÁÕÚÅÒÕ.
-%package pdb-xml
-Summary: Samba XML password database plugin
-Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie XML
-Group: Networking/Daemons
-Requires: %{name} = %{epoch}:%{version}-%{release}
-
-%description pdb-xml
-Samba XML password database plugin.
-
-%description pdb-xml -l pl
-Wtyczka Samby do przechowywania hase³ w bazie XML.
-
%package client
Summary: Samba client programs
Summary(es): Cliente SMB de Samba
# --with-vfs \
# --with-tdbsam \
# %{?with_ipv6:--with-ipv6} \
-# --with-expsam=xml%{?with_mysql:,mysql}%{?with_pgsql:,pgsql} \
%configure \
--with-rootsbindir=/sbin \
%doc examples/LDAP
%endif
-%files pdb-xml
-%defattr(644,root,root,755)
-#%attr(755,root,root) %{_libdir}/%{name}/pdb/xml.so
-
%files winbind
%defattr(644,root,root,755)
%attr(755,root,root) %{_sbindir}/winbindd