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