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