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