]> git.pld-linux.org Git - packages/samba.git/blobdiff - samba.spec
- get PATH_MAX definition
[packages/samba.git] / samba.spec
index e1ed6d4279207774e637cba6da8d94dc1dc7acf7..3402bb5893507630b629807728bf06011520ff3a 100644 (file)
@@ -16,6 +16,7 @@
 %bcond_without kerberos5       # without Kerberos V support
 %bcond_without ldap            # without LDAP support
 %bcond_without python          # without python libs/utils
+%bcond_with            mks             # with vfs-mks (mksd dependency not distributale)
 
 # ADS requires kerberos5 and LDAP
 %if !%{with kerberos5} || !%{with ldap}
@@ -39,13 +40,13 @@ Summary(tr.UTF-8):  SMB sunucusu
 Summary(uk.UTF-8):     SMB клієнт та сервер
 Summary(zh_CN.UTF-8):  Samba 客户端和服务器
 Name:          samba
-Version:       3.0.27
-Release:       1
+Version:       3.0.28a
+Release:       2
 Epoch:         1
 License:       GPL v2
 Group:         Networking/Daemons
 Source0:       http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
-# Source0-md5: cff7854ea5947882954f30d2657e1a9d
+# Source0-md5: 59754cb0c19da6e65c42d0a163c5885a
 Source1:       smb.init
 Source2:       %{name}.pamd
 Source3:       swat.inetd
@@ -64,20 +65,22 @@ Patch4:             %{name}-libsmbclient-libnscd_link.patch
 Patch5:                %{name}-doc.patch
 Patch6:                %{name}-libs-needed.patch
 Patch7:                %{name}-lprng-no-dot-printers.patch
-Patch8:                %{name}-pam_smbpass-syslog.patch
+Patch8:                %{name}-cap.patch
+Patch9:                %{name}-printerlocation.patch
 URL:           http://www.samba.org/
 BuildRequires: acl-devel
 BuildRequires: autoconf
 BuildRequires: automake
 %{?with_cups:BuildRequires:    cups-devel >= 1:1.2.0}
 BuildRequires: dmapi-devel
+BuildRequires: fam-devel
 BuildRequires: iconv
 %{?with_kerberos5:BuildRequires:       krb5-devel}
 BuildRequires: libmagic-devel
 BuildRequires: libnscd-devel
 BuildRequires: libtool >= 2:1.4d
 BuildRequires: ncurses-devel >= 5.2
-%{?with_ldap:BuildRequires:    openldap-devel >= 2.4.6}
+%{?with_ldap:BuildRequires:    openldap-devel >= 2.3.0}
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: pam-devel >= 0.99.8.1
 BuildRequires: popt-devel
@@ -422,7 +425,7 @@ Obsoletes:  pam_smbpass
 
 %description -n pam-pam_smbpass
 PAM module which can be used on conforming systems to keep the
-smbpasswd (Samba password) database in sync with the unix password
+smbpasswd (Samba password) database in sync with the Unix password
 file.
 
 %description -n pam-pam_smbpass -l pl.UTF-8
@@ -615,6 +618,21 @@ klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
 lub wylogowywaniu klienta.
 
+%package vfs-notify_fam
+Summary:       VFS module to implement  file  change  notifications
+Summary(pl.UTF-8):     Moduł VFS implementujący informowanie o zmianach w plikach
+Group:         Networking/Daemons
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description vfs-notify_fam
+The vfs_notify_fam module makes use of the system FAM (File Alteration
+Monitor) daemon to implement file change notifications for Windows
+clients.
+
+%description vfs-notify_fam -l pl.UTF-8
+Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
+informowania o zmianach w plikach dla klientów Windows.
+
 %package vfs-netatalk
 Summary:       VFS module for ease co-existence of samba and netatalk
 Summary(pl.UTF-8):     Moduł VFS ułatwiający współpracę serwisów samba i netatalk
@@ -937,6 +955,7 @@ Documentacja samby w formacie PDF.
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
 
 cd examples/VFS
@@ -1368,6 +1387,11 @@ fi
 %attr(755,root,root) %{_vfsdir}/fake_perms.so
 %{_mandir}/man8/vfs_fake_perms.8*
 
+%files vfs-notify_fam
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_vfsdir}/notify_fam.so
+%{_mandir}/man8/vfs_notify_fam.8*
+
 %files vfs-netatalk
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_vfsdir}/netatalk.so
@@ -1429,6 +1453,7 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
 
+%if %{with mks}
 %ifarch %{ix86} %{x8664}
 %files vfs-vscan-mks
 %defattr(644,root,root,755)
@@ -1436,6 +1461,7 @@ fi
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
 %endif
+%endif
 
 %files vfs-vscan-openantivirus
 %defattr(644,root,root,755)
This page took 0.030653 seconds and 4 git commands to generate.