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