2 # - look into other distro specs for valid %descriptions for samba 3
3 # - unpackaged man pages for modules that are not built by default,
4 # maybe we should build them?
5 # /usr/share/man/man8/vfs_cacheprime.8.gz
6 # /usr/share/man/man8/vfs_catia.8.gz
7 # /usr/share/man/man8/vfs_commit.8.gz
8 # /usr/share/man/man8/vfs_extd_audit.8.gz
9 # /usr/share/man/man8/vfs_full_audit.8.gz
10 # /usr/share/man/man8/vfs_gpfs.8.gz
11 # /usr/share/man/man8/vfs_notify_fam.8.gz
12 # /usr/share/man/man8/vfs_prealloc.8.gz
13 # - libmsrpc.so is broken (references smbc_attr_server() which is no longer exported from libsmbclient)
14 # - ac-amd64 build fail:
15 #wrapper.c:1115: error: conflicting types for `readlink'
16 #/usr/include/unistd.h:740: error: previous declaration of `readlink'
17 #make: *** [wrapper.o] Error 1
20 %bcond_without ads # without ActiveDirectory support
21 %bcond_without cups # without CUPS support
22 %bcond_without kerberos5 # without Kerberos V support
23 %bcond_without ldap # without LDAP support
24 %bcond_without python # without python libs/utils
26 # ADS requires kerberos5 and LDAP
27 %if !%{with kerberos5} || !%{with ldap}
30 %define vscan_version 0.3.6c-beta4
32 Summary(cs.UTF-8): Server SMB
33 Summary(da.UTF-8): SMB server
34 Summary(de.UTF-8): SMB-Server
35 Summary(es.UTF-8): El servidor SMB
36 Summary(fi.UTF-8): SMB-palvelin
37 Summary(fr.UTF-8): Serveur SMB
38 Summary(it.UTF-8): Server SMB
39 Summary(ja.UTF-8): Samba SMB サーバー
40 Summary(ko.UTF-8): 삼바 SMB 서버
41 Summary(pl.UTF-8): Serwer SMB
42 Summary(pt_BR.UTF-8): Cliente e servidor SMB
43 Summary(ru.UTF-8): SMB клиент и сервер
44 Summary(tr.UTF-8): SMB sunucusu
45 Summary(uk.UTF-8): SMB клієнт та сервер
46 Summary(zh_CN.UTF-8): Samba 客户端和服务器
52 Group: Networking/Daemons
53 Source0: http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
54 # Source0-md5: e4979a6aa6f18f0e36bacc25cab7b02d
58 Source4: %{name}.sysconfig
59 Source5: %{name}.logrotate
61 Source7: http://www.openantivirus.org/download/%{name}-vscan-%{vscan_version}.tar.gz
62 # Source7-md5: c40acad9691ef5284a164c024124ca78
64 Source9: winbind.sysconfig
65 Patch0: %{name}-lib64.patch
66 Patch1: %{name}-smbwrapper.patch
67 Patch2: %{name}-c++-nofail.patch
68 Patch3: %{name}-pthread.patch
69 Patch4: %{name}-libsmbclient-libnscd_link.patch
70 Patch5: %{name}-doc.patch
71 Patch6: %{name}-libs-needed.patch
72 URL: http://www.samba.org/
73 BuildRequires: acl-devel
74 BuildRequires: autoconf
75 BuildRequires: automake
76 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
77 BuildRequires: dmapi-devel
78 %{?with_kerberos5:BuildRequires: krb5-devel}
80 BuildRequires: libmagic-devel
81 BuildRequires: libnscd-devel
82 BuildRequires: libtool >= 2:1.4d
83 BuildRequires: ncurses-devel >= 5.2
84 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
85 BuildRequires: openssl-devel >= 0.9.7d
86 BuildRequires: pam-devel > 0.66
87 BuildRequires: popt-devel
88 %{?with_pgsql:BuildRequires: postgresql-devel}
90 BuildRequires: python-devel
91 BuildRequires: rpm-pythonprov
93 BuildRequires: readline-devel >= 4.2
94 BuildRequires: rpmbuild(macros) >= 1.304
95 BuildRequires: sed >= 4.0
96 BuildRequires: xfsprogs-devel
97 Requires(post,preun): /sbin/chkconfig
98 Requires: %{name}-common = %{epoch}:%{version}-%{release}
100 Requires: pam >= 0.66
102 Requires: setup >= 2.4.6-7
103 # smbd links with libcups
104 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
105 Obsoletes: samba-pdb-xml
106 Obsoletes: samba-vfs-block
107 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
109 %define _vfsdir %{_libdir}/%{name}/vfs
110 %define _sambahome /home/services/samba
112 %define cups_serverbin %{_prefix}/lib/cups
114 %define schemadir /usr/share/openldap/schema
116 # CFLAGS modified (the second ./configure)
117 %undefine configure_cache
120 Samba provides an SMB server which can be used to provide network
121 services to SMB (sometimes called "Lan Manager") clients, including
122 various versions of MS Windows, OS/2, and other Linux machines. Samba
123 also provides some SMB clients, which complement the built-in SMB
124 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
125 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
127 This release is known as the "Locking Update" and has full support for
128 Opportunistic File Locking. In addition this update includes native
129 support for Microsoft encrypted passwords, improved browse list and
130 WINS database management.
132 Please refer to the WHATSNEW.txt document for fixup information. This
133 binary release includes encrypted password support. Please read the
134 smb.conf file for implementation details.
136 %description -l cs.UTF-8
137 Samba poskytuje server SMB, který lze použít pro poskytování síťových
138 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
139 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
140 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
141 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
142 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
143 NetBIOS od společnosti Microsoft.
145 %description -l da.UTF-8
146 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
147 services til SMB (også kaldet "Lan Manager") klienter, incl.
148 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
149 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
150 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
151 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
154 %description -l de.UTF-8
155 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
156 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
157 verschiedenen Versionen von MS Windows-, OS/2- und anderen
158 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
159 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
160 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
161 (Microsoft Raw NetBIOS frame)-Protokoll.
163 %description -l es.UTF-8
164 Samba provee un servidor SMB que se puede usar para ofrecer servicios
165 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
166 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
167 Linux. Samba también ofrece algunos clientes SMB, que complementan el
168 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
169 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
172 %description -l fi.UTF-8
173 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
174 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
175 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
176 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
177 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
178 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
179 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
182 %description -l it.UTF-8
183 Samba fornisce un server SMB che puo` essere usato per fornire servizi
184 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
185 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
186 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
188 %description -l ja.UTF-8
189 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
190 を含む SMB (たまに "Lan Manager" と呼ばれる)
191 クライアントにネットワーク サービスを提供するために使用される SMB
192 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
193 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
196 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
197 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
198 新しい SWAT (Samba Web Administration Tool) を含みます。
199 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
201 %description -l ko.UTF-8
202 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
203 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
204 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
205 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
208 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
209 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
210 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
213 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
214 릴리즈는 암호화된 패스워드를 제공한다.
216 %description -l pl.UTF-8
217 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
218 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
219 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
220 znajduje się również oprogramowanie klienckie. Samba używa protokołu
221 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
222 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
223 haseł w standardzie MS i zarządzania bazą WINS.
225 %description -l pt_BR.UTF-8
226 O Samba provê um servidor SMB que pode ser usado para oferecer
227 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
228 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
229 máquinas Linux. O Samba também fornece alguns clientes SMB, que
230 complementam o sistema de arquivos SMB do Linux. O Samba usa o
231 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
232 NetBEUI (Microsoft Raw NetBIOS frame).
234 O Samba inclui a maioria das características de um servidor de
235 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
236 permite que o arquivo smb.conf seja gerenciado remotamente através de
237 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
240 %description -l ru.UTF-8
241 Samba предоставляет SMB-сервер, который может быть использован для
242 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
243 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
244 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
245 со встроенной в Linux файловой системой SMB.
247 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
248 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
250 Samba содержит практически работающую реализацию NT Domain Control и
251 включает новый SWAT (Samba Web Administration Tool), который позволяет
252 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
253 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
256 %description -l uk.UTF-8
257 Samba надає SMB-сервер, що може бути використаний для надання
258 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
259 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
260 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
261 файловою системою SMB.
263 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
264 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
266 Samba містить майже працюючу реализацію NT Domain Control та новый
267 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
268 керувати конфігураційним файлом smb.conf за допомогою вашого
269 улюбленого WEB-броузера. Поки що він дозволений через inetd на
273 Summary: Samba Web Administration Tool
274 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
275 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
276 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
277 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
278 Group: Networking/Admin
279 Requires: %{name} = %{epoch}:%{version}-%{release}
281 Requires: rc-inetd >= 0.8.2
285 swat allows a Samba administrator to configure the complex smb.conf
286 file via a Web browser. In addition, a swat configuration page has
287 help links to all the configurable options in the smb.conf file
288 allowing an administrator to easily look up the effects of any change.
290 %description swat -l pl.UTF-8
291 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
294 %description swat -l pt_BR.UTF-8
295 SWAT - ferramentada Web de configuração do Samba.
297 %description swat -l ru.UTF-8
298 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
299 для удаленного администрирования файла smb.conf при помощи вашего
300 любимого Web-браузера.
302 %description swat -l uk.UTF-8
303 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
304 для дистанційного адміністрування файлу smb.conf за допомогою вашого
305 улюбленого Web-браузеру.
308 Summary: Samba client programs
309 Summary(es.UTF-8): Cliente SMB de Samba
310 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
311 Summary(pl.UTF-8): Klienci serwera Samba
312 Summary(pt_BR.UTF-8): Cliente SMB do samba
313 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
314 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
315 Group: Applications/Networking
316 Requires: %{name}-common = %{epoch}:%{version}-%{release}
317 %{?with_kerberos5:Requires: krb5-libs}
318 Obsoletes: mount-cifs
322 Samba-client provides some SMB clients, which complement the build-in
323 SMB filesystem in Linux. These allow accessing of SMB shares and
324 printing to SMB printers.
326 %description client -l pt_BR.UTF-8
327 O pacote samba-clientes prove alguns clientes SMB, que complementam o
328 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
329 e também, à impressoras SMB.
331 %description client -l es.UTF-8
332 Cliente SMB de Samba.
334 %description client -l ja.UTF-8
335 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
336 クライアントを提供します。これらは SMB 共有のアクセスと SMB
339 %description client -l pl.UTF-8
340 Samba-client dostarcza programy uzupełniające obsługę systemu plików
341 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
342 drukowanie w sieci SMB.
344 %description client -l pt_BR.UTF-8
345 O pacote samba-clientes prove alguns clientes SMB, que complementam o
346 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
347 e também, à impressoras SMB.
349 %description client -l ru.UTF-8
350 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
351 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
352 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
354 %description client -l uk.UTF-8
355 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
356 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
357 до каталогів спільного використання SMB та друк на SMB-прінтери.
360 Summary: Files used by both Samba servers and clients
361 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
362 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
363 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
364 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
365 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
366 Group: Networking/Daemons
369 Samba-common provides files necessary for both the server and client
372 %description common -l ja.UTF-8
373 Samba-common は Samba のサーバとクライアントの両方のパッケージで
376 %description common -l pl.UTF-8
377 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
380 %description common -l pt_BR.UTF-8
381 Arquivos em comum entre os pacotes samba e samba-clients.
383 %description common -l ru.UTF-8
384 Samba-common содержит файлы, необходимые для работы как клиента, так и
387 %description common -l uk.UTF-8
388 Samba-common містить файли, необхідні для роботи як клієнта, так і
392 Summary: Samba-winbind daemon, utilities and documentation
393 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
394 Group: Networking/Daemons
395 Requires(post,preun): /sbin/chkconfig
396 Requires: %{name}-common = %{epoch}:%{version}-%{release}
399 Provides the winbind daemon and testing tools to allow authentication
400 and group/user enumeration from a Windows or Samba domain controller.
402 %description winbind -l pl.UTF-8
403 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
404 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
408 Summary: Name Service Switch service for WINS
409 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
411 Requires: %{name}-common = %{epoch}:%{version}-%{release}
413 %description -n nss_wins
414 Provides the libnss_wins shared library which resolves NetBIOS names
417 %description -n nss_wins -l pl.UTF-8
418 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
421 %package -n pam-pam_smbpass
422 Summary: PAM Samba Password Module
423 Summary(pl.UTF-8): Moduł PAM smbpass
425 Obsoletes: pam_smbpass
427 %description -n pam-pam_smbpass
428 PAM module which can be used on conforming systems to keep the
429 smbpasswd (Samba password) database in sync with the unix password
432 %description -n pam-pam_smbpass -l pl.UTF-8
433 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
434 Samby) zsynchronizowanego z hasłami uniksowymi.
436 %package -n libsmbclient
437 Summary: libsmbclient - samba client library
438 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
441 %description -n libsmbclient
442 libsmbclient - library that allows to use samba clients functions.
444 %description -n libsmbclient -l pl.UTF-8
445 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
448 %package -n libsmbclient-devel
449 Summary: libsmbclient - samba client library
450 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
451 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
452 Group: Development/Libraries
453 Requires: libsmbclient = %{epoch}:%{version}-%{release}
455 %description -n libsmbclient-devel
456 Header files for libsmbclient.
458 %description -n libsmbclient-devel -l pl.UTF-8
459 Pliki nagłówkowe dla libsmbclient.
461 %description -n libsmbclient-devel -l pt_BR.UTF-8
462 Arquivos de inclusão, bibliotecas e documentação necessários para
463 desenvolver aplicativos clientes para o samba.
465 %package -n libsmbclient-static
466 Summary: Static version of libsmbclient - samba client library
467 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
468 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
469 Group: Development/Libraries
470 Requires: libsmbclient = %{epoch}:%{version}-%{release}
472 %description -n libsmbclient-static
473 Static libsmbclient library.
475 %description -n libsmbclient-static -l pl.UTF-8
476 Statyczna biblioteka libsmbclient.
479 Summary: Header files for Samba
480 Summary(pl.UTF-8): Pliki nagłówkowe Samby
481 Group: Development/Libraries
484 Header files for Samba.
486 %description devel -l pl.UTF-8
487 Pliki nagłówkowe Samby.
490 Summary: A utility for retrieving files using the SMB protocol
491 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
492 Group: Applications/Networking
494 %description -n smbget
495 wget-like utility for download files over SMB.
497 %description -n smbget -l pl.UTF-8
498 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
499 używanym w sieciach MS Windows.
501 %package -n cups-backend-smb
502 Summary: CUPS backend for printing to SMB printers
503 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
504 Group: Applications/Printing
505 Requires: %{name}-client = %{epoch}:%{version}-%{release}
506 Requires: cups >= 1:1.2.0
508 %description -n cups-backend-smb
509 CUPS backend for printing to SMB printers.
511 %description -n cups-backend-smb -l pl.UTF-8
512 Backend CUPS-a drukujący na drukarkach SMB.
514 %package -n python-samba
515 Summary: Samba python tools and libraries
516 Summary(pl.UTF-8): Narzędzia i biblioteki pythona do samby
517 Group: Applications/Networking
518 %pyrequires_eq python-libs
520 %description -n python-samba
521 Samba python tools and libraries.
523 %description -n python-samba -l pl.UTF-8
524 Narzędzia i biblioteki pythona do samby.
527 Summary: VFS module to audit file access
528 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
529 Group: Networking/Daemons
530 Requires: %{name} = %{epoch}:%{version}-%{release}
532 %description vfs-audit
533 A simple module to audit file access to the syslog facility. The
534 following operations are logged:
535 - share connect/disconnect,
536 - directory opens/create/remove,
537 - file open/close/rename/unlink/chmod.
539 %description vfs-audit -l pl.UTF-8
540 Proste moduły do monitorowania dostępu do plików na serwerze samba do
541 do sysloga. Monitorowane są następujące operacje:
542 - podłączenie do/odłączenie od zasobu,
543 - otwarcie/utworzenie/zmiana nazwy katalogu,
544 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
545 Zawiera moduły audit, extd_audit i full_audit.
548 Summary: VFS module for CAP and samba compatibility
549 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
550 Group: Networking/Daemons
551 Requires: %{name} = %{epoch}:%{version}-%{release}
554 Convert an incoming Shift-JIS character to the 3 byte hex
555 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
556 This is used for compatibility between Samba and CAP.
558 %description vfs-cap -l pl.UTF-8
559 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
560 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
562 %package vfs-default_quota
563 Summary: VFS module to store default quotas in a specified quota record
564 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
565 Group: Networking/Daemons
566 Requires: %{name} = %{epoch}:%{version}-%{release}
568 %description vfs-default_quota
569 This VFS modules stores default quotas in a specified quota record.
571 %description vfs-default_quota -l pl.UTF-8
572 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
575 %package vfs-expand_msdfs
576 Summary: VFS module for hosting a Microsoft Distributed File System Tree
577 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
578 Group: Networking/Daemons
579 Requires: %{name} = %{epoch}:%{version}-%{release}
581 %description vfs-expand_msdfs
582 A VFS module for hosting a Microsoft Distributed File System Tree.
584 The Distributed File System (DFS) provides a means of separating the
585 logical view of files and directories that users see from the actual
586 physical locations of these resources on the network. It allows for
587 higher availability, smoother storage expansion, load balancing, and
590 %description vfs-expand_msdfs -l pl.UTF-8
591 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
594 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
595 plików i katalogów widocznych przez użytkowników z fizycznego
596 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
597 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
599 %package vfs-fake_perms
600 Summary: VFS module to report read-only fires as writable
601 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
602 Group: Networking/Daemons
603 Requires: %{name} = %{epoch}:%{version}-%{release}
605 %description vfs-fake_perms
606 This module allow Roaming Profile files and directories to be set (on
607 the Samba server under UNIX) as read only. This module will, if
608 installed on the Profiles share, report to the client that the Profile
609 files and directories are writeable. This satisfies the client even
610 though the files will never be overwritten as the client logs out or
613 %description vfs-fake_perms -l pl.UTF-8
614 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
615 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
616 przypadku zainstalowania na udziale z profilami będzie zgłaszał
617 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
618 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
619 lub wylogowywaniu klienta.
621 %package vfs-netatalk
622 Summary: VFS module for ease co-existence of samba and netatalk
623 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
624 Group: Networking/Daemons
625 Requires: %{name} = %{epoch}:%{version}-%{release}
627 %description vfs-netatalk
628 Package contains a netatalk VFS module for ease co-existence of Samba
629 and netatalk file sharing services.
631 %description vfs-netatalk -l pl.UTF-8
632 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
633 i netatalk przy udostępnianiu zasobów.
636 Summary: VFS module to add recycle bin facility to a samba share
637 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
638 Group: Networking/Daemons
639 Requires: %{name} = %{epoch}:%{version}-%{release}
641 %description vfs-recycle
642 VFS module to add recycle bin facility to a samba share.
644 %description vfs-recycle -l pl.UTF-8
645 Moduł VFS dodający możliwość kosza do zasobu samby.
647 %package vfs-readahead
648 Summary: VFS module for pre-loading the kernel buffer cache
649 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
650 Group: Networking/Daemons
651 Requires: %{name} = %{epoch}:%{version}-%{release}
653 %description vfs-readahead
654 This VFS module detects read requests at multiples of a given offset
655 (hex 0x80000 by default) and then tells the kernel via either the
656 readahead system call (on Linux) or the posix_fadvise system call to
657 pre-fetch this data into the buffer cache.
659 This module is useful for Windows Vista clients reading data using the
660 Windows Explorer program, which asynchronously does multiple file read
661 requests at offset boundaries of 0x80000 bytes.
663 %description vfs-readahead -l pl.UTF-8
664 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
665 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
666 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
667 wczesnego odczytu tych danych do bufora cache.
669 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
670 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
671 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
674 %package vfs-readonly
675 Summary: VFS module for read-only limitation for specified share
676 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
677 Group: Networking/Daemons
678 Requires: %{name} = %{epoch}:%{version}-%{release}
680 %description vfs-readonly
681 This module performs a read-only limitation for specified share (or
682 all of them if it is loaded in a [global] section) based on period
683 definition in smb.conf.
685 %description vfs-readonly -l pl.UTF-8
686 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
687 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
688 oparciu o definicje okresów w smb.conf.
690 %package vfs-shadow_copy
691 Summary: VFS module to make automatic copy of data in samba share
692 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
693 Group: Networking/Daemons
694 Requires: %{name} = %{epoch}:%{version}-%{release}
696 %description vfs-shadow_copy
697 VFS module to make automatic copy of data in samba share.
699 %description vfs-shadow_copy -l pl.UTF-8
700 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
702 %package vfs-vscan-antivir
703 Summary: On-access virus scanning for samba using AntiVir
704 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
705 Group: Networking/Daemons
706 Requires: %{name} = %{epoch}:%{version}-%{release}
707 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
709 %description vfs-vscan-antivir
710 A vfs-module for samba to implement on-access scanning using the
711 AntiVir antivirus software (which must be installed to use this).
713 %description vfs-vscan-antivir -l pl.UTF-8
714 Moduł vfs do samby implementujący skaning antywirusowy w czasie
715 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
716 (które musi być zainstalowane, aby wykorzystać ten moduł).
718 %package vfs-vscan-clamav
719 Summary: On-access virus scanning for samba using ClamAV
720 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
721 Group: Networking/Daemons
722 Requires: %{name} = %{epoch}:%{version}-%{release}
724 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
726 %description vfs-vscan-clamav
727 A vfs-module for samba to implement on-access scanning using the
728 ClamAV antivirus software (which must be installed to use this).
730 %description vfs-vscan-clamav -l pl.UTF-8
731 Moduł vfs do samby implementujący skaning antywirusowy w czasie
732 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
733 (które musi być zainstalowane, aby wykorzystać ten moduł).
735 %package vfs-vscan-fprot
736 Summary: On-access virus scanning for samba using FPROT
737 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
738 Group: Networking/Daemons
739 Requires: %{name} = %{epoch}:%{version}-%{release}
740 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
741 Obsoletes: vscan-fprot
743 %description vfs-vscan-fprot
744 A vfs-module for samba to implement on-access scanning using the FPROT
745 antivirus software (which must be installed to use this).
747 %description vfs-vscan-fprot -l pl.UTF-8
748 Moduł vfs do samby implementujący skaning antywirusowy w czasie
749 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
750 (które musi być zainstalowane, aby wykorzystać ten moduł).
752 %package vfs-vscan-fsav
753 Summary: On-access virus scanning for samba using F-Secure AntiVirus
754 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
755 Group: Networking/Daemons
756 Requires: %{name} = %{epoch}:%{version}-%{release}
757 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
758 Obsoletes: vscan-fsav
760 %description vfs-vscan-fsav
761 A vfs-module for samba to implement on-access scanning using the
762 F-Secure AntiVirus antivirus software (which must be installed to use
765 %description vfs-vscan-fsav -l pl.UTF-8
766 Moduł vfs do samby implementujący skaning antywirusowy w czasie
767 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
768 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
770 %package vfs-vscan-kavp
771 Summary: On-access virus scanning for samba using Kaspersky AVP
772 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
773 Group: Networking/Daemons
774 Requires: %{name} = %{epoch}:%{version}-%{release}
775 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
776 Obsoletes: vscan-kavp
778 %description vfs-vscan-kavp
779 A vfs-module for samba to implement on-access scanning using the
780 Kaspersky AVP antivirus software (which must be installed to use
783 %description vfs-vscan-kavp -l pl.UTF-8
784 Moduł vfs do samby implementujący skaning antywirusowy w czasie
785 dostępu do plików korzystając z oprogramowania antywirusowego
786 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
789 %package vfs-vscan-mcafee
790 Summary: On-access virus scanning for samba using mcafee
791 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
792 Group: Networking/Daemons
793 Requires: %{name} = %{epoch}:%{version}-%{release}
795 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
796 Obsoletes: vscan-mcafee
798 %description vfs-vscan-mcafee
799 A vfs-module for samba to implement on-access scanning using the
800 mcafee antivirus software (which must be installed to use this).
802 %description vfs-vscan-mcafee -l pl.UTF-8
803 Moduł vfs do samby implementujący skaning antywirusowy w czasie
804 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
805 (które musi być zainstalowane, aby wykorzystać ten moduł).
807 %package vfs-vscan-mks
808 Summary: On-access virus scanning for samba using mks
809 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
810 Group: Networking/Daemons
811 Requires: %{name} = %{epoch}:%{version}-%{release}
813 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
816 %description vfs-vscan-mks
817 A vfs-module for samba to implement on-access scanning using the mks
818 antivirus software (which must be installed to use this).
820 %description vfs-vscan-mks -l pl.UTF-8
821 Moduł vfs do samby implementujący skaning antywirusowy w czasie
822 dostępu do plików korzystając z oprogramowania antywirusowego mks
823 (które musi być zainstalowane, aby wykorzystać ten moduł).
825 %package vfs-vscan-openantivirus
826 Summary: On-access virus scanning for samba using OpenAntivirus
827 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
828 Group: Networking/Daemons
829 Requires: %{name} = %{epoch}:%{version}-%{release}
830 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
831 Obsoletes: vscan-openantivirus
833 %description vfs-vscan-openantivirus
834 A vfs-module for samba to implement on-access scanning using the
835 OpenAntivirus antivirus software (which must be installed to use
838 %description vfs-vscan-openantivirus -l pl.UTF-8
839 Moduł vfs do samby implementujący skaning antywirusowy w czasie
840 dostępu do plików korzystając z oprogramowania antywirusowego
841 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
844 %package vfs-vscan-sophos
845 Summary: On-access virus scanning for samba using Sophos
846 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
847 Group: Networking/Daemons
848 Requires: %{name} = %{epoch}:%{version}-%{release}
849 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
850 Obsoletes: vscan-sophos
852 %description vfs-vscan-sophos
853 A vfs-module for samba to implement on-access scanning using the
854 Sophos antivirus software (which must be installed to use this).
856 %description vfs-vscan-sophos -l pl.UTF-8
857 Moduł vfs do samby implementujący skaning antywirusowy w czasie
858 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
859 (które musi być zainstalowane, aby wykorzystać ten moduł).
861 %package vfs-vscan-symantec
862 Summary: On-access virus scanning for samba using Symantec
863 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
864 Group: Networking/Daemons
865 Requires: %{name} = %{epoch}:%{version}-%{release}
866 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
867 Obsoletes: vscan-symantec
869 %description vfs-vscan-symantec
870 A vfs-module for samba to implement on-access scanning using the
871 Symantec antivirus software (which must be installed to use this).
873 %description vfs-vscan-symantec -l pl.UTF-8
874 Moduł vfs do samby implementujący skaning antywirusowy w czasie
875 dostępu do plików korzystając z oprogramowania antywirusowego firmy
876 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
878 %package vfs-vscan-trend
879 Summary: On-access virus scanning for samba using Trend
880 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
881 Group: Networking/Daemons
882 Requires: %{name} = %{epoch}:%{version}-%{release}
883 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
884 Obsoletes: vscan-trend
886 %description vfs-vscan-trend
887 A vfs-module for samba to implement on-access scanning using the Trend
888 antivirus software (which must be installed to use this).
890 %description vfs-vscan-trend -l pl.UTF-8
891 Moduł vfs do samby implementujący skaning antywirusowy w czasie
892 dostępu do plików korzystając z oprogramowania antywirusowego Trend
893 (które musi być zainstalowane, aby wykorzystać ten moduł).
895 %package -n openldap-schema-samba
896 Summary: Samba LDAP schema
897 Summary(pl.UTF-8): Schemat LDAP dla samby
898 Group: Networking/Daemons
899 Requires(post,postun): sed >= 4.0
900 Requires: openldap-servers
902 %description -n openldap-schema-samba
903 This package contains samba.schema for openldap.
905 %description -n openldap-schema-samba -l pl.UTF-8
906 Ten pakiet zawiera schemat samby dla openldap-a.
909 Summary: Samba HTML documentation
910 Summary(pl.UTF-8): Documentacja samby w formacie HTML
913 %description doc-html
914 Samba HTML documentation, consists of:
916 1. SAMBA Developers Guide
917 This book is a collection of documents that might be useful for
918 people developing samba or those interested in doing so. It's nothing
919 more than a collection of documents written by samba developers about
920 the internals of various parts of samba and the SMB protocol. It's
921 still (and will always be) incomplete.
923 2. Samba-3 by Example
924 Practical Exercises in Successful Samba Deployment.
926 3. The Official Samba-3 HOWTO and Reference Guide
927 This book provides example configurations, it documents key aspects
928 of Microsoft Windows networking, provides in-depth insight into the
929 important configuration of Samba-3, and helps to put all of these
930 into a useful framework.
932 4. Using Samba, 2nd Edition
933 Using Samba, Second Edition is a comprehensive guide to Samba
934 administration. It covers all versions of Samba from 2.0 to 2.2,
935 including selected features from an alpha version of 3.0, as well as
936 the SWAT graphical configuration tool. Updated for Windows 2000, ME,
937 and XP, the book also explores Samba's new role as a primary domain
938 controller and domain member server, its support for the use of
939 Windows NT/2000/XP authentication and filesystem security on the host
940 Unix system, and accessing shared files and printers from Unix
943 5. Man pages The Samba man pages in HTML.
945 %description doc-html -l pl.UTF-8
946 Documentacja samby w formacie HTML.
949 Summary: Samba documentation - PDF format
950 Summary(pl.UTF-8): Documentacja samby w formacie PDF
954 Samba PDF documentation, consists of:
956 1. SAMBA Developers Guide
957 This book is a collection of documents that might be useful for
958 people developing samba or those interested in doing so. It's nothing
959 more than a collection of documents written by samba developers about
960 the internals of various parts of samba and the SMB protocol. It's
961 still (and will always be) incomplete.
963 2. Samba-3 by Example
964 Practical Exercises in Successful Samba Deployment.
966 3. The Official Samba-3 HOWTO and Reference Guide
967 This book provides example configurations, it documents key aspects
968 of Microsoft Windows networking, provides in-depth insight into the
969 important configuration of Samba-3, and helps to put all of these
970 into a useful framework.
972 %description doc-pdf -l pl.UTF-8
973 Documentacja samby w formacie PDF.
977 %if "%{_lib}" == "lib64"
986 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
995 %{__autoconf} -I lib/replace
998 --with-rootsbindir=/sbin \
999 --with-pammodulesdir=/%{_lib}/security \
1000 --with-acl-support \
1002 --with-libsmbclient \
1003 --with-lockdir=/var/lib/samba \
1005 --with-pam_smbpass \
1006 --with%{!?with_ads:out}-ads \
1007 --with-privatedir=%{_sysconfdir}/samba \
1011 --with-swatdir=%{_datadir}/swat \
1015 %{?with_python:--with-python} \
1016 --with%{!?with_ldap:out}-ldap \
1017 --with%{!?with_kerberos5:out}-krb5
1020 %{__make} everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
1023 %{__make} -C libsmbclient/smbwrapper \
1025 CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1030 CFLAGS="%{rpmcflags} -fPIC"
1033 cd samba-vscan-%{vscan_version}
1034 cp -f /usr/share/automake/config.sub .
1039 rm -rf $RPM_BUILD_ROOT
1040 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1041 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1042 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1043 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1045 %{__make} -C source install \
1046 DESTDIR=$RPM_BUILD_ROOT \
1047 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1049 install source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1051 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
1053 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1054 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1055 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1056 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1057 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1058 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1059 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1060 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1062 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1063 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1064 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1065 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1066 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1067 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1068 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1070 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
1071 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
1072 install source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1073 mv $RPM_BUILD_ROOT%{_libdir}/samba/libmsrpc.so $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so.0
1074 ln -s libmsrpc.so.0 $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so
1075 install source/bin/libmsrpc.a $RPM_BUILD_ROOT%{_libdir}/libmsrpc.a
1077 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
1080 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1081 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1082 install docs/manpages/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1084 # these are needed to build samba-pdbsql
1085 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1086 cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1087 cp -a source/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1088 cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1091 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1092 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
1094 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1096 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1099 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1100 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1103 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1104 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1106 # we have this utility in tdb package
1107 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
1111 install -d $RPM_BUILD_ROOT%{py_sitedir}
1112 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1115 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1118 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1122 rm -rf $RPM_BUILD_ROOT
1125 /sbin/chkconfig --add smb
1126 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1127 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1128 /sbin/service smb stop >&2
1129 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1130 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1131 if [ -d /var/lock/samba/printing ]; then
1132 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1134 /sbin/service smb start >&2
1136 %service smb restart "Samba daemons"
1140 if [ "$1" = "0" ]; then
1142 /sbin/chkconfig --del smb
1146 /sbin/chkconfig --add winbind
1147 %service winbind restart "Winbind daemon"
1150 if [ "$1" = "0" ]; then
1151 %service winbind stop
1152 /sbin/chkconfig --del winbind
1156 %service -q rc-inetd reload
1159 if [ "$1" = 0 ]; then
1160 %service -q rc-inetd reload
1163 %post -n openldap-schema-samba
1164 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1165 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1166 %service -q ldap restart
1168 %postun -n openldap-schema-samba
1169 if [ "$1" = "0" ]; then
1170 %openldap_schema_unregister %{schemadir}/samba.schema
1171 %service -q ldap restart
1174 %triggerpostun -- samba < 1.9.18p7
1175 if [ "$1" != "0" ]; then
1176 /sbin/chkconfig --add smb
1180 %defattr(644,root,root,755)
1181 %attr(755,root,root) %{_sbindir}/nmbd
1182 %attr(755,root,root) %{_sbindir}/smbd
1183 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1184 %attr(755,root,root) %{_bindir}/smbstatus
1185 %attr(755,root,root) %{_bindir}/smbpasswd
1186 %attr(755,root,root) %{_bindir}/smbcontrol
1187 %attr(755,root,root) %{_bindir}/tdbbackup
1188 %attr(755,root,root) %{_bindir}/tdbtool_samba
1190 %dir %{_libdir}/%{name}/pdb
1193 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1194 %attr(754,root,root) /etc/rc.d/init.d/smb
1195 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1196 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1197 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1198 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1199 %{_mandir}/man1/log2pcap.1*
1200 %{_mandir}/man1/smbstatus.1*
1201 %{_mandir}/man1/smbcontrol.1*
1202 %{_mandir}/man5/smbpasswd.5*
1203 %{_mandir}/man7/samba.7*
1204 %{_mandir}/man8/nmbd.8*
1205 %{_mandir}/man8/smbd.8*
1206 %{_mandir}/man8/smbpasswd.8*
1207 %{_mandir}/man8/tdbbackup.8*
1211 %ghost /var/lib/samba/*.dat
1212 %dir /var/lib/samba/printing
1214 %attr(750,root,root) %dir /var/log/samba
1215 %attr(750,root,root) %dir /var/log/samba/cores
1216 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1217 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1218 %attr(750,root,root) %dir /var/log/archive/samba
1219 %attr(1777,root,root) %dir /var/spool/samba
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_sbindir}/winbindd
1227 %attr(755,root,root) %{_bindir}/wbinfo
1228 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1229 %attr(755,root,root) /%{_lib}/libnss_winbind*
1230 %attr(754,root,root) /etc/rc.d/init.d/winbind
1231 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1232 %{_mandir}/man1/wbinfo*.1*
1233 %{_mandir}/man7/pam_winbind.7*
1234 %{_mandir}/man8/winbindd*.8*
1237 %defattr(644,root,root,755)
1238 %attr(755,root,root) /%{_lib}/libnss_wins*
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) /sbin/mount.smbfs
1243 %attr(755,root,root) /sbin/mount.cifs
1244 %attr(755,root,root) /sbin/umount.cifs
1245 %attr(755,root,root) %{_bindir}/net
1246 %attr(755,root,root) %{_bindir}/smbmnt
1247 %attr(755,root,root) %{_bindir}/smbmount
1248 %attr(755,root,root) %{_bindir}/smbsh
1249 %attr(755,root,root) %{_bindir}/smbtree
1250 %attr(755,root,root) %{_bindir}/smbumount
1251 %attr(755,root,root) %{_libdir}/smbwrapper.so
1252 %{_mandir}/man1/smbtree.1*
1253 %{_mandir}/man8/net.8*
1254 %{_mandir}/man8/smbmnt.8*
1255 %{_mandir}/man8/smbmount.8*
1256 %{_mandir}/man8/smbumount.8*
1257 %{_mandir}/man8/*mount.cifs.8*
1258 %attr(755,root,root) %{_bindir}/nmblookup
1259 %attr(755,root,root) %{_bindir}/smbcacls
1260 %attr(755,root,root) %{_bindir}/smbclient
1261 %attr(755,root,root) %{_bindir}/smbtar
1262 %{_mandir}/man1/nmblookup.1*
1263 %{_mandir}/man1/smbcacls.1*
1264 %{_mandir}/man1/smbclient.1*
1265 %{_mandir}/man1/smbtar.1*
1266 %{_mandir}/man1/smbsh.1*
1267 %attr(755,root,root) %{_bindir}/rpcclient
1268 %{_mandir}/man1/rpcclient.1*
1269 %attr(755,root,root) %{_bindir}/findsmb
1270 %{_mandir}/man1/findsmb.1*
1273 %defattr(644,root,root,755)
1274 %doc README Manifest WHATSNEW.txt
1275 %doc Roadmap docs/registry/*
1276 %doc docs/{history,THANKS}
1277 %dir %{_sysconfdir}/samba
1278 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1279 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1280 %attr(755,root,root) %{_bindir}/eventlogadm
1281 %attr(755,root,root) %{_bindir}/ntlm_auth
1282 %attr(755,root,root) %{_bindir}/pdbedit
1283 %attr(755,root,root) %{_bindir}/profiles
1284 %attr(755,root,root) %{_bindir}/smbcquotas
1285 %attr(755,root,root) %{_bindir}/testparm
1286 %attr(755,root,root) %{_bindir}/vfstest
1287 %dir %{_libdir}/%{name}
1288 # how this one is used? SONAME is libsmbsharemodes.so.0
1289 %attr(755,root,root) %{_libdir}/%{name}/libsmbsharemodes.so
1290 %{_libdir}/%{name}/*.dat
1291 %dir %{_libdir}/%{name}/auth
1292 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1293 %dir %{_libdir}/%{name}/charset
1294 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1295 %{_mandir}/man1/ntlm_auth.1*
1296 %{_mandir}/man1/profiles.1*
1297 %{_mandir}/man1/smbcquotas.1*
1298 %{_mandir}/man1/testparm.1*
1299 %{_mandir}/man1/vfstest.1*
1300 #%{_mandir}/man1/log2pcap.1*
1301 %{_mandir}/man5/lmhosts.5*
1302 %{_mandir}/man5/smb.conf.5*
1303 %{_mandir}/man8/pdbedit.8*
1304 %{_mandir}/man8/eventlogadm.8*
1305 %{_mandir}/man8/idmap_ad.8*
1306 %{_mandir}/man8/idmap_ldap.8*
1307 %{_mandir}/man8/idmap_nss.8*
1308 %{_mandir}/man8/idmap_rid.8*
1309 %{_mandir}/man8/idmap_tdb.8*
1310 %{_mandir}/man8/tdbtool.8*
1313 %defattr(644,root,root,755)
1314 #%doc swat/README* swat/help/*
1316 %attr(755,root,root) %{_sbindir}/swat
1317 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1318 %dir %{_datadir}/swat
1319 %{_datadir}/swat/help
1320 %{_datadir}/swat/images
1321 %{_datadir}/swat/include
1322 %{_datadir}/swat/using_samba
1323 %dir %{_datadir}/swat/lang
1324 %lang(ja) %{_datadir}/swat/lang/ja
1325 %lang(tr) %{_datadir}/swat/lang/tr
1326 %lang(de) %{_libdir}/%{name}/de.msg
1327 %{_libdir}/%{name}/en.msg
1328 %lang(fi) %{_libdir}/%{name}/fi.msg
1329 %lang(fr) %{_libdir}/%{name}/fr.msg
1330 %lang(it) %{_libdir}/%{name}/it.msg
1331 %lang(ja) %{_libdir}/%{name}/ja.msg
1332 %lang(nl) %{_libdir}/%{name}/nl.msg
1333 %lang(pl) %{_libdir}/%{name}/pl.msg
1334 %lang(tr) %{_libdir}/%{name}/tr.msg
1335 %{_mandir}/man8/swat.8*
1338 %files -n python-samba
1339 %defattr(644,root,root,755)
1340 %dir %{py_sitedir}/samba
1341 %attr(755,root,root) %{py_sitedir}/samba/*.so
1342 %{py_sitedir}/samba/*.py
1343 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1344 %doc source/python/examples
1347 %files -n pam-pam_smbpass
1348 %defattr(644,root,root,755)
1349 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1350 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1352 %files -n libsmbclient
1353 %defattr(644,root,root,755)
1354 %attr(755,root,root) %{_libdir}/libmsrpc.so.*
1355 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1356 %{_mandir}/man7/libsmbclient.7*
1358 %files -n libsmbclient-devel
1359 %defattr(644,root,root,755)
1360 %attr(755,root,root) %{_libdir}/libmsrpc.so
1361 %attr(755,root,root) %{_libdir}/libsmbclient.so
1362 %{_includedir}/libmsrpc.h
1363 %{_includedir}/libsmbclient.h
1366 %defattr(644,root,root,755)
1367 %{_includedir}/%{name}
1369 %files -n libsmbclient-static
1370 %defattr(644,root,root,755)
1371 %{_libdir}/libmsrpc.a
1372 %{_libdir}/libsmbclient.a
1375 %defattr(644,root,root,755)
1376 %attr(755,root,root) %{_bindir}/smbget
1377 %{_mandir}/man1/smbget.1*
1378 %{_mandir}/man5/smbgetrc.5*
1381 %files -n cups-backend-smb
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_bindir}/smbspool
1384 %attr(755,root,root) %{cups_serverbin}/backend/smb
1385 %{_mandir}/man8/smbspool.8*
1389 %defattr(644,root,root,755)
1390 %attr(755,root,root) %{_vfsdir}/audit.so
1391 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1392 %attr(755,root,root) %{_vfsdir}/full_audit.so
1393 %{_mandir}/man8/vfs_audit.8*
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_vfsdir}/cap.so
1398 %{_mandir}/man8/vfs_cap.8*
1400 %files vfs-default_quota
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_vfsdir}/default_quota.so
1403 %{_mandir}/man8/vfs_default_quota.8*
1405 %files vfs-expand_msdfs
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1409 %files vfs-fake_perms
1410 %defattr(644,root,root,755)
1411 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1412 %{_mandir}/man8/vfs_fake_perms.8*
1415 %defattr(644,root,root,755)
1416 %attr(755,root,root) %{_vfsdir}/netatalk.so
1417 %{_mandir}/man8/vfs_netatalk.8*
1419 %files vfs-readahead
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_vfsdir}/readahead.so
1422 %{_mandir}/man8/vfs_readahead.8*
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_vfsdir}/readonly.so
1427 %{_mandir}/man8/vfs_readonly.8*
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{_vfsdir}/recycle.so
1432 %{_mandir}/man8/vfs_recycle.8*
1434 %files vfs-shadow_copy
1435 %defattr(644,root,root,755)
1436 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1437 %{_mandir}/man8/vfs_shadow_copy.8*
1439 %files vfs-vscan-antivir
1440 %defattr(644,root,root,755)
1441 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1442 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1443 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1445 %files vfs-vscan-clamav
1446 %defattr(644,root,root,755)
1447 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1448 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1449 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1451 %files vfs-vscan-fprot
1452 %defattr(644,root,root,755)
1453 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1454 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1455 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1457 %files vfs-vscan-fsav
1458 %defattr(644,root,root,755)
1459 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1460 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1461 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1463 %files vfs-vscan-kavp
1464 %defattr(644,root,root,755)
1465 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1466 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1467 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1469 %files vfs-vscan-mcafee
1470 %defattr(644,root,root,755)
1471 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1473 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1475 %ifarch %{ix86} %{x8664}
1476 %files vfs-vscan-mks
1477 %defattr(644,root,root,755)
1478 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1479 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1480 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1483 %files vfs-vscan-openantivirus
1484 %defattr(644,root,root,755)
1485 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1486 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1487 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1489 %files vfs-vscan-sophos
1490 %defattr(644,root,root,755)
1491 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1492 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1493 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1495 %files vfs-vscan-symantec
1496 %defattr(644,root,root,755)
1497 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1498 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1499 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1501 %files vfs-vscan-trend
1502 %defattr(644,root,root,755)
1503 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1504 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1505 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1508 %files -n openldap-schema-samba
1509 %defattr(644,root,root,755)
1510 %{schemadir}/*.schema
1514 %defattr(644,root,root,755)
1515 %doc docs/htmldocs/*
1518 %defattr(644,root,root,755)