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