2 # - look into other distro specs for valid %descriptions for samba 3
5 %bcond_without ads # without ActiveDirectory support
6 %bcond_without cups # without CUPS support
7 %bcond_without kerberos5 # without Kerberos V support
8 %bcond_without ldap # without LDAP support
9 %bcond_without python # without python libs/utils
11 # ADS requires kerberos5 and LDAP
12 %if !%{with kerberos5} || !%{with ldap}
15 %define vscan_version 0.3.6b
17 Summary(cs.UTF-8): Server SMB
18 Summary(da.UTF-8): SMB server
19 Summary(de.UTF-8): SMB-Server
20 Summary(es.UTF-8): El servidor SMB
21 Summary(fi.UTF-8): SMB-palvelin
22 Summary(fr.UTF-8): Serveur SMB
23 Summary(it.UTF-8): Server SMB
24 Summary(ja.UTF-8): Samba SMB サーバー
25 Summary(ko.UTF-8): 삼바 SMB 서버
26 Summary(pl.UTF-8): Serwer SMB
27 Summary(pt_BR.UTF-8): Cliente e servidor SMB
28 Summary(ru.UTF-8): SMB клиент и сервер
29 Summary(tr.UTF-8): SMB sunucusu
30 Summary(uk.UTF-8): SMB клієнт та сервер
31 Summary(zh_CN.UTF-8): Samba 客户端和服务器
37 Group: Networking/Daemons
38 Source0: http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
39 # Source0-md5: 89273f67a6d8067cbbecefaa13747153
43 Source4: %{name}.sysconfig
44 Source5: %{name}.logrotate
46 Source7: http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
47 # Source7-md5: 900502ba36b80620229b94e5129bc856
49 Source9: winbind.sysconfig
50 Patch0: %{name}-lib64.patch
51 Patch1: %{name}-FHS.patch
52 Patch2: %{name}-c++-nofail.patch
53 Patch3: %{name}-pthread.patch
54 Patch4: %{name}-libsmbclient-libnscd_link.patch
55 Patch5: %{name}-doc.patch
56 URL: http://www.samba.org/
57 BuildRequires: acl-devel
58 BuildRequires: autoconf
59 BuildRequires: automake
60 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
61 BuildRequires: dmapi-devel
62 %{?with_kerberos5:BuildRequires: krb5-devel}
64 BuildRequires: libnscd-devel
65 BuildRequires: libmagic-devel
66 BuildRequires: libtool >= 2:1.4d
67 BuildRequires: ncurses-devel >= 5.2
68 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
69 BuildRequires: openssl-devel >= 0.9.7d
70 BuildRequires: pam-devel > 0.66
71 BuildRequires: popt-devel
72 %{?with_pgsql:BuildRequires: postgresql-devel}
74 BuildRequires: python-devel
75 BuildRequires: rpm-pythonprov
77 BuildRequires: readline-devel >= 4.2
78 BuildRequires: rpmbuild(macros) >= 1.304
79 BuildRequires: sed >= 4.0
80 BuildRequires: xfsprogs-devel
81 Requires(post,preun): /sbin/chkconfig
82 Requires: %{name}-common = %{epoch}:%{version}-%{release}
86 Requires: setup >= 2.4.6-7
87 # smbd links with libcups
88 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
89 Obsoletes: samba-pdb-xml
90 Obsoletes: samba-vfs-block
91 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
93 %define _vfsdir %{_libdir}/%{name}/vfs
94 %define _sambahome /home/services/samba
96 %define cups_serverbin %{_prefix}/lib/cups
98 %define schemadir /usr/share/openldap/schema
100 # CFLAGS modified (the second ./configure)
101 %undefine configure_cache
104 Samba provides an SMB server which can be used to provide network
105 services to SMB (sometimes called "Lan Manager") clients, including
106 various versions of MS Windows, OS/2, and other Linux machines. Samba
107 also provides some SMB clients, which complement the built-in SMB
108 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
109 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
111 This release is known as the "Locking Update" and has full support for
112 Opportunistic File Locking. In addition this update includes native
113 support for Microsoft encrypted passwords, improved browse list and
114 WINS database management.
116 Please refer to the WHATSNEW.txt document for fixup information. This
117 binary release includes encrypted password support. Please read the
118 smb.conf file for implementation details.
120 %description -l cs.UTF-8
121 Samba poskytuje server SMB, který lze použít pro poskytování síťových
122 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
123 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
124 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
125 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
126 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
127 NetBIOS od společnosti Microsoft.
129 %description -l da.UTF-8
130 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
131 services til SMB (også kaldet "Lan Manager") klienter, incl.
132 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
133 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
134 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
135 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
138 %description -l de.UTF-8
139 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
140 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
141 verschiedenen Versionen von MS Windows-, OS/2- und anderen
142 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
143 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
144 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
145 (Microsoft Raw NetBIOS frame)-Protokoll.
147 %description -l es.UTF-8
148 Samba provee un servidor SMB que se puede usar para ofrecer servicios
149 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
150 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
151 Linux. Samba también ofrece algunos clientes SMB, que complementan el
152 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
153 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
156 %description -l fi.UTF-8
157 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
158 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
159 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
160 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
161 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
162 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
163 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
166 %description -l it.UTF-8
167 Samba fornisce un server SMB che puo` essere usato per fornire servizi
168 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
169 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
170 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
172 %description -l ja.UTF-8
173 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
174 を含む SMB (たまに "Lan Manager" と呼ばれる)
175 クライアントにネットワーク サービスを提供するために使用される SMB
176 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
177 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
180 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
181 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
182 新しい SWAT (Samba Web Administration Tool) を含みます。
183 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
185 %description -l ko.UTF-8
186 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
187 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
188 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
189 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
192 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
193 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
194 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
197 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
198 릴리즈는 암호화된 패스워드를 제공한다.
200 %description -l pl.UTF-8
201 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
202 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
203 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
204 znajduje się również oprogramowanie klienckie. Samba używa protokołu
205 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
206 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
207 haseł w standardzie MS i zarządzania bazą WINS.
209 %description -l pt_BR.UTF-8
210 O Samba provê um servidor SMB que pode ser usado para oferecer
211 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
212 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
213 máquinas Linux. O Samba também fornece alguns clientes SMB, que
214 complementam o sistema de arquivos SMB do Linux. O Samba usa o
215 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
216 NetBEUI (Microsoft Raw NetBIOS frame).
218 O Samba inclui a maioria das características de um servidor de
219 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
220 permite que o arquivo smb.conf seja gerenciado remotamente através de
221 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
224 %description -l ru.UTF-8
225 Samba предоставляет SMB-сервер, который может быть использован для
226 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
227 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
228 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
229 со встроенной в Linux файловой системой SMB.
231 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
232 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
234 Samba содержит практически работающую реализацию NT Domain Control и
235 включает новый SWAT (Samba Web Administration Tool), который позволяет
236 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
237 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
240 %description -l uk.UTF-8
241 Samba надає SMB-сервер, що може бути використаний для надання
242 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
243 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
244 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
245 файловою системою 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 на
257 Summary: Samba Web Administration Tool
258 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
259 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
260 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
261 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
262 Group: Networking/Admin
263 Requires: %{name} = %{epoch}:%{version}-%{release}
265 Requires: rc-inetd >= 0.8.2
269 swat allows a Samba administrator to configure the complex smb.conf
270 file via a Web browser. In addition, a swat configuration page has
271 help links to all the configurable options in the smb.conf file
272 allowing an administrator to easily look up the effects of any change.
274 %description swat -l pl.UTF-8
275 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
278 %description swat -l pt_BR.UTF-8
279 SWAT - ferramentada Web de configuração do Samba.
281 %description swat -l ru.UTF-8
282 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
283 для удаленного администрирования файла smb.conf при помощи вашего
284 любимого Web-браузера.
286 %description swat -l uk.UTF-8
287 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
288 для дистанційного адміністрування файлу smb.conf за допомогою вашого
289 улюбленого Web-браузеру.
292 Summary: Samba client programs
293 Summary(es.UTF-8): Cliente SMB de Samba
294 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
295 Summary(pl.UTF-8): Klienci serwera Samba
296 Summary(pt_BR.UTF-8): Cliente SMB do samba
297 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
298 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
299 Group: Applications/Networking
300 Requires: %{name}-common = %{epoch}:%{version}-%{release}
301 %{?with_kerberos5:Requires: krb5-libs}
302 Obsoletes: mount-cifs
306 Samba-client provides some SMB clients, which complement the build-in
307 SMB filesystem in Linux. These allow accessing of SMB shares and
308 printing to SMB printers.
310 %description client -l pt_BR.UTF-8
311 O pacote samba-clientes prove alguns clientes SMB, que complementam o
312 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
313 e também, à impressoras SMB.
315 %description client -l es.UTF-8
316 Cliente SMB de Samba.
318 %description client -l ja.UTF-8
319 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
320 クライアントを提供します。これらは SMB 共有のアクセスと SMB
323 %description client -l pl.UTF-8
324 Samba-client dostarcza programy uzupełniające obsługę systemu plików
325 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
326 drukowanie w sieci SMB.
328 %description client -l pt_BR.UTF-8
329 O pacote samba-clientes prove alguns clientes SMB, que complementam o
330 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
331 e também, à impressoras SMB.
333 %description client -l ru.UTF-8
334 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
335 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
336 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
338 %description client -l uk.UTF-8
339 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
340 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
341 до каталогів спільного використання SMB та друк на SMB-прінтери.
344 Summary: Files used by both Samba servers and clients
345 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
346 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
347 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
348 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
349 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
350 Group: Networking/Daemons
353 Samba-common provides files necessary for both the server and client
356 %description common -l ja.UTF-8
357 Samba-common は Samba のサーバとクライアントの両方のパッケージで
360 %description common -l pl.UTF-8
361 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
364 %description common -l pt_BR.UTF-8
365 Arquivos em comum entre os pacotes samba e samba-clients.
367 %description common -l ru.UTF-8
368 Samba-common содержит файлы, необходимые для работы как клиента, так и
371 %description common -l uk.UTF-8
372 Samba-common містить файли, необхідні для роботи як клієнта, так і
376 Summary: Samba-winbind daemon, utilities and documentation
377 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
378 Group: Networking/Daemons
379 Requires(post,preun): /sbin/chkconfig
380 Requires: %{name}-common = %{epoch}:%{version}-%{release}
383 Provides the winbind daemon and testing tools to allow authentication
384 and group/user enumeration from a Windows or Samba domain controller.
386 %description winbind -l pl.UTF-8
387 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
388 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
392 Summary: Name Service Switch service for WINS
393 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
395 Requires: %{name}-common = %{epoch}:%{version}-%{release}
397 %description -n nss_wins
398 Provides the libnss_wins shared library which resolves NetBIOS names
401 %description -n nss_wins -l pl.UTF-8
402 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
405 %package -n pam-pam_smbpass
406 Summary: PAM Samba Password Module
407 Summary(pl.UTF-8): Moduł PAM smbpass
409 Obsoletes: pam_smbpass
411 %description -n pam-pam_smbpass
412 PAM module which can be used on conforming systems to keep the
413 smbpasswd (Samba password) database in sync with the unix password
416 %description -n pam-pam_smbpass -l pl.UTF-8
417 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
418 Samby) zsynchronizowanego z hasłami uniksowymi.
420 %package -n libsmbclient
421 Summary: libsmbclient - samba client library
422 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
425 %description -n libsmbclient
426 libsmbclient - library that allows to use samba clients functions.
428 %description -n libsmbclient -l pl.UTF-8
429 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
432 %package -n libsmbclient-devel
433 Summary: libsmbclient - samba client library
434 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
435 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
436 Group: Development/Libraries
437 Requires: libsmbclient = %{epoch}:%{version}-%{release}
439 %description -n libsmbclient-devel
440 Header files for libsmbclient.
442 %description -n libsmbclient-devel -l pl.UTF-8
443 Pliki nagłówkowe dla libsmbclient.
445 %description -n libsmbclient-devel -l pt_BR.UTF-8
446 Arquivos de inclusão, bibliotecas e documentação necessários para
447 desenvolver aplicativos clientes para o samba.
449 %package -n libsmbclient-static
450 Summary: Static version of libsmbclient - samba client library
451 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
452 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
453 Group: Development/Libraries
454 Requires: libsmbclient = %{epoch}:%{version}-%{release}
456 %description -n libsmbclient-static
457 Static libsmbclient library.
459 %description -n libsmbclient-static -l pl.UTF-8
460 Statyczna biblioteka libsmbclient.
463 Summary: Header files for Samba
464 Summary(pl.UTF-8): Pliki nagłówkowe Samby
465 Group: Development/Libraries
468 Header files for Samba.
470 %description devel -l pl.UTF-8
471 Pliki nagłówkowe Samby.
474 Summary: A utility for retrieving files using the SMB protocol
475 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
476 Group: Applications/Networking
478 %description -n smbget
479 wget-like utility for download files over SMB.
481 %description -n smbget -l pl.UTF-8
482 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
483 używanym w sieciach MS Windows.
485 %package -n cups-backend-smb
486 Summary: CUPS backend for printing to SMB printers
487 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
488 Group: Applications/Printing
489 Requires: %{name}-client = %{epoch}:%{version}-%{release}
490 Requires: cups >= 1:1.2.0
492 %description -n cups-backend-smb
493 CUPS backend for printing to SMB printers.
495 %description -n cups-backend-smb -l pl.UTF-8
496 Backend CUPS-a drukujący na drukarkach SMB.
498 %package -n python-samba
499 Summary: Samba python tools and libraries
500 Summary(pl.UTF-8): Narzędzia i biblioteki pythona do samby
501 Group: Applications/Networking
502 %pyrequires_eq python-libs
504 %description -n python-samba
505 Samba python tools and libraries.
507 %description -n python-samba -l pl.UTF-8
508 Narzędzia i biblioteki pythona do samby.
511 Summary: VFS module to audit file access
512 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
513 Group: Networking/Daemons
514 Requires: %{name} = %{epoch}:%{version}-%{release}
516 %description vfs-audit
517 A simple module to audit file access to the syslog facility. The
518 following operations are logged:
519 - share connect/disconnect,
520 - directory opens/create/remove,
521 - file open/close/rename/unlink/chmod.
523 %description vfs-audit -l pl.UTF-8
524 Proste moduły do monitorowania dostępu do plików na serwerze samba do
525 do sysloga. Monitorowane są następujące operacje:
526 - podłączenie do/odłączenie od zasobu,
527 - otwarcie/utworzenie/zmiana nazwy katalogu,
528 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
529 Zawiera moduły audit, extd_audit i full_audit.
532 Summary: VFS module for CAP and samba compatibility
533 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
534 Group: Networking/Daemons
535 Requires: %{name} = %{epoch}:%{version}-%{release}
538 Convert an incoming Shift-JIS character to the 3 byte hex
539 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
540 This is used for compatibility between Samba and CAP.
542 %description vfs-cap -l pl.UTF-8
543 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
544 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
546 %package vfs-default_quota
547 Summary: VFS module to store default quotas in a specified quota record
548 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
549 Group: Networking/Daemons
550 Requires: %{name} = %{epoch}:%{version}-%{release}
552 %description vfs-default_quota
553 This VFS modules stores default quotas in a specified quota record.
555 %description vfs-default_quota -l pl.UTF-8
556 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
559 %package vfs-expand_msdfs
560 Summary: VFS module for hosting a Microsoft Distributed File System Tree
561 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
562 Group: Networking/Daemons
563 Requires: %{name} = %{epoch}:%{version}-%{release}
565 %description vfs-expand_msdfs
566 A VFS module for hosting a Microsoft Distributed File System Tree.
568 The Distributed File System (DFS) provides a means of separating the
569 logical view of files and directories that users see from the actual
570 physical locations of these resources on the network. It allows for
571 higher availability, smoother storage expansion, load balancing, and
574 %description vfs-expand_msdfs -l pl.UTF-8
575 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
578 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
579 plików i katalogów widocznych przez użytkowników z fizycznego
580 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
581 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
583 %package vfs-fake_perms
584 Summary: VFS module to report read-only fires as writable
585 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
586 Group: Networking/Daemons
587 Requires: %{name} = %{epoch}:%{version}-%{release}
589 %description vfs-fake_perms
590 This module allow Roaming Profile files and directories to be set (on
591 the Samba server under UNIX) as read only. This module will, if
592 installed on the Profiles share, report to the client that the Profile
593 files and directories are writeable. This satisfies the client even
594 though the files will never be overwritten as the client logs out or
597 %description vfs-fake_perms -l pl.UTF-8
598 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
599 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
600 przypadku zainstalowania na udziale z profilami będzie zgłaszał
601 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
602 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
603 lub wylogowywaniu klienta.
605 %package vfs-netatalk
606 Summary: VFS module for ease co-existence of samba and netatalk
607 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
608 Group: Networking/Daemons
609 Requires: %{name} = %{epoch}:%{version}-%{release}
611 %description vfs-netatalk
612 Package contains a netatalk VFS module for ease co-existence of Samba
613 and netatalk file sharing services.
615 %description vfs-netatalk -l pl.UTF-8
616 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
617 i netatalk przy udostępnianiu zasobów.
620 Summary: VFS module to add recycle bin facility to a samba share
621 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
622 Group: Networking/Daemons
623 Requires: %{name} = %{epoch}:%{version}-%{release}
625 %description vfs-recycle
626 VFS module to add recycle bin facility to a samba share.
628 %description vfs-recycle -l pl.UTF-8
629 Moduł VFS dodający możliwość kosza do zasobu samby.
631 %package vfs-readonly
632 Summary: VFS module for read-only limitation for specified share
633 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
634 Group: Networking/Daemons
635 Requires: %{name} = %{epoch}:%{version}-%{release}
637 %description vfs-readonly
638 This module performs a read-only limitation for specified share (or
639 all of them if it is loaded in a [global] section) based on period
640 definition in smb.conf.
642 %description vfs-readonly -l pl.UTF-8
643 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
644 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
645 oparciu o definicje okresów w smb.conf.
647 %package vfs-shadow_copy
648 Summary: VFS module to make automatic copy of data in samba share
649 Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
650 Group: Networking/Daemons
651 Requires: %{name} = %{epoch}:%{version}-%{release}
653 %description vfs-shadow_copy
654 VFS module to make automatic copy of data in samba share.
656 %description vfs-shadow_copy -l pl.UTF-8
657 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
659 %package vfs-vscan-antivir
660 Summary: On-access virus scanning for samba using AntiVir
661 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
662 Group: Networking/Daemons
663 Requires: %{name} = %{epoch}:%{version}-%{release}
664 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
666 %description vfs-vscan-antivir
667 A vfs-module for samba to implement on-access scanning using the
668 AntiVir antivirus software (which must be installed to use this).
670 %description vfs-vscan-antivir -l pl.UTF-8
671 Moduł vfs do samby implementujący skaning antywirusowy w czasie
672 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
673 (które musi być zainstalowane, aby wykorzystać ten moduł).
675 %package vfs-vscan-clamav
676 Summary: On-access virus scanning for samba using ClamAV
677 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
678 Group: Networking/Daemons
679 Requires: %{name} = %{epoch}:%{version}-%{release}
681 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
683 %description vfs-vscan-clamav
684 A vfs-module for samba to implement on-access scanning using the
685 ClamAV antivirus software (which must be installed to use this).
687 %description vfs-vscan-clamav -l pl.UTF-8
688 Moduł vfs do samby implementujący skaning antywirusowy w czasie
689 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
690 (które musi być zainstalowane, aby wykorzystać ten moduł).
692 %package vfs-vscan-fprot
693 Summary: On-access virus scanning for samba using FPROT
694 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
695 Group: Networking/Daemons
696 Requires: %{name} = %{epoch}:%{version}-%{release}
697 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
698 Obsoletes: vscan-fprot
700 %description vfs-vscan-fprot
701 A vfs-module for samba to implement on-access scanning using the FPROT
702 antivirus software (which must be installed to use this).
704 %description vfs-vscan-fprot -l pl.UTF-8
705 Moduł vfs do samby implementujący skaning antywirusowy w czasie
706 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
707 (które musi być zainstalowane, aby wykorzystać ten moduł).
709 %package vfs-vscan-fsav
710 Summary: On-access virus scanning for samba using F-Secure AntiVirus
711 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
712 Group: Networking/Daemons
713 Requires: %{name} = %{epoch}:%{version}-%{release}
714 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
715 Obsoletes: vscan-fsav
717 %description vfs-vscan-fsav
718 A vfs-module for samba to implement on-access scanning using the
719 F-Secure AntiVirus antivirus software (which must be installed to use
722 %description vfs-vscan-fsav -l pl.UTF-8
723 Moduł vfs do samby implementujący skaning antywirusowy w czasie
724 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
725 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
727 %package vfs-vscan-kavp
728 Summary: On-access virus scanning for samba using Kaspersky AVP
729 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
730 Group: Networking/Daemons
731 Requires: %{name} = %{epoch}:%{version}-%{release}
732 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
733 Obsoletes: vscan-kavp
735 %description vfs-vscan-kavp
736 A vfs-module for samba to implement on-access scanning using the
737 Kaspersky AVP antivirus software (which must be installed to use
740 %description vfs-vscan-kavp -l pl.UTF-8
741 Moduł vfs do samby implementujący skaning antywirusowy w czasie
742 dostępu do plików korzystając z oprogramowania antywirusowego
743 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
746 %package vfs-vscan-mcafee
747 Summary: On-access virus scanning for samba using mcafee
748 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
749 Group: Networking/Daemons
750 Requires: %{name} = %{epoch}:%{version}-%{release}
752 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
753 Obsoletes: vscan-mcafee
755 %description vfs-vscan-mcafee
756 A vfs-module for samba to implement on-access scanning using the
757 mcafee antivirus software (which must be installed to use this).
759 %description vfs-vscan-mcafee -l pl.UTF-8
760 Moduł vfs do samby implementujący skaning antywirusowy w czasie
761 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
762 (które musi być zainstalowane, aby wykorzystać ten moduł).
764 %package vfs-vscan-mks
765 Summary: On-access virus scanning for samba using mks
766 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
767 Group: Networking/Daemons
768 Requires: %{name} = %{epoch}:%{version}-%{release}
770 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
773 %description vfs-vscan-mks
774 A vfs-module for samba to implement on-access scanning using the mks
775 antivirus software (which must be installed to use this).
777 %description vfs-vscan-mks -l pl.UTF-8
778 Moduł vfs do samby implementujący skaning antywirusowy w czasie
779 dostępu do plików korzystając z oprogramowania antywirusowego mks
780 (które musi być zainstalowane, aby wykorzystać ten moduł).
782 %package vfs-vscan-openantivirus
783 Summary: On-access virus scanning for samba using OpenAntivirus
784 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
785 Group: Networking/Daemons
786 Requires: %{name} = %{epoch}:%{version}-%{release}
787 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
788 Obsoletes: vscan-openantivirus
790 %description vfs-vscan-openantivirus
791 A vfs-module for samba to implement on-access scanning using the
792 OpenAntivirus antivirus software (which must be installed to use
795 %description vfs-vscan-openantivirus -l pl.UTF-8
796 Moduł vfs do samby implementujący skaning antywirusowy w czasie
797 dostępu do plików korzystając z oprogramowania antywirusowego
798 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
801 %package vfs-vscan-sophos
802 Summary: On-access virus scanning for samba using Sophos
803 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
804 Group: Networking/Daemons
805 Requires: %{name} = %{epoch}:%{version}-%{release}
806 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
807 Obsoletes: vscan-sophos
809 %description vfs-vscan-sophos
810 A vfs-module for samba to implement on-access scanning using the
811 Sophos antivirus software (which must be installed to use this).
813 %description vfs-vscan-sophos -l pl.UTF-8
814 Moduł vfs do samby implementujący skaning antywirusowy w czasie
815 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
816 (które musi być zainstalowane, aby wykorzystać ten moduł).
818 %package vfs-vscan-symantec
819 Summary: On-access virus scanning for samba using Symantec
820 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
821 Group: Networking/Daemons
822 Requires: %{name} = %{epoch}:%{version}-%{release}
823 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
824 Obsoletes: vscan-symantec
826 %description vfs-vscan-symantec
827 A vfs-module for samba to implement on-access scanning using the
828 Symantec antivirus software (which must be installed to use this).
830 %description vfs-vscan-symantec -l pl.UTF-8
831 Moduł vfs do samby implementujący skaning antywirusowy w czasie
832 dostępu do plików korzystając z oprogramowania antywirusowego firmy
833 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
835 %package vfs-vscan-trend
836 Summary: On-access virus scanning for samba using Trend
837 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
838 Group: Networking/Daemons
839 Requires: %{name} = %{epoch}:%{version}-%{release}
840 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
841 Obsoletes: vscan-trend
843 %description vfs-vscan-trend
844 A vfs-module for samba to implement on-access scanning using the Trend
845 antivirus software (which must be installed to use this).
847 %description vfs-vscan-trend -l pl.UTF-8
848 Moduł vfs do samby implementujący skaning antywirusowy w czasie
849 dostępu do plików korzystając z oprogramowania antywirusowego Trend
850 (które musi być zainstalowane, aby wykorzystać ten moduł).
852 %package -n openldap-schema-samba
853 Summary: Samba LDAP schema
854 Summary(pl.UTF-8): Schemat LDAP dla samby
855 Group: Networking/Daemons
856 Requires(post,postun): sed >= 4.0
857 Requires: openldap-servers
859 %description -n openldap-schema-samba
860 This package contains samba.schema for openldap.
862 %description -n openldap-schema-samba -l pl.UTF-8
863 Ten pakiet zawiera schemat samby dla openldap-a.
866 Summary: Samba HTML documentation
867 Summary(pl.UTF-8): Documentacja samby w formacie HTML
870 %description doc-html
871 Samba HTML documentation, consists of:
873 1. SAMBA Developers Guide
874 This book is a collection of documents that might be useful for
875 people developing samba or those interested in doing so. It's nothing
876 more than a collection of documents written by samba developers about
877 the internals of various parts of samba and the SMB protocol. It's
878 still (and will always be) incomplete.
880 2. Samba-3 by Example
881 Practical Exercises in Successful Samba Deployment.
883 3. The Official Samba-3 HOWTO and Reference Guide
884 This book provides example configurations, it documents key aspects
885 of Microsoft Windows networking, provides in-depth insight into the
886 important configuration of Samba-3, and helps to put all of these
887 into a useful framework.
889 4. Using Samba, 2nd Edition
890 Using Samba, Second Edition is a comprehensive guide to Samba
891 administration. It covers all versions of Samba from 2.0 to 2.2,
892 including selected features from an alpha version of 3.0, as well as
893 the SWAT graphical configuration tool. Updated for Windows 2000, ME,
894 and XP, the book also explores Samba's new role as a primary domain
895 controller and domain member server, its support for the use of
896 Windows NT/2000/XP authentication and filesystem security on the host
897 Unix system, and accessing shared files and printers from Unix
900 5. Man pages The Samba man pages in HTML.
902 %description doc-html -l pl.UTF-8
903 Documentacja samby w formacie HTML.
906 Summary: Samba documentation - PDF format
907 Summary(pl.UTF-8): Documentacja samby w formacie PDF
911 Samba PDF documentation, consists of:
913 1. SAMBA Developers Guide
914 This book is a collection of documents that might be useful for
915 people developing samba or those interested in doing so. It's nothing
916 more than a collection of documents written by samba developers about
917 the internals of various parts of samba and the SMB protocol. It's
918 still (and will always be) incomplete.
920 2. Samba-3 by Example
921 Practical Exercises in Successful Samba Deployment.
923 3. The Official Samba-3 HOWTO and Reference Guide
924 This book provides example configurations, it documents key aspects
925 of Microsoft Windows networking, provides in-depth insight into the
926 important configuration of Samba-3, and helps to put all of these
927 into a useful framework.
929 %description doc-pdf -l pl.UTF-8
930 Documentacja samby w formacie PDF.
934 %if "%{_lib}" == "lib64"
942 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
953 # Removed options (default or not supported by configure script)
956 # --without-smbwrapper \
957 # --with-sslinc=%{_prefix} \
960 # %{?with_ipv6:--with-ipv6} \
963 --with-rootsbindir=/sbin \
964 --with-pammodulesdir=/%{_lib}/security \
967 --with-libsmbclient \
968 --with-lockdir=/var/lib/samba \
971 --with%{!?with_ads:out}-ads \
972 --with-privatedir=%{_sysconfdir}/samba \
977 --with-swatdir=%{_datadir}/swat \
981 %{?with_python:--with-python} \
982 --with%{!?with_ldap:out}-ldap \
983 --with%{!?with_kerberos5:out}-krb5
986 %{__make} everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
991 CFLAGS="%{rpmcflags} -fPIC"
994 cd samba-vscan-%{vscan_version}
995 cp -f /usr/share/automake/config.sub .
1000 rm -rf $RPM_BUILD_ROOT
1001 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1002 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1003 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1004 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1008 DESTDIR=$RPM_BUILD_ROOT \
1009 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1011 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1014 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
1016 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1017 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1018 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1019 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1020 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1021 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1022 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1023 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1025 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1026 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1027 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1028 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1029 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1030 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1031 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1033 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
1034 install source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1035 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
1036 mv $RPM_BUILD_ROOT%{_libdir}/samba/libmsrpc.so $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so.0
1037 install source/bin/libmsrpc.a $RPM_BUILD_ROOT%{_libdir}/libmsrpc.a
1038 ln -s libmsrpc.so.0 $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so
1040 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
1042 # these are needed to build samba-pdbsql
1043 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{smbwrapper,tdb,nsswitch}
1044 cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1045 cp -a source/smbwrapper/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/smbwrapper
1046 cp -a source/tdb/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1047 cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1050 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1051 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
1053 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1055 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1058 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1059 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1062 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1063 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1065 # we have this utility in tdb package
1066 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
1070 install -d $RPM_BUILD_ROOT%{py_sitedir}
1071 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1074 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1077 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1081 rm -rf $RPM_BUILD_ROOT
1084 /sbin/chkconfig --add smb
1085 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1086 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1087 /sbin/service smb stop >&2
1088 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1089 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1090 if [ -d /var/lock/samba/printing ]; then
1091 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1093 /sbin/service smb start >&2
1095 %service smb restart "Samba daemons"
1099 if [ "$1" = "0" ]; then
1101 /sbin/chkconfig --del smb
1105 /sbin/chkconfig --add winbind
1106 %service winbind restart "Winbind daemon"
1109 if [ "$1" = "0" ]; then
1110 %service winbind stop
1111 /sbin/chkconfig --del winbind
1115 %service -q rc-inetd reload
1118 if [ "$1" = 0 ]; then
1119 %service -q rc-inetd reload
1122 %post -n openldap-schema-samba
1123 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1124 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1125 %service -q ldap restart
1127 %postun -n openldap-schema-samba
1128 if [ "$1" = "0" ]; then
1129 %openldap_schema_unregister %{schemadir}/samba.schema
1130 %service -q ldap restart
1133 %triggerpostun -- samba < 1.9.18p7
1134 if [ "$1" != "0" ]; then
1135 /sbin/chkconfig --add smb
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_sbindir}/nmbd
1141 %attr(755,root,root) %{_sbindir}/smbd
1142 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1143 %attr(755,root,root) %{_bindir}/smbstatus
1144 %attr(755,root,root) %{_bindir}/smbpasswd
1145 %attr(755,root,root) %{_bindir}/smbcontrol
1146 %attr(755,root,root) %{_bindir}/tdbbackup
1147 %attr(755,root,root) %{_bindir}/tdbtool_samba
1149 %dir %{_libdir}/%{name}/pdb
1152 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1153 %attr(754,root,root) /etc/rc.d/init.d/smb
1154 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1155 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1156 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1157 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1158 %{_mandir}/man1/log2pcap.1*
1159 %{_mandir}/man1/smbstatus.1*
1160 %{_mandir}/man1/smbcontrol.1*
1161 %{_mandir}/man5/smbpasswd.5*
1162 %{_mandir}/man7/samba.7*
1163 %{_mandir}/man8/nmbd.8*
1164 %{_mandir}/man8/smbd.8*
1165 %{_mandir}/man8/smbpasswd.8*
1166 %{_mandir}/man8/tdbbackup.8*
1170 %ghost /var/lib/samba/*.dat
1171 %dir /var/lib/samba/printing
1173 %attr(750,root,root) %dir /var/log/samba
1174 %attr(750,root,root) %dir /var/log/samba/cores
1175 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1176 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1177 %attr(750,root,root) %dir /var/log/archive/samba
1178 %attr(1777,root,root) %dir /var/spool/samba
1184 %defattr(644,root,root,755)
1185 %attr(755,root,root) %{_sbindir}/winbindd
1186 %attr(755,root,root) %{_bindir}/wbinfo
1187 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1188 %attr(755,root,root) /%{_lib}/libnss_winbind*
1189 %attr(754,root,root) /etc/rc.d/init.d/winbind
1190 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1191 %{_mandir}/man1/wbinfo*.1*
1192 %{_mandir}/man7/pam_winbind.7*
1193 %{_mandir}/man8/winbindd*.8*
1196 %defattr(644,root,root,755)
1197 %attr(755,root,root) /%{_lib}/libnss_wins*
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) /sbin/mount.smbfs
1202 %attr(755,root,root) /sbin/mount.cifs
1203 %attr(755,root,root) /sbin/umount.cifs
1204 %attr(755,root,root) %{_bindir}/net
1205 %attr(755,root,root) %{_bindir}/smbmnt
1206 %attr(755,root,root) %{_bindir}/smbmount
1207 %attr(755,root,root) %{_bindir}/smbtree
1208 %attr(755,root,root) %{_bindir}/smbumount
1209 %{_mandir}/man1/smbtree.1*
1210 %{_mandir}/man8/net.8*
1211 %{_mandir}/man8/smbmnt.8*
1212 %{_mandir}/man8/smbmount.8*
1213 %{_mandir}/man8/smbumount.8*
1214 %{_mandir}/man8/*mount.cifs.8*
1215 %attr(755,root,root) %{_bindir}/nmblookup
1216 %attr(755,root,root) %{_bindir}/smbcacls
1217 %attr(755,root,root) %{_bindir}/smbclient
1218 %attr(755,root,root) %{_bindir}/smbtar
1219 %{_mandir}/man1/nmblookup.1*
1220 %{_mandir}/man1/smbcacls.1*
1221 %{_mandir}/man1/smbclient.1*
1222 %{_mandir}/man1/smbtar.1*
1223 %{_mandir}/man1/smbsh.1*
1224 %attr(755,root,root) %{_bindir}/rpcclient
1225 %{_mandir}/man1/rpcclient.1*
1226 %attr(755,root,root) %{_bindir}/findsmb
1227 %{_mandir}/man1/findsmb.1*
1230 %defattr(644,root,root,755)
1231 %doc README Manifest WHATSNEW.txt
1232 %doc Roadmap docs/registry/*
1233 %doc docs/{history,THANKS}
1234 %dir %{_sysconfdir}/samba
1235 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1236 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1237 %attr(755,root,root) %{_bindir}/eventlogadm
1238 %attr(755,root,root) %{_bindir}/ntlm_auth
1239 %attr(755,root,root) %{_bindir}/pdbedit
1240 %attr(755,root,root) %{_bindir}/profiles
1241 %attr(755,root,root) %{_bindir}/smbcquotas
1242 %attr(755,root,root) %{_bindir}/testparm
1243 %attr(755,root,root) %{_bindir}/vfstest
1244 %dir %{_libdir}/%{name}
1245 %{_libdir}/%{name}/*.dat
1246 %dir %{_libdir}/%{name}/auth
1247 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1248 %dir %{_libdir}/%{name}/charset
1249 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1250 %{_mandir}/man1/ntlm_auth.1*
1251 %{_mandir}/man1/profiles.1*
1252 %{_mandir}/man1/smbcquotas.1*
1253 %{_mandir}/man1/testparm.1*
1254 %{_mandir}/man1/vfstest.1*
1255 #%{_mandir}/man1/log2pcap.1*
1256 %{_mandir}/man5/lmhosts.5*
1257 %{_mandir}/man5/smb.conf.5*
1258 %{_mandir}/man8/pdbedit.8*
1261 %defattr(644,root,root,755)
1262 #%doc swat/README* swat/help/*
1264 %attr(755,root,root) %{_sbindir}/swat
1265 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1266 %dir %{_datadir}/swat
1267 %{_datadir}/swat/help
1268 %{_datadir}/swat/images
1269 %{_datadir}/swat/include
1270 %{_datadir}/swat/using_samba
1271 %dir %{_datadir}/swat/lang
1272 %lang(ja) %{_datadir}/swat/lang/ja
1273 %lang(tr) %{_datadir}/swat/lang/tr
1274 %lang(de) %{_libdir}/%{name}/de.msg
1275 %{_libdir}/%{name}/en.msg
1276 %lang(fr) %{_libdir}/%{name}/fr.msg
1277 %lang(it) %{_libdir}/%{name}/it.msg
1278 %lang(ja) %{_libdir}/%{name}/ja.msg
1279 %lang(nl) %{_libdir}/%{name}/nl.msg
1280 %lang(pl) %{_libdir}/%{name}/pl.msg
1281 %lang(tr) %{_libdir}/%{name}/tr.msg
1282 %{_mandir}/man8/swat.8*
1285 %files -n python-samba
1286 %defattr(644,root,root,755)
1287 %dir %{py_sitedir}/samba
1288 %attr(755,root,root) %{py_sitedir}/samba/*.so
1289 %{py_sitedir}/samba/*.py
1290 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1291 %doc source/python/examples
1294 %files -n pam-pam_smbpass
1295 %defattr(644,root,root,755)
1296 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1297 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1299 %files -n libsmbclient
1300 %defattr(644,root,root,755)
1301 %attr(755,root,root) %{_libdir}/libmsrpc.so.*
1302 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1303 %{_mandir}/man7/libsmbclient.7*
1305 %files -n libsmbclient-devel
1306 %defattr(644,root,root,755)
1307 %attr(755,root,root) %{_libdir}/libmsrpc.so
1308 %attr(755,root,root) %{_libdir}/libsmbclient.so
1309 %{_includedir}/libmsrpc.h
1310 %{_includedir}/libsmbclient.h
1313 %defattr(644,root,root,755)
1314 %{_includedir}/%{name}
1316 %files -n libsmbclient-static
1317 %defattr(644,root,root,755)
1318 %{_libdir}/libmsrpc.a
1319 %{_libdir}/libsmbclient.a
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_bindir}/smbget
1324 %{_mandir}/man1/smbget.1*
1325 %{_mandir}/man5/smbgetrc.5*
1328 %files -n cups-backend-smb
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_bindir}/smbspool
1331 %attr(755,root,root) %{cups_serverbin}/backend/smb
1332 %{_mandir}/man8/smbspool.8*
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_vfsdir}/audit.so
1338 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1339 %attr(755,root,root) %{_vfsdir}/full_audit.so
1342 %defattr(644,root,root,755)
1343 %attr(755,root,root) %{_vfsdir}/cap.so
1345 %files vfs-default_quota
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) %{_vfsdir}/default_quota.so
1349 %files vfs-expand_msdfs
1350 %defattr(644,root,root,755)
1351 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1353 %files vfs-fake_perms
1354 %defattr(644,root,root,755)
1355 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1358 %defattr(644,root,root,755)
1359 %attr(755,root,root) %{_vfsdir}/netatalk.so
1362 %defattr(644,root,root,755)
1363 %attr(755,root,root) %{_vfsdir}/readonly.so
1366 %defattr(644,root,root,755)
1367 %attr(755,root,root) %{_vfsdir}/recycle.so
1369 %files vfs-shadow_copy
1370 %defattr(644,root,root,755)
1371 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1373 %files vfs-vscan-antivir
1374 %defattr(644,root,root,755)
1375 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1376 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1377 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1379 %files vfs-vscan-clamav
1380 %defattr(644,root,root,755)
1381 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1382 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1383 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1385 %files vfs-vscan-fprot
1386 %defattr(644,root,root,755)
1387 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1388 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1389 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1391 %files vfs-vscan-fsav
1392 %defattr(644,root,root,755)
1393 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1394 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1395 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1397 %files vfs-vscan-kavp
1398 %defattr(644,root,root,755)
1399 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1400 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1401 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1403 %files vfs-vscan-mcafee
1404 %defattr(644,root,root,755)
1405 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1406 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1407 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1409 %ifarch %{ix86} %{x8664}
1410 %files vfs-vscan-mks
1411 %defattr(644,root,root,755)
1412 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1413 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1414 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1417 %files vfs-vscan-openantivirus
1418 %defattr(644,root,root,755)
1419 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1420 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1421 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1423 %files vfs-vscan-sophos
1424 %defattr(644,root,root,755)
1425 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1426 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1427 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1429 %files vfs-vscan-symantec
1430 %defattr(644,root,root,755)
1431 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1432 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1433 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1435 %files vfs-vscan-trend
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-trend.conf
1439 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1442 %files -n openldap-schema-samba
1443 %defattr(644,root,root,755)
1444 %{schemadir}/*.schema
1448 %defattr(644,root,root,755)
1449 %doc docs/htmldocs/*
1452 %defattr(644,root,root,755)