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