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