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