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