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