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