]> git.pld-linux.org Git - packages/samba.git/blob - samba.spec
- strict libtalloc dep in samba-common; after upgrading samba* from 3.3.x
[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 Requires:       libtalloc >= %{version}-%{release}
356
357 %description common
358 Samba-common provides files necessary for both the server and client
359 packages of Samba.
360
361 %description common -l ja.UTF-8
362 Samba-common は Samba のサーバとクライアントの両方のパッケージで
363 使用されるファイルを提供します。
364
365 %description common -l pl.UTF-8
366 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
367 klientów Samba.
368
369 %description common -l pt_BR.UTF-8
370 Arquivos em comum entre os pacotes samba e samba-clients.
371
372 %description common -l ru.UTF-8
373 Samba-common содержит файлы, необходимые для работы как клиента, так и
374 сервера Samba.
375
376 %description common -l uk.UTF-8
377 Samba-common містить файли, необхідні для роботи як клієнта, так і
378 сервера Samba.
379
380 %package winbind
381 Summary:        Samba-winbind daemon, utilities and documentation
382 Summary(pl.UTF-8):      Demon samba-winbind, narzędzia i dokumentacja
383 Group:          Networking/Daemons
384 Requires(post,preun):   /sbin/chkconfig
385 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
386
387 %description winbind
388 Provides the winbind daemon and testing tools to allow authentication
389 and group/user enumeration from a Windows or Samba domain controller.
390
391 %description winbind -l pl.UTF-8
392 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
393 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
394 Windows lub Samba.
395
396 %package -n nss_wins
397 Summary:        Name Service Switch service for WINS
398 Summary(pl.UTF-8):      Usługa Name Service Switch dla WINS
399 Group:          Base
400 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
401
402 %description -n nss_wins
403 Provides the libnss_wins shared library which resolves NetBIOS names
404 to IP addresses.
405
406 %description -n nss_wins -l pl.UTF-8
407 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
408 IP.
409
410 %package -n pam-pam_smbpass
411 Summary:        PAM Samba Password Module
412 Summary(pl.UTF-8):      Moduł PAM smbpass
413 Group:          Base
414 Obsoletes:      pam_smbpass
415
416 %description -n pam-pam_smbpass
417 PAM module which can be used on conforming systems to keep the
418 smbpasswd (Samba password) database in sync with the Unix password
419 file.
420
421 %description -n pam-pam_smbpass -l pl.UTF-8
422 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
423 Samby) zsynchronizowanego z hasłami uniksowymi.
424
425 %package -n libsmbclient
426 Summary:        libsmbclient - samba client library
427 Summary(pl.UTF-8):      libsmbclient - biblioteka klienta samby
428 Group:          Libraries
429
430 %description -n libsmbclient
431 libsmbclient - library that allows to use samba clients functions.
432
433 %description -n libsmbclient -l pl.UTF-8
434 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
435 samby.
436
437 %package -n libsmbclient-devel
438 Summary:        libsmbclient - samba client library
439 Summary(pl.UTF-8):      libsmbclient - biblioteka klienta samby
440 Summary(pt_BR.UTF-8):   Ferramentas de desenvolvimento para clientes samba
441 Group:          Development/Libraries
442 Requires:       libsmbclient = %{epoch}:%{version}-%{release}
443
444 %description -n libsmbclient-devel
445 Header files for libsmbclient.
446
447 %description -n libsmbclient-devel -l pl.UTF-8
448 Pliki nagłówkowe dla libsmbclient.
449
450 %description -n libsmbclient-devel -l pt_BR.UTF-8
451 Arquivos de inclusão, bibliotecas e documentação necessários para
452 desenvolver aplicativos clientes para o samba.
453
454 %package -n libsmbclient-static
455 Summary:        Static version of libsmbclient - samba client library
456 Summary(pl.UTF-8):      Statyczna wersja libsmbclient - biblioteki klienta samby
457 Summary(pt_BR.UTF-8):   Ferramentas de desenvolvimento para clientes samba
458 Group:          Development/Libraries
459 Requires:       libsmbclient = %{epoch}:%{version}-%{release}
460
461 %description -n libsmbclient-static
462 Static libsmbclient library.
463
464 %description -n libsmbclient-static -l pl.UTF-8
465 Statyczna biblioteka libsmbclient.
466
467 %package -n libtalloc
468 Summary:        The talloc library
469 Group:          Libraries
470
471 %description -n libtalloc
472 The talloc library from the Samba suite.
473
474 %package -n libtalloc-devel
475 Summary:        Developer tools for the talloc library
476 Group:          Development/Libraries
477 Requires:       libtalloc = %{epoch}:%{version}-%{release}
478
479 %description -n libtalloc-devel
480 The libtalloc-devel package contains the header files and libraries needed to
481 develop programs that link against the talloc library in the Samba suite.
482
483 %package devel
484 Summary:        Header files for Samba
485 Summary(pl.UTF-8):      Pliki nagłówkowe Samby
486 Group:          Development/Libraries
487
488 %description devel
489 Header files for Samba.
490
491 %description devel -l pl.UTF-8
492 Pliki nagłówkowe Samby.
493
494 %package -n smbget
495 Summary:        A utility for retrieving files using the SMB protocol
496 Summary(pl.UTF-8):      Narzędzie do pobierania plików protokołem SMB
497 Group:          Applications/Networking
498
499 %description -n smbget
500 wget-like utility for download files over SMB.
501
502 %description -n smbget -l pl.UTF-8
503 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
504 używanym w sieciach MS Windows.
505
506 %package -n cups-backend-smb
507 Summary:        CUPS backend for printing to SMB printers
508 Summary(pl.UTF-8):      Backend CUPS-a drukujący na drukarkach SMB
509 Group:          Applications/Printing
510 Requires:       %{name}-client = %{epoch}:%{version}-%{release}
511 Requires:       cups >= 1:1.2.0
512
513 %description -n cups-backend-smb
514 CUPS backend for printing to SMB printers.
515
516 %description -n cups-backend-smb -l pl.UTF-8
517 Backend CUPS-a drukujący na drukarkach SMB.
518
519 %package vfs-audit
520 Summary:        VFS module to audit file access
521 Summary(pl.UTF-8):      Moduł VFS do monitorowania operacji na plikach
522 Group:          Networking/Daemons
523 Requires:       %{name} = %{epoch}:%{version}-%{release}
524
525 %description vfs-audit
526 A simple module to audit file access to the syslog facility. The
527 following operations are logged:
528  - share connect/disconnect,
529  - directory opens/create/remove,
530  - file open/close/rename/unlink/chmod.
531
532 %description vfs-audit -l pl.UTF-8
533 Proste moduły do monitorowania dostępu do plików na serwerze samba do
534 do sysloga. Monitorowane są następujące operacje:
535  - podłączenie do/odłączenie od zasobu,
536  - otwarcie/utworzenie/zmiana nazwy katalogu,
537  - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
538
539 Zawiera moduły audit, extd_audit i full_audit.
540
541 %package vfs-cap
542 Summary:        VFS module for CAP and samba compatibility
543 Summary(pl.UTF-8):      Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
544 Group:          Networking/Daemons
545 Requires:       %{name} = %{epoch}:%{version}-%{release}
546
547 %description vfs-cap
548 Convert an incoming Shift-JIS character to the 3 byte hex
549 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
550 This is used for compatibility between Samba and CAP.
551
552 %description vfs-cap -l pl.UTF-8
553 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
554 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
555
556 %package vfs-default_quota
557 Summary:        VFS module to store default quotas in a specified quota record
558 Summary(pl.UTF-8):      Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
559 Group:          Networking/Daemons
560 Requires:       %{name} = %{epoch}:%{version}-%{release}
561
562 %description vfs-default_quota
563 This VFS modules stores default quotas in a specified quota record.
564
565 %description vfs-default_quota -l pl.UTF-8
566 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
567 limitów.
568
569 %package vfs-expand_msdfs
570 Summary:        VFS module for hosting a Microsoft Distributed File System Tree
571 Summary(pl.UTF-8):      Moduł VFS obsługi Microsoft Distributed File System
572 Group:          Networking/Daemons
573 Requires:       %{name} = %{epoch}:%{version}-%{release}
574
575 %description vfs-expand_msdfs
576 A VFS module for hosting a Microsoft Distributed File System Tree.
577
578 The Distributed File System (DFS) provides a means of separating the
579 logical view of files and directories that users see from the actual
580 physical locations of these resources on the network. It allows for
581 higher availability, smoother storage expansion, load balancing, and
582 so on.
583
584 %description vfs-expand_msdfs -l pl.UTF-8
585 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
586 File System.
587
588 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
589 plików i katalogów widocznych przez użytkowników z fizycznego
590 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
591 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
592
593 %package vfs-fake_perms
594 Summary:        VFS module to report read-only fires as writable
595 Summary(pl.UTF-8):      Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
596 Group:          Networking/Daemons
597 Requires:       %{name} = %{epoch}:%{version}-%{release}
598
599 %description vfs-fake_perms
600 This module allow Roaming Profile files and directories to be set (on
601 the Samba server under UNIX) as read only. This module will, if
602 installed on the Profiles share, report to the client that the Profile
603 files and directories are writeable. This satisfies the client even
604 though the files will never be overwritten as the client logs out or
605 shuts down.
606
607 %description vfs-fake_perms -l pl.UTF-8
608 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
609 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
610 przypadku zainstalowania na udziale z profilami będzie zgłaszał
611 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
612 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
613 lub wylogowywaniu klienta.
614
615 %package vfs-notify_fam
616 Summary:        VFS module to implement  file  change  notifications
617 Summary(pl.UTF-8):      Moduł VFS implementujący informowanie o zmianach w plikach
618 Group:          Networking/Daemons
619 Requires:       %{name} = %{epoch}:%{version}-%{release}
620
621 %description vfs-notify_fam
622 The vfs_notify_fam module makes use of the system FAM (File Alteration
623 Monitor) daemon to implement file change notifications for Windows
624 clients.
625
626 %description vfs-notify_fam -l pl.UTF-8
627 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
628 informowania o zmianach w plikach dla klientów Windows.
629
630 %package vfs-netatalk
631 Summary:        VFS module for ease co-existence of samba and netatalk
632 Summary(pl.UTF-8):      Moduł VFS ułatwiający współpracę serwisów samba i netatalk
633 Group:          Networking/Daemons
634 Requires:       %{name} = %{epoch}:%{version}-%{release}
635
636 %description vfs-netatalk
637 Package contains a netatalk VFS module for ease co-existence of Samba
638 and netatalk file sharing services.
639
640 %description vfs-netatalk -l pl.UTF-8
641 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
642 i netatalk przy udostępnianiu zasobów.
643
644 %package vfs-recycle
645 Summary:        VFS module to add recycle bin facility to a samba share
646 Summary(pl.UTF-8):      Moduł VFS dodający możliwość kosza do zasobu samby
647 Group:          Networking/Daemons
648 Requires:       %{name} = %{epoch}:%{version}-%{release}
649
650 %description vfs-recycle
651 VFS module to add recycle bin facility to a samba share.
652
653 %description vfs-recycle -l pl.UTF-8
654 Moduł VFS dodający możliwość kosza do zasobu samby.
655
656 %package vfs-readahead
657 Summary:        VFS module for pre-loading the kernel buffer cache
658 Summary(pl.UTF-8):      Moduł VFS do wczesnego odczytu danych do bufora cache jądra
659 Group:          Networking/Daemons
660 Requires:       %{name} = %{epoch}:%{version}-%{release}
661
662 %description vfs-readahead
663 This VFS module detects read requests at multiples of a given offset
664 (hex 0x80000 by default) and then tells the kernel via either the
665 readahead system call (on Linux) or the posix_fadvise system call to
666 pre-fetch this data into the buffer cache.
667
668 This module is useful for Windows Vista clients reading data using the
669 Windows Explorer program, which asynchronously does multiple file read
670 requests at offset boundaries of 0x80000 bytes.
671
672 %description vfs-readahead -l pl.UTF-8
673 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
674 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
675 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
676 wczesnego odczytu tych danych do bufora cache.
677
678 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
679 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
680 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
681 bajtów.
682
683 %package vfs-readonly
684 Summary:        VFS module for read-only limitation for specified share
685 Summary(pl.UTF-8):      Moduł VFS do ograniczania określonego udziału tylko do odczytu
686 Group:          Networking/Daemons
687 Requires:       %{name} = %{epoch}:%{version}-%{release}
688
689 %description vfs-readonly
690 This module performs a read-only limitation for specified share (or
691 all of them if it is loaded in a [global] section) based on period
692 definition in smb.conf.
693
694 %description vfs-readonly -l pl.UTF-8
695 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
696 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
697 oparciu o definicje okresów w smb.conf.
698
699 %package vfs-shadow_copy
700 Summary:        VFS module to make automatic copy of data in samba share
701 Summary(pl.UTF-8):      Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
702 Group:          Networking/Daemons
703 Requires:       %{name} = %{epoch}:%{version}-%{release}
704
705 %description vfs-shadow_copy
706 VFS module to make automatic copy of data in samba share.
707
708 %description vfs-shadow_copy -l pl.UTF-8
709 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
710
711 %package vfs-vscan-antivir
712 Summary:        On-access virus scanning for samba using AntiVir
713 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący AntiVir
714 Group:          Networking/Daemons
715 Requires:       %{name} = %{epoch}:%{version}-%{release}
716 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
717
718 %description vfs-vscan-antivir
719 A vfs-module for samba to implement on-access scanning using the
720 AntiVir antivirus software (which must be installed to use this).
721
722 %description vfs-vscan-antivir -l pl.UTF-8
723 Moduł vfs do samby implementujący skaning antywirusowy w czasie
724 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
725 (które musi być zainstalowane, aby wykorzystać ten moduł).
726
727 %package vfs-vscan-clamav
728 Summary:        On-access virus scanning for samba using ClamAV
729 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący ClamAV
730 Group:          Networking/Daemons
731 Requires:       %{name} = %{epoch}:%{version}-%{release}
732 Requires:       clamav
733 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
734
735 %description vfs-vscan-clamav
736 A vfs-module for samba to implement on-access scanning using the
737 ClamAV antivirus software (which must be installed to use this).
738
739 %description vfs-vscan-clamav -l pl.UTF-8
740 Moduł vfs do samby implementujący skaning antywirusowy w czasie
741 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
742 (które musi być zainstalowane, aby wykorzystać ten moduł).
743
744 %package vfs-vscan-fprot
745 Summary:        On-access virus scanning for samba using FPROT
746 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący FPROT
747 Group:          Networking/Daemons
748 Requires:       %{name} = %{epoch}:%{version}-%{release}
749 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
750 Obsoletes:      vscan-fprot
751
752 %description vfs-vscan-fprot
753 A vfs-module for samba to implement on-access scanning using the FPROT
754 antivirus software (which must be installed to use this).
755
756 %description vfs-vscan-fprot -l pl.UTF-8
757 Moduł vfs do samby implementujący skaning antywirusowy w czasie
758 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
759 (które musi być zainstalowane, aby wykorzystać ten moduł).
760
761 %package vfs-vscan-fsav
762 Summary:        On-access virus scanning for samba using F-Secure AntiVirus
763 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
764 Group:          Networking/Daemons
765 Requires:       %{name} = %{epoch}:%{version}-%{release}
766 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
767 Obsoletes:      vscan-fsav
768
769 %description vfs-vscan-fsav
770 A vfs-module for samba to implement on-access scanning using the
771 F-Secure AntiVirus antivirus software (which must be installed to use
772 this).
773
774 %description vfs-vscan-fsav -l pl.UTF-8
775 Moduł vfs do samby implementujący skaning antywirusowy w czasie
776 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
777 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
778
779 %package vfs-vscan-kavp
780 Summary:        On-access virus scanning for samba using Kaspersky AVP
781 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący Kaspersky AVP
782 Group:          Networking/Daemons
783 Requires:       %{name} = %{epoch}:%{version}-%{release}
784 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
785 Obsoletes:      vscan-kavp
786
787 %description vfs-vscan-kavp
788 A vfs-module for samba to implement on-access scanning using the
789 Kaspersky AVP antivirus software (which must be installed to use
790 this).
791
792 %description vfs-vscan-kavp -l pl.UTF-8
793 Moduł vfs do samby implementujący skaning antywirusowy w czasie
794 dostępu do plików korzystając z oprogramowania antywirusowego
795 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
796 moduł).
797
798 %package vfs-vscan-mcafee
799 Summary:        On-access virus scanning for samba using mcafee
800 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący mcafee
801 Group:          Networking/Daemons
802 Requires:       %{name} = %{epoch}:%{version}-%{release}
803 #Requires:      mcafee
804 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
805 Obsoletes:      vscan-mcafee
806
807 %description vfs-vscan-mcafee
808 A vfs-module for samba to implement on-access scanning using the
809 mcafee antivirus software (which must be installed to use this).
810
811 %description vfs-vscan-mcafee -l pl.UTF-8
812 Moduł vfs do samby implementujący skaning antywirusowy w czasie
813 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
814 (które musi być zainstalowane, aby wykorzystać ten moduł).
815
816 %package vfs-vscan-mks
817 Summary:        On-access virus scanning for samba using mks
818 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący mks
819 Group:          Networking/Daemons
820 Requires:       %{name} = %{epoch}:%{version}-%{release}
821 Requires:       mksd
822 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
823 Obsoletes:      vscan-mks
824
825 %description vfs-vscan-mks
826 A vfs-module for samba to implement on-access scanning using the mks
827 antivirus software (which must be installed to use this).
828
829 %description vfs-vscan-mks -l pl.UTF-8
830 Moduł vfs do samby implementujący skaning antywirusowy w czasie
831 dostępu do plików korzystając z oprogramowania antywirusowego mks
832 (które musi być zainstalowane, aby wykorzystać ten moduł).
833
834 %package vfs-vscan-openantivirus
835 Summary:        On-access virus scanning for samba using OpenAntivirus
836 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący OpenAntiVirus
837 Group:          Networking/Daemons
838 Requires:       %{name} = %{epoch}:%{version}-%{release}
839 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
840 Obsoletes:      vscan-openantivirus
841
842 %description vfs-vscan-openantivirus
843 A vfs-module for samba to implement on-access scanning using the
844 OpenAntivirus antivirus software (which must be installed to use
845 this).
846
847 %description vfs-vscan-openantivirus -l pl.UTF-8
848 Moduł vfs do samby implementujący skaning antywirusowy w czasie
849 dostępu do plików korzystając z oprogramowania antywirusowego
850 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
851 moduł).
852
853 %package vfs-vscan-sophos
854 Summary:        On-access virus scanning for samba using Sophos
855 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący Sophos
856 Group:          Networking/Daemons
857 Requires:       %{name} = %{epoch}:%{version}-%{release}
858 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
859 Obsoletes:      vscan-sophos
860
861 %description vfs-vscan-sophos
862 A vfs-module for samba to implement on-access scanning using the
863 Sophos antivirus software (which must be installed to use this).
864
865 %description vfs-vscan-sophos -l pl.UTF-8
866 Moduł vfs do samby implementujący skaning antywirusowy w czasie
867 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
868 (które musi być zainstalowane, aby wykorzystać ten moduł).
869
870 %package vfs-vscan-symantec
871 Summary:        On-access virus scanning for samba using Symantec
872 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący Symantec
873 Group:          Networking/Daemons
874 Requires:       %{name} = %{epoch}:%{version}-%{release}
875 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
876 Obsoletes:      vscan-symantec
877
878 %description vfs-vscan-symantec
879 A vfs-module for samba to implement on-access scanning using the
880 Symantec antivirus software (which must be installed to use this).
881
882 %description vfs-vscan-symantec -l pl.UTF-8
883 Moduł vfs do samby implementujący skaning antywirusowy w czasie
884 dostępu do plików korzystając z oprogramowania antywirusowego firmy
885 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
886
887 %package vfs-vscan-trend
888 Summary:        On-access virus scanning for samba using Trend
889 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący Trend
890 Group:          Networking/Daemons
891 Requires:       %{name} = %{epoch}:%{version}-%{release}
892 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
893 Obsoletes:      vscan-trend
894
895 %description vfs-vscan-trend
896 A vfs-module for samba to implement on-access scanning using the Trend
897 antivirus software (which must be installed to use this).
898
899 %description vfs-vscan-trend -l pl.UTF-8
900 Moduł vfs do samby implementujący skaning antywirusowy w czasie
901 dostępu do plików korzystając z oprogramowania antywirusowego Trend
902 (które musi być zainstalowane, aby wykorzystać ten moduł).
903
904 %package -n openldap-schema-samba
905 Summary:        Samba LDAP schema
906 Summary(pl.UTF-8):      Schemat LDAP dla samby
907 Group:          Networking/Daemons
908 Requires(post,postun):  sed >= 4.0
909 Requires:       openldap-servers
910
911 %description -n openldap-schema-samba
912 This package contains samba.schema for openldap.
913
914 %description -n openldap-schema-samba -l pl.UTF-8
915 Ten pakiet zawiera schemat samby dla openldap-a.
916
917 %package doc-html
918 Summary:        Samba HTML documentation
919 Summary(pl.UTF-8):      Documentacja samby w formacie HTML
920 Group:          Documentation
921
922 %description doc-html
923 Samba HTML documentation.
924
925 %description doc-html -l pl.UTF-8
926 Documentacja samby w formacie HTML.
927
928 %package doc-pdf
929 Summary:        Samba documentation - PDF format
930 Summary(pl.UTF-8):      Documentacja samby w formacie PDF
931 Group:          Documentation
932
933 %description doc-pdf
934 Samba PDF documentation.
935
936 %description doc-pdf -l pl.UTF-8
937 Documentacja samby w formacie PDF.
938
939 %package -n python-samba
940 Summary:        Samba Module for Python
941 Group:          Development/Languages/Python
942 %pyrequires_eq  python
943 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
944
945 %description -n python-samba
946 Samba Module for Python.
947
948 %prep
949 %setup -q
950 %patch0 -p1
951 %patch1 -p1
952 %patch2 -p1
953 %patch3 -p1
954 %patch4 -p1
955 %patch5 -p1
956 %patch6 -p1
957
958 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
959
960 cd examples/VFS
961 tar xzf %{SOURCE7}
962 mv README{,.vfs}
963 cd ../..
964
965 %build
966 cd source3
967 %{__libtoolize}
968 %{__autoconf} -Im4 -I../m4 -I../lib/replace -Ilib/replace -I../source4
969 %configure \
970         --with-modulesdir=%{_sambalibdir} \
971         --with-rootsbindir=/sbin \
972         --with-pammodulesdir=/%{_lib}/security \
973         --with-acl-support \
974         --with-aio-support \
975         --with-automount \
976         --with-libsmbclient \
977         --with-lockdir=/var/lib/samba \
978         --with-pam \
979         --with-pam_smbpass \
980         --with%{!?with_ads:out}-ads \
981         --with-privatedir=%{_sysconfdir}/samba \
982         --with-quotas \
983         --with-readline \
984         --with-swatdir=%{_datadir}/swat \
985         --with-syslog \
986         --with-utmp \
987         --with-fhs \
988         --without-included-popt \
989         --enable-merged-build \
990         --enable-automatic-dependencies \
991         --enable-dso \
992         --enable-avahi \
993         --disable-dnssd \
994         --with%{!?with_ldap:out}-ldap \
995         --with%{!?with_kerberos5:out}-krb5
996
997 %{__make} -j1 everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
998
999 cd ../examples
1000 %{__make} -C libsmbclient/smbwrapper \
1001         CC="%{__cc}" \
1002         CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1003
1004 cd VFS
1005 %{__autoheader}
1006 %{__autoconf}
1007 %configure \
1008         CFLAGS="%{rpmcflags} -fPIC"
1009 %{__make}
1010
1011 %if %{with vscan}
1012 cd samba-vscan-%{vscan_version}
1013 cp -f /usr/share/automake/config.sub .
1014 %configure
1015 ln -s ../../../source3/lib .
1016 %{__make} all
1017 %endif
1018
1019 %install
1020 rm -rf $RPM_BUILD_ROOT
1021 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1022         $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1023         $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1024         $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1025
1026 %{__make} -C source3 install \
1027         DESTDIR=$RPM_BUILD_ROOT \
1028         CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1029
1030 install source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1031
1032 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1033 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1034 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1035 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1036 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1037 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1038 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1039 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1040
1041 install nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1042 ln -s libnss_winbind.so.2               $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1043 install nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1044 ln -s libnss_wins.so.2                  $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1045 install source3/bin/wbinfo              $RPM_BUILD_ROOT%{_bindir}
1046 install source3/bin/smbget              $RPM_BUILD_ROOT%{_bindir}
1047 install source3/bin/vfstest             $RPM_BUILD_ROOT%{_bindir}
1048
1049 install source3/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1050
1051 # smbwrapper
1052 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1053 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1054 install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1055
1056 # these are needed to build samba-pdbsql
1057 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1058 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1059 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1060 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1061
1062 %if %{with vscan}
1063 # vscan modules
1064 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1065 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
1066 %endif
1067
1068 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1069
1070 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1071
1072 %if %{with cups}
1073 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1074 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1075 %endif
1076
1077 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1078 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1079
1080 # we have this utility in tdb package
1081 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdb{backup,dump}*,%{_mandir}/man8/tdb{backup,dump}.8*}
1082
1083 # unneeded
1084 rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
1085
1086 # tests
1087 rm -r $RPM_BUILD_ROOT%{_bindir}/{gentest4,locktest4,masktest4,nsstest4}
1088
1089 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1090 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool4 $RPM_BUILD_ROOT%{_bindir}/tdbtool4_samba
1091
1092 %if %{with ldap}
1093 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1094 %endif
1095
1096 %find_lang pam_winbind
1097
1098 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1099 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
1100 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1101
1102 %clean
1103 rm -rf $RPM_BUILD_ROOT
1104
1105 %post
1106 /sbin/chkconfig --add smb
1107 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1108         echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1109         /sbin/service smb stop >&2
1110         mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1111         mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1112         if [ -d /var/lock/samba/printing ]; then
1113                 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1114         fi
1115         /sbin/service smb start >&2
1116 else
1117         %service smb restart "Samba daemons"
1118 fi
1119
1120 %preun
1121 if [ "$1" = "0" ]; then
1122         %service smb stop
1123         /sbin/chkconfig --del smb
1124 fi
1125
1126 %post winbind
1127 /sbin/chkconfig --add winbind
1128 %service winbind restart "Winbind daemon"
1129
1130 %preun winbind
1131 if [ "$1" = "0" ]; then
1132         %service winbind stop
1133         /sbin/chkconfig --del winbind
1134 fi
1135
1136 %post swat
1137 %service -q rc-inetd reload
1138
1139 %postun swat
1140 if [ "$1" = 0 ]; then
1141         %service -q rc-inetd reload
1142 fi
1143
1144 %post -n openldap-schema-samba
1145 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1146 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1147 %service -q ldap restart
1148
1149 %postun -n openldap-schema-samba
1150 if [ "$1" = "0" ]; then
1151         %openldap_schema_unregister %{schemadir}/samba.schema
1152         %service -q ldap restart
1153 fi
1154
1155 %triggerpostun -- samba < 1.9.18p7
1156 if [ "$1" != "0" ]; then
1157         /sbin/chkconfig --add smb
1158 fi
1159
1160 %triggerpostun -- samba < 3.4.0
1161 %banner %{name} << EOF
1162 !!! WARNING !!! The default passdb backend has been changed to 'tdbsam'!
1163 That breaks existing setups using the 'smbpasswd' backend without explicit declaration!
1164 Please use 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
1165 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e tdbsam'.
1166 EOF
1167
1168 %files
1169 %defattr(644,root,root,755)
1170 %attr(755,root,root) %{_sbindir}/nmbd
1171 %attr(755,root,root) %{_sbindir}/smbd
1172 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1173 %attr(755,root,root) %{_bindir}/ad2oLschema4
1174 %attr(755,root,root) %{_bindir}/oLschema2ldif4
1175 %attr(755,root,root) %{_bindir}/ldb*
1176 %attr(755,root,root) %{_bindir}/reg*
1177 # "This utility disabled until rewritten"
1178 #%attr(755,root,root) %{_bindir}/setnttoken4
1179 %attr(755,root,root) %{_bindir}/smbstatus
1180 %attr(755,root,root) %{_bindir}/smbpasswd
1181 %attr(755,root,root) %{_bindir}/smbcontrol
1182 %attr(755,root,root) %{_bindir}/tdbtool_samba
1183
1184 %dir %{_libdir}/%{name}/pdb
1185 %dir %{_vfsdir}
1186 %attr(755,root,root) %{_vfsdir}/acl_tdb.so
1187 %attr(755,root,root) %{_vfsdir}/acl_xattr.so
1188 %attr(755,root,root) %{_vfsdir}/aio_fork.so
1189 %attr(755,root,root) %{_vfsdir}/dirsort.so
1190 %attr(755,root,root) %{_vfsdir}/fileid.so
1191 %attr(755,root,root) %{_vfsdir}/preopen.so
1192 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1193 %attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1194 %attr(755,root,root) %{_vfsdir}/streams_depot.so
1195 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1196 %attr(755,root,root) %{_vfsdir}/syncops.so
1197 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1198 %{_mandir}/man8/vfs_acl_tdb.8*
1199 %{_mandir}/man8/vfs_acl_xattr.8*
1200 %{_mandir}/man8/vfs_dirsort.8*
1201 %{_mandir}/man8/vfs_fileid.8*
1202 %{_mandir}/man8/vfs_preopen.8*
1203 %{_mandir}/man8/vfs_shadow_copy2.8*
1204 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1205 %{_mandir}/man8/vfs_streams_xattr.8*
1206 %{_mandir}/man8/vfs_streams_depot.8*
1207 %{_mandir}/man8/vfs_xattr_tdb.8*
1208
1209
1210 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1211 %attr(754,root,root) /etc/rc.d/init.d/smb
1212 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1213 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1214 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1215 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1216 %{_mandir}/man1/ldb*.1*
1217 %{_mandir}/man1/log2pcap.1*
1218 %{_mandir}/man1/smbstatus.1*
1219 %{_mandir}/man1/smbcontrol.1*
1220 %{_mandir}/man5/smbpasswd.5*
1221 %{_mandir}/man7/samba.7*
1222 %{_mandir}/man8/nmbd.8*
1223 %{_mandir}/man8/smbd.8*
1224 %{_mandir}/man8/smbpasswd.8*
1225
1226 %dir %{_sambahome}
1227 %dir /var/lib/samba
1228 %ghost /var/lib/samba/*.dat
1229 %dir /var/lib/samba/printing
1230
1231 %attr(750,root,root) %dir /var/log/samba
1232 %attr(750,root,root) %dir /var/log/samba/cores
1233 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1234 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1235 %attr(750,root,root) %dir /var/log/archive/samba
1236 %attr(1777,root,root) %dir /var/spool/samba
1237 %if %{with ldap}
1238 %doc examples/LDAP
1239 %endif
1240
1241 %files winbind -f pam_winbind.lang
1242 %defattr(644,root,root,755)
1243 %attr(755,root,root) %{_sbindir}/winbindd
1244 %attr(755,root,root) %{_bindir}/wbinfo
1245 %attr(755,root,root) %{_bindir}/wbinfo4
1246 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1247 %attr(755,root,root) /%{_lib}/libnss_winbind*
1248 %attr(754,root,root) /etc/rc.d/init.d/winbind
1249 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1250 %{_mandir}/man1/wbinfo*.1*
1251 %{_mandir}/man8/pam_winbind.8*
1252 %{_mandir}/man8/winbindd*.8*
1253
1254 %files -n nss_wins
1255 %defattr(644,root,root,755)
1256 %attr(755,root,root) /%{_lib}/libnss_wins*
1257
1258 %files client
1259 %defattr(644,root,root,755)
1260 %attr(755,root,root) /sbin/mount.cifs
1261 %attr(755,root,root) /sbin/umount.cifs
1262 %attr(755,root,root) %{_bindir}/cifsdd4
1263 %attr(755,root,root) %{_bindir}/findsmb
1264 %attr(755,root,root) %{_bindir}/net
1265 %attr(755,root,root) %{_bindir}/net4
1266 %attr(755,root,root) %{_bindir}/nmblookup
1267 %attr(755,root,root) %{_bindir}/nmblookup4
1268 %attr(755,root,root) %{_bindir}/rpcclient
1269 %attr(755,root,root) %{_bindir}/sharesec
1270 %attr(755,root,root) %{_bindir}/smbcacls
1271 %attr(755,root,root) %{_bindir}/smbclient
1272 %attr(755,root,root) %{_bindir}/smbclient4
1273 %attr(755,root,root) %{_bindir}/smbsh
1274 %attr(755,root,root) %{_bindir}/smbtar
1275 %attr(755,root,root) %{_bindir}/smbtree
1276 %attr(755,root,root) %{_sbindir}/cifs.upcall
1277 %attr(755,root,root) %{_libdir}/smbwrapper.so
1278 %{_mandir}/man1/findsmb.1*
1279 %{_mandir}/man1/nmblookup.1*
1280 %{_mandir}/man1/rpcclient.1*
1281 %{_mandir}/man1/sharesec.1*
1282 %{_mandir}/man1/smbcacls.1*
1283 %{_mandir}/man1/smbclient.1*
1284 %{_mandir}/man1/smbsh.1*
1285 %{_mandir}/man1/smbtar.1*
1286 %{_mandir}/man1/smbtree.1*
1287 %{_mandir}/man8/cifs.upcall.8*
1288 %{_mandir}/man8/net.8*
1289 %{_mandir}/man8/*mount.cifs.8*
1290
1291 %files common
1292 %defattr(644,root,root,755)
1293 %doc README Manifest WHATSNEW.txt
1294 %doc Roadmap docs/registry/*
1295 %doc docs/{history,THANKS}
1296 %dir %{_sysconfdir}/samba
1297 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1298 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1299 %attr(755,root,root) %{_bindir}/eventlogadm
1300 %attr(755,root,root) %{_bindir}/getntacl4
1301 %attr(755,root,root) %{_bindir}/ndrdump4
1302 %attr(755,root,root) %{_bindir}/ntlm_auth
1303 %attr(755,root,root) %{_bindir}/ntlm_auth4
1304 %attr(755,root,root) %{_bindir}/pdbedit
1305 %attr(755,root,root) %{_bindir}/profiles
1306 %attr(755,root,root) %{_bindir}/smbcquotas
1307 %attr(755,root,root) %{_bindir}/testparm
1308 %attr(755,root,root) %{_bindir}/testparm4
1309 %attr(755,root,root) %{_bindir}/vfstest
1310 %dir %{_libdir}/%{name}
1311 %{_libdir}/%{name}/*.dat
1312 %dir %{_libdir}/%{name}/auth
1313 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1314 %dir %{_libdir}/%{name}/charset
1315 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1316 %{_mandir}/man1/ntlm_auth.1*
1317 %{_mandir}/man1/profiles.1*
1318 %{_mandir}/man1/smbcquotas.1*
1319 %{_mandir}/man1/testparm.1*
1320 %{_mandir}/man1/vfstest.1*
1321 #%{_mandir}/man1/log2pcap.1*
1322 %{_mandir}/man5/lmhosts.5*
1323 %{_mandir}/man5/smb.conf.5*
1324 %{_mandir}/man8/pdbedit.8*
1325 %{_mandir}/man8/eventlogadm.8*
1326 %{_mandir}/man8/idmap_ad.8*
1327 %{_mandir}/man8/idmap_adex.8*
1328 %{_mandir}/man8/idmap_hash.8*
1329 %{_mandir}/man8/idmap_ldap.8*
1330 %{_mandir}/man8/idmap_nss.8*
1331 %{_mandir}/man8/idmap_rid.8*
1332 %{_mandir}/man8/idmap_tdb.8*
1333 %{_mandir}/man8/idmap_tdb2.8*
1334 %{_mandir}/man8/tdbtool.8*
1335
1336 %files swat
1337 %defattr(644,root,root,755)
1338 #%doc swat/README* swat/help/*
1339 %doc swat/help/*
1340 %attr(755,root,root) %{_sbindir}/swat
1341 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1342 %dir %{_datadir}/swat
1343 %{_datadir}/swat/help
1344 %{_datadir}/swat/images
1345 %{_datadir}/swat/include
1346 %dir %{_datadir}/swat/lang
1347 %lang(ja) %{_datadir}/swat/lang/ja
1348 %lang(tr) %{_datadir}/swat/lang/tr
1349 %lang(de) %{_libdir}/%{name}/de.msg
1350 %{_libdir}/%{name}/en.msg
1351 %lang(fi) %{_libdir}/%{name}/fi.msg
1352 %lang(fr) %{_libdir}/%{name}/fr.msg
1353 %lang(it) %{_libdir}/%{name}/it.msg
1354 %lang(ja) %{_libdir}/%{name}/ja.msg
1355 %lang(nl) %{_libdir}/%{name}/nl.msg
1356 %lang(pl) %{_libdir}/%{name}/pl.msg
1357 %lang(ru) %{_libdir}/%{name}/ru.msg
1358 %lang(tr) %{_libdir}/%{name}/tr.msg
1359 %{_mandir}/man8/swat.8*
1360
1361 %files -n pam-pam_smbpass
1362 %defattr(644,root,root,755)
1363 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1364 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1365
1366 %files -n libsmbclient
1367 %defattr(644,root,root,755)
1368 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1369 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1370 %{_mandir}/man7/libsmbclient.7*
1371
1372 %files -n libsmbclient-devel
1373 %defattr(644,root,root,755)
1374 %attr(755,root,root) %{_libdir}/libsmbclient.so
1375 %attr(755,root,root) %{_libdir}/libwbclient.so
1376 %{_includedir}/libsmbclient.h
1377 %{_includedir}/wbclient.h
1378
1379 %files -n libtalloc
1380 %defattr(644,root,root,755)
1381 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1382
1383 %files -n libtalloc-devel
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_libdir}/libtalloc.so
1386 %{_includedir}/talloc.h
1387
1388 %files devel
1389 %defattr(644,root,root,755)
1390 %{_includedir}/%{name}
1391
1392 %files -n libsmbclient-static
1393 %defattr(644,root,root,755)
1394 %{_libdir}/libsmbclient.a
1395
1396 %files -n smbget
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_bindir}/smbget
1399 %{_mandir}/man1/smbget.1*
1400 %{_mandir}/man5/smbgetrc.5*
1401
1402 %if %{with cups}
1403 %files -n cups-backend-smb
1404 %defattr(644,root,root,755)
1405 %attr(755,root,root) %{_bindir}/smbspool
1406 %attr(755,root,root) %{cups_serverbin}/backend/smb
1407 %{_mandir}/man8/smbspool.8*
1408 %endif
1409
1410 %files vfs-audit
1411 %defattr(644,root,root,755)
1412 %attr(755,root,root) %{_vfsdir}/audit.so
1413 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1414 %attr(755,root,root) %{_vfsdir}/full_audit.so
1415 %{_mandir}/man8/vfs_audit.8*
1416 %{_mandir}/man8/vfs_extd_audit.8*
1417 %{_mandir}/man8/vfs_full_audit.8*
1418
1419 %files vfs-cap
1420 %defattr(644,root,root,755)
1421 %attr(755,root,root) %{_vfsdir}/cap.so
1422 %{_mandir}/man8/vfs_cap.8*
1423
1424 %files vfs-default_quota
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_vfsdir}/default_quota.so
1427 %{_mandir}/man8/vfs_default_quota.8*
1428
1429 %files vfs-expand_msdfs
1430 %defattr(644,root,root,755)
1431 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1432
1433 %files vfs-fake_perms
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1436 %{_mandir}/man8/vfs_fake_perms.8*
1437
1438 %files vfs-notify_fam
1439 %defattr(644,root,root,755)
1440 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1441 %{_mandir}/man8/vfs_notify_fam.8*
1442
1443 %files vfs-netatalk
1444 %defattr(644,root,root,755)
1445 %attr(755,root,root) %{_vfsdir}/netatalk.so
1446 %{_mandir}/man8/vfs_netatalk.8*
1447
1448 %files vfs-readahead
1449 %defattr(644,root,root,755)
1450 %attr(755,root,root) %{_vfsdir}/readahead.so
1451 %{_mandir}/man8/vfs_readahead.8*
1452
1453 %files vfs-readonly
1454 %defattr(644,root,root,755)
1455 %attr(755,root,root) %{_vfsdir}/readonly.so
1456 %{_mandir}/man8/vfs_readonly.8*
1457
1458 %files vfs-recycle
1459 %defattr(644,root,root,755)
1460 %attr(755,root,root) %{_vfsdir}/recycle.so
1461 %{_mandir}/man8/vfs_recycle.8*
1462
1463 %files vfs-shadow_copy
1464 %defattr(644,root,root,755)
1465 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1466 %{_mandir}/man8/vfs_shadow_copy.8*
1467
1468 %if %{with vscan}
1469 %files vfs-vscan-antivir
1470 %defattr(644,root,root,755)
1471 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1472 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1473 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1474
1475 %files vfs-vscan-clamav
1476 %defattr(644,root,root,755)
1477 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1478 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1479 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1480
1481 %files vfs-vscan-fprot
1482 %defattr(644,root,root,755)
1483 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1484 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1485 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1486
1487 %files vfs-vscan-fsav
1488 %defattr(644,root,root,755)
1489 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1490 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1491 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1492
1493 %files vfs-vscan-kavp
1494 %defattr(644,root,root,755)
1495 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1496 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1497 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1498
1499 %files vfs-vscan-mcafee
1500 %defattr(644,root,root,755)
1501 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1502 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1503 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1504
1505 %if %{with mks}
1506 %ifarch %{ix86} %{x8664}
1507 %files vfs-vscan-mks
1508 %defattr(644,root,root,755)
1509 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1510 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1511 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1512 %endif
1513 %endif
1514
1515 %files vfs-vscan-openantivirus
1516 %defattr(644,root,root,755)
1517 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1518 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1519 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1520
1521 %files vfs-vscan-sophos
1522 %defattr(644,root,root,755)
1523 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1524 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1525 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1526
1527 %files vfs-vscan-symantec
1528 %defattr(644,root,root,755)
1529 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1530 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1531 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1532
1533 %files vfs-vscan-trend
1534 %defattr(644,root,root,755)
1535 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1536 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1537 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1538 %endif
1539
1540 %if %{with ldap}
1541 %files -n openldap-schema-samba
1542 %defattr(644,root,root,755)
1543 %{schemadir}/*.schema
1544 %endif
1545
1546 %files doc-html
1547 %defattr(644,root,root,755)
1548 %doc docs/htmldocs/*
1549
1550 %files doc-pdf
1551 %defattr(644,root,root,755)
1552 %doc docs/*.pdf
1553
1554 %files -n python-samba
1555 %defattr(644,root,root,755)
1556 %attr(755,root,root) %{py_sitedir}/*.so
1557 %dir %{py_sitedir}/samba
1558 %attr(755,root,root) %{py_sitedir}/samba/*.so
1559 %{py_sitedir}/samba/*.py[co]
1560 %dir %{py_sitedir}/samba/dcerpc
1561 %{py_sitedir}/samba/dcerpc/*.py[co]
1562 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1563 %dir %{py_sitedir}/samba/tests
1564 %{py_sitedir}/samba/tests/*.py[co]
1565 %dir %{py_sitedir}/samba/tests/dcerpc
1566 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1567 %dir %{py_sitedir}/samba/torture
1568 %{py_sitedir}/samba/torture/*.py[co]
This page took 0.17965 seconds and 4 git commands to generate.