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