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