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