]> git.pld-linux.org Git - packages/samba.git/blob - samba.spec
- get PATH_MAX definition
[packages/samba.git] / samba.spec
1 # TODO:
2 # - look into other distro specs for valid %descriptions for samba 3
3 # - unpackaged man pages for modules that are not built by default,
4 #   maybe we should build them?
5 #   /usr/share/man/man8/vfs_cacheprime.8*
6 #   /usr/share/man/man8/vfs_catia.8*
7 #   /usr/share/man/man8/vfs_commit.8*
8 #   /usr/share/man/man8/vfs_gpfs.8*
9 #   /usr/share/man/man8/vfs_notify_fam.8*
10 #   /usr/share/man/man8/vfs_prealloc.8*
11 # - libmsrpc.so is broken (references smbc_attr_server() which is no longer exported from libsmbclient)
12 #
13 # Conditional build:
14 %bcond_without  ads             # without ActiveDirectory support
15 %bcond_without  cups            # without CUPS support
16 %bcond_without  kerberos5       # without Kerberos V support
17 %bcond_without  ldap            # without LDAP support
18 %bcond_without  python          # without python libs/utils
19 %bcond_with             mks             # with vfs-mks (mksd dependency not distributale)
20
21 # ADS requires kerberos5 and LDAP
22 %if !%{with kerberos5} || !%{with ldap}
23 %undefine       with_ads
24 %endif
25 %define         vscan_version 0.3.6c-beta5
26 Summary:        SMB server
27 Summary(cs.UTF-8):      Server SMB
28 Summary(da.UTF-8):      SMB server
29 Summary(de.UTF-8):      SMB-Server
30 Summary(es.UTF-8):      El servidor SMB
31 Summary(fi.UTF-8):      SMB-palvelin
32 Summary(fr.UTF-8):      Serveur SMB
33 Summary(it.UTF-8):      Server SMB
34 Summary(ja.UTF-8):      Samba SMB サーバー
35 Summary(ko.UTF-8):      삼바 SMB 서버
36 Summary(pl.UTF-8):      Serwer SMB
37 Summary(pt_BR.UTF-8):   Cliente e servidor SMB
38 Summary(ru.UTF-8):      SMB клиент и сервер
39 Summary(tr.UTF-8):      SMB sunucusu
40 Summary(uk.UTF-8):      SMB клієнт та сервер
41 Summary(zh_CN.UTF-8):   Samba 客户端和服务器
42 Name:           samba
43 Version:        3.0.28a
44 Release:        2
45 Epoch:          1
46 License:        GPL v2
47 Group:          Networking/Daemons
48 Source0:        http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
49 # Source0-md5:  59754cb0c19da6e65c42d0a163c5885a
50 Source1:        smb.init
51 Source2:        %{name}.pamd
52 Source3:        swat.inetd
53 Source4:        %{name}.sysconfig
54 Source5:        %{name}.logrotate
55 Source6:        smb.conf
56 Source7:        http://www.openantivirus.org/download/%{name}-vscan-%{vscan_version}.tar.gz
57 # Source7-md5:  8f1dd119172e04e6d7c2d05526a4cf8b
58 Source8:        winbind.init
59 Source9:        winbind.sysconfig
60 Patch0:         %{name}-lib64.patch
61 Patch1:         %{name}-smbwrapper.patch
62 Patch2:         %{name}-c++-nofail.patch
63 Patch3:         %{name}-pthread.patch
64 Patch4:         %{name}-libsmbclient-libnscd_link.patch
65 Patch5:         %{name}-doc.patch
66 Patch6:         %{name}-libs-needed.patch
67 Patch7:         %{name}-lprng-no-dot-printers.patch
68 Patch8:         %{name}-cap.patch
69 Patch9:         %{name}-printerlocation.patch
70 URL:            http://www.samba.org/
71 BuildRequires:  acl-devel
72 BuildRequires:  autoconf
73 BuildRequires:  automake
74 %{?with_cups:BuildRequires:     cups-devel >= 1:1.2.0}
75 BuildRequires:  dmapi-devel
76 BuildRequires:  fam-devel
77 BuildRequires:  iconv
78 %{?with_kerberos5:BuildRequires:        krb5-devel}
79 BuildRequires:  libmagic-devel
80 BuildRequires:  libnscd-devel
81 BuildRequires:  libtool >= 2:1.4d
82 BuildRequires:  ncurses-devel >= 5.2
83 %{?with_ldap:BuildRequires:     openldap-devel >= 2.3.0}
84 BuildRequires:  openssl-devel >= 0.9.7d
85 BuildRequires:  pam-devel >= 0.99.8.1
86 BuildRequires:  popt-devel
87 %{?with_pgsql:BuildRequires:    postgresql-devel}
88 %if %{with python}
89 BuildRequires:  python-devel
90 BuildRequires:  rpm-pythonprov
91 %endif
92 BuildRequires:  readline-devel >= 4.2
93 BuildRequires:  rpmbuild(macros) >= 1.304
94 BuildRequires:  sed >= 4.0
95 BuildRequires:  xfsprogs-devel
96 Requires(post,preun):   /sbin/chkconfig
97 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
98 Requires:       logrotate >= 3.7-4
99 Requires:       pam >= 0.99.8.1
100 Requires:       rc-scripts
101 Requires:       setup >= 2.4.6-7
102 # smbd links with libcups
103 %{?with_cups:Requires:  cups-lib >= 1:1.2.0}
104 Obsoletes:      samba-pdb-xml
105 Obsoletes:      samba-vfs-block
106 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
107
108 %define         _vfsdir         %{_libdir}/%{name}/vfs
109 %define         _sambahome      /home/services/samba
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 %{?with_kerberos5:Requires:     krb5-libs}
317 Obsoletes:      mount-cifs
318 Obsoletes:      smbfs
319
320 %description client
321 Samba-client provides some SMB clients, which complement the build-in
322 SMB filesystem in Linux. These allow accessing of SMB shares and
323 printing to SMB printers.
324
325 %description client -l pt_BR.UTF-8
326 O pacote samba-clientes prove alguns clientes SMB, que complementam o
327 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
328 e também, à impressoras SMB.
329
330 %description client -l es.UTF-8
331 Cliente SMB de Samba.
332
333 %description client -l ja.UTF-8
334 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
335 クライアントを提供します。これらは SMB 共有のアクセスと SMB
336 プリンタへの印刷を許可します。
337
338 %description client -l pl.UTF-8
339 Samba-client dostarcza programy uzupełniające obsługę systemu plików
340 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
341 drukowanie w sieci SMB.
342
343 %description client -l pt_BR.UTF-8
344 O pacote samba-clientes prove alguns clientes SMB, que complementam o
345 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
346 e também, à impressoras SMB.
347
348 %description client -l ru.UTF-8
349 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
350 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
351 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
352
353 %description client -l uk.UTF-8
354 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
355 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
356 до каталогів спільного використання SMB та друк на SMB-прінтери.
357
358 %package common
359 Summary:        Files used by both Samba servers and clients
360 Summary(ja.UTF-8):      Samba サーバーとクライアントで使用されるプログラム
361 Summary(pl.UTF-8):      Pliki używane przez serwer i klientów Samba
362 Summary(pt_BR.UTF-8):   Arquivos em comum entre samba e samba-clients
363 Summary(ru.UTF-8):      Файлы, используемые как сервером, так и клиентом Samba
364 Summary(uk.UTF-8):      Файли, що використовуються як сервером, так і клієнтом Samba
365 Group:          Networking/Daemons
366
367 %description common
368 Samba-common provides files necessary for both the server and client
369 packages of Samba.
370
371 %description common -l ja.UTF-8
372 Samba-common は Samba のサーバとクライアントの両方のパッケージで
373 使用されるファイルを提供します。
374
375 %description common -l pl.UTF-8
376 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
377 klientów Samba.
378
379 %description common -l pt_BR.UTF-8
380 Arquivos em comum entre os pacotes samba e samba-clients.
381
382 %description common -l ru.UTF-8
383 Samba-common содержит файлы, необходимые для работы как клиента, так и
384 сервера Samba.
385
386 %description common -l uk.UTF-8
387 Samba-common містить файли, необхідні для роботи як клієнта, так і
388 сервера Samba.
389
390 %package winbind
391 Summary:        Samba-winbind daemon, utilities and documentation
392 Summary(pl.UTF-8):      Demon samba-winbind, narzędzia i dokumentacja
393 Group:          Networking/Daemons
394 Requires(post,preun):   /sbin/chkconfig
395 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
396
397 %description winbind
398 Provides the winbind daemon and testing tools to allow authentication
399 and group/user enumeration from a Windows or Samba domain controller.
400
401 %description winbind -l pl.UTF-8
402 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
403 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
404 Windows lub Samba.
405
406 %package -n nss_wins
407 Summary:        Name Service Switch service for WINS
408 Summary(pl.UTF-8):      Usługa Name Service Switch dla WINS
409 Group:          Base
410 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
411
412 %description -n nss_wins
413 Provides the libnss_wins shared library which resolves NetBIOS names
414 to IP addresses.
415
416 %description -n nss_wins -l pl.UTF-8
417 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
418 IP.
419
420 %package -n pam-pam_smbpass
421 Summary:        PAM Samba Password Module
422 Summary(pl.UTF-8):      Moduł PAM smbpass
423 Group:          Base
424 Obsoletes:      pam_smbpass
425
426 %description -n pam-pam_smbpass
427 PAM module which can be used on conforming systems to keep the
428 smbpasswd (Samba password) database in sync with the Unix password
429 file.
430
431 %description -n pam-pam_smbpass -l pl.UTF-8
432 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
433 Samby) zsynchronizowanego z hasłami uniksowymi.
434
435 %package -n libsmbclient
436 Summary:        libsmbclient - samba client library
437 Summary(pl.UTF-8):      libsmbclient - biblioteka klienta samby
438 Group:          Libraries
439
440 %description -n libsmbclient
441 libsmbclient - library that allows to use samba clients functions.
442
443 %description -n libsmbclient -l pl.UTF-8
444 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
445 samby.
446
447 %package -n libsmbclient-devel
448 Summary:        libsmbclient - samba client library
449 Summary(pl.UTF-8):      libsmbclient - biblioteka klienta samby
450 Summary(pt_BR.UTF-8):   Ferramentas de desenvolvimento para clientes samba
451 Group:          Development/Libraries
452 Requires:       libsmbclient = %{epoch}:%{version}-%{release}
453
454 %description -n libsmbclient-devel
455 Header files for libsmbclient.
456
457 %description -n libsmbclient-devel -l pl.UTF-8
458 Pliki nagłówkowe dla libsmbclient.
459
460 %description -n libsmbclient-devel -l pt_BR.UTF-8
461 Arquivos de inclusão, bibliotecas e documentação necessários para
462 desenvolver aplicativos clientes para o samba.
463
464 %package -n libsmbclient-static
465 Summary:        Static version of libsmbclient - samba client library
466 Summary(pl.UTF-8):      Statyczna wersja libsmbclient - biblioteki klienta samby
467 Summary(pt_BR.UTF-8):   Ferramentas de desenvolvimento para clientes samba
468 Group:          Development/Libraries
469 Requires:       libsmbclient = %{epoch}:%{version}-%{release}
470
471 %description -n libsmbclient-static
472 Static libsmbclient library.
473
474 %description -n libsmbclient-static -l pl.UTF-8
475 Statyczna biblioteka libsmbclient.
476
477 %package devel
478 Summary:        Header files for Samba
479 Summary(pl.UTF-8):      Pliki nagłówkowe Samby
480 Group:          Development/Libraries
481
482 %description devel
483 Header files for Samba.
484
485 %description devel -l pl.UTF-8
486 Pliki nagłówkowe Samby.
487
488 %package -n smbget
489 Summary:        A utility for retrieving files using the SMB protocol
490 Summary(pl.UTF-8):      Narzędzie do pobierania plików protokołem SMB
491 Group:          Applications/Networking
492
493 %description -n smbget
494 wget-like utility for download files over SMB.
495
496 %description -n smbget -l pl.UTF-8
497 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
498 używanym w sieciach MS Windows.
499
500 %package -n cups-backend-smb
501 Summary:        CUPS backend for printing to SMB printers
502 Summary(pl.UTF-8):      Backend CUPS-a drukujący na drukarkach SMB
503 Group:          Applications/Printing
504 Requires:       %{name}-client = %{epoch}:%{version}-%{release}
505 Requires:       cups >= 1:1.2.0
506
507 %description -n cups-backend-smb
508 CUPS backend for printing to SMB printers.
509
510 %description -n cups-backend-smb -l pl.UTF-8
511 Backend CUPS-a drukujący na drukarkach SMB.
512
513 %package -n python-samba
514 Summary:        Samba python tools and libraries
515 Summary(pl.UTF-8):      Narzędzia i biblioteki pythona do samby
516 Group:          Applications/Networking
517 %pyrequires_eq  python-libs
518
519 %description -n python-samba
520 Samba python tools and libraries.
521
522 %description -n python-samba -l pl.UTF-8
523 Narzędzia i biblioteki pythona do samby.
524
525 %package vfs-audit
526 Summary:        VFS module to audit file access
527 Summary(pl.UTF-8):      Moduł VFS do monitorowania operacji na plikach
528 Group:          Networking/Daemons
529 Requires:       %{name} = %{epoch}:%{version}-%{release}
530
531 %description vfs-audit
532 A simple module to audit file access to the syslog facility. The
533 following operations are logged:
534  - share connect/disconnect,
535  - directory opens/create/remove,
536  - file open/close/rename/unlink/chmod.
537
538 %description vfs-audit -l pl.UTF-8
539 Proste moduły do monitorowania dostępu do plików na serwerze samba do
540 do sysloga. Monitorowane są następujące operacje:
541  - podłączenie do/odłączenie od zasobu,
542  - otwarcie/utworzenie/zmiana nazwy katalogu,
543  - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
544
545 Zawiera moduły audit, extd_audit i full_audit.
546
547 %package vfs-cap
548 Summary:        VFS module for CAP and samba compatibility
549 Summary(pl.UTF-8):      Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
550 Group:          Networking/Daemons
551 Requires:       %{name} = %{epoch}:%{version}-%{release}
552
553 %description vfs-cap
554 Convert an incoming Shift-JIS character to the 3 byte hex
555 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
556 This is used for compatibility between Samba and CAP.
557
558 %description vfs-cap -l pl.UTF-8
559 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
560 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
561
562 %package vfs-default_quota
563 Summary:        VFS module to store default quotas in a specified quota record
564 Summary(pl.UTF-8):      Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
565 Group:          Networking/Daemons
566 Requires:       %{name} = %{epoch}:%{version}-%{release}
567
568 %description vfs-default_quota
569 This VFS modules stores default quotas in a specified quota record.
570
571 %description vfs-default_quota -l pl.UTF-8
572 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
573 limitów.
574
575 %package vfs-expand_msdfs
576 Summary:        VFS module for hosting a Microsoft Distributed File System Tree
577 Summary(pl.UTF-8):      Moduł VFS obsługi Microsoft Distributed File System
578 Group:          Networking/Daemons
579 Requires:       %{name} = %{epoch}:%{version}-%{release}
580
581 %description vfs-expand_msdfs
582 A VFS module for hosting a Microsoft Distributed File System Tree.
583
584 The Distributed File System (DFS) provides a means of separating the
585 logical view of files and directories that users see from the actual
586 physical locations of these resources on the network. It allows for
587 higher availability, smoother storage expansion, load balancing, and
588 so on.
589
590 %description vfs-expand_msdfs -l pl.UTF-8
591 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
592 File System.
593
594 Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku
595 plików i katalogów widocznych przez użytkowników z fizycznego
596 umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność,
597 płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp.
598
599 %package vfs-fake_perms
600 Summary:        VFS module to report read-only fires as writable
601 Summary(pl.UTF-8):      Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
602 Group:          Networking/Daemons
603 Requires:       %{name} = %{epoch}:%{version}-%{release}
604
605 %description vfs-fake_perms
606 This module allow Roaming Profile files and directories to be set (on
607 the Samba server under UNIX) as read only. This module will, if
608 installed on the Profiles share, report to the client that the Profile
609 files and directories are writeable. This satisfies the client even
610 though the files will never be overwritten as the client logs out or
611 shuts down.
612
613 %description vfs-fake_perms -l pl.UTF-8
614 Ten moduł pozwala na ustawienie plików i katalogów z wędrujących
615 profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w
616 przypadku zainstalowania na udziale z profilami będzie zgłaszał
617 klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy
618 klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu
619 lub wylogowywaniu klienta.
620
621 %package vfs-notify_fam
622 Summary:        VFS module to implement  file  change  notifications
623 Summary(pl.UTF-8):      Moduł VFS implementujący informowanie o zmianach w plikach
624 Group:          Networking/Daemons
625 Requires:       %{name} = %{epoch}:%{version}-%{release}
626
627 %description vfs-notify_fam
628 The vfs_notify_fam module makes use of the system FAM (File Alteration
629 Monitor) daemon to implement file change notifications for Windows
630 clients.
631
632 %description vfs-notify_fam -l pl.UTF-8
633 Ten moduł używa demona FAM (File Alteration Monitor) do implementacji
634 informowania o zmianach w plikach dla klientów Windows.
635
636 %package vfs-netatalk
637 Summary:        VFS module for ease co-existence of samba and netatalk
638 Summary(pl.UTF-8):      Moduł VFS ułatwiający współpracę serwisów samba i netatalk
639 Group:          Networking/Daemons
640 Requires:       %{name} = %{epoch}:%{version}-%{release}
641
642 %description vfs-netatalk
643 Package contains a netatalk VFS module for ease co-existence of Samba
644 and netatalk file sharing services.
645
646 %description vfs-netatalk -l pl.UTF-8
647 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
648 i netatalk przy udostępnianiu zasobów.
649
650 %package vfs-recycle
651 Summary:        VFS module to add recycle bin facility to a samba share
652 Summary(pl.UTF-8):      Moduł VFS dodający możliwość kosza do zasobu samby
653 Group:          Networking/Daemons
654 Requires:       %{name} = %{epoch}:%{version}-%{release}
655
656 %description vfs-recycle
657 VFS module to add recycle bin facility to a samba share.
658
659 %description vfs-recycle -l pl.UTF-8
660 Moduł VFS dodający możliwość kosza do zasobu samby.
661
662 %package vfs-readahead
663 Summary:        VFS module for pre-loading the kernel buffer cache
664 Summary(pl.UTF-8):      Moduł VFS do wczesnego odczytu danych do bufora cache jądra
665 Group:          Networking/Daemons
666 Requires:       %{name} = %{epoch}:%{version}-%{release}
667
668 %description vfs-readahead
669 This VFS module detects read requests at multiples of a given offset
670 (hex 0x80000 by default) and then tells the kernel via either the
671 readahead system call (on Linux) or the posix_fadvise system call to
672 pre-fetch this data into the buffer cache.
673
674 This module is useful for Windows Vista clients reading data using the
675 Windows Explorer program, which asynchronously does multiple file read
676 requests at offset boundaries of 0x80000 bytes.
677
678 %description vfs-readahead -l pl.UTF-8
679 Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych
680 pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez
681 wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do
682 wczesnego odczytu tych danych do bufora cache.
683
684 Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane
685 przy użyciu programu Windows Explorer, który asynchronicznie wykonuje
686 wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000
687 bajtów.
688
689 %package vfs-readonly
690 Summary:        VFS module for read-only limitation for specified share
691 Summary(pl.UTF-8):      Moduł VFS do ograniczania określonego udziału tylko do odczytu
692 Group:          Networking/Daemons
693 Requires:       %{name} = %{epoch}:%{version}-%{release}
694
695 %description vfs-readonly
696 This module performs a read-only limitation for specified share (or
697 all of them if it is loaded in a [global] section) based on period
698 definition in smb.conf.
699
700 %description vfs-readonly -l pl.UTF-8
701 Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego
702 udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w
703 oparciu o definicje okresów w smb.conf.
704
705 %package vfs-shadow_copy
706 Summary:        VFS module to make automatic copy of data in samba share
707 Summary(pl.UTF-8):      Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby
708 Group:          Networking/Daemons
709 Requires:       %{name} = %{epoch}:%{version}-%{release}
710
711 %description vfs-shadow_copy
712 VFS module to make automatic copy of data in samba share.
713
714 %description vfs-shadow_copy -l pl.UTF-8
715 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
716
717 %package vfs-vscan-antivir
718 Summary:        On-access virus scanning for samba using AntiVir
719 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący AntiVir
720 Group:          Networking/Daemons
721 Requires:       %{name} = %{epoch}:%{version}-%{release}
722 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
723
724 %description vfs-vscan-antivir
725 A vfs-module for samba to implement on-access scanning using the
726 AntiVir antivirus software (which must be installed to use this).
727
728 %description vfs-vscan-antivir -l pl.UTF-8
729 Moduł vfs do samby implementujący skaning antywirusowy w czasie
730 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
731 (które musi być zainstalowane, aby wykorzystać ten moduł).
732
733 %package vfs-vscan-clamav
734 Summary:        On-access virus scanning for samba using ClamAV
735 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący ClamAV
736 Group:          Networking/Daemons
737 Requires:       %{name} = %{epoch}:%{version}-%{release}
738 Requires:       clamav
739 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
740
741 %description vfs-vscan-clamav
742 A vfs-module for samba to implement on-access scanning using the
743 ClamAV antivirus software (which must be installed to use this).
744
745 %description vfs-vscan-clamav -l pl.UTF-8
746 Moduł vfs do samby implementujący skaning antywirusowy w czasie
747 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
748 (które musi być zainstalowane, aby wykorzystać ten moduł).
749
750 %package vfs-vscan-fprot
751 Summary:        On-access virus scanning for samba using FPROT
752 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący FPROT
753 Group:          Networking/Daemons
754 Requires:       %{name} = %{epoch}:%{version}-%{release}
755 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
756 Obsoletes:      vscan-fprot
757
758 %description vfs-vscan-fprot
759 A vfs-module for samba to implement on-access scanning using the FPROT
760 antivirus software (which must be installed to use this).
761
762 %description vfs-vscan-fprot -l pl.UTF-8
763 Moduł vfs do samby implementujący skaning antywirusowy w czasie
764 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
765 (które musi być zainstalowane, aby wykorzystać ten moduł).
766
767 %package vfs-vscan-fsav
768 Summary:        On-access virus scanning for samba using F-Secure AntiVirus
769 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
770 Group:          Networking/Daemons
771 Requires:       %{name} = %{epoch}:%{version}-%{release}
772 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
773 Obsoletes:      vscan-fsav
774
775 %description vfs-vscan-fsav
776 A vfs-module for samba to implement on-access scanning using the
777 F-Secure AntiVirus antivirus software (which must be installed to use
778 this).
779
780 %description vfs-vscan-fsav -l pl.UTF-8
781 Moduł vfs do samby implementujący skaning antywirusowy w czasie
782 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
783 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
784
785 %package vfs-vscan-kavp
786 Summary:        On-access virus scanning for samba using Kaspersky AVP
787 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący Kaspersky AVP
788 Group:          Networking/Daemons
789 Requires:       %{name} = %{epoch}:%{version}-%{release}
790 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
791 Obsoletes:      vscan-kavp
792
793 %description vfs-vscan-kavp
794 A vfs-module for samba to implement on-access scanning using the
795 Kaspersky AVP antivirus software (which must be installed to use
796 this).
797
798 %description vfs-vscan-kavp -l pl.UTF-8
799 Moduł vfs do samby implementujący skaning antywirusowy w czasie
800 dostępu do plików korzystając z oprogramowania antywirusowego
801 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
802 moduł).
803
804 %package vfs-vscan-mcafee
805 Summary:        On-access virus scanning for samba using mcafee
806 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący mcafee
807 Group:          Networking/Daemons
808 Requires:       %{name} = %{epoch}:%{version}-%{release}
809 #Requires:      mcafee
810 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
811 Obsoletes:      vscan-mcafee
812
813 %description vfs-vscan-mcafee
814 A vfs-module for samba to implement on-access scanning using the
815 mcafee antivirus software (which must be installed to use this).
816
817 %description vfs-vscan-mcafee -l pl.UTF-8
818 Moduł vfs do samby implementujący skaning antywirusowy w czasie
819 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
820 (które musi być zainstalowane, aby wykorzystać ten moduł).
821
822 %package vfs-vscan-mks
823 Summary:        On-access virus scanning for samba using mks
824 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący mks
825 Group:          Networking/Daemons
826 Requires:       %{name} = %{epoch}:%{version}-%{release}
827 Requires:       mksd
828 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
829 Obsoletes:      vscan-mks
830
831 %description vfs-vscan-mks
832 A vfs-module for samba to implement on-access scanning using the mks
833 antivirus software (which must be installed to use this).
834
835 %description vfs-vscan-mks -l pl.UTF-8
836 Moduł vfs do samby implementujący skaning antywirusowy w czasie
837 dostępu do plików korzystając z oprogramowania antywirusowego mks
838 (które musi być zainstalowane, aby wykorzystać ten moduł).
839
840 %package vfs-vscan-openantivirus
841 Summary:        On-access virus scanning for samba using OpenAntivirus
842 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący OpenAntiVirus
843 Group:          Networking/Daemons
844 Requires:       %{name} = %{epoch}:%{version}-%{release}
845 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
846 Obsoletes:      vscan-openantivirus
847
848 %description vfs-vscan-openantivirus
849 A vfs-module for samba to implement on-access scanning using the
850 OpenAntivirus antivirus software (which must be installed to use
851 this).
852
853 %description vfs-vscan-openantivirus -l pl.UTF-8
854 Moduł vfs do samby implementujący skaning antywirusowy w czasie
855 dostępu do plików korzystając z oprogramowania antywirusowego
856 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
857 moduł).
858
859 %package vfs-vscan-sophos
860 Summary:        On-access virus scanning for samba using Sophos
861 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący Sophos
862 Group:          Networking/Daemons
863 Requires:       %{name} = %{epoch}:%{version}-%{release}
864 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
865 Obsoletes:      vscan-sophos
866
867 %description vfs-vscan-sophos
868 A vfs-module for samba to implement on-access scanning using the
869 Sophos antivirus software (which must be installed to use this).
870
871 %description vfs-vscan-sophos -l pl.UTF-8
872 Moduł vfs do samby implementujący skaning antywirusowy w czasie
873 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
874 (które musi być zainstalowane, aby wykorzystać ten moduł).
875
876 %package vfs-vscan-symantec
877 Summary:        On-access virus scanning for samba using Symantec
878 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący Symantec
879 Group:          Networking/Daemons
880 Requires:       %{name} = %{epoch}:%{version}-%{release}
881 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
882 Obsoletes:      vscan-symantec
883
884 %description vfs-vscan-symantec
885 A vfs-module for samba to implement on-access scanning using the
886 Symantec antivirus software (which must be installed to use this).
887
888 %description vfs-vscan-symantec -l pl.UTF-8
889 Moduł vfs do samby implementujący skaning antywirusowy w czasie
890 dostępu do plików korzystając z oprogramowania antywirusowego firmy
891 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
892
893 %package vfs-vscan-trend
894 Summary:        On-access virus scanning for samba using Trend
895 Summary(pl.UTF-8):      Skaner antywirusowy online wykorzystujący Trend
896 Group:          Networking/Daemons
897 Requires:       %{name} = %{epoch}:%{version}-%{release}
898 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
899 Obsoletes:      vscan-trend
900
901 %description vfs-vscan-trend
902 A vfs-module for samba to implement on-access scanning using the Trend
903 antivirus software (which must be installed to use this).
904
905 %description vfs-vscan-trend -l pl.UTF-8
906 Moduł vfs do samby implementujący skaning antywirusowy w czasie
907 dostępu do plików korzystając z oprogramowania antywirusowego Trend
908 (które musi być zainstalowane, aby wykorzystać ten moduł).
909
910 %package -n openldap-schema-samba
911 Summary:        Samba LDAP schema
912 Summary(pl.UTF-8):      Schemat LDAP dla samby
913 Group:          Networking/Daemons
914 Requires(post,postun):  sed >= 4.0
915 Requires:       openldap-servers
916
917 %description -n openldap-schema-samba
918 This package contains samba.schema for openldap.
919
920 %description -n openldap-schema-samba -l pl.UTF-8
921 Ten pakiet zawiera schemat samby dla openldap-a.
922
923 %package doc-html
924 Summary:        Samba HTML documentation
925 Summary(pl.UTF-8):      Documentacja samby w formacie HTML
926 Group:          Documentation
927
928 %description doc-html
929 Samba HTML documentation.
930
931 %description doc-html -l pl.UTF-8
932 Documentacja samby w formacie HTML.
933
934 %package doc-pdf
935 Summary:        Samba documentation - PDF format
936 Summary(pl.UTF-8):      Documentacja samby w formacie PDF
937 Group:          Documentation
938
939 %description doc-pdf
940 Samba PDF documentation.
941
942 %description doc-pdf -l pl.UTF-8
943 Documentacja samby w formacie PDF.
944
945 %prep
946 %setup -q
947 %if "%{_lib}" == "lib64"
948 %patch0 -p1
949 %endif
950 %patch1 -p1
951 %patch2 -p1
952 %patch3 -p1
953 %patch4 -p1
954 %patch5 -p1
955 %patch6 -p1
956 %patch7 -p1
957 %patch8 -p1
958 %patch9 -p1
959 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
960
961 cd examples/VFS
962 tar xzf %{SOURCE7}
963 mv README{,.vfs}
964 cd ../..
965
966 %build
967 cd source
968 %{__libtoolize}
969 %{__autoconf} -I lib/replace
970
971 %configure \
972         --with-rootsbindir=/sbin \
973         --with-pammodulesdir=/%{_lib}/security \
974         --with-acl-support \
975         --with-automount \
976         --with-libsmbclient \
977         --with-lockdir=/var/lib/samba \
978         --with-pam \
979         --with-pam_smbpass \
980         --with%{!?with_ads:out}-ads \
981         --with-privatedir=%{_sysconfdir}/samba \
982         --with-quotas \
983         --with-readline \
984         --with-smbmount \
985         --with-swatdir=%{_datadir}/swat \
986         --with-syslog \
987         --with-utmp \
988         --with-fhs \
989         %{?with_python:--with-python} \
990         --with%{!?with_ldap:out}-ldap \
991         --with%{!?with_kerberos5:out}-krb5
992
993 %{__make} proto
994 %{__make} 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 %{__autoconf}
1003 %configure \
1004         CFLAGS="%{rpmcflags} -fPIC"
1005 %{__make}
1006
1007 cd samba-vscan-%{vscan_version}
1008 cp -f /usr/share/automake/config.sub .
1009 %configure
1010 %{__make} all
1011
1012 %install
1013 rm -rf $RPM_BUILD_ROOT
1014 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1015         $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1016         $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1017         $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1018
1019 %{__make} -C source install \
1020         DESTDIR=$RPM_BUILD_ROOT \
1021         CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1022
1023 install source/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1024
1025 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
1026
1027 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1028 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1029 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1030 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1031 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1032 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1033 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1034 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1035
1036 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1037 ln -s libnss_winbind.so.2               $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1038 install source/nsswitch/libnss_wins.so  $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1039 ln -s libnss_wins.so.2                  $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1040 install source/bin/wbinfo               $RPM_BUILD_ROOT%{_bindir}
1041 install source/bin/smbget               $RPM_BUILD_ROOT%{_bindir}
1042 install source/bin/vfstest              $RPM_BUILD_ROOT%{_bindir}
1043
1044 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
1045 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
1046 install source/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1047 mv $RPM_BUILD_ROOT%{_libdir}/samba/libmsrpc.so $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so.0
1048 ln -s libmsrpc.so.0 $RPM_BUILD_ROOT%{_libdir}/libmsrpc.so
1049 install source/bin/libmsrpc.a $RPM_BUILD_ROOT%{_libdir}/libmsrpc.a
1050
1051 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
1052
1053 # smbwrapper
1054 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1055 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1056 install docs/manpages/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1057
1058 # these are needed to build samba-pdbsql
1059 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1060 cp -a source/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1061 cp -a source/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1062 cp -a source/nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1063
1064 # vscan modules
1065 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1066 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
1067
1068 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1069
1070 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1071
1072 %if %{with cups}
1073 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1074 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1075 %endif
1076
1077 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1078 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1079
1080 # we have this utility in tdb package
1081 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
1082
1083 # python stuff
1084 %if %{with python}
1085 install -d $RPM_BUILD_ROOT%{py_sitedir}
1086 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1087 %endif
1088
1089 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1090
1091 %if %{with ldap}
1092 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1093 %endif
1094
1095 %clean
1096 rm -rf $RPM_BUILD_ROOT
1097
1098 %post
1099 /sbin/chkconfig --add smb
1100 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1101         echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1102         /sbin/service smb stop >&2
1103         mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1104         mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1105         if [ -d /var/lock/samba/printing ]; then
1106                 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1107         fi
1108         /sbin/service smb start >&2
1109 else
1110         %service smb restart "Samba daemons"
1111 fi
1112
1113 %preun
1114 if [ "$1" = "0" ]; then
1115         %service smb stop
1116         /sbin/chkconfig --del smb
1117 fi
1118
1119 %post winbind
1120 /sbin/chkconfig --add winbind
1121 %service winbind restart "Winbind daemon"
1122
1123 %preun winbind
1124 if [ "$1" = "0" ]; then
1125         %service winbind stop
1126         /sbin/chkconfig --del winbind
1127 fi
1128
1129 %post swat
1130 %service -q rc-inetd reload
1131
1132 %postun swat
1133 if [ "$1" = 0 ]; then
1134         %service -q rc-inetd reload
1135 fi
1136
1137 %post -n openldap-schema-samba
1138 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1139 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1140 %service -q ldap restart
1141
1142 %postun -n openldap-schema-samba
1143 if [ "$1" = "0" ]; then
1144         %openldap_schema_unregister %{schemadir}/samba.schema
1145         %service -q ldap restart
1146 fi
1147
1148 %triggerpostun -- samba < 1.9.18p7
1149 if [ "$1" != "0" ]; then
1150         /sbin/chkconfig --add smb
1151 fi
1152
1153 %files
1154 %defattr(644,root,root,755)
1155 %attr(755,root,root) %{_sbindir}/nmbd
1156 %attr(755,root,root) %{_sbindir}/smbd
1157 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1158 %attr(755,root,root) %{_bindir}/smbstatus
1159 %attr(755,root,root) %{_bindir}/smbpasswd
1160 %attr(755,root,root) %{_bindir}/smbcontrol
1161 %attr(755,root,root) %{_bindir}/tdbbackup
1162 %attr(755,root,root) %{_bindir}/tdbtool_samba
1163
1164 %dir %{_libdir}/%{name}/pdb
1165 %dir %{_vfsdir}
1166
1167 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1168 %attr(754,root,root) /etc/rc.d/init.d/smb
1169 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1170 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1171 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1172 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1173 %{_mandir}/man1/log2pcap.1*
1174 %{_mandir}/man1/smbstatus.1*
1175 %{_mandir}/man1/smbcontrol.1*
1176 %{_mandir}/man5/smbpasswd.5*
1177 %{_mandir}/man7/samba.7*
1178 %{_mandir}/man8/nmbd.8*
1179 %{_mandir}/man8/smbd.8*
1180 %{_mandir}/man8/smbpasswd.8*
1181 %{_mandir}/man8/tdbbackup.8*
1182
1183 %dir %{_sambahome}
1184 %dir /var/lib/samba
1185 %ghost /var/lib/samba/*.dat
1186 %dir /var/lib/samba/printing
1187
1188 %attr(750,root,root) %dir /var/log/samba
1189 %attr(750,root,root) %dir /var/log/samba/cores
1190 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1191 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1192 %attr(750,root,root) %dir /var/log/archive/samba
1193 %attr(1777,root,root) %dir /var/spool/samba
1194 %if %{with ldap}
1195 %doc examples/LDAP
1196 %endif
1197
1198 %files winbind
1199 %defattr(644,root,root,755)
1200 %attr(755,root,root) %{_sbindir}/winbindd
1201 %attr(755,root,root) %{_bindir}/wbinfo
1202 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1203 %attr(755,root,root) /%{_lib}/libnss_winbind*
1204 %attr(754,root,root) /etc/rc.d/init.d/winbind
1205 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1206 %{_mandir}/man1/wbinfo*.1*
1207 %{_mandir}/man7/pam_winbind.7*
1208 %{_mandir}/man8/winbindd*.8*
1209
1210 %files -n nss_wins
1211 %defattr(644,root,root,755)
1212 %attr(755,root,root) /%{_lib}/libnss_wins*
1213
1214 %files client
1215 %defattr(644,root,root,755)
1216 %attr(755,root,root) /sbin/mount.smbfs
1217 %attr(755,root,root) /sbin/mount.cifs
1218 %attr(755,root,root) /sbin/umount.cifs
1219 %attr(755,root,root) %{_bindir}/net
1220 %attr(755,root,root) %{_bindir}/smbmnt
1221 %attr(755,root,root) %{_bindir}/smbmount
1222 %attr(755,root,root) %{_bindir}/smbsh
1223 %attr(755,root,root) %{_bindir}/smbtree
1224 %attr(755,root,root) %{_bindir}/smbumount
1225 %attr(755,root,root) %{_libdir}/smbwrapper.so
1226 %{_mandir}/man1/smbtree.1*
1227 %{_mandir}/man8/net.8*
1228 %{_mandir}/man8/smbmnt.8*
1229 %{_mandir}/man8/smbmount.8*
1230 %{_mandir}/man8/smbumount.8*
1231 %{_mandir}/man8/*mount.cifs.8*
1232 %attr(755,root,root) %{_bindir}/nmblookup
1233 %attr(755,root,root) %{_bindir}/smbcacls
1234 %attr(755,root,root) %{_bindir}/smbclient
1235 %attr(755,root,root) %{_bindir}/smbtar
1236 %{_mandir}/man1/nmblookup.1*
1237 %{_mandir}/man1/smbcacls.1*
1238 %{_mandir}/man1/smbclient.1*
1239 %{_mandir}/man1/smbtar.1*
1240 %{_mandir}/man1/smbsh.1*
1241 %attr(755,root,root) %{_bindir}/rpcclient
1242 %{_mandir}/man1/rpcclient.1*
1243 %attr(755,root,root) %{_bindir}/findsmb
1244 %{_mandir}/man1/findsmb.1*
1245
1246 %files common
1247 %defattr(644,root,root,755)
1248 %doc README Manifest WHATSNEW.txt
1249 %doc Roadmap docs/registry/*
1250 %doc docs/{history,THANKS}
1251 %dir %{_sysconfdir}/samba
1252 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1253 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1254 %attr(755,root,root) %{_bindir}/eventlogadm
1255 %attr(755,root,root) %{_bindir}/ntlm_auth
1256 %attr(755,root,root) %{_bindir}/pdbedit
1257 %attr(755,root,root) %{_bindir}/profiles
1258 %attr(755,root,root) %{_bindir}/smbcquotas
1259 %attr(755,root,root) %{_bindir}/testparm
1260 %attr(755,root,root) %{_bindir}/vfstest
1261 %dir %{_libdir}/%{name}
1262 # how this one is used? SONAME is libsmbsharemodes.so.0
1263 %attr(755,root,root) %{_libdir}/%{name}/libsmbsharemodes.so
1264 %{_libdir}/%{name}/*.dat
1265 %dir %{_libdir}/%{name}/auth
1266 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1267 %dir %{_libdir}/%{name}/charset
1268 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1269 %{_mandir}/man1/ntlm_auth.1*
1270 %{_mandir}/man1/profiles.1*
1271 %{_mandir}/man1/smbcquotas.1*
1272 %{_mandir}/man1/testparm.1*
1273 %{_mandir}/man1/vfstest.1*
1274 #%{_mandir}/man1/log2pcap.1*
1275 %{_mandir}/man5/lmhosts.5*
1276 %{_mandir}/man5/smb.conf.5*
1277 %{_mandir}/man8/pdbedit.8*
1278 %{_mandir}/man8/eventlogadm.8*
1279 %{_mandir}/man8/idmap_ad.8*
1280 %{_mandir}/man8/idmap_ldap.8*
1281 %{_mandir}/man8/idmap_nss.8*
1282 %{_mandir}/man8/idmap_rid.8*
1283 %{_mandir}/man8/idmap_tdb.8*
1284 %{_mandir}/man8/tdbtool.8*
1285
1286 %files swat
1287 %defattr(644,root,root,755)
1288 #%doc swat/README* swat/help/*
1289 %doc swat/help/*
1290 %attr(755,root,root) %{_sbindir}/swat
1291 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1292 %dir %{_datadir}/swat
1293 %{_datadir}/swat/help
1294 %{_datadir}/swat/images
1295 %{_datadir}/swat/include
1296 %{_datadir}/swat/using_samba
1297 %dir %{_datadir}/swat/lang
1298 %lang(ja) %{_datadir}/swat/lang/ja
1299 %lang(tr) %{_datadir}/swat/lang/tr
1300 %lang(de) %{_libdir}/%{name}/de.msg
1301 %{_libdir}/%{name}/en.msg
1302 %lang(fi) %{_libdir}/%{name}/fi.msg
1303 %lang(fr) %{_libdir}/%{name}/fr.msg
1304 %lang(it) %{_libdir}/%{name}/it.msg
1305 %lang(ja) %{_libdir}/%{name}/ja.msg
1306 %lang(nl) %{_libdir}/%{name}/nl.msg
1307 %lang(pl) %{_libdir}/%{name}/pl.msg
1308 %lang(tr) %{_libdir}/%{name}/tr.msg
1309 %{_mandir}/man8/swat.8*
1310
1311 %if %{with python}
1312 %files -n python-samba
1313 %defattr(644,root,root,755)
1314 %dir %{py_sitedir}/samba
1315 %attr(755,root,root) %{py_sitedir}/samba/*.so
1316 %{py_sitedir}/samba/*.py
1317 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1318 %doc source/python/examples
1319 %endif
1320
1321 %files -n pam-pam_smbpass
1322 %defattr(644,root,root,755)
1323 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1324 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1325
1326 %files -n libsmbclient
1327 %defattr(644,root,root,755)
1328 %attr(755,root,root) %{_libdir}/libmsrpc.so.*
1329 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1330 %{_mandir}/man7/libsmbclient.7*
1331
1332 %files -n libsmbclient-devel
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_libdir}/libmsrpc.so
1335 %attr(755,root,root) %{_libdir}/libsmbclient.so
1336 %{_includedir}/libmsrpc.h
1337 %{_includedir}/libsmbclient.h
1338
1339 %files devel
1340 %defattr(644,root,root,755)
1341 %{_includedir}/%{name}
1342
1343 %files -n libsmbclient-static
1344 %defattr(644,root,root,755)
1345 %{_libdir}/libmsrpc.a
1346 %{_libdir}/libsmbclient.a
1347
1348 %files -n smbget
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_bindir}/smbget
1351 %{_mandir}/man1/smbget.1*
1352 %{_mandir}/man5/smbgetrc.5*
1353
1354 %if %{with cups}
1355 %files -n cups-backend-smb
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_bindir}/smbspool
1358 %attr(755,root,root) %{cups_serverbin}/backend/smb
1359 %{_mandir}/man8/smbspool.8*
1360 %endif
1361
1362 %files vfs-audit
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_vfsdir}/audit.so
1365 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1366 %attr(755,root,root) %{_vfsdir}/full_audit.so
1367 %{_mandir}/man8/vfs_audit.8*
1368 %{_mandir}/man8/vfs_extd_audit.8*
1369 %{_mandir}/man8/vfs_full_audit.8*
1370
1371 %files vfs-cap
1372 %defattr(644,root,root,755)
1373 %attr(755,root,root) %{_vfsdir}/cap.so
1374 %{_mandir}/man8/vfs_cap.8*
1375
1376 %files vfs-default_quota
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_vfsdir}/default_quota.so
1379 %{_mandir}/man8/vfs_default_quota.8*
1380
1381 %files vfs-expand_msdfs
1382 %defattr(644,root,root,755)
1383 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1384
1385 %files vfs-fake_perms
1386 %defattr(644,root,root,755)
1387 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1388 %{_mandir}/man8/vfs_fake_perms.8*
1389
1390 %files vfs-notify_fam
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1393 %{_mandir}/man8/vfs_notify_fam.8*
1394
1395 %files vfs-netatalk
1396 %defattr(644,root,root,755)
1397 %attr(755,root,root) %{_vfsdir}/netatalk.so
1398 %{_mandir}/man8/vfs_netatalk.8*
1399
1400 %files vfs-readahead
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_vfsdir}/readahead.so
1403 %{_mandir}/man8/vfs_readahead.8*
1404
1405 %files vfs-readonly
1406 %defattr(644,root,root,755)
1407 %attr(755,root,root) %{_vfsdir}/readonly.so
1408 %{_mandir}/man8/vfs_readonly.8*
1409
1410 %files vfs-recycle
1411 %defattr(644,root,root,755)
1412 %attr(755,root,root) %{_vfsdir}/recycle.so
1413 %{_mandir}/man8/vfs_recycle.8*
1414
1415 %files vfs-shadow_copy
1416 %defattr(644,root,root,755)
1417 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1418 %{_mandir}/man8/vfs_shadow_copy.8*
1419
1420 %files vfs-vscan-antivir
1421 %defattr(644,root,root,755)
1422 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1423 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1424 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1425
1426 %files vfs-vscan-clamav
1427 %defattr(644,root,root,755)
1428 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1429 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1430 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1431
1432 %files vfs-vscan-fprot
1433 %defattr(644,root,root,755)
1434 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1435 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1436 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1437
1438 %files vfs-vscan-fsav
1439 %defattr(644,root,root,755)
1440 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1441 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1442 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1443
1444 %files vfs-vscan-kavp
1445 %defattr(644,root,root,755)
1446 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1447 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1448 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1449
1450 %files vfs-vscan-mcafee
1451 %defattr(644,root,root,755)
1452 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1453 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1454 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1455
1456 %if %{with mks}
1457 %ifarch %{ix86} %{x8664}
1458 %files vfs-vscan-mks
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-mks32.conf
1462 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1463 %endif
1464 %endif
1465
1466 %files vfs-vscan-openantivirus
1467 %defattr(644,root,root,755)
1468 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1469 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1470 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1471
1472 %files vfs-vscan-sophos
1473 %defattr(644,root,root,755)
1474 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1475 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1476 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1477
1478 %files vfs-vscan-symantec
1479 %defattr(644,root,root,755)
1480 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1481 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1482 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1483
1484 %files vfs-vscan-trend
1485 %defattr(644,root,root,755)
1486 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1487 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1488 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1489
1490 %if %{with ldap}
1491 %files -n openldap-schema-samba
1492 %defattr(644,root,root,755)
1493 %{schemadir}/*.schema
1494 %endif
1495
1496 %files doc-html
1497 %defattr(644,root,root,755)
1498 %doc docs/htmldocs/*
1499
1500 %files doc-pdf
1501 %defattr(644,root,root,755)
1502 %doc docs/*.pdf
This page took 0.449411 seconds and 3 git commands to generate.