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