]> git.pld-linux.org Git - packages/samba.git/blobdiff - samba.spec
- up to 3.3.2
[packages/samba.git] / samba.spec
index 4d6ee44e0a083c8adc7e8251568f0aecf7aa5937..41cc5e58deb6bd1c9dea54c56e691980c8290e57 100644 (file)
@@ -1,85 +1,99 @@
 # TODO:
+# - drop tdb.spec and build tdb,tdb-devel,tdb-static package from samba
 # - look into other distro specs for valid %descriptions for samba 3
+# - unpackaged man pages for modules that are not built by default,
+#   maybe we should build them?
+#   /usr/share/man/man8/vfs_cacheprime.8*
+#   /usr/share/man/man8/vfs_catia.8*
+#   /usr/share/man/man8/vfs_commit.8*
+#   /usr/share/man/man8/vfs_gpfs.8*
+#   /usr/share/man/man8/vfs_notify_fam.8*
+#   /usr/share/man/man8/vfs_prealloc.8*
+# - libmsrpc.so is broken (references smbc_attr_server() which is no longer exported from libsmbclient)
+# - package libs:
+#      libnetapi
+#      libsmbsharemodes
+# - MERGE vfs modules into main package, what was the point of splitting these?
 #
 # Conditional build:
 %bcond_without ads             # without ActiveDirectory support
 %bcond_without cups            # without CUPS support
-%bcond_without krb5            # without Kerberos5/Heimdal support
+%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)
+%bcond_with    vscan
 
-# ADS requires krb5 and LDAP
-%if !%{with krb5} || !%{with ldap}
+# ADS requires kerberos5 and LDAP
+%if !%{with kerberos5} || !%{with ldap}
 %undefine      with_ads
 %endif
-%define                vscan_version 0.3.6b
+%define                vscan_version 0.3.6c-beta5
 Summary:       SMB server
-Summary(cs.UTF-8):   Server SMB
-Summary(da.UTF-8):   SMB server
-Summary(de.UTF-8):   SMB-Server
-Summary(es.UTF-8):   El servidor SMB
-Summary(fi.UTF-8):   SMB-palvelin
-Summary(fr.UTF-8):   Serveur SMB
-Summary(it.UTF-8):   Server SMB
-Summary(ja.UTF-8):   Samba SMB サーバー
-Summary(ko.UTF-8):   삼바 SMB 서버
-Summary(pl.UTF-8):   Serwer SMB
-Summary(pt_BR.UTF-8):   Cliente e servidor SMB
-Summary(ru.UTF-8):   SMB клиент и сервер
-Summary(tr.UTF-8):   SMB sunucusu
-Summary(uk.UTF-8):   SMB клієнт та сервер
-Summary(zh_CN.UTF-8):   Samba 客户端和服务器
+Summary(cs.UTF-8):     Server SMB
+Summary(da.UTF-8):     SMB server
+Summary(de.UTF-8):     SMB-Server
+Summary(es.UTF-8):     El servidor SMB
+Summary(fi.UTF-8):     SMB-palvelin
+Summary(fr.UTF-8):     Serveur SMB
+Summary(it.UTF-8):     Server SMB
+Summary(ja.UTF-8):     Samba SMB サーバー
+Summary(ko.UTF-8):     삼바 SMB 서버
+Summary(pl.UTF-8):     Serwer SMB
+Summary(pt_BR.UTF-8):  Cliente e servidor SMB
+Summary(ru.UTF-8):     SMB клиент и сервер
+Summary(tr.UTF-8):     SMB sunucusu
+Summary(uk.UTF-8):     SMB клієнт та сервер
+Summary(zh_CN.UTF-8):  Samba 客户端和服务器
 Name:          samba
-Version:       3.0.23d
-Release:       4
+Version:       3.3.2
+Release:       1
 Epoch:         1
 License:       GPL v2
 Group:         Networking/Daemons
-Source0:       http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
-# Source0-md5: afe6923d05fed5b5ccab593c7a407cd1
+Source0:       http://www.samba.org/samba/ftp/%{name}-%{version}.tar.gz
+# Source0-md5: 5c5178ea2c5d9bd5f6569285f2e0e6d7
 Source1:       smb.init
 Source2:       %{name}.pamd
 Source3:       swat.inetd
 Source4:       %{name}.sysconfig
 Source5:       %{name}.logrotate
 Source6:       smb.conf
-Source7:       http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
-# Source7-md5: 900502ba36b80620229b94e5129bc856
+Source7:       http://www.openantivirus.org/download/%{name}-vscan-%{vscan_version}.tar.gz
+# Source7-md5: 8f1dd119172e04e6d7c2d05526a4cf8b
 Source8:       winbind.init
 Source9:       winbind.sysconfig
-Patch0:                %{name}-lib64.patch
-Patch1:                %{name}-FHS.patch
-Patch2:                %{name}-c++-nofail.patch
-Patch3:                %{name}-pthread.patch
-Patch4:                %{name}-libsmbclient-libnscd_link.patch
+Patch0:                %{name}-smbwrapper.patch
+Patch1:                %{name}-c++-nofail.patch
+Patch2:                %{name}-pthread.patch
+Patch3:                %{name}-nscd.patch
+Patch4:                %{name}-lprng-no-dot-printers.patch
+Patch5:                %{name}-link.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
-%{?with_krb5:BuildRequires:    heimdal-devel >= 0.7}
+BuildRequires: fam-devel
 BuildRequires: iconv
-BuildRequires: libnscd-devel
+%{?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.3.0}
 BuildRequires: openssl-devel >= 0.9.7d
-BuildRequires: pam-devel > 0.66
+BuildRequires: pam-devel >= 0.99.8.1
 BuildRequires: popt-devel
 %{?with_pgsql:BuildRequires:   postgresql-devel}
-%if %{with python}
-BuildRequires: python-devel
-BuildRequires: rpm-pythonprov
-%endif
 BuildRequires: readline-devel >= 4.2
 BuildRequires: rpmbuild(macros) >= 1.304
+BuildRequires: sed >= 4.0
 BuildRequires: xfsprogs-devel
 Requires(post,preun):  /sbin/chkconfig
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
-Requires:      logrotate
-Requires:      pam >= 0.66
+Requires:      logrotate >= 3.7-4
+Requires:      pam >= 0.99.8.1
 Requires:      rc-scripts
 Requires:      setup >= 2.4.6-7
 # smbd links with libcups
@@ -90,6 +104,7 @@ BuildRoot:   %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _vfsdir         %{_libdir}/%{name}/vfs
 %define                _sambahome      /home/services/samba
+%define                _sambalibdir    %{_libdir}/%{name}
 %if %{with cups}
 %define                cups_serverbin  %{_prefix}/lib/cups
 %endif
@@ -253,11 +268,10 @@ TCP-порту 901.
 
 %package swat
 Summary:       Samba Web Administration Tool
-Summary(es.UTF-8):   Samba SWAT and Web documentation
-Summary(pl.UTF-8):   Narzędzie administracyjne serwisu Samba
-Summary(pt_BR.UTF-8):   Samba SWAT e documentação Web
-Summary(ru.UTF-8):   Программа конфигурации SMB-сервера Samba
-Summary(uk.UTF-8):   Програма конфигурації SMB-сервера Samba
+Summary(pl.UTF-8):     Narzędzie administracyjne serwisu Samba
+Summary(pt_BR.UTF-8):  Samba SWAT e documentação Web
+Summary(ru.UTF-8):     Программа конфигурации SMB-сервера Samba
+Summary(uk.UTF-8):     Програма конфигурації SMB-сервера Samba
 Group:         Networking/Admin
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      inetdaemon
@@ -289,15 +303,16 @@ SWAT - ferramentada Web de configuração do Samba.
 
 %package client
 Summary:       Samba client programs
-Summary(es.UTF-8):   Cliente SMB de Samba
-Summary(ja.UTF-8):   Samba (SMB) クライアントプログラム
-Summary(pl.UTF-8):   Klienci serwera Samba
-Summary(pt_BR.UTF-8):   Cliente SMB do samba
-Summary(ru.UTF-8):   Клиентские программы Samba (SMB)
-Summary(uk.UTF-8):   Клієнтські програми Samba (SMB)
+Summary(es.UTF-8):     Cliente SMB de Samba
+Summary(ja.UTF-8):     Samba (SMB) クライアントプログラム
+Summary(pl.UTF-8):     Klienci serwera Samba
+Summary(pt_BR.UTF-8):  Cliente SMB do samba
+Summary(ru.UTF-8):     Клиентские программы Samba (SMB)
+Summary(uk.UTF-8):     Клієнтські програми Samba (SMB)
 Group:         Applications/Networking
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
-%{?with_krb5:Requires: heimdal-libs >= 0.7}
+Requires:      libsmbclient = %{epoch}:%{version}-%{release}
+%{?with_kerberos5:Requires:    krb5-libs}
 Obsoletes:     mount-cifs
 Obsoletes:     smbfs
 
@@ -341,13 +356,13 @@ e também, à impressoras SMB.
 
 %package common
 Summary:       Files used by both Samba servers and clients
-Summary(es.UTF-8):   Common files between samba and samba-clients
-Summary(ja.UTF-8):   Samba サーバーとクライアントで使用されるプログラム
-Summary(pl.UTF-8):   Pliki używane przez serwer i klientów Samba
-Summary(pt_BR.UTF-8):   Arquivos em comum entre samba e samba-clients
-Summary(ru.UTF-8):   Файлы, используемые как сервером, так и клиентом Samba
-Summary(uk.UTF-8):   Файли, що використовуються як сервером, так і клієнтом Samba
+Summary(ja.UTF-8):     Samba サーバーとクライアントで使用されるプログラム
+Summary(pl.UTF-8):     Pliki używane przez serwer i klientów Samba
+Summary(pt_BR.UTF-8):  Arquivos em comum entre samba e samba-clients
+Summary(ru.UTF-8):     Файлы, используемые как сервером, так и клиентом Samba
+Summary(uk.UTF-8):     Файли, що використовуються як сервером, так і клієнтом Samba
 Group:         Networking/Daemons
+Requires:      tdb >= 1.1.3
 
 %description common
 Samba-common provides files necessary for both the server and client
@@ -374,7 +389,7 @@ Samba-common містить файли, необхідні для роботи 
 
 %package winbind
 Summary:       Samba-winbind daemon, utilities and documentation
-Summary(pl.UTF-8):   Demon samba-winbind, narzędzia i dokumentacja
+Summary(pl.UTF-8):     Demon samba-winbind, narzędzia i dokumentacja
 Group:         Networking/Daemons
 Requires(post,preun):  /sbin/chkconfig
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
@@ -390,7 +405,7 @@ Windows lub Samba.
 
 %package -n nss_wins
 Summary:       Name Service Switch service for WINS
-Summary(pl.UTF-8):   Usługa Name Service Switch dla WINS
+Summary(pl.UTF-8):     Usługa Name Service Switch dla WINS
 Group:         Base
 Requires:      %{name}-common = %{epoch}:%{version}-%{release}
 
@@ -404,13 +419,13 @@ IP.
 
 %package -n pam-pam_smbpass
 Summary:       PAM Samba Password Module
-Summary(pl.UTF-8):   Moduł PAM smbpass
+Summary(pl.UTF-8):     Moduł PAM smbpass
 Group:         Base
 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
@@ -419,7 +434,7 @@ Samby) zsynchronizowanego z hasłami uniksowymi.
 
 %package -n libsmbclient
 Summary:       libsmbclient - samba client library
-Summary(pl.UTF-8):   libsmbclient - biblioteka klienta samby
+Summary(pl.UTF-8):     libsmbclient - biblioteka klienta samby
 Group:         Libraries
 
 %description -n libsmbclient
@@ -431,8 +446,8 @@ samby.
 
 %package -n libsmbclient-devel
 Summary:       libsmbclient - samba client library
-Summary(pl.UTF-8):   libsmbclient - biblioteka klienta samby
-Summary(pt_BR.UTF-8):   Ferramentas de desenvolvimento para clientes samba
+Summary(pl.UTF-8):     libsmbclient - biblioteka klienta samby
+Summary(pt_BR.UTF-8):  Ferramentas de desenvolvimento para clientes samba
 Group:         Development/Libraries
 Requires:      libsmbclient = %{epoch}:%{version}-%{release}
 
@@ -448,8 +463,8 @@ desenvolver aplicativos clientes para o samba.
 
 %package -n libsmbclient-static
 Summary:       Static version of libsmbclient - samba client library
-Summary(pl.UTF-8):   Statyczna wersja libsmbclient - biblioteki klienta samby
-Summary(pt_BR.UTF-8):   Ferramentas de desenvolvimento para clientes samba
+Summary(pl.UTF-8):     Statyczna wersja libsmbclient - biblioteki klienta samby
+Summary(pt_BR.UTF-8):  Ferramentas de desenvolvimento para clientes samba
 Group:         Development/Libraries
 Requires:      libsmbclient = %{epoch}:%{version}-%{release}
 
@@ -459,9 +474,25 @@ Static libsmbclient library.
 %description -n libsmbclient-static -l pl.UTF-8
 Statyczna biblioteka libsmbclient.
 
+%package -n libtalloc
+Summary:       The talloc library
+Group:         Libraries
+
+%description -n libtalloc
+The talloc library from the Samba suite.
+
+%package -n libtalloc-devel
+Summary:       Developer tools for the talloc library
+Group:         Development/Libraries
+Requires:      libtalloc = %{epoch}:%{version}-%{release}
+
+%description -n libtalloc-devel
+The libtalloc-devel package contains the header files and libraries needed to
+develop programs that link against the talloc library in the Samba suite.
+
 %package devel
 Summary:       Header files for Samba
-Summary(pl.UTF-8):   Pliki nagłówkowe Samby
+Summary(pl.UTF-8):     Pliki nagłówkowe Samby
 Group:         Development/Libraries
 
 %description devel
@@ -472,7 +503,7 @@ Pliki nagłówkowe Samby.
 
 %package -n smbget
 Summary:       A utility for retrieving files using the SMB protocol
-Summary(pl.UTF-8):   Narzędzie do pobierania plików protokołem SMB
+Summary(pl.UTF-8):     Narzędzie do pobierania plików protokołem SMB
 Group:         Applications/Networking
 
 %description -n smbget
@@ -484,7 +515,7 @@ używanym w sieciach MS Windows.
 
 %package -n cups-backend-smb
 Summary:       CUPS backend for printing to SMB printers
-Summary(pl.UTF-8):   Backend CUPS-a drukujący na drukarkach SMB
+Summary(pl.UTF-8):     Backend CUPS-a drukujący na drukarkach SMB
 Group:         Applications/Printing
 Requires:      %{name}-client = %{epoch}:%{version}-%{release}
 Requires:      cups >= 1:1.2.0
@@ -495,21 +526,9 @@ CUPS backend for printing to SMB printers.
 %description -n cups-backend-smb -l pl.UTF-8
 Backend CUPS-a drukujący na drukarkach SMB.
 
-%package -n python-samba
-Summary:       Samba python tools and libraries
-Summary(pl.UTF-8):   Narzędzia i biblioteki pythona do samby
-Group:         Applications/Networking
-%pyrequires_eq python-libs
-
-%description -n python-samba
-Samba python tools and libraries.
-
-%description -n python-samba -l pl.UTF-8
-Narzędzia i biblioteki pythona do samby.
-
 %package vfs-audit
 Summary:       VFS module to audit file access
-Summary(pl.UTF-8):   Moduł VFS do monitorowania operacji na plikach
+Summary(pl.UTF-8):     Moduł VFS do monitorowania operacji na plikach
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -526,11 +545,12 @@ do sysloga. Monitorowane są następujące operacje:
  - podłączenie do/odłączenie od zasobu,
  - otwarcie/utworzenie/zmiana nazwy katalogu,
  - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
+
 Zawiera moduły audit, extd_audit i full_audit.
 
 %package vfs-cap
 Summary:       VFS module for CAP and samba compatibility
-Summary(pl.UTF-8):   Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
+Summary(pl.UTF-8):     Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -545,7 +565,7 @@ reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
 
 %package vfs-default_quota
 Summary:       VFS module to store default quotas in a specified quota record
-Summary(pl.UTF-8):   Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
+Summary(pl.UTF-8):     Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -558,7 +578,7 @@ limitów.
 
 %package vfs-expand_msdfs
 Summary:       VFS module for hosting a Microsoft Distributed File System Tree
-Summary(pl.UTF-8):   Moduł VFS obsługi Microsoft Distributed File System
+Summary(pl.UTF-8):     Moduł VFS obsługi Microsoft Distributed File System
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -582,7 +602,7 @@ płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
 
 %package vfs-fake_perms
 Summary:       VFS module to report read-only fires as writable
-Summary(pl.UTF-8):   Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
+Summary(pl.UTF-8):     Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -602,9 +622,24 @@ 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
+Summary(pl.UTF-8):     Moduł VFS ułatwiający współpracę serwisów samba i netatalk
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -618,7 +653,7 @@ i netatalk przy udostępnianiu zasobów.
 
 %package vfs-recycle
 Summary:       VFS module to add recycle bin facility to a samba share
-Summary(pl.UTF-8):   Moduł VFS dodający możliwość kosza do zasobu samby
+Summary(pl.UTF-8):     Moduł VFS dodający możliwość kosza do zasobu samby
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -628,9 +663,36 @@ VFS module to add recycle bin facility to a samba share.
 %description vfs-recycle -l pl.UTF-8
 Moduł VFS dodający możliwość kosza do zasobu samby.
 
+%package vfs-readahead
+Summary:       VFS module for pre-loading the kernel buffer cache
+Summary(pl.UTF-8):     Moduł VFS do wczesnego odczytu danych do bufora cache jądra
+Group:         Networking/Daemons
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description vfs-readahead
+This VFS module detects read requests at multiples of a given offset
+(hex 0x80000 by default) and then tells the kernel via either the
+readahead system call (on Linux) or the posix_fadvise system call to
+pre-fetch this data into the buffer cache.
+
+This module is useful for Windows Vista clients reading data using the
+Windows Explorer program, which asynchronously does multiple file read
+requests at offset boundaries of 0x80000 bytes.
+
+%description vfs-readahead -l pl.UTF-8
+Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
+pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
+wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
+wczesnego odczytu tych danych do bufora cache.
+
+Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
+przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
+wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
+bajtów.
+
 %package vfs-readonly
 Summary:       VFS module for read-only limitation for specified share
-Summary(pl.UTF-8):   Moduł VFS do ograniczania określonego udziału tylko do odczytu
+Summary(pl.UTF-8):     Moduł VFS do ograniczania określonego udziału tylko do odczytu
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -646,7 +708,7 @@ oparciu o definicje okresów w smb.conf.
 
 %package vfs-shadow_copy
 Summary:       VFS module to make automatic copy of data in samba share
-Summary(pl.UTF-8):   Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
+Summary(pl.UTF-8):     Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -658,7 +720,7 @@ Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
 
 %package vfs-vscan-antivir
 Summary:       On-access virus scanning for samba using AntiVir
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący AntiVir
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący AntiVir
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      %{name}-vscan = %{epoch}:%{version}-%{release}
@@ -674,7 +736,7 @@ dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
 
 %package vfs-vscan-clamav
 Summary:       On-access virus scanning for samba using ClamAV
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący ClamAV
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący ClamAV
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      clamav
@@ -691,7 +753,7 @@ dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
 
 %package vfs-vscan-fprot
 Summary:       On-access virus scanning for samba using FPROT
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący FPROT
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący FPROT
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      %{name}-vscan = %{epoch}:%{version}-%{release}
@@ -708,7 +770,7 @@ dostępu do plików korzystając z oprogramowania antywirusowego FPROT
 
 %package vfs-vscan-fsav
 Summary:       On-access virus scanning for samba using F-Secure AntiVirus
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      %{name}-vscan = %{epoch}:%{version}-%{release}
@@ -726,7 +788,7 @@ AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
 
 %package vfs-vscan-kavp
 Summary:       On-access virus scanning for samba using Kaspersky AVP
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący Kaspersky AVP
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący Kaspersky AVP
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      %{name}-vscan = %{epoch}:%{version}-%{release}
@@ -745,7 +807,7 @@ moduł).
 
 %package vfs-vscan-mcafee
 Summary:       On-access virus scanning for samba using mcafee
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący mcafee
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący mcafee
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 #Requires:     mcafee
@@ -763,7 +825,7 @@ dostępu do plików korzystając z oprogramowania antywirusowego mcafee
 
 %package vfs-vscan-mks
 Summary:       On-access virus scanning for samba using mks
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący mks
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący mks
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Requires:      mksd
@@ -781,7 +843,7 @@ dostępu do plików korzystając z oprogramowania antywirusowego mks
 
 %package vfs-vscan-openantivirus
 Summary:       On-access virus scanning for samba using OpenAntivirus
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący OpenAntiVirus
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący OpenAntiVirus
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      %{name}-vscan = %{epoch}:%{version}-%{release}
@@ -800,7 +862,7 @@ moduł).
 
 %package vfs-vscan-sophos
 Summary:       On-access virus scanning for samba using Sophos
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący Sophos
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący Sophos
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      %{name}-vscan = %{epoch}:%{version}-%{release}
@@ -817,7 +879,7 @@ dostępu do plików korzystając z oprogramowania antywirusowego Sophos
 
 %package vfs-vscan-symantec
 Summary:       On-access virus scanning for samba using Symantec
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący Symantec
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący Symantec
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      %{name}-vscan = %{epoch}:%{version}-%{release}
@@ -834,7 +896,7 @@ Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
 
 %package vfs-vscan-trend
 Summary:       On-access virus scanning for samba using Trend
-Summary(pl.UTF-8):   Skaner antywirusowy online wykorzystujący Trend
+Summary(pl.UTF-8):     Skaner antywirusowy online wykorzystujący Trend
 Group:         Networking/Daemons
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 Provides:      %{name}-vscan = %{epoch}:%{version}-%{release}
@@ -851,7 +913,7 @@ dostępu do plików korzystając z oprogramowania antywirusowego Trend
 
 %package -n openldap-schema-samba
 Summary:       Samba LDAP schema
-Summary(pl.UTF-8):   Schemat LDAP dla samby
+Summary(pl.UTF-8):     Schemat LDAP dla samby
 Group:         Networking/Daemons
 Requires(post,postun): sed >= 4.0
 Requires:      openldap-servers
@@ -864,100 +926,48 @@ Ten pakiet zawiera schemat samby dla openldap-a.
 
 %package doc-html
 Summary:       Samba HTML documentation
-Summary(pl.UTF-8):   Documentacja samby w formacie HTML
+Summary(pl.UTF-8):     Documentacja samby w formacie HTML
 Group:         Documentation
 
 %description doc-html
-Samba HTML documentation, consists of:
-
-1. SAMBA Developers Guide
-This book is a collection of documents that might be useful for
-people developing samba or those interested in doing so. It's nothing
-more than a collection of documents written by samba developers about
-the internals of various parts of samba and the SMB protocol. It's
-still (and will always be) incomplete.
-
-2. Samba-3 by Example
-Practical Exercises in Successful Samba Deployment.
-
-3. The Official Samba-3 HOWTO and Reference Guide
-This book provides example configurations, it documents key aspects
-of Microsoft Windows networking, provides in-depth insight into the
-important configuration of Samba-3, and helps to put all of these
-into a useful framework.
-
-4. Using Samba, 2nd Edition
-Using Samba, Second Edition is a comprehensive guide to Samba
-administration. It covers all versions of Samba from 2.0 to 2.2,
-including selected features from an alpha version of 3.0, as well as
-the SWAT graphical configuration tool. Updated for Windows 2000, ME,
-and XP, the book also explores Samba's new role as a primary domain
-controller and domain member server, its support for the use of
-Windows NT/2000/XP authentication and filesystem security on the host
-Unix system, and accessing shared files and printers from Unix
-clients.
-
-5. Man pages The Samba man pages in HTML.
+Samba HTML documentation.
 
 %description doc-html -l pl.UTF-8
 Documentacja samby w formacie HTML.
 
 %package doc-pdf
 Summary:       Samba documentation - PDF format
-Summary(pl.UTF-8):   Documentacja samby w formacie PDF
+Summary(pl.UTF-8):     Documentacja samby w formacie PDF
 Group:         Documentation
 
 %description doc-pdf
-Samba PDF documentation, consists of:
-
-1. SAMBA Developers Guide
-This book is a collection of documents that might be useful for
-people developing samba or those interested in doing so. It's nothing
-more than a collection of documents written by samba developers about
-the internals of various parts of samba and the SMB protocol. It's
-still (and will always be) incomplete.
-
-2. Samba-3 by Example
-Practical Exercises in Successful Samba Deployment.
-
-3. The Official Samba-3 HOWTO and Reference Guide
-This book provides example configurations, it documents key aspects
-of Microsoft Windows networking, provides in-depth insight into the
-important configuration of Samba-3, and helps to put all of these
-into a useful framework.
+Samba PDF documentation.
 
 %description doc-pdf -l pl.UTF-8
 Documentacja samby w formacie PDF.
 
 %prep
 %setup -q
-%if "%{_lib}" == "lib64"
 %patch0 -p1
-%endif
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p1
+
+%{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
 
 cd examples/VFS
-tar xjf %{SOURCE7}
+tar xzf %{SOURCE7}
 mv README{,.vfs}
+cd ../..
 
 %build
 cd source
 %{__libtoolize}
-%{__autoconf}
-
-# Removed options (default or not supported by configure script)
-#      --with-mmap \
-#      --with-netatalk \
-#      --without-smbwrapper \
-#      --with-sslinc=%{_prefix} \
-#      --with-vfs \
-#      --with-tdbsam \
-#      %{?with_ipv6:--with-ipv6} \
-
+%{__autoconf} -Im4 -Ilib/replace
 %configure \
+       --with-modulesdir=%{_sambalibdir} \
        --with-rootsbindir=/sbin \
        --with-pammodulesdir=/%{_lib}/security \
        --with-acl-support \
@@ -970,46 +980,48 @@ cd source
        --with-privatedir=%{_sysconfdir}/samba \
        --with-quotas \
        --with-readline \
-       --with-smbmount \
-       --with-smbwrapper \
        --with-swatdir=%{_datadir}/swat \
        --with-syslog \
        --with-utmp \
        --with-fhs \
-       %{?with_python:--with-python} \
        --with%{!?with_ldap:out}-ldap \
-       --with%{!?with_krb5:out}-krb5
+       --with%{!?with_kerberos5:out}-krb5
 
 %{__make} proto
 %{__make} everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
 
-cd ../examples/VFS
+cd ../examples
+%{__make} -C libsmbclient/smbwrapper \
+       CC="%{__cc}" \
+       CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
+
+cd VFS
+%{__autoheader}
 %{__autoconf}
 %configure \
        CFLAGS="%{rpmcflags} -fPIC"
 %{__make}
 
+%if %{with vscan}
 cd samba-vscan-%{vscan_version}
 cp -f /usr/share/automake/config.sub .
 %configure
+ln -s ../../../source/lib .
 %{__make} all
+%endif
 
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
-       $RPM_BUILD_ROOT{/var/{log,log/archiv,spool}/samba,/var/lib/samba/printing} \
+       $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
        $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
        $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
 
-cd source
-%{__make} install \
+%{__make} -C source install \
        DESTDIR=$RPM_BUILD_ROOT \
        CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
 
-install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
-cd ..
-
-ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
+install source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
@@ -1028,25 +1040,24 @@ install source/bin/wbinfo               $RPM_BUILD_ROOT%{_bindir}
 install source/bin/smbget              $RPM_BUILD_ROOT%{_bindir}
 install source/bin/vfstest             $RPM_BUILD_ROOT%{_bindir}
 
-mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
 install source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
-ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
-mv $RPM_BUILD_ROOT%{_libdir}/samba/libmsrpc.so $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so.0
-install source/bin/libmsrpc.a $RPM_BUILD_ROOT%{_libdir}/libmsrpc.a
-ln -s libmsrpc.so.0 $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so
 
-install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
+# smbwrapper
+install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
+install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
+install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
 
 # these are needed to build samba-pdbsql
-install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{smbwrapper,tdb,nsswitch}
+install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
 cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
-cp -a source/smbwrapper/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/smbwrapper
-cp -a source/tdb/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
+cp -a source/lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
 cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
 
+%if %{with vscan}
 # 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
+%endif
 
 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
 
@@ -1061,13 +1072,10 @@ ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
 
 # we have this utility in tdb package
-rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
+rm -f $RPM_BUILD_ROOT{%{_bindir}/tdb{backup,dump},%{_mandir}/man8/tdb{backup,dump}.8*}
 
-# python stuff
-%if %{with python}
-install -d $RPM_BUILD_ROOT%{py_sitedir}
-cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
-%endif
+# unneeded
+rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
 
 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
 
@@ -1075,6 +1083,8 @@ mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
 %endif
 
+%find_lang pam_winbind
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -1138,14 +1148,34 @@ fi
 %attr(755,root,root) %{_sbindir}/nmbd
 %attr(755,root,root) %{_sbindir}/smbd
 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
+%attr(755,root,root) %{_bindir}/ldb*
 %attr(755,root,root) %{_bindir}/smbstatus
 %attr(755,root,root) %{_bindir}/smbpasswd
 %attr(755,root,root) %{_bindir}/smbcontrol
-%attr(755,root,root) %{_bindir}/tdbbackup
 %attr(755,root,root) %{_bindir}/tdbtool_samba
 
 %dir %{_libdir}/%{name}/pdb
 %dir %{_vfsdir}
+%attr(755,root,root) %{_vfsdir}/acl_tdb.so
+%attr(755,root,root) %{_vfsdir}/acl_xattr.so
+%attr(755,root,root) %{_vfsdir}/fileid.so
+%attr(755,root,root) %{_vfsdir}/preopen.so
+%attr(755,root,root) %{_vfsdir}/shadow_copy2.so
+%attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
+%attr(755,root,root) %{_vfsdir}/streams_depot.so
+%attr(755,root,root) %{_vfsdir}/streams_xattr.so
+%attr(755,root,root) %{_vfsdir}/syncops.so
+%attr(755,root,root) %{_vfsdir}/xattr_tdb.so
+%{_mandir}/man8/vfs_acl_tdb.8*
+%{_mandir}/man8/vfs_acl_xattr.8*
+%{_mandir}/man8/vfs_fileid.8*
+%{_mandir}/man8/vfs_preopen.8*
+%{_mandir}/man8/vfs_shadow_copy2.8*
+%{_mandir}/man8/vfs_smb_traffic_analyzer.8*
+%{_mandir}/man8/vfs_streams_xattr.8*
+%{_mandir}/man8/vfs_streams_depot.8*
+%{_mandir}/man8/vfs_xattr_tdb.8*
+
 
 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
 %attr(754,root,root) /etc/rc.d/init.d/smb
@@ -1153,6 +1183,7 @@ fi
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
+%{_mandir}/man1/ldb*.1*
 %{_mandir}/man1/log2pcap.1*
 %{_mandir}/man1/smbstatus.1*
 %{_mandir}/man1/smbcontrol.1*
@@ -1161,7 +1192,6 @@ fi
 %{_mandir}/man8/nmbd.8*
 %{_mandir}/man8/smbd.8*
 %{_mandir}/man8/smbpasswd.8*
-%{_mandir}/man8/tdbbackup.8*
 
 %dir %{_sambahome}
 %dir /var/lib/samba
@@ -1172,13 +1202,13 @@ fi
 %attr(750,root,root) %dir /var/log/samba/cores
 %attr(750,root,root) %dir /var/log/samba/cores/smbd
 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
-%attr(750,root,root) %dir /var/log/archiv/samba
+%attr(750,root,root) %dir /var/log/archive/samba
 %attr(1777,root,root) %dir /var/spool/samba
 %if %{with ldap}
 %doc examples/LDAP
 %endif
 
-%files winbind
+%files winbind -f pam_winbind.lang
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_sbindir}/winbindd
 %attr(755,root,root) %{_bindir}/wbinfo
@@ -1196,33 +1226,32 @@ fi
 
 %files client
 %defattr(644,root,root,755)
-%attr(755,root,root) /sbin/mount.smbfs
 %attr(755,root,root) /sbin/mount.cifs
 %attr(755,root,root) /sbin/umount.cifs
+%attr(755,root,root) %{_bindir}/findsmb
 %attr(755,root,root) %{_bindir}/net
-%attr(755,root,root) %{_bindir}/smbmnt
-%attr(755,root,root) %{_bindir}/smbmount
-%attr(755,root,root) %{_bindir}/smbtree
-%attr(755,root,root) %{_bindir}/smbumount
-%{_mandir}/man1/smbtree.1*
-%{_mandir}/man8/net.8*
-%{_mandir}/man8/smbmnt.8*
-%{_mandir}/man8/smbmount.8*
-%{_mandir}/man8/smbumount.8*
-%{_mandir}/man8/*mount.cifs.8*
 %attr(755,root,root) %{_bindir}/nmblookup
+%attr(755,root,root) %{_bindir}/rpcclient
+%attr(755,root,root) %{_bindir}/sharesec
 %attr(755,root,root) %{_bindir}/smbcacls
 %attr(755,root,root) %{_bindir}/smbclient
+%attr(755,root,root) %{_bindir}/smbsh
 %attr(755,root,root) %{_bindir}/smbtar
+%attr(755,root,root) %{_bindir}/smbtree
+%attr(755,root,root) %{_sbindir}/cifs.upcall
+%attr(755,root,root) %{_libdir}/smbwrapper.so
+%{_mandir}/man1/findsmb.1*
 %{_mandir}/man1/nmblookup.1*
+%{_mandir}/man1/rpcclient.1*
+%{_mandir}/man1/sharesec.1*
 %{_mandir}/man1/smbcacls.1*
 %{_mandir}/man1/smbclient.1*
-%{_mandir}/man1/smbtar.1*
 %{_mandir}/man1/smbsh.1*
-%attr(755,root,root) %{_bindir}/rpcclient
-%{_mandir}/man1/rpcclient.1*
-%attr(755,root,root) %{_bindir}/findsmb
-%{_mandir}/man1/findsmb.1*
+%{_mandir}/man1/smbtar.1*
+%{_mandir}/man1/smbtree.1*
+%{_mandir}/man8/cifs.upcall.8*
+%{_mandir}/man8/net.8*
+%{_mandir}/man8/*mount.cifs.8*
 
 %files common
 %defattr(644,root,root,755)
@@ -1254,6 +1283,16 @@ fi
 %{_mandir}/man5/lmhosts.5*
 %{_mandir}/man5/smb.conf.5*
 %{_mandir}/man8/pdbedit.8*
+%{_mandir}/man8/eventlogadm.8*
+%{_mandir}/man8/idmap_ad.8*
+%{_mandir}/man8/idmap_adex.8*
+%{_mandir}/man8/idmap_hash.8*
+%{_mandir}/man8/idmap_ldap.8*
+%{_mandir}/man8/idmap_nss.8*
+%{_mandir}/man8/idmap_rid.8*
+%{_mandir}/man8/idmap_tdb.8*
+%{_mandir}/man8/idmap_tdb2.8*
+%{_mandir}/man8/tdbtool.8*
 
 %files swat
 %defattr(644,root,root,755)
@@ -1265,12 +1304,12 @@ fi
 %{_datadir}/swat/help
 %{_datadir}/swat/images
 %{_datadir}/swat/include
-%{_datadir}/swat/using_samba
 %dir %{_datadir}/swat/lang
 %lang(ja) %{_datadir}/swat/lang/ja
 %lang(tr) %{_datadir}/swat/lang/tr
 %lang(de) %{_libdir}/%{name}/de.msg
 %{_libdir}/%{name}/en.msg
+%lang(fi) %{_libdir}/%{name}/fi.msg
 %lang(fr) %{_libdir}/%{name}/fr.msg
 %lang(it) %{_libdir}/%{name}/it.msg
 %lang(ja) %{_libdir}/%{name}/ja.msg
@@ -1279,16 +1318,6 @@ fi
 %lang(tr) %{_libdir}/%{name}/tr.msg
 %{_mandir}/man8/swat.8*
 
-%if %{with python}
-%files -n python-samba
-%defattr(644,root,root,755)
-%dir %{py_sitedir}/samba
-%attr(755,root,root) %{py_sitedir}/samba/*.so
-%{py_sitedir}/samba/*.py
-%doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
-%doc source/python/examples
-%endif
-
 %files -n pam-pam_smbpass
 %defattr(644,root,root,755)
 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
@@ -1296,16 +1325,25 @@ fi
 
 %files -n libsmbclient
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libmsrpc.so.*
 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
+%attr(755,root,root) %{_libdir}/libwbclient.so.*
 %{_mandir}/man7/libsmbclient.7*
 
 %files -n libsmbclient-devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libmsrpc.so
 %attr(755,root,root) %{_libdir}/libsmbclient.so
-%{_includedir}/libmsrpc.h
+%attr(755,root,root) %{_libdir}/libwbclient.so
 %{_includedir}/libsmbclient.h
+%{_includedir}/wbclient.h
+
+%files -n libtalloc
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libtalloc.so.*
+
+%files -n libtalloc-devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libtalloc.so
+%{_includedir}/talloc.h
 
 %files devel
 %defattr(644,root,root,755)
@@ -1313,7 +1351,6 @@ fi
 
 %files -n libsmbclient-static
 %defattr(644,root,root,755)
-%{_libdir}/libmsrpc.a
 %{_libdir}/libsmbclient.a
 
 %files -n smbget
@@ -1335,14 +1372,19 @@ fi
 %attr(755,root,root) %{_vfsdir}/audit.so
 %attr(755,root,root) %{_vfsdir}/extd_audit.so
 %attr(755,root,root) %{_vfsdir}/full_audit.so
+%{_mandir}/man8/vfs_audit.8*
+%{_mandir}/man8/vfs_extd_audit.8*
+%{_mandir}/man8/vfs_full_audit.8*
 
 %files vfs-cap
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_vfsdir}/cap.so
+%{_mandir}/man8/vfs_cap.8*
 
 %files vfs-default_quota
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_vfsdir}/default_quota.so
+%{_mandir}/man8/vfs_default_quota.8*
 
 %files vfs-expand_msdfs
 %defattr(644,root,root,755)
@@ -1351,23 +1393,39 @@ fi
 %files vfs-fake_perms
 %defattr(644,root,root,755)
 %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
+%{_mandir}/man8/vfs_netatalk.8*
+
+%files vfs-readahead
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_vfsdir}/readahead.so
+%{_mandir}/man8/vfs_readahead.8*
 
 %files vfs-readonly
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_vfsdir}/readonly.so
+%{_mandir}/man8/vfs_readonly.8*
 
 %files vfs-recycle
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_vfsdir}/recycle.so
+%{_mandir}/man8/vfs_recycle.8*
 
 %files vfs-shadow_copy
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
+%{_mandir}/man8/vfs_shadow_copy.8*
 
+%if %{with vscan}
 %files vfs-vscan-antivir
 %defattr(644,root,root,755)
 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
@@ -1404,6 +1462,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)
@@ -1411,6 +1470,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)
@@ -1435,6 +1495,7 @@ fi
 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
+%endif
 
 %if %{with ldap}
 %files -n openldap-schema-samba
This page took 0.077502 seconds and 4 git commands to generate.