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