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