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