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