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