]> git.pld-linux.org Git - packages/samba.git/blob - samba.spec
- release 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.4
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:  22c8c977eaa18be50f3878c6d0e0c2f0
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         LD=ld
1087
1088 cd ../examples
1089 %{__make} -C libsmbclient/smbwrapper \
1090         CC="%{__cc}" \
1091         CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1092
1093 cd VFS
1094 %{__autoheader}
1095 %{__autoconf}
1096 %configure \
1097         CFLAGS="%{rpmcflags} -fPIC"
1098 %{__make}
1099
1100 %if %{with vscan}
1101 cd samba-vscan-%{vscan_version}
1102 cp -f /usr/share/automake/config.sub .
1103 %configure
1104 ln -s ../../../source3/lib .
1105 %{__make} all
1106 %endif
1107
1108 %install
1109 rm -rf $RPM_BUILD_ROOT
1110 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1111         $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1112         $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1113         $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1114
1115 %{__make} -C source3 install \
1116         DESTDIR=$RPM_BUILD_ROOT \
1117         CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1118
1119 install source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1120
1121 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1122 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1123 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1124 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1125 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1126 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1127 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1128 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1129
1130 install nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1131 ln -s libnss_winbind.so.2               $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1132 install nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1133 ln -s libnss_wins.so.2                  $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1134 install source3/bin/wbinfo              $RPM_BUILD_ROOT%{_bindir}
1135 install source3/bin/smbget              $RPM_BUILD_ROOT%{_bindir}
1136 install source3/bin/vfstest             $RPM_BUILD_ROOT%{_bindir}
1137
1138 install source3/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1139
1140 # smbwrapper
1141 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1142 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1143 install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1144
1145 # these are needed to build samba-pdbsql
1146 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1147 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1148 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1149 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1150
1151 %if %{with vscan}
1152 # vscan modules
1153 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1154 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
1155 %endif
1156
1157 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1158
1159 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1160
1161 %if %{with cups}
1162 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1163 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1164 %endif
1165
1166 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1167 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1168
1169 # unneeded
1170 #rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
1171
1172 # tests
1173 %if %{with merged_build}
1174 rm -r $RPM_BUILD_ROOT%{_bindir}/{gentest4,locktest4,masktest4,nsstest4}
1175 %endif
1176
1177 %if %{with ldap}
1178 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1179 %endif
1180
1181 %find_lang pam_winbind
1182
1183 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1184 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
1185 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1186
1187 %clean
1188 rm -rf $RPM_BUILD_ROOT
1189
1190 %post
1191 /sbin/chkconfig --add smb
1192 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1193         echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1194         /sbin/service smb stop >&2
1195         mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1196         mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1197         if [ -d /var/lock/samba/printing ]; then
1198                 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1199         fi
1200         /sbin/service smb start >&2
1201 else
1202         %service smb restart "Samba daemons"
1203 fi
1204
1205 %preun
1206 if [ "$1" = "0" ]; then
1207         %service smb stop
1208         /sbin/chkconfig --del smb
1209 fi
1210
1211 %post winbind
1212 /sbin/chkconfig --add winbind
1213 %service winbind restart "Winbind daemon"
1214
1215 %preun winbind
1216 if [ "$1" = "0" ]; then
1217         %service winbind stop
1218         /sbin/chkconfig --del winbind
1219 fi
1220
1221 %post swat
1222 %service -q rc-inetd reload
1223
1224 %postun swat
1225 if [ "$1" = 0 ]; then
1226         %service -q rc-inetd reload
1227 fi
1228
1229 %post -n openldap-schema-samba
1230 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1231 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1232 %service -q ldap restart
1233
1234 %postun -n openldap-schema-samba
1235 if [ "$1" = "0" ]; then
1236         %openldap_schema_unregister %{schemadir}/samba.schema
1237         %service -q ldap restart
1238 fi
1239
1240 %triggerpostun -- samba < 1.9.18p7
1241 if [ "$1" != "0" ]; then
1242         /sbin/chkconfig --add smb
1243 fi
1244
1245 %if "%{pld_release}" != "ti"
1246 %triggerpostun -- samba < 3.4.0
1247 %banner %{name} << EOF
1248 !!! WARNING !!! The default passdb backend has been changed to 'tdbsam'!
1249 That breaks existing setups using the 'smbpasswd' backend without explicit declaration!
1250 Please use 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
1251 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e tdbsam'.
1252 EOF
1253 %endif
1254
1255 %files
1256 %defattr(644,root,root,755)
1257 %attr(755,root,root) %{_sbindir}/nmbd
1258 %attr(755,root,root) %{_sbindir}/smbd
1259 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1260 %if %{with merged_build}
1261 #%attr(755,root,root) %{_bindir}/ad2oLschema4
1262 %attr(755,root,root) %{_bindir}/oLschema2ldif4
1263 %attr(755,root,root) %{_bindir}/reg*
1264 # "This utility disabled until rewritten"
1265 #%attr(755,root,root) %{_bindir}/setnttoken4
1266 %endif
1267 %attr(755,root,root) %{_bindir}/ldb*
1268 %attr(755,root,root) %{_bindir}/smbstatus
1269 %attr(755,root,root) %{_bindir}/smbpasswd
1270 %attr(755,root,root) %{_bindir}/smbcontrol
1271
1272 %dir %{_libdir}/%{name}/pdb
1273 %dir %{_vfsdir}
1274 %attr(755,root,root) %{_vfsdir}/acl_tdb.so
1275 %attr(755,root,root) %{_vfsdir}/acl_xattr.so
1276 %attr(755,root,root) %{_vfsdir}/aio_fork.so
1277 %attr(755,root,root) %{_vfsdir}/dirsort.so
1278 %attr(755,root,root) %{_vfsdir}/fileid.so
1279 %attr(755,root,root) %{_vfsdir}/preopen.so
1280 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1281 %attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1282 %attr(755,root,root) %{_vfsdir}/streams_depot.so
1283 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1284 %attr(755,root,root) %{_vfsdir}/syncops.so
1285 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1286 %{_mandir}/man8/vfs_acl_tdb.8*
1287 %{_mandir}/man8/vfs_acl_xattr.8*
1288 %{_mandir}/man8/vfs_dirsort.8*
1289 %{_mandir}/man8/vfs_fileid.8*
1290 %{_mandir}/man8/vfs_preopen.8*
1291 %{_mandir}/man8/vfs_shadow_copy2.8*
1292 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1293 %{_mandir}/man8/vfs_streams_xattr.8*
1294 %{_mandir}/man8/vfs_streams_depot.8*
1295 %{_mandir}/man8/vfs_xattr_tdb.8*
1296
1297
1298 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1299 %attr(754,root,root) /etc/rc.d/init.d/smb
1300 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1301 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1302 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1303 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1304 %{_mandir}/man1/ldb*.1*
1305 %{_mandir}/man1/log2pcap.1*
1306 %{_mandir}/man1/smbstatus.1*
1307 %{_mandir}/man1/smbcontrol.1*
1308 %{_mandir}/man5/smbpasswd.5*
1309 %{_mandir}/man7/samba.7*
1310 %{_mandir}/man8/nmbd.8*
1311 %{_mandir}/man8/smbd.8*
1312 %{_mandir}/man8/smbpasswd.8*
1313
1314 %dir %{_sambahome}
1315 %dir /var/lib/samba
1316 %ghost /var/lib/samba/*.dat
1317 %dir /var/lib/samba/printing
1318
1319 %attr(750,root,root) %dir /var/log/samba
1320 %attr(750,root,root) %dir /var/log/samba/cores
1321 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1322 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1323 %attr(750,root,root) %dir /var/log/archive/samba
1324 %attr(1777,root,root) %dir /var/spool/samba
1325 %if %{with ldap}
1326 %doc examples/LDAP
1327 %endif
1328
1329 %files winbind -f pam_winbind.lang
1330 %defattr(644,root,root,755)
1331 %attr(755,root,root) %{_sbindir}/winbindd
1332 %attr(755,root,root) %{_bindir}/wbinfo
1333 #%if %{with merged_build}
1334 #%attr(755,root,root) %{_bindir}/wbinfo4
1335 #%endif
1336 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1337 %attr(755,root,root) /%{_lib}/libnss_winbind*
1338 %attr(754,root,root) /etc/rc.d/init.d/winbind
1339 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1340 %{_mandir}/man1/wbinfo*.1*
1341 %{_mandir}/man5/pam_winbind.conf.5*
1342 %{_mandir}/man8/pam_winbind.8*
1343 %{_mandir}/man8/winbindd*.8*
1344
1345 %files -n nss_wins
1346 %defattr(644,root,root,755)
1347 %attr(755,root,root) /%{_lib}/libnss_wins*
1348
1349 %files client
1350 %defattr(644,root,root,755)
1351 %if %{with merged_build}
1352 %attr(755,root,root) %{_bindir}/cifsdd4
1353 %attr(755,root,root) %{_bindir}/net4
1354 %attr(755,root,root) %{_bindir}/nmblookup4
1355 %attr(755,root,root) %{_bindir}/smbclient4
1356 %attr(755,root,root) %{_bindir}/mount.cifs4
1357 %attr(755,root,root) %{_bindir}/umount.cifs4
1358 %attr(755,root,root) %{_bindir}/setnttoken4
1359 %attr(755,root,root) %{_bindir}/smbtorture4
1360 %attr(755,root,root) %{_sbindir}/cifs.upcall
1361 %{_mandir}/man8/cifs.upcall.8*
1362 %endif
1363 %attr(755,root,root) /sbin/mount.cifs
1364 %attr(755,root,root) /sbin/umount.cifs
1365 %attr(755,root,root) %{_bindir}/findsmb
1366 %attr(755,root,root) %{_bindir}/net
1367 %attr(755,root,root) %{_bindir}/nmblookup
1368 %attr(755,root,root) %{_bindir}/rpcclient
1369 %attr(755,root,root) %{_bindir}/sharesec
1370 %attr(755,root,root) %{_bindir}/smbcacls
1371 %attr(755,root,root) %{_bindir}/smbclient
1372 %attr(755,root,root) %{_bindir}/smbsh
1373 %attr(755,root,root) %{_bindir}/smbtar
1374 %attr(755,root,root) %{_bindir}/smbtree
1375 %attr(755,root,root) %{_libdir}/smbwrapper.so
1376 %{_mandir}/man1/findsmb.1*
1377 %{_mandir}/man1/nmblookup.1*
1378 %{_mandir}/man1/rpcclient.1*
1379 %{_mandir}/man1/sharesec.1*
1380 %{_mandir}/man1/smbcacls.1*
1381 %{_mandir}/man1/smbclient.1*
1382 %{_mandir}/man1/smbsh.1*
1383 %{_mandir}/man1/smbtar.1*
1384 %{_mandir}/man1/smbtree.1*
1385 %{_mandir}/man8/net.8*
1386 %{_mandir}/man8/*mount.cifs.8*
1387
1388 %files common
1389 %defattr(644,root,root,755)
1390 %if %{with merged_build}
1391 %attr(755,root,root) %{_bindir}/getntacl4
1392 %attr(755,root,root) %{_bindir}/ndrdump4
1393 %attr(755,root,root) %{_bindir}/ntlm_auth4
1394 %attr(755,root,root) %{_bindir}/testparm4
1395 %endif
1396 %doc README Manifest WHATSNEW.txt
1397 %doc Roadmap docs/registry/*
1398 %doc docs/{history,THANKS}
1399 %dir %{_sysconfdir}/samba
1400 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1401 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1402 %attr(755,root,root) %{_bindir}/eventlogadm
1403 %attr(755,root,root) %{_bindir}/ntlm_auth
1404 %attr(755,root,root) %{_bindir}/pdbedit
1405 %attr(755,root,root) %{_bindir}/profiles
1406 %attr(755,root,root) %{_bindir}/smbcquotas
1407 %attr(755,root,root) %{_bindir}/testparm
1408 %attr(755,root,root) %{_bindir}/vfstest
1409 %dir %{_libdir}/%{name}
1410 %{_libdir}/%{name}/*.dat
1411 %dir %{_libdir}/%{name}/auth
1412 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1413 %dir %{_libdir}/%{name}/charset
1414 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1415 %{_mandir}/man1/ntlm_auth.1*
1416 %{_mandir}/man1/profiles.1*
1417 %{_mandir}/man1/smbcquotas.1*
1418 %{_mandir}/man1/testparm.1*
1419 %{_mandir}/man1/vfstest.1*
1420 #%{_mandir}/man1/log2pcap.1*
1421 %{_mandir}/man5/lmhosts.5*
1422 %{_mandir}/man5/smb.conf.5*
1423 %{_mandir}/man8/pdbedit.8*
1424 %{_mandir}/man8/eventlogadm.8*
1425 %{_mandir}/man8/idmap_ad.8*
1426 %{_mandir}/man8/idmap_adex.8*
1427 %{_mandir}/man8/idmap_hash.8*
1428 %{_mandir}/man8/idmap_ldap.8*
1429 %{_mandir}/man8/idmap_nss.8*
1430 %{_mandir}/man8/idmap_rid.8*
1431 %{_mandir}/man8/idmap_tdb.8*
1432 %{_mandir}/man8/idmap_tdb2.8*
1433
1434 %files swat
1435 %defattr(644,root,root,755)
1436 #%doc swat/README* swat/help/*
1437 %doc swat/help/*
1438 %attr(755,root,root) %{_sbindir}/swat
1439 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1440 %dir %{_datadir}/swat
1441 %{_datadir}/swat/help
1442 %{_datadir}/swat/images
1443 %{_datadir}/swat/include
1444 %dir %{_datadir}/swat/lang
1445 %lang(ja) %{_datadir}/swat/lang/ja
1446 %lang(tr) %{_datadir}/swat/lang/tr
1447 %lang(de) %{_libdir}/%{name}/de.msg
1448 %{_libdir}/%{name}/en.msg
1449 %lang(fi) %{_libdir}/%{name}/fi.msg
1450 %lang(fr) %{_libdir}/%{name}/fr.msg
1451 %lang(it) %{_libdir}/%{name}/it.msg
1452 %lang(ja) %{_libdir}/%{name}/ja.msg
1453 %lang(nl) %{_libdir}/%{name}/nl.msg
1454 %lang(pl) %{_libdir}/%{name}/pl.msg
1455 %lang(ru) %{_libdir}/%{name}/ru.msg
1456 %lang(tr) %{_libdir}/%{name}/tr.msg
1457 %{_mandir}/man8/swat.8*
1458
1459 %files -n pam-pam_smbpass
1460 %defattr(644,root,root,755)
1461 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1462 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1463
1464 %files -n libsmbclient
1465 %defattr(644,root,root,755)
1466 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1467 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1468 %{_mandir}/man7/libsmbclient.7*
1469
1470 %files -n libsmbclient-devel
1471 %defattr(644,root,root,755)
1472 %attr(755,root,root) %{_libdir}/libsmbclient.so
1473 %attr(755,root,root) %{_libdir}/libwbclient.so
1474 %{_includedir}/libsmbclient.h
1475 %{_includedir}/wbclient.h
1476
1477 %files -n libtalloc
1478 %defattr(644,root,root,755)
1479 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1480
1481 %files -n libtalloc-devel
1482 %defattr(644,root,root,755)
1483 %attr(755,root,root) %{_libdir}/libtalloc.so
1484 %{_includedir}/talloc.h
1485
1486 %files -n tdb
1487 %defattr(644,root,root,755)
1488 %attr(755,root,root) %{_bindir}/tdbbackup
1489 %attr(755,root,root) %{_bindir}/tdbdump
1490 %attr(755,root,root) %{_bindir}/tdbtool
1491 %if %{with merged_build}
1492 %attr(755,root,root) %{_bindir}/tdbbackup4
1493 %attr(755,root,root) %{_bindir}/tdbdump4
1494 %attr(755,root,root) %{_bindir}/tdbtool4
1495 %attr(755,root,root) %{_bindir}/tdbtorture4
1496 %endif
1497 %attr(755,root,root) %{_libdir}/libtdb.so.*
1498 %{_mandir}/man8/tdbbackup.8*
1499 %{_mandir}/man8/tdbdump.8*
1500 %{_mandir}/man8/tdbtool.8*
1501
1502 %files -n tdb-devel
1503 %defattr(644,root,root,755)
1504 %attr(755,root,root) %{_libdir}/libtdb.so
1505 %{_includedir}/tdb.h
1506
1507 %files devel
1508 %defattr(644,root,root,755)
1509 %{_includedir}/%{name}
1510
1511 %files -n libsmbclient-static
1512 %defattr(644,root,root,755)
1513 %{_libdir}/libsmbclient.a
1514
1515 %files -n smbget
1516 %defattr(644,root,root,755)
1517 %attr(755,root,root) %{_bindir}/smbget
1518 %{_mandir}/man1/smbget.1*
1519 %{_mandir}/man5/smbgetrc.5*
1520
1521 %if %{with cups}
1522 %files -n cups-backend-smb
1523 %defattr(644,root,root,755)
1524 %attr(755,root,root) %{_bindir}/smbspool
1525 %attr(755,root,root) %{cups_serverbin}/backend/smb
1526 %{_mandir}/man8/smbspool.8*
1527 %endif
1528
1529 %files vfs-audit
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{_vfsdir}/audit.so
1532 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1533 %attr(755,root,root) %{_vfsdir}/full_audit.so
1534 %{_mandir}/man8/vfs_audit.8*
1535 %{_mandir}/man8/vfs_extd_audit.8*
1536 %{_mandir}/man8/vfs_full_audit.8*
1537
1538 %files vfs-cap
1539 %defattr(644,root,root,755)
1540 %attr(755,root,root) %{_vfsdir}/cap.so
1541 %{_mandir}/man8/vfs_cap.8*
1542
1543 %files vfs-default_quota
1544 %defattr(644,root,root,755)
1545 %attr(755,root,root) %{_vfsdir}/default_quota.so
1546 %{_mandir}/man8/vfs_default_quota.8*
1547
1548 %files vfs-expand_msdfs
1549 %defattr(644,root,root,755)
1550 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1551
1552 %files vfs-fake_perms
1553 %defattr(644,root,root,755)
1554 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1555 %{_mandir}/man8/vfs_fake_perms.8*
1556
1557 %files vfs-notify_fam
1558 %defattr(644,root,root,755)
1559 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1560 %{_mandir}/man8/vfs_notify_fam.8*
1561
1562 %files vfs-netatalk
1563 %defattr(644,root,root,755)
1564 %attr(755,root,root) %{_vfsdir}/netatalk.so
1565 %{_mandir}/man8/vfs_netatalk.8*
1566
1567 %files vfs-readahead
1568 %defattr(644,root,root,755)
1569 %attr(755,root,root) %{_vfsdir}/readahead.so
1570 %{_mandir}/man8/vfs_readahead.8*
1571
1572 %files vfs-readonly
1573 %defattr(644,root,root,755)
1574 %attr(755,root,root) %{_vfsdir}/readonly.so
1575 %{_mandir}/man8/vfs_readonly.8*
1576
1577 %files vfs-recycle
1578 %defattr(644,root,root,755)
1579 %attr(755,root,root) %{_vfsdir}/recycle.so
1580 %{_mandir}/man8/vfs_recycle.8*
1581
1582 %files vfs-shadow_copy
1583 %defattr(644,root,root,755)
1584 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1585 %{_mandir}/man8/vfs_shadow_copy.8*
1586
1587 %if %{with vscan}
1588 %files vfs-vscan-antivir
1589 %defattr(644,root,root,755)
1590 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1592 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1593
1594 %files vfs-vscan-clamav
1595 %defattr(644,root,root,755)
1596 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1597 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1598 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1599
1600 %files vfs-vscan-fprot
1601 %defattr(644,root,root,755)
1602 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1603 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1604 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1605
1606 %files vfs-vscan-fsav
1607 %defattr(644,root,root,755)
1608 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1609 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1610 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1611
1612 %files vfs-vscan-kavp
1613 %defattr(644,root,root,755)
1614 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1615 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1616 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1617
1618 %files vfs-vscan-mcafee
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-mcdaemon.conf
1622 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1623
1624 %if %{with mks}
1625 %ifarch %{ix86} %{x8664}
1626 %files vfs-vscan-mks
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-mks32.conf
1630 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1631 %endif
1632 %endif
1633
1634 %files vfs-vscan-openantivirus
1635 %defattr(644,root,root,755)
1636 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1637 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1638 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1639
1640 %files vfs-vscan-sophos
1641 %defattr(644,root,root,755)
1642 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1643 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1644 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1645
1646 %files vfs-vscan-symantec
1647 %defattr(644,root,root,755)
1648 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1649 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1650 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1651
1652 %files vfs-vscan-trend
1653 %defattr(644,root,root,755)
1654 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1655 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1656 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1657 %endif
1658
1659 %files vfs-catia
1660 %defattr(644,root,root,755)
1661 %attr(755,root,root) %{_vfsdir}/catia.so
1662 %{_mandir}/man8/vfs_catia.8*
1663
1664 %files vfs-scannedonly
1665 %defattr(644,root,root,755)
1666 %attr(755,root,root) %{_vfsdir}/scannedonly.so
1667 %{_mandir}/man8/vfs_scannedonly.8*
1668
1669 %if %{with ldap}
1670 %files -n openldap-schema-samba
1671 %defattr(644,root,root,755)
1672 %{schemadir}/*.schema
1673 %endif
1674
1675 %files doc-html
1676 %defattr(644,root,root,755)
1677 %doc docs/htmldocs/*
1678
1679 %files doc-pdf
1680 %defattr(644,root,root,755)
1681 %doc docs/*.pdf
1682
1683 %if 0
1684 %files -n python-samba
1685 %defattr(644,root,root,755)
1686 %attr(755,root,root) %{py_sitedir}/*.so
1687 %dir %{py_sitedir}/samba
1688 %attr(755,root,root) %{py_sitedir}/samba/*.so
1689 %{py_sitedir}/samba/*.py[co]
1690 %dir %{py_sitedir}/samba/dcerpc
1691 %{py_sitedir}/samba/dcerpc/*.py[co]
1692 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1693 %dir %{py_sitedir}/samba/tests
1694 %{py_sitedir}/samba/tests/*.py[co]
1695 %dir %{py_sitedir}/samba/tests/dcerpc
1696 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1697 %dir %{py_sitedir}/samba/torture
1698 %{py_sitedir}/samba/torture/*.py[co]
1699 %endif
This page took 0.274448 seconds and 4 git commands to generate.