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