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