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