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