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