]>
Commit | Line | Data |
---|---|---|
29511e6d | 1 | # |
e4bb74d8 | 2 | # Conditional build: |
34895621 JR |
3 | %bcond_without ads # without ActiveDirectory support |
4 | %bcond_without cups # without CUPS support | |
5 | %bcond_without kerberos5 # without Kerberos V support | |
6 | %bcond_without ldap # without LDAP support | |
7 | %bcond_without avahi | |
e71e0470 | 8 | %bcond_without system_libs |
105507bc | 9 | |
07069da4 | 10 | # ADS requires kerberos5 and LDAP |
aceac5ef | 11 | %if %{without kerberos5} || %{without ldap} |
1e2a5fcf JB |
12 | %undefine with_ads |
13 | %endif | |
aceac5ef | 14 | |
e71e0470 JR |
15 | %if %{with system_libs} |
16 | %define talloc_ver 2.0.7 | |
17 | %define tdb_ver 2:1.2.10 | |
18 | %define ldb_ver 1.1.12 | |
19 | %define tevent_ver 0.9.17 | |
4ecf4d28 JB |
20 | %endif |
21 | ||
7d14b7f3 | 22 | %define virusfilter_version 0.1.3 |
ac6f9d13 | 23 | Summary: SMB server |
fa1faeca ER |
24 | Summary(cs.UTF-8): Server SMB |
25 | Summary(da.UTF-8): SMB server | |
26 | Summary(de.UTF-8): SMB-Server | |
27 | Summary(es.UTF-8): El servidor SMB | |
28 | Summary(fi.UTF-8): SMB-palvelin | |
29 | Summary(fr.UTF-8): Serveur SMB | |
30 | Summary(it.UTF-8): Server SMB | |
31 | Summary(ja.UTF-8): Samba SMB サーバー | |
32 | Summary(ko.UTF-8): 삼바 SMB 서버 | |
33 | Summary(pl.UTF-8): Serwer SMB | |
34 | Summary(pt_BR.UTF-8): Cliente e servidor SMB | |
35 | Summary(ru.UTF-8): SMB клиент и сервер | |
36 | Summary(tr.UTF-8): SMB sunucusu | |
37 | Summary(uk.UTF-8): SMB клієнт та сервер | |
38 | Summary(zh_CN.UTF-8): Samba 客户端和服务器 | |
670da5b0 JR |
39 | Name: samba4 |
40 | Version: 4.0.0 | |
dce29ff7 | 41 | Release: 0.5 |
6646cd44 | 42 | Epoch: 1 |
6bef715a | 43 | License: GPL v3 |
11d2c190 | 44 | Group: Networking/Daemons |
670da5b0 JR |
45 | Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz |
46 | # Source0-md5: 93e9aad40893ba48d08e1b28e7efff72 | |
ba850b61 | 47 | Source1: smb.init |
46c25e95 | 48 | Source2: samba.pamd |
d7dadfd6 | 49 | Source3: swat.inetd |
46c25e95 JR |
50 | Source4: samba.sysconfig |
51 | Source5: samba.logrotate | |
138aecb0 | 52 | Source6: smb.conf |
68134596 | 53 | Source7: winbind.init |
54 | Source8: winbind.sysconfig | |
46c25e95 | 55 | Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2 |
7d14b7f3 | 56 | # Source10-md5: a3a30d5fbf309d356e8c5833db680c17 |
34895621 | 57 | Patch0: system-heimdal.patch |
46c25e95 JR |
58 | Patch1: samba-c++-nofail.patch |
59 | Patch3: samba-nscd.patch | |
60 | Patch4: samba-lprng-no-dot-printers.patch | |
61 | Patch5: samba-passdb-smbpasswd.patch | |
7a52c5df | 62 | URL: http://www.samba.org/ |
bd658e80 | 63 | BuildRequires: acl-devel |
ea8d81e5 | 64 | BuildRequires: autoconf |
017136ce | 65 | BuildRequires: automake |
a0d23d1e | 66 | %{?with_avahi:BuildRequires: avahi-devel} |
aceac5ef | 67 | BuildRequires: ctdb-devel |
62dc8910 | 68 | %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0} |
51bcdd9a | 69 | BuildRequires: dmapi-devel |
5b010594 | 70 | BuildRequires: gamin-devel |
ff01b4ff | 71 | BuildRequires: gdbm-devel |
9f74dab7 | 72 | BuildRequires: gettext-devel |
34895621 | 73 | %{?with_kerberos5:BuildRequires: heimdal-devel >= 1.5.3-1} |
9f74dab7 | 74 | BuildRequires: iconv |
1125cc60 | 75 | BuildRequires: keyutils-devel |
34895621 | 76 | BuildRequires: libcom_err-devel |
53ce942a | 77 | BuildRequires: libmagic-devel |
4d8c5e20 | 78 | BuildRequires: libnscd-devel |
f092c096 | 79 | BuildRequires: libtool >= 2:1.4d |
40d90f9e | 80 | BuildRequires: make >= 3.81 |
0f00e211 | 81 | BuildRequires: ncurses-devel >= 5.2 |
78d04323 | 82 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
c951a08c | 83 | BuildRequires: openssl-devel >= 0.9.7d |
793ad0f8 | 84 | BuildRequires: pam-devel >= 0.99.8.1 |
6646cd44 JR |
85 | BuildRequires: perl(ExtUtils::MakeMaker) |
86 | BuildRequires: perl(Parse::Yapp) | |
9f74dab7 | 87 | BuildRequires: pkgconfig |
f092c096 | 88 | BuildRequires: popt-devel |
16c4fca4 | 89 | %{?with_pgsql:BuildRequires: postgresql-devel} |
190a259b JR |
90 | BuildRequires: python-devel |
91 | BuildRequires: python-dns | |
6bf53014 | 92 | BuildRequires: python-modules |
190a259b | 93 | BuildRequires: python-testtools |
f092c096 | 94 | BuildRequires: readline-devel >= 4.2 |
dce29ff7 | 95 | BuildRequires: rpmbuild(macros) >= 1.647 |
e155c475 | 96 | BuildRequires: sed >= 4.0 |
e71e0470 | 97 | %if %{with system_libs} |
e71e0470 JR |
98 | BuildRequires: ldb-devel >= %{ldb_ver} |
99 | BuildRequires: python-ldb-devel >= %{ldb_ver} | |
100 | BuildRequires: python-talloc-devel >= %{talloc_ver} | |
101 | BuildRequires: python-tevent >= %{tevent_ver} | |
05913998 JR |
102 | BuildRequires: talloc-devel >= %{talloc_ver} |
103 | BuildRequires: tdb-devel >= %{tdb_ver} | |
104 | BuildRequires: tevent-devel >= %{tevent_ver} | |
e71e0470 | 105 | %endif |
bd658e80 | 106 | BuildRequires: xfsprogs-devel |
34895621 | 107 | BuildConflicts: libbsd-devel |
656b05ab | 108 | Requires(post,preun): /sbin/chkconfig |
6646cd44 | 109 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
cd83be60 | 110 | Requires: logrotate >= 3.7-4 |
793ad0f8 | 111 | Requires: pam >= 0.99.8.1 |
8bf54aa6 | 112 | Requires: rc-scripts >= 0.4.0.12 |
27879fe9 | 113 | Requires: setup >= 2.4.6-7 |
dce29ff7 | 114 | Requires: systemd-units >= 38 |
62dc8910 | 115 | # smbd links with libcups |
ac083993 | 116 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} |
e765216e JR |
117 | Obsoletes: samba-doc-html |
118 | Obsoletes: samba-doc-pdf | |
05913998 JR |
119 | Obsoletes: samba-pdb-xml |
120 | Obsoletes: samba-vfs-block | |
da3dadf3 | 121 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1925a8b4 | 122 | |
c10bc67e | 123 | %define _sambahome /home/services/samba |
ddea14b0 | 124 | %if %{with cups} |
478e9eab | 125 | %define cups_serverbin %{_prefix}/lib/cups |
fd9d8b85 | 126 | %endif |
99795f36 | 127 | %define schemadir /usr/share/openldap/schema |
92c45d25 | 128 | |
01485082 ER |
129 | # CFLAGS modified (the second ./configure) |
130 | %undefine configure_cache | |
131 | ||
e11c6ca1 | 132 | %description |
cfa67cf6 | 133 | Samba provides an SMB server which can be used to provide network |
134 | services to SMB (sometimes called "Lan Manager") clients, including | |
135 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
136 | also provides some SMB clients, which complement the built-in SMB | |
137 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
138 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
e11c6ca1 | 139 | |
140 | This release is known as the "Locking Update" and has full support for | |
cfa67cf6 | 141 | Opportunistic File Locking. In addition this update includes native |
142 | support for Microsoft encrypted passwords, improved browse list and | |
143 | WINS database management. | |
e11c6ca1 | 144 | |
cfa67cf6 | 145 | Please refer to the WHATSNEW.txt document for fixup information. This |
146 | binary release includes encrypted password support. Please read the | |
dc18070c | 147 | smb.conf file for implementation details. |
d68d5e15 | 148 | |
96088f7b JR |
149 | %description -l cs.UTF-8 |
150 | Samba poskytuje server SMB, který lze použít pro poskytování síťových | |
151 | služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně | |
152 | klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů. | |
153 | Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný | |
154 | souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes | |
155 | TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec | |
156 | NetBIOS od společnosti Microsoft. | |
157 | ||
158 | %description -l da.UTF-8 | |
159 | Samba tilbyder en SMB server som kan bruges til at tilbyde netværk | |
160 | services til SMB (også kaldet "Lan Manager") klienter, incl. | |
cfa67cf6 | 161 | forskellige versioner af MS Windows, OS/2, og andre Linux maskiner. |
96088f7b | 162 | Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB |
cfa67cf6 | 163 | filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT) |
96088f7b | 164 | protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame) |
cfa67cf6 | 165 | protokollen. |
d1d64cbe | 166 | |
96088f7b JR |
167 | %description -l de.UTF-8 |
168 | Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für | |
169 | SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter | |
cfa67cf6 | 170 | verschiedenen Versionen von MS Windows-, OS/2- und anderen |
96088f7b JR |
171 | Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in |
172 | Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt | |
173 | NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI | |
cfa67cf6 | 174 | (Microsoft Raw NetBIOS frame)-Protokoll. |
d1d64cbe | 175 | |
96088f7b | 176 | %description -l es.UTF-8 |
da957f7e | 177 | Samba provee un servidor SMB que se puede usar para ofrecer servicios |
178 | de red a clientes SMB (algunas veces se le llama de "Lan Manager"), | |
96088f7b JR |
179 | incluyendo varias versiones de MS Windows, OS/2, y otras máquinas |
180 | Linux. Samba también ofrece algunos clientes SMB, que complementan el | |
da957f7e | 181 | sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre |
182 | TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw | |
183 | NetBIOS frame). | |
184 | ||
96088f7b JR |
185 | %description -l fi.UTF-8 |
186 | Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien | |
cfa67cf6 | 187 | verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan |
188 | Manager" protokollaksi ja asiakasohjelmat toimivat dosissa, | |
189 | Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on | |
96088f7b JR |
190 | myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin |
191 | kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS | |
192 | over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään | |
cfa67cf6 | 193 | NetBEUI-protokollaa. |
d1d64cbe | 194 | |
96088f7b | 195 | %description -l it.UTF-8 |
cfa67cf6 | 196 | Samba fornisce un server SMB che puo` essere usato per fornire servizi |
197 | di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per | |
198 | altre macchine Linux. Samba fornisce anche i client SMB. Samba usa | |
199 | NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI. | |
e11c6ca1 | 200 | |
96088f7b JR |
201 | %description -l ja.UTF-8 |
202 | Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン | |
203 | を含む SMB (たまに "Lan Manager" と呼ばれる) | |
204 | クライアントにネットワーク サービスを提供するために使用される SMB | |
205 | サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT) | |
206 | プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame) | |
207 | プロトコルは必要ありません。 | |
208 | ||
209 | Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、 | |
210 | 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する | |
211 | 新しい SWAT (Samba Web Administration Tool) を含みます。 | |
212 | 目下のところこれは inetd を通して TCP ポート 901 で有効になります。 | |
213 | ||
214 | %description -l ko.UTF-8 | |
215 | 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은 | |
216 | "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수 | |
217 | 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를 | |
218 | 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지 | |
219 | 않다. | |
220 | ||
221 | 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운 | |
222 | SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서 | |
223 | 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해 | |
224 | TCP 901 포트를 사용하게 된다. | |
225 | ||
226 | 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의 | |
227 | 릴리즈는 암호화된 패스워드를 제공한다. | |
228 | ||
229 | %description -l pl.UTF-8 | |
230 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
231 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
232 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
233 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
234 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
235 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
236 | haseł w standardzie MS i zarządzania bazą WINS. | |
237 | ||
238 | %description -l pt_BR.UTF-8 | |
239 | O Samba provê um servidor SMB que pode ser usado para oferecer | |
240 | serviços de rede a clientes SMB (algumas vezes chamado de "Lan | |
241 | Manager"), incluindo várias versões de MS Windows, OS/2, e outras | |
242 | máquinas Linux. O Samba também fornece alguns clientes SMB, que | |
da957f7e | 243 | complementam o sistema de arquivos SMB do Linux. O Samba usa o |
96088f7b | 244 | protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo |
da957f7e | 245 | NetBEUI (Microsoft Raw NetBIOS frame). |
246 | ||
96088f7b JR |
247 | O Samba inclui a maioria das características de um servidor de |
248 | Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que | |
249 | permite que o arquivo smb.conf seja gerenciado remotamente através de | |
250 | um navegador. Atualmente isto está sendo habilitado na porta TCP 901 | |
da957f7e | 251 | via inetd. |
252 | ||
96088f7b JR |
253 | %description -l ru.UTF-8 |
254 | Samba предоставляет SMB-сервер, который может быть использован для | |
255 | предоставления сетевых сервисов SMB (иногда называемым "Lan Manager") | |
256 | клиентам, включая разнообразные версии MS Windows, OS/2, и другие | |
257 | Linux-машины. Samba также предоставляет SMB-клиентов, которые работают | |
258 | со встроенной в Linux файловой системой SMB. | |
da957f7e | 259 | |
96088f7b JR |
260 | Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в |
261 | протоколе NetBEUI (Microsoft Raw NetBIOS frame). | |
da957f7e | 262 | |
96088f7b JR |
263 | Samba содержит практически работающую реализацию NT Domain Control и |
264 | включает новый SWAT (Samba Web Administration Tool), который позволяет | |
265 | удаленно управлять конфигурационным файлом smb.conf при помощи вашего | |
266 | любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту | |
da957f7e | 267 | 901. |
268 | ||
96088f7b JR |
269 | %description -l uk.UTF-8 |
270 | Samba надає SMB-сервер, що може бути використаний для надання | |
271 | мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам, | |
272 | включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини. | |
273 | Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux | |
274 | файловою системою SMB. | |
da957f7e | 275 | |
96088f7b JR |
276 | Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує |
277 | протоколу NetBEUI (Microsoft Raw NetBIOS frame). | |
da957f7e | 278 | |
96088f7b JR |
279 | Samba містить майже працюючу реализацію NT Domain Control та новый |
280 | SWAT (Samba Web Administration Tool), котрий дозволяє віддалено | |
281 | керувати конфігураційним файлом smb.conf за допомогою вашого | |
282 | улюбленого WEB-броузера. Поки що він дозволений через inetd на | |
283 | TCP-порту 901. | |
da957f7e | 284 | |
29511e6d | 285 | %package swat |
11d2c190 | 286 | Summary: Samba Web Administration Tool |
fa1faeca ER |
287 | Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba |
288 | Summary(pt_BR.UTF-8): Samba SWAT e documentação Web | |
289 | Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba | |
290 | Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba | |
11d2c190 | 291 | Group: Networking/Admin |
6646cd44 | 292 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d7dadfd6 | 293 | Requires: inetdaemon |
bd658e80 | 294 | Requires: rc-inetd >= 0.8.2 |
29511e6d | 295 | Obsoletes: swat |
11d2c190 | 296 | |
29511e6d | 297 | %description swat |
cfa67cf6 | 298 | swat allows a Samba administrator to configure the complex smb.conf |
299 | file via a Web browser. In addition, a swat configuration page has | |
300 | help links to all the configurable options in the smb.conf file | |
301 | allowing an administrator to easily look up the effects of any change. | |
11d2c190 | 302 | |
96088f7b JR |
303 | %description swat -l pl.UTF-8 |
304 | swat pozwala na kompleksową konfigurację smb.conf przy pomocy | |
305 | przeglądarki WWW. | |
11d2c190 | 306 | |
96088f7b JR |
307 | %description swat -l pt_BR.UTF-8 |
308 | SWAT - ferramentada Web de configuração do Samba. | |
da957f7e | 309 | |
96088f7b JR |
310 | %description swat -l ru.UTF-8 |
311 | Пакет samba-swat включает новый SWAT (Samba Web Administration Tool), | |
312 | для удаленного администрирования файла smb.conf при помощи вашего | |
313 | любимого Web-браузера. | |
da957f7e | 314 | |
96088f7b JR |
315 | %description swat -l uk.UTF-8 |
316 | Пакет samba-swat містить новий SWAT (Samba Web Administration Tool), | |
317 | для дистанційного адміністрування файлу smb.conf за допомогою вашого | |
318 | улюбленого Web-браузеру. | |
da957f7e | 319 | |
ac6f9d13 | 320 | %package client |
ea8d81e5 | 321 | Summary: Samba client programs |
fa1faeca ER |
322 | Summary(es.UTF-8): Cliente SMB de Samba |
323 | Summary(ja.UTF-8): Samba (SMB) クライアントプログラム | |
324 | Summary(pl.UTF-8): Klienci serwera Samba | |
325 | Summary(pt_BR.UTF-8): Cliente SMB do samba | |
326 | Summary(ru.UTF-8): Клиентские программы Samba (SMB) | |
327 | Summary(uk.UTF-8): Клієнтські програми Samba (SMB) | |
2eedd257 | 328 | Group: Applications/Networking |
6646cd44 | 329 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
34895621 | 330 | %{?with_kerberos5:Requires: heimdal-libs >= 1.5.3-1} |
6646cd44 | 331 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
b0b9dc36 | 332 | Suggests: cifs-utils |
85d322d3 | 333 | Obsoletes: smbfs |
ac6f9d13 MC |
334 | |
335 | %description client | |
336 | Samba-client provides some SMB clients, which complement the build-in | |
337 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
338 | printing to SMB printers. | |
339 | ||
96088f7b | 340 | %description client -l es.UTF-8 |
da957f7e | 341 | Cliente SMB de Samba. |
342 | ||
96088f7b JR |
343 | %description client -l ja.UTF-8 |
344 | Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB | |
345 | クライアントを提供します。これらは SMB 共有のアクセスと SMB | |
346 | プリンタへの印刷を許可します。 | |
da957f7e | 347 | |
96088f7b JR |
348 | %description client -l pl.UTF-8 |
349 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
350 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
bd658e80 | 351 | drukowanie w sieci SMB. |
ac6f9d13 | 352 | |
96088f7b | 353 | %description client -l pt_BR.UTF-8 |
da957f7e | 354 | O pacote samba-clientes prove alguns clientes SMB, que complementam o |
355 | sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB, | |
96088f7b | 356 | e também, à impressoras SMB. |
da957f7e | 357 | |
96088f7b JR |
358 | %description client -l ru.UTF-8 |
359 | Пакет samba-client предоставляет некоторые клиенты SMB для работы со | |
360 | встроенной файловой системой SMB в Linux. Эти клиенты позволяют | |
361 | получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры. | |
da957f7e | 362 | |
96088f7b JR |
363 | %description client -l uk.UTF-8 |
364 | Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою | |
365 | файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ | |
366 | до каталогів спільного використання SMB та друк на SMB-прінтери. | |
da957f7e | 367 | |
ac6f9d13 | 368 | %package common |
ea8d81e5 | 369 | Summary: Files used by both Samba servers and clients |
fa1faeca | 370 | Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム |
4ecf4d28 | 371 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samby |
fa1faeca ER |
372 | Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients |
373 | Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba | |
374 | Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba | |
2eedd257 | 375 | Group: Networking/Daemons |
70975be6 | 376 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
ac6f9d13 MC |
377 | |
378 | %description common | |
379 | Samba-common provides files necessary for both the server and client | |
380 | packages of Samba. | |
381 | ||
96088f7b JR |
382 | %description common -l ja.UTF-8 |
383 | Samba-common は Samba のサーバとクライアントの両方のパッケージで | |
384 | 使用されるファイルを提供します。 | |
da957f7e | 385 | |
96088f7b JR |
386 | %description common -l pl.UTF-8 |
387 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i | |
4ecf4d28 | 388 | klientów Samby. |
ac6f9d13 | 389 | |
96088f7b | 390 | %description common -l pt_BR.UTF-8 |
da957f7e | 391 | Arquivos em comum entre os pacotes samba e samba-clients. |
392 | ||
96088f7b JR |
393 | %description common -l ru.UTF-8 |
394 | Samba-common содержит файлы, необходимые для работы как клиента, так и | |
395 | сервера Samba. | |
da957f7e | 396 | |
96088f7b JR |
397 | %description common -l uk.UTF-8 |
398 | Samba-common містить файли, необхідні для роботи як клієнта, так і | |
399 | сервера Samba. | |
da957f7e | 400 | |
70975be6 JR |
401 | %package libs |
402 | Summary: Libraries used by all Samba components | |
403 | Group: Networking/Daemons | |
404 | Requires: talloc >= %{talloc_ver} | |
405 | Requires: tdb >= %{tdb_ver} | |
406 | ||
407 | %description libs | |
408 | Samba-libs provides libraries necessary for all Samba packages. | |
409 | ||
29511e6d | 410 | %package winbind |
29511e6d | 411 | Summary: Samba-winbind daemon, utilities and documentation |
fa1faeca | 412 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja |
29511e6d | 413 | Group: Networking/Daemons |
29511e6d | 414 | Requires(post,preun): /sbin/chkconfig |
6646cd44 | 415 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
dce29ff7 | 416 | Requires: systemd-units >= 38 |
29511e6d | 417 | |
418 | %description winbind | |
419 | Provides the winbind daemon and testing tools to allow authentication | |
420 | and group/user enumeration from a Windows or Samba domain controller. | |
421 | ||
96088f7b JR |
422 | %description winbind -l pl.UTF-8 |
423 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
424 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
4d750758 JB |
425 | Windows lub Samba. |
426 | ||
29511e6d | 427 | %package -n nss_wins |
29511e6d | 428 | Summary: Name Service Switch service for WINS |
fa1faeca | 429 | Summary(pl.UTF-8): Usługa Name Service Switch dla WINS |
29511e6d | 430 | Group: Base |
6646cd44 | 431 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
29511e6d | 432 | |
433 | %description -n nss_wins | |
4d750758 JB |
434 | Provides the libnss_wins shared library which resolves NetBIOS names |
435 | to IP addresses. | |
436 | ||
96088f7b JR |
437 | %description -n nss_wins -l pl.UTF-8 |
438 | Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy | |
4d750758 | 439 | IP. |
29511e6d | 440 | |
d6883a30 | 441 | %package -n pam-pam_smbpass |
b36aa9d5 | 442 | Summary: PAM Samba Password Module |
fa1faeca | 443 | Summary(pl.UTF-8): Moduł PAM smbpass |
b36aa9d5 | 444 | Group: Base |
d6883a30 | 445 | Obsoletes: pam_smbpass |
b36aa9d5 | 446 | |
d6883a30 | 447 | %description -n pam-pam_smbpass |
da957f7e | 448 | PAM module which can be used on conforming systems to keep the |
864ca994 | 449 | smbpasswd (Samba password) database in sync with the Unix password |
da957f7e | 450 | file. |
b36aa9d5 | 451 | |
96088f7b JR |
452 | %description -n pam-pam_smbpass -l pl.UTF-8 |
453 | Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła | |
454 | Samby) zsynchronizowanego z hasłami uniksowymi. | |
b36aa9d5 | 455 | |
35f26c47 | 456 | %package -n libsmbclient |
5dd16f0e | 457 | Summary: libsmbclient - samba client library |
fa1faeca | 458 | Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby |
79d8a749 | 459 | Group: Libraries |
460 | ||
35f26c47 | 461 | %description -n libsmbclient |
5dd16f0e PG |
462 | libsmbclient - library that allows to use samba clients functions. |
463 | ||
96088f7b JR |
464 | %description -n libsmbclient -l pl.UTF-8 |
465 | libsmbclient - biblioteka pozwalająca korzystać z funcji klienta | |
da957f7e | 466 | samby. |
79d8a749 | 467 | |
35f26c47 | 468 | %package -n libsmbclient-devel |
5dd16f0e | 469 | Summary: libsmbclient - samba client library |
fa1faeca ER |
470 | Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby |
471 | Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba | |
5dd16f0e | 472 | Group: Development/Libraries |
6646cd44 | 473 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
e765216e | 474 | Obsoletes: libsmbclient-static |
79d8a749 | 475 | |
35f26c47 | 476 | %description -n libsmbclient-devel |
5dd16f0e PG |
477 | Header files for libsmbclient. |
478 | ||
96088f7b JR |
479 | %description -n libsmbclient-devel -l pl.UTF-8 |
480 | Pliki nagłówkowe dla libsmbclient. | |
79d8a749 | 481 | |
96088f7b JR |
482 | %description -n libsmbclient-devel -l pt_BR.UTF-8 |
483 | Arquivos de inclusão, bibliotecas e documentação necessários para | |
da957f7e | 484 | desenvolver aplicativos clientes para o samba. |
485 | ||
f2b0247b ER |
486 | %package devel |
487 | Summary: Header files for Samba | |
fa1faeca | 488 | Summary(pl.UTF-8): Pliki nagłówkowe Samby |
f2b0247b ER |
489 | Group: Development/Libraries |
490 | ||
491 | %description devel | |
492 | Header files for Samba. | |
493 | ||
96088f7b JR |
494 | %description devel -l pl.UTF-8 |
495 | Pliki nagłówkowe Samby. | |
9c05ac07 | 496 | |
29511e6d | 497 | %package -n smbget |
e1c0d47d | 498 | Summary: A utility for retrieving files using the SMB protocol |
fa1faeca | 499 | Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB |
e1c0d47d | 500 | Group: Applications/Networking |
29511e6d | 501 | |
502 | %description -n smbget | |
503 | wget-like utility for download files over SMB. | |
504 | ||
96088f7b JR |
505 | %description -n smbget -l pl.UTF-8 |
506 | Narzędzie podobne do wgeta do pobierania plików protokołem SMB | |
507 | używanym w sieciach MS Windows. | |
29511e6d | 508 | |
9f6f5df1 AF |
509 | %package -n cups-backend-smb |
510 | Summary: CUPS backend for printing to SMB printers | |
fa1faeca | 511 | Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB |
61dbeaec | 512 | Group: Applications/Printing |
6646cd44 | 513 | Requires: %{name}-client = %{epoch}:%{version}-%{release} |
62dc8910 | 514 | Requires: cups >= 1:1.2.0 |
9f6f5df1 AF |
515 | |
516 | %description -n cups-backend-smb | |
517 | CUPS backend for printing to SMB printers. | |
518 | ||
96088f7b JR |
519 | %description -n cups-backend-smb -l pl.UTF-8 |
520 | Backend CUPS-a drukujący na drukarkach SMB. | |
6ab56661 | 521 | |
192f48a8 | 522 | %package vfs-audit |
4ecf4d28 JB |
523 | Summary: VFS modules to audit file access |
524 | Summary(pl.UTF-8): Moduły VFS do monitorowania operacji na plikach | |
4c0ad0d2 | 525 | Group: Networking/Daemons |
6646cd44 | 526 | Requires: %{name} = %{epoch}:%{version}-%{release} |
70ff6d03 | 527 | |
192f48a8 | 528 | %description vfs-audit |
4ecf4d28 JB |
529 | A simple modules (audit, extd_audit, full_audit) to audit file access |
530 | to the syslog facility. The following operations are logged: | |
8d59ae13 | 531 | - share connect/disconnect, |
532 | - directory opens/create/remove, | |
533 | - file open/close/rename/unlink/chmod. | |
70ff6d03 | 534 | |
96088f7b | 535 | %description vfs-audit -l pl.UTF-8 |
4ecf4d28 JB |
536 | Proste moduły (audit, extd_audit, full_audit) do monitorowania dostępu |
537 | do plików na serwerze samba do sysloga. Monitorowane są następujące | |
538 | operacje: | |
96088f7b | 539 | - podłączenie do/odłączenie od zasobu, |
8d59ae13 | 540 | - otwarcie/utworzenie/zmiana nazwy katalogu, |
96088f7b | 541 | - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików. |
0719a8a7 | 542 | |
d1f5710a | 543 | %package vfs-cap |
cc6b68cd | 544 | Summary: VFS module for CAP and samba compatibility |
fa1faeca | 545 | Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program) |
d1f5710a | 546 | Group: Networking/Daemons |
6646cd44 | 547 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 548 | |
549 | %description vfs-cap | |
e1c0d47d | 550 | Convert an incoming Shift-JIS character to the 3 byte hex |
551 | representation used by the Columbia AppleTalk Program (CAP), i.e. :AB. | |
552 | This is used for compatibility between Samba and CAP. | |
d1f5710a | 553 | |
96088f7b | 554 | %description vfs-cap -l pl.UTF-8 |
cc6b68cd | 555 | Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej |
96088f7b | 556 | reprezentacji używanej przez program Columbia AppleTalk Program (CAP). |
d1f5710a | 557 | |
4ecf4d28 JB |
558 | %package vfs-catia |
559 | Summary: VFS module to fix Catia CAD filenames | |
560 | Summary(pl.UTF-8): Moduł VFS poprawiający nazwy plików z pakietu CAD Catia | |
561 | Group: Networking/Daemons | |
562 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
563 | ||
564 | %description vfs-catia | |
565 | The Catia CAD package commonly creates filenames that use characters | |
566 | that are illegal in CIFS filenames. The vfs_catia VFS module | |
567 | implements a fixed character mapping so that these files can be shared | |
568 | with CIFS clients. | |
569 | ||
570 | %description vfs-catia -l pl.UTF-8 | |
571 | Pakiet CAD Catia często tworzy nazwy plików, wykorzystujące znaki, | |
572 | które nie są dozwolone w nazwach plików CIFS. Moduł VFS vfs_catia | |
573 | implementuje stałe odwzorowanie znaków, pozwalające na współdzielenie | |
574 | plików z innymi klientami CIFS. | |
575 | ||
cc6b68cd | 576 | %package vfs-default_quota |
97334e11 | 577 | Summary: VFS module to store default quotas in a specified quota record |
fa1faeca | 578 | Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie |
d1f5710a | 579 | Group: Networking/Daemons |
6646cd44 | 580 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 581 | |
cc6b68cd | 582 | %description vfs-default_quota |
97334e11 | 583 | This VFS modules stores default quotas in a specified quota record. |
d1f5710a | 584 | |
96088f7b JR |
585 | %description vfs-default_quota -l pl.UTF-8 |
586 | Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie | |
587 | limitów. | |
d1f5710a | 588 | |
cc6b68cd | 589 | %package vfs-expand_msdfs |
590 | Summary: VFS module for hosting a Microsoft Distributed File System Tree | |
fa1faeca | 591 | Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System |
d1f5710a | 592 | Group: Networking/Daemons |
6646cd44 | 593 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 594 | |
cc6b68cd | 595 | %description vfs-expand_msdfs |
596 | A VFS module for hosting a Microsoft Distributed File System Tree. | |
d1f5710a | 597 | |
cc6b68cd | 598 | The Distributed File System (DFS) provides a means of separating the |
599 | logical view of files and directories that users see from the actual | |
e1c0d47d | 600 | physical locations of these resources on the network. It allows for |
601 | higher availability, smoother storage expansion, load balancing, and | |
602 | so on. | |
d1f5710a | 603 | |
96088f7b JR |
604 | %description vfs-expand_msdfs -l pl.UTF-8 |
605 | Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed | |
727a2c6a JB |
606 | File System. |
607 | ||
96088f7b JR |
608 | Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku |
609 | plików i katalogów widocznych przez użytkowników z fizycznego | |
610 | umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność, | |
611 | płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp. | |
cc6b68cd | 612 | |
613 | %package vfs-fake_perms | |
727a2c6a | 614 | Summary: VFS module to report read-only fires as writable |
fa1faeca | 615 | Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne |
d1f5710a | 616 | Group: Networking/Daemons |
6646cd44 | 617 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 618 | |
cc6b68cd | 619 | %description vfs-fake_perms |
e1c0d47d | 620 | This module allow Roaming Profile files and directories to be set (on |
621 | the Samba server under UNIX) as read only. This module will, if | |
622 | installed on the Profiles share, report to the client that the Profile | |
623 | files and directories are writeable. This satisfies the client even | |
624 | though the files will never be overwritten as the client logs out or | |
625 | shuts down. | |
d1f5710a | 626 | |
96088f7b JR |
627 | %description vfs-fake_perms -l pl.UTF-8 |
628 | Ten moduł pozwala na ustawienie plików i katalogów z wędrujących | |
629 | profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w | |
630 | przypadku zainstalowania na udziale z profilami będzie zgłaszał | |
631 | klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy | |
632 | klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu | |
727a2c6a | 633 | lub wylogowywaniu klienta. |
d1f5710a | 634 | |
8ba454ef | 635 | %package vfs-notify_fam |
9f74dab7 | 636 | Summary: VFS module to implement file change notifications |
8ba454ef AM |
637 | Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach |
638 | Group: Networking/Daemons | |
6646cd44 | 639 | Requires: %{name} = %{epoch}:%{version}-%{release} |
8ba454ef AM |
640 | |
641 | %description vfs-notify_fam | |
642 | The vfs_notify_fam module makes use of the system FAM (File Alteration | |
643 | Monitor) daemon to implement file change notifications for Windows | |
644 | clients. | |
645 | ||
646 | %description vfs-notify_fam -l pl.UTF-8 | |
647 | Ten moduł używa demona FAM (File Alteration Monitor) do implementacji | |
648 | informowania o zmianach w plikach dla klientów Windows. | |
649 | ||
d1f5710a | 650 | %package vfs-netatalk |
4ecf4d28 JB |
651 | Summary: VFS module for ease co-existence of Samba and netatalk |
652 | Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę usług Samba i netatalk | |
d1f5710a | 653 | Group: Networking/Daemons |
6646cd44 | 654 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 655 | |
656 | %description vfs-netatalk | |
727a2c6a | 657 | Package contains a netatalk VFS module for ease co-existence of Samba |
e1c0d47d | 658 | and netatalk file sharing services. |
d1f5710a | 659 | |
96088f7b | 660 | %description vfs-netatalk -l pl.UTF-8 |
4ecf4d28 | 661 | Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług Samba |
96088f7b | 662 | i netatalk przy udostępnianiu zasobów. |
d1f5710a | 663 | |
97334e11 JB |
664 | %package vfs-recycle |
665 | Summary: VFS module to add recycle bin facility to a samba share | |
4ecf4d28 | 666 | Summary(pl.UTF-8): Moduł VFS dodający funkcję kosza do zasobu Samby |
97334e11 | 667 | Group: Networking/Daemons |
6646cd44 | 668 | Requires: %{name} = %{epoch}:%{version}-%{release} |
97334e11 JB |
669 | |
670 | %description vfs-recycle | |
671 | VFS module to add recycle bin facility to a samba share. | |
672 | ||
96088f7b | 673 | %description vfs-recycle -l pl.UTF-8 |
4ecf4d28 | 674 | Moduł VFS dodający funkcję kosza do zasobu Samby. |
97334e11 | 675 | |
4d8c5e20 | 676 | %package vfs-readahead |
05756483 | 677 | Summary: VFS module for pre-loading the kernel buffer cache |
8134e830 | 678 | Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra |
05756483 | 679 | Group: Networking/Daemons |
6646cd44 | 680 | Requires: %{name} = %{epoch}:%{version}-%{release} |
4d8c5e20 JB |
681 | |
682 | %description vfs-readahead | |
683 | This VFS module detects read requests at multiples of a given offset | |
684 | (hex 0x80000 by default) and then tells the kernel via either the | |
685 | readahead system call (on Linux) or the posix_fadvise system call to | |
686 | pre-fetch this data into the buffer cache. | |
687 | ||
688 | This module is useful for Windows Vista clients reading data using the | |
689 | Windows Explorer program, which asynchronously does multiple file read | |
690 | requests at offset boundaries of 0x80000 bytes. | |
691 | ||
8134e830 JB |
692 | %description vfs-readahead -l pl.UTF-8 |
693 | Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych | |
694 | pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez | |
695 | wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do | |
696 | wczesnego odczytu tych danych do bufora cache. | |
4d8c5e20 | 697 | |
8134e830 JB |
698 | Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane |
699 | przy użyciu programu Windows Explorer, który asynchronicznie wykonuje | |
700 | wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000 | |
701 | bajtów. | |
4d8c5e20 | 702 | |
97334e11 JB |
703 | %package vfs-readonly |
704 | Summary: VFS module for read-only limitation for specified share | |
fa1faeca | 705 | Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu |
97334e11 | 706 | Group: Networking/Daemons |
6646cd44 | 707 | Requires: %{name} = %{epoch}:%{version}-%{release} |
97334e11 JB |
708 | |
709 | %description vfs-readonly | |
710 | This module performs a read-only limitation for specified share (or | |
711 | all of them if it is loaded in a [global] section) based on period | |
712 | definition in smb.conf. | |
713 | ||
96088f7b JR |
714 | %description vfs-readonly -l pl.UTF-8 |
715 | Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego | |
716 | udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w | |
717 | oparciu o definicje okresów w smb.conf. | |
97334e11 | 718 | |
670da5b0 JR |
719 | %package vfs-shadow_copy |
720 | Summary: VFS module to make automatic copy of data in samba share | |
721 | Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby | |
722 | Group: Networking/Daemons | |
6646cd44 | 723 | Requires: %{name} = %{epoch}:%{version}-%{release} |
670da5b0 JR |
724 | |
725 | %description vfs-shadow_copy | |
726 | VFS module to make automatic copy of data in samba share. | |
727 | ||
728 | %description vfs-shadow_copy -l pl.UTF-8 | |
729 | Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby. | |
730 | ||
731 | %package vfs-catia | |
732 | Summary: VFS module to fix Catia CAD filenames | |
733 | Group: Networking/Daemons | |
6646cd44 | 734 | Requires: %{name} = %{epoch}:%{version}-%{release} |
670da5b0 JR |
735 | |
736 | %description vfs-catia | |
737 | The Catia CAD package commonly creates filenames that use characters | |
738 | that are illegal in CIFS filenames. The vfs_catia VFS module | |
739 | implements a fixed character mapping so that these files can be shared | |
740 | with CIFS clients. | |
741 | ||
d718c2e1 AF |
742 | %package vfs-scannedonly |
743 | Summary: Anti-virus solution as VFS module | |
4ecf4d28 | 744 | Summary(pl.UTF-8): Rozwiązanie antywirusowe jako moduł VFS |
d718c2e1 | 745 | Group: Networking/Daemons |
6646cd44 | 746 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d718c2e1 AF |
747 | |
748 | %description vfs-scannedonly | |
aceac5ef ER |
749 | The vfs_scannedonly VFS module ensures that only files that have been |
750 | scanned for viruses are visible and accessible to the end user. If | |
751 | non-scanned files are found an anti-virus scanning daemon is notified. | |
d718c2e1 | 752 | |
4ecf4d28 JB |
753 | %description vfs-scannedonly -l pl.UTF-8 |
754 | Moduł VFS vfs_scannedonly zapewnia, że tylko pliki, które zostały | |
755 | wcześniej przeskanowane pod kątem wirusów, są widoczne i dostępne dla | |
756 | użytkownika końcowego. Jeśli zostaną znalezione pliki nie | |
757 | przeskanowane, powiadamiany jest antywirusowy demon skanujący. | |
758 | ||
759 | %package vfs-shadow_copy | |
760 | Summary: VFS module to make automatic copy of data in Samba share | |
761 | Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby | |
762 | Group: Networking/Daemons | |
763 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
764 | ||
765 | %description vfs-shadow_copy | |
766 | VFS module to make automatic copy of data in Samba share. | |
767 | ||
768 | %description vfs-shadow_copy -l pl.UTF-8 | |
769 | Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby. | |
770 | ||
99795f36 ER |
771 | %package -n openldap-schema-samba |
772 | Summary: Samba LDAP schema | |
fa1faeca | 773 | Summary(pl.UTF-8): Schemat LDAP dla samby |
99795f36 ER |
774 | Group: Networking/Daemons |
775 | Requires(post,postun): sed >= 4.0 | |
776 | Requires: openldap-servers | |
85d322d3 ER |
777 | %if "%{_rpmversion}" >= "5" |
778 | BuildArch: noarch | |
779 | %endif | |
99795f36 ER |
780 | |
781 | %description -n openldap-schema-samba | |
4ecf4d28 | 782 | This package contains samba.schema for OpenLDAP. |
99795f36 | 783 | |
96088f7b | 784 | %description -n openldap-schema-samba -l pl.UTF-8 |
4ecf4d28 | 785 | Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a. |
e611fed4 | 786 | |
e765216e JR |
787 | %package -n python-samba4 |
788 | Summary: Samba Module for Python | |
9f74dab7 | 789 | Group: Development/Languages/Python |
670da5b0 | 790 | %pyrequires_eq python |
6646cd44 | 791 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1a8c003b | 792 | |
e765216e JR |
793 | %description -n python-samba4 |
794 | Samba Module for Python. | |
1a8c003b | 795 | |
6646cd44 JR |
796 | %package test |
797 | Summary: Testing tools for Samba servers and clients | |
798 | Group: Applications/System | |
799 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
800 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
801 | Requires: %{name}-winbind = %{epoch}:%{version}-%{release} | |
802 | ||
803 | %description test | |
804 | samba4-test provides testing tools for both the server and client | |
805 | packages of Samba. | |
806 | ||
807 | %package test-devel | |
808 | Summary: Testing devel files for Samba servers and clients | |
809 | Group: Applications/System | |
810 | Requires: %{name}-test = %{epoch}:%{version}-%{release} | |
811 | ||
812 | %description test-devel | |
05913998 JR |
813 | samba-test-devel provides testing devel files for both the server and |
814 | client packages of Samba. | |
6646cd44 JR |
815 | |
816 | %package pidl | |
817 | Summary: Perl IDL compiler | |
818 | Group: Development/Tools | |
819 | Requires: perl(Parse::Yapp) | |
820 | ||
821 | %description pidl | |
822 | The samba4-pidl package contains the Perl IDL compiler used by Samba | |
823 | and Wireshark to parse IDL and similar protocols. | |
824 | ||
1925a8b4 | 825 | %prep |
670da5b0 | 826 | %setup -q -n samba-%{version} |
34895621 | 827 | %patch0 -p1 |
8932759c | 828 | %patch1 -p1 |
f4ecaf8b | 829 | %patch3 -p1 |
ce9af3e2 | 830 | %patch4 -p1 |
6fb3721a | 831 | |
1925a8b4 | 832 | %build |
34895621 JR |
833 | LDFLAGS="${LDFLAGS:-%rpmldflags}" \ |
834 | CFLAGS="${CFLAGS:-%rpmcflags}" \ | |
835 | CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \ | |
836 | FFLAGS="${FFLAGS:-%rpmcflags}" \ | |
837 | FCFLAGS="${FCFLAGS:-%rpmcflags}" \ | |
838 | CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \ | |
839 | %{?__cc:CC="%{__cc}"} \ | |
840 | %{?__cxx:CXX="%{__cxx}"} \ | |
841 | ./configure \ | |
842 | --enable-fhs \ | |
843 | --prefix=%{_prefix} \ | |
844 | --exec-prefix=%{_exec_prefix} \ | |
845 | --bindir=%{_bindir} \ | |
846 | --sbindir=%{_sbindir} \ | |
847 | --sysconfdir=%{_sysconfdir} \ | |
848 | --datadir=%{_datadir} \ | |
849 | --includedir=%{_includedir} \ | |
850 | --libdir=%{_libdir} \ | |
851 | --libexecdir=%{_libexecdir} \ | |
852 | --localstatedir=%{_localstatedir} \ | |
853 | --sharedstatedir=%{_sharedstatedir} \ | |
854 | --mandir=%{_mandir} \ | |
855 | --infodir=%{_infodir} \ | |
2e711b12 JR |
856 | --with-privatelibdir=%{_libdir}/samba \ |
857 | --with-modulesdir=%{_libdir}/samba \ | |
01485082 | 858 | --with-pammodulesdir=/%{_lib}/security \ |
34895621 JR |
859 | --with-lockdir=/var/lib/samba \ |
860 | --with-privatedir=%{_sysconfdir}/samba \ | |
861 | --disable-gnutls \ | |
862 | --disable-rpath-install \ | |
863 | --builtin-libraries=ccan \ | |
e71e0470 | 864 | --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libs:talloc,tdb,ldb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util} \ |
34895621 JR |
865 | --private-libraries=smbclient,smbsharemodes,wbclient \ |
866 | --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4 \ | |
f4f0ea2d | 867 | --with-acl-support \ |
34895621 | 868 | --with%{!?with_ads:out}-ads \ |
40d90f9e | 869 | --with-aio-support \ |
432ee34d | 870 | --with-automount \ |
34895621 JR |
871 | --with-dmapi \ |
872 | --with-dnsupdate \ | |
873 | --with-iconv \ | |
874 | --with%{!?with_ldap:out}-ldap \ | |
d1d64cbe | 875 | --with-pam \ |
29511e6d | 876 | --with-pam_smbpass \ |
4ef99dd8 | 877 | --with-quotas \ |
34895621 JR |
878 | --with-sendfile-support \ |
879 | --with-swat \ | |
4ef99dd8 | 880 | --with-syslog \ |
881 | --with-utmp \ | |
34895621 | 882 | --with-winbind \ |
66e5c63e | 883 | --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \ |
34895621 JR |
884 | --enable-cups \ |
885 | --enable-iprint | |
1925a8b4 | 886 | |
70ff6d03 | 887 | %{__make} |
192f48a8 | 888 | |
6646cd44 JR |
889 | # Build PIDL for installation into vendor directories before |
890 | # 'make proto' gets to it. | |
891 | cd pidl | |
892 | %{__perl} Makefile.PL \ | |
893 | INSTALLDIRS=vendor | |
894 | ||
1925a8b4 | 895 | %install |
896 | rm -rf $RPM_BUILD_ROOT | |
a60823b9 | 897 | install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \ |
2e711b12 | 898 | $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \ |
08bf002e | 899 | $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \ |
2e711b12 JR |
900 | $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \ |
901 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
ba850b61 | 902 | |
34895621 | 903 | %{__make} install \ |
bd658e80 | 904 | DESTDIR=$RPM_BUILD_ROOT \ |
29511e6d | 905 | CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba |
bd658e80 | 906 | |
6646cd44 JR |
907 | # Undo the PIDL install, we want to try again with the right options. |
908 | %{__rm} -r $RPM_BUILD_ROOT/%{_datadir}/perl5 | |
909 | ||
910 | # Install PIDL | |
911 | cd pidl | |
912 | %{__make} install \ | |
913 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | |
914 | cd .. | |
915 | ||
916 | # Clean out crap left behind by the PIDL install | |
917 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/wscript_build | |
918 | %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp | |
919 | ||
b25f7233 | 920 | install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir} |
1925a8b4 | 921 | |
2e711b12 JR |
922 | install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf |
923 | install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
924 | install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir} | |
925 | install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
926 | install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir} | |
927 | ||
b25f7233 ER |
928 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb |
929 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba | |
930 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat | |
931 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba | |
932 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba | |
933 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf | |
934 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind | |
935 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind | |
29511e6d | 936 | |
37a62870 JR |
937 | # move lib{smb,wb}client where they always were for compatibility |
938 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
939 | ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so | |
940 | ln -s libwbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libwbclient.so | |
941 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libwbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
942 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/libsmbclient.h $RPM_BUILD_ROOT%{_includedir} | |
943 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/wbclient.h $RPM_BUILD_ROOT%{_includedir} | |
944 | ||
34895621 JR |
945 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib} |
946 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib} | |
947 | install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir} | |
79d8a749 | 948 | |
f2b0247b | 949 | # these are needed to build samba-pdbsql |
37a62870 JR |
950 | install -d $RPM_BUILD_ROOT%{_includedir}/samba/nsswitch |
951 | cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/samba | |
952 | cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/samba/nsswitch | |
b25f7233 | 953 | %if %{without system_libtdb} |
37a62870 JR |
954 | install -d $RPM_BUILD_ROOT%{_includedir}/samba/tdb |
955 | cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/samba/tdb | |
b25f7233 | 956 | %endif |
f2b0247b | 957 | |
6a2e83e0 | 958 | touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat} |
1925a8b4 | 959 | |
01485082 | 960 | echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts |
8b604b68 | 961 | |
ddea14b0 | 962 | %if %{with cups} |
fd9d8b85 JB |
963 | install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend |
964 | ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb | |
965 | %endif | |
9f6f5df1 | 966 | |
29511e6d | 967 | > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers |
8b604b68 | 968 | > $RPM_BUILD_ROOT/etc/security/blacklist.samba |
11d2c190 | 969 | |
105507bc | 970 | %if %{with ldap} |
99795f36 | 971 | install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir} |
105507bc | 972 | %endif |
99795f36 | 973 | |
b25f7233 ER |
974 | %if %{with system_libtdb} |
975 | # remove manuals of tdb if system lib used | |
976 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8* | |
977 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8* | |
978 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8* | |
979 | %endif | |
980 | ||
1a8c003b AM |
981 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
982 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
983 | find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f | |
984 | ||
ea8d81e5 JB |
985 | %clean |
986 | rm -rf $RPM_BUILD_ROOT | |
9661cd11 | 987 | |
1925a8b4 | 988 | %post |
9ac29548 | 989 | /sbin/chkconfig --add smb |
dce29ff7 JR |
990 | %service smb restart "Samba daemons" |
991 | #systemd_post smb.service nmb.service | |
992 | %systemd_post samba.service | |
1925a8b4 | 993 | |
994 | %preun | |
9ac29548 | 995 | if [ "$1" = "0" ]; then |
27879fe9 | 996 | %service smb stop |
9ac29548 | 997 | /sbin/chkconfig --del smb |
998 | fi | |
dce29ff7 JR |
999 | #systemd_preun smb.service nmb.service |
1000 | %systemd_preun samba.service | |
1001 | ||
1002 | %postun | |
1003 | %systemd_reload | |
11d2c190 | 1004 | |
70975be6 JR |
1005 | %post libs -p /sbin/ldconfig |
1006 | %postun libs -p /sbin/ldconfig | |
1007 | ||
29511e6d | 1008 | %post winbind |
1009 | /sbin/chkconfig --add winbind | |
27879fe9 | 1010 | %service winbind restart "Winbind daemon" |
dce29ff7 | 1011 | %systemd_post winbind.service |
29511e6d | 1012 | |
1013 | %preun winbind | |
1014 | if [ "$1" = "0" ]; then | |
27879fe9 | 1015 | %service winbind stop |
29511e6d | 1016 | /sbin/chkconfig --del winbind |
1017 | fi | |
dce29ff7 JR |
1018 | %systemd_preun winbind.service |
1019 | ||
1020 | %postun winbind | |
1021 | %systemd_reload | |
29511e6d | 1022 | |
1023 | %post swat | |
27879fe9 | 1024 | %service -q rc-inetd reload |
d7dadfd6 | 1025 | |
29511e6d | 1026 | %postun swat |
27879fe9 ER |
1027 | if [ "$1" = 0 ]; then |
1028 | %service -q rc-inetd reload | |
9ac29548 | 1029 | fi |
d7dadfd6 | 1030 | |
99795f36 | 1031 | %post -n openldap-schema-samba |
c4db757c ER |
1032 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
1033 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
27879fe9 | 1034 | %service -q ldap restart |
99795f36 ER |
1035 | |
1036 | %postun -n openldap-schema-samba | |
1037 | if [ "$1" = "0" ]; then | |
c4db757c | 1038 | %openldap_schema_unregister %{schemadir}/samba.schema |
27879fe9 | 1039 | %service -q ldap restart |
99795f36 ER |
1040 | fi |
1041 | ||
1925a8b4 | 1042 | %files |
1043 | %defattr(644,root,root,755) | |
3773b65f | 1044 | %attr(755,root,root) %{_sbindir}/nmbd |
1045 | %attr(755,root,root) %{_sbindir}/smbd | |
6646cd44 JR |
1046 | %attr(755,root,root) %{_sbindir}/samba |
1047 | %attr(755,root,root) %{_sbindir}/samba_dnsupdate | |
1048 | %attr(755,root,root) %{_sbindir}/samba_kcc | |
1049 | %attr(755,root,root) %{_sbindir}/samba_spnupdate | |
1050 | %attr(755,root,root) %{_sbindir}/samba_upgradedns | |
1051 | %attr(755,root,root) %{_sbindir}/samba_upgradeprovision | |
cc483cf9 | 1052 | %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh |
1a8c003b | 1053 | %attr(755,root,root) %{_bindir}/reg* |
ac6f9d13 | 1054 | %attr(755,root,root) %{_bindir}/smbstatus |
e5e8db61 | 1055 | %attr(755,root,root) %{_bindir}/smbcontrol |
11d2c190 | 1056 | |
6646cd44 JR |
1057 | %attr(755,root,root) %{_bindir}/smbta-util |
1058 | %attr(755,root,root) %{_bindir}/smbpasswd | |
1059 | ||
6646cd44 | 1060 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so.*.*.* |
70975be6 | 1061 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-atsvc.so.0 |
6646cd44 | 1062 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.* |
70975be6 | 1063 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0 |
6646cd44 | 1064 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.* |
70975be6 | 1065 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0 |
6646cd44 | 1066 | %attr(755,root,root) %{_libdir}/libregistry.so.*.*.* |
70975be6 | 1067 | %attr(755,root,root) %ghost %{_libdir}/libregistry.so.0 |
6646cd44 | 1068 | %attr(755,root,root) %{_libdir}/libsamba-policy.so.*.*.* |
70975be6 | 1069 | %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.so.0 |
6646cd44 | 1070 | %attr(755,root,root) %{_libdir}/mit_samba.so |
6646cd44 | 1071 | %attr(755,root,root) %{_libdir}/samba/libdb-glue.so |
6646cd44 | 1072 | %attr(755,root,root) %{_libdir}/samba/libdsdb-module.so |
70975be6 | 1073 | %attr(755,root,root) %{_libdir}/samba/libHDB_SAMBA4.so |
6646cd44 JR |
1074 | %attr(755,root,root) %{_libdir}/samba/libntvfs.so |
1075 | %attr(755,root,root) %{_libdir}/samba/libpac.so | |
1076 | %attr(755,root,root) %{_libdir}/samba/libposix_eadb.so | |
6646cd44 JR |
1077 | %attr(755,root,root) %{_libdir}/samba/libprocess_model.so |
1078 | %attr(755,root,root) %{_libdir}/samba/libsamba-net.so | |
1079 | %attr(755,root,root) %{_libdir}/samba/libsamba_python.so | |
1080 | %attr(755,root,root) %{_libdir}/samba/libservice.so | |
1081 | %attr(755,root,root) %{_libdir}/samba/libshares.so | |
6646cd44 JR |
1082 | %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser.so |
1083 | %attr(755,root,root) %{_libdir}/samba/libsmbsharemodes.so.0 | |
1084 | %attr(755,root,root) %{_libdir}/samba/libtdb_compat.so | |
6646cd44 | 1085 | %attr(755,root,root) %{_libdir}/samba/libxattr_tdb.so |
05913998 | 1086 | %dir %{_libdir}/samba/bind9 |
6646cd44 JR |
1087 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so |
1088 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so | |
05913998 | 1089 | %dir %{_libdir}/samba/gensec |
6646cd44 | 1090 | %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so |
05913998 | 1091 | %dir %{_libdir}/samba/hdb |
6646cd44 | 1092 | %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so |
2e711b12 | 1093 | %dir %{_libdir}/samba/idmap |
6646cd44 JR |
1094 | %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so |
1095 | %attr(755,root,root) %{_libdir}/samba/idmap/ad.so | |
1096 | %attr(755,root,root) %{_libdir}/samba/idmap/hash.so | |
1097 | %attr(755,root,root) %{_libdir}/samba/idmap/rid.so | |
1098 | %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so | |
05913998 | 1099 | %dir %{_libdir}/samba/ldb |
6646cd44 JR |
1100 | %attr(755,root,root) %{_libdir}/samba/ldb/acl.so |
1101 | %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so | |
1102 | %attr(755,root,root) %{_libdir}/samba/ldb/anr.so | |
1103 | %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so | |
1104 | %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so | |
1105 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so | |
1106 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so | |
1107 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so | |
1108 | %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so | |
1109 | %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so | |
1110 | %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so | |
1111 | %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so | |
1112 | %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so | |
1113 | %attr(755,root,root) %{_libdir}/samba/ldb/local_password.so | |
1114 | %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so | |
1115 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so | |
1116 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so | |
1117 | %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so | |
1118 | %attr(755,root,root) %{_libdir}/samba/ldb/operational.so | |
1119 | %attr(755,root,root) %{_libdir}/samba/ldb/partition.so | |
1120 | %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so | |
1121 | %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so | |
1122 | %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so | |
1123 | %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so | |
1124 | %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so | |
1125 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so | |
1126 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so | |
1127 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so | |
1128 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so | |
1129 | %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so | |
1130 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so | |
1131 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so | |
1132 | %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so | |
1133 | %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so | |
1134 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so | |
1135 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so | |
1136 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so | |
1137 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so | |
1138 | %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so | |
1139 | %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so | |
05913998 | 1140 | %dir %{_libdir}/samba/nss_info |
6646cd44 JR |
1141 | %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so |
1142 | %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so | |
1143 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so | |
1144 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so | |
2e711b12 | 1145 | %dir %{_libdir}/samba/pdb |
6646cd44 JR |
1146 | %attr(755,root,root) %{_libdir}/samba/pdb/ldap.so |
1147 | %attr(755,root,root) %{_libdir}/samba/pdb/smbpasswd.so | |
1148 | %attr(755,root,root) %{_libdir}/samba/pdb/tdbsam.so | |
1149 | %attr(755,root,root) %{_libdir}/samba/pdb/wbc_sam.so | |
05913998 | 1150 | %dir %{_libdir}/samba/process_model |
6646cd44 JR |
1151 | %attr(755,root,root) %{_libdir}/samba/process_model/onefork.so |
1152 | %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so | |
1153 | %attr(755,root,root) %{_libdir}/samba/process_model/standard.so | |
05913998 | 1154 | %dir %{_libdir}/samba/service |
6646cd44 JR |
1155 | %attr(755,root,root) %{_libdir}/samba/service/cldap.so |
1156 | %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so | |
1157 | %attr(755,root,root) %{_libdir}/samba/service/dns.so | |
1158 | %attr(755,root,root) %{_libdir}/samba/service/dns_update.so | |
1159 | %attr(755,root,root) %{_libdir}/samba/service/drepl.so | |
1160 | %attr(755,root,root) %{_libdir}/samba/service/kcc.so | |
1161 | %attr(755,root,root) %{_libdir}/samba/service/kdc.so | |
1162 | %attr(755,root,root) %{_libdir}/samba/service/ldap.so | |
1163 | %attr(755,root,root) %{_libdir}/samba/service/nbtd.so | |
1164 | %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so | |
1165 | %attr(755,root,root) %{_libdir}/samba/service/s3fs.so | |
1166 | %attr(755,root,root) %{_libdir}/samba/service/smb.so | |
1167 | %attr(755,root,root) %{_libdir}/samba/service/web.so | |
1168 | %attr(755,root,root) %{_libdir}/samba/service/winbind.so | |
1169 | %attr(755,root,root) %{_libdir}/samba/service/wrepl.so | |
2e711b12 | 1170 | %dir %{_libdir}/samba/vfs |
6646cd44 JR |
1171 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_linux.so |
1172 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_posix.so | |
1173 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so | |
1174 | %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so | |
1175 | %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so | |
2e711b12 JR |
1176 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so |
1177 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so | |
1178 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so | |
1179 | %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so | |
1180 | %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so | |
1181 | %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so | |
1182 | %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so | |
1183 | %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so | |
1184 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so | |
1185 | %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so | |
1186 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so | |
1187 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so | |
1188 | %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so | |
1189 | %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so | |
1190 | %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so | |
e765216e | 1191 | %{_datadir}/samba/setup |
6646cd44 | 1192 | %{_mandir}/man8/idmap_autorid.8* |
6fb3721a AM |
1193 | %{_mandir}/man8/vfs_acl_tdb.8* |
1194 | %{_mandir}/man8/vfs_acl_xattr.8* | |
423b7f34 | 1195 | %{_mandir}/man8/vfs_crossrename.8* |
69828d88 | 1196 | %{_mandir}/man8/vfs_dirsort.8* |
6fb3721a AM |
1197 | %{_mandir}/man8/vfs_fileid.8* |
1198 | %{_mandir}/man8/vfs_preopen.8* | |
1199 | %{_mandir}/man8/vfs_shadow_copy2.8* | |
1200 | %{_mandir}/man8/vfs_smb_traffic_analyzer.8* | |
1201 | %{_mandir}/man8/vfs_streams_xattr.8* | |
1202 | %{_mandir}/man8/vfs_streams_depot.8* | |
423b7f34 | 1203 | %{_mandir}/man8/vfs_time_audit.8* |
6fb3721a | 1204 | %{_mandir}/man8/vfs_xattr_tdb.8* |
6646cd44 JR |
1205 | %{_mandir}/man8/vfs_aio_fork.8* |
1206 | %{_mandir}/man8/vfs_aio_linux.8* | |
1207 | %{_mandir}/man8/vfs_aio_pthread.8* | |
1208 | %{_mandir}/man8/vfs_media_harmony.8* | |
b36aa9d5 | 1209 | |
d0e87ba8 | 1210 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers |
138aecb0 | 1211 | %attr(754,root,root) /etc/rc.d/init.d/smb |
d0e87ba8 ER |
1212 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba |
1213 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba | |
1214 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba | |
1215 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba | |
dce29ff7 JR |
1216 | %{systemdunitdir}/nmb.service |
1217 | %{systemdunitdir}/samba.service | |
1218 | %{systemdunitdir}/smb.service | |
1219 | %{systemdtmpfilesdir}/samba.conf | |
619d8577 | 1220 | %{_mandir}/man1/log2pcap.1* |
ac6f9d13 | 1221 | %{_mandir}/man1/smbstatus.1* |
e5e8db61 | 1222 | %{_mandir}/man1/smbcontrol.1* |
ac6f9d13 MC |
1223 | %{_mandir}/man5/smbpasswd.5* |
1224 | %{_mandir}/man7/samba.7* | |
e11c6ca1 | 1225 | %{_mandir}/man8/nmbd.8* |
481bc0b7 JR |
1226 | %{_mandir}/man8/samba.8* |
1227 | %{_mandir}/man8/smbta-util.8* | |
e11c6ca1 | 1228 | %{_mandir}/man8/smbd.8* |
e11c6ca1 | 1229 | %{_mandir}/man8/smbpasswd.8* |
d332b260 | 1230 | %{_mandir}/man8/smbta-util.8* |
1925a8b4 | 1231 | |
c10bc67e | 1232 | %dir %{_sambahome} |
6a2e83e0 JB |
1233 | %dir /var/lib/samba |
1234 | %ghost /var/lib/samba/*.dat | |
1235 | %dir /var/lib/samba/printing | |
c9c921bd | 1236 | |
d1d9e9b8 | 1237 | %attr(750,root,root) %dir /var/log/samba |
08bf002e ER |
1238 | %attr(750,root,root) %dir /var/log/samba/cores |
1239 | %attr(750,root,root) %dir /var/log/samba/cores/smbd | |
1240 | %attr(750,root,root) %dir /var/log/samba/cores/nmbd | |
7137e1be | 1241 | %attr(750,root,root) %dir /var/log/archive/samba |
11d2c190 | 1242 | %attr(1777,root,root) %dir /var/spool/samba |
1396ce8a | 1243 | %if %{with ldap} |
1244 | %doc examples/LDAP | |
1245 | %endif | |
c9c921bd | 1246 | |
34895621 | 1247 | %files winbind |
29511e6d | 1248 | %defattr(644,root,root,755) |
1249 | %attr(755,root,root) %{_sbindir}/winbindd | |
1250 | %attr(755,root,root) %{_bindir}/wbinfo | |
1251 | %attr(755,root,root) /%{_lib}/security/pam_winbind* | |
1252 | %attr(755,root,root) /%{_lib}/libnss_winbind* | |
481bc0b7 | 1253 | %attr(755,root,root) %{_libdir}/winbind_krb5_locator.so |
29511e6d | 1254 | %attr(754,root,root) /etc/rc.d/init.d/winbind |
d0e87ba8 | 1255 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind |
dce29ff7 | 1256 | %{systemdunitdir}/winbind.service |
29511e6d | 1257 | %{_mandir}/man1/wbinfo*.1* |
45a544fa | 1258 | %{_mandir}/man5/pam_winbind.conf.5* |
481bc0b7 | 1259 | %{_mandir}/man7/winbind_krb5_locator.7* |
a4c31844 | 1260 | %{_mandir}/man8/pam_winbind.8* |
af208f88 | 1261 | %{_mandir}/man8/winbindd*.8* |
29511e6d | 1262 | |
1263 | %files -n nss_wins | |
1264 | %defattr(644,root,root,755) | |
1265 | %attr(755,root,root) /%{_lib}/libnss_wins* | |
1266 | ||
ac6f9d13 | 1267 | %files client |
2eedd257 | 1268 | %defattr(644,root,root,755) |
6646cd44 JR |
1269 | %attr(755,root,root) %{_bindir}/cifsdd |
1270 | %attr(755,root,root) %{_bindir}/dbwrap_tool | |
bd658e80 | 1271 | %attr(755,root,root) %{_bindir}/net |
ac6f9d13 | 1272 | %attr(755,root,root) %{_bindir}/nmblookup |
6646cd44 JR |
1273 | %attr(755,root,root) %{_bindir}/nmblookup4 |
1274 | %attr(755,root,root) %{_bindir}/oLschema2ldif | |
6c886cab | 1275 | %attr(755,root,root) %{_bindir}/rpcclient |
6646cd44 | 1276 | %attr(755,root,root) %{_bindir}/samba-tool |
a5cbc2b9 | 1277 | %attr(755,root,root) %{_bindir}/sharesec |
af208f88 | 1278 | %attr(755,root,root) %{_bindir}/smbcacls |
ac6f9d13 | 1279 | %attr(755,root,root) %{_bindir}/smbclient |
6646cd44 | 1280 | %attr(755,root,root) %{_bindir}/smbclient4 |
6c886cab | 1281 | %attr(755,root,root) %{_bindir}/smbtree |
6646cd44 | 1282 | %attr(755,root,root) %{_libdir}/samba/libldb-cmdline.so |
6c886cab | 1283 | %{_mandir}/man1/findsmb.1* |
ac6f9d13 | 1284 | %{_mandir}/man1/nmblookup.1* |
481bc0b7 JR |
1285 | %{_mandir}/man1/nmblookup4.1* |
1286 | %{_mandir}/man1/oLschema2ldif.1* | |
6c886cab | 1287 | %{_mandir}/man1/rpcclient.1* |
a5cbc2b9 | 1288 | %{_mandir}/man1/sharesec.1* |
e5e8db61 | 1289 | %{_mandir}/man1/smbcacls.1* |
af208f88 | 1290 | %{_mandir}/man1/smbclient.1* |
6c886cab JB |
1291 | %{_mandir}/man1/smbtar.1* |
1292 | %{_mandir}/man1/smbtree.1* | |
6c886cab | 1293 | %{_mandir}/man8/net.8* |
481bc0b7 | 1294 | %{_mandir}/man8/samba-tool.8* |
ac6f9d13 | 1295 | |
ac6f9d13 | 1296 | %files common |
2eedd257 | 1297 | %defattr(644,root,root,755) |
2e711b12 | 1298 | %doc README WHATSNEW.txt Roadmap |
2f0e4f6e | 1299 | %dir %{_sysconfdir}/samba |
d0e87ba8 ER |
1300 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf |
1301 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts | |
af208f88 | 1302 | %attr(755,root,root) %{_bindir}/eventlogadm |
bd658e80 | 1303 | %attr(755,root,root) %{_bindir}/ntlm_auth |
bd658e80 | 1304 | %attr(755,root,root) %{_bindir}/pdbedit |
af208f88 JB |
1305 | %attr(755,root,root) %{_bindir}/profiles |
1306 | %attr(755,root,root) %{_bindir}/smbcquotas | |
1307 | %attr(755,root,root) %{_bindir}/testparm | |
70975be6 JR |
1308 | %dir %{_datadir}/samba |
1309 | %dir %{_datadir}/samba/codepages | |
1310 | %{_datadir}/samba/codepages/lowcase.dat | |
1311 | %{_datadir}/samba/codepages/upcase.dat | |
1312 | %{_datadir}/samba/codepages/valid.dat | |
1313 | %{_mandir}/man1/ntlm_auth.1* | |
1314 | %{_mandir}/man1/profiles.1* | |
1315 | %{_mandir}/man1/smbcquotas.1* | |
1316 | %{_mandir}/man1/testparm.1* | |
1317 | #%{_mandir}/man1/log2pcap.1* | |
1318 | %{_mandir}/man5/lmhosts.5* | |
1319 | %{_mandir}/man5/smb.conf.5* | |
1320 | %{_mandir}/man8/pdbedit.8* | |
1321 | %{_mandir}/man8/eventlogadm.8* | |
1322 | %{_mandir}/man8/idmap_ad.8* | |
1323 | %{_mandir}/man8/idmap_hash.8* | |
1324 | %{_mandir}/man8/idmap_ldap.8* | |
1325 | %{_mandir}/man8/idmap_nss.8* | |
1326 | %{_mandir}/man8/idmap_rid.8* | |
1327 | %{_mandir}/man8/idmap_tdb.8* | |
1328 | %{_mandir}/man8/idmap_tdb2.8* | |
1329 | %if %{without system_libs} | |
1330 | %attr(755,root,root) %{_bindir}/tdbbackup | |
1331 | %attr(755,root,root) %{_bindir}/tdbdump | |
1332 | %attr(755,root,root) %{_bindir}/tdbtool | |
1333 | %{_mandir}/man8/tdbbackup.8* | |
1334 | %{_mandir}/man8/tdbdump.8* | |
1335 | %{_mandir}/man8/tdbtool.8* | |
1336 | %endif | |
1337 | ||
1338 | %files libs | |
1339 | %defattr(644,root,root,755) | |
1340 | %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.* | |
1341 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0 | |
1342 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.* | |
1343 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0 | |
1344 | %attr(755,root,root) %{_libdir}/libgensec.so.*.*.* | |
1345 | %attr(755,root,root) %ghost %{_libdir}/libgensec.so.0 | |
1346 | %attr(755,root,root) %{_libdir}/libndr.so.*.*.* | |
1347 | %attr(755,root,root) %ghost %{_libdir}/libndr.so.0 | |
1348 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.* | |
1349 | %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0 | |
1350 | %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.* | |
1351 | %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0 | |
1352 | %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.* | |
1353 | %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0 | |
1354 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.* | |
1355 | %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0 | |
1356 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.* | |
1357 | %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0 | |
1358 | %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.* | |
1359 | %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0 | |
1360 | %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.* | |
1361 | %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0 | |
1362 | %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.* | |
1363 | %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0 | |
1364 | ||
1365 | %attr(755,root,root) %{_libdir}/libnetapi.so.0 | |
1366 | %attr(755,root,root) %{_libdir}/libpdb.so.0 | |
1367 | %attr(755,root,root) %{_libdir}/libsmbconf.so.0 | |
6646cd44 | 1368 | %attr(755,root,root) %{_libdir}/libsmbldap.so.0 |
70975be6 JR |
1369 | |
1370 | %dir %{_libdir}/samba | |
6646cd44 JR |
1371 | %attr(755,root,root) %{_libdir}/samba/libaddns.so |
1372 | %attr(755,root,root) %{_libdir}/samba/libads.so | |
1373 | %attr(755,root,root) %{_libdir}/samba/libasn1util.so | |
70975be6 JR |
1374 | %attr(755,root,root) %{_libdir}/samba/libauth4.so |
1375 | %attr(755,root,root) %{_libdir}/samba/libauthkrb5.so | |
1376 | %attr(755,root,root) %{_libdir}/samba/libauth_sam_reply.so | |
1377 | %attr(755,root,root) %{_libdir}/samba/libauth.so | |
6646cd44 | 1378 | %attr(755,root,root) %{_libdir}/samba/libauth_unix_token.so |
70975be6 JR |
1379 | %attr(755,root,root) %{_libdir}/samba/libCHARSET3.so |
1380 | %attr(755,root,root) %{_libdir}/samba/libcliauth.so | |
1381 | %attr(755,root,root) %{_libdir}/samba/libcli_cldap.so | |
6646cd44 | 1382 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common.so |
70975be6 | 1383 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap.so |
6646cd44 | 1384 | %attr(755,root,root) %{_libdir}/samba/libcli-nbt.so |
6646cd44 | 1385 | %attr(755,root,root) %{_libdir}/samba/libcli_smb_common.so |
70975be6 | 1386 | %attr(755,root,root) %{_libdir}/samba/libcli_spoolss.so |
6646cd44 | 1387 | %attr(755,root,root) %{_libdir}/samba/libcluster.so |
70975be6 | 1388 | %attr(755,root,root) %{_libdir}/samba/libcmdline-credentials.so |
6646cd44 | 1389 | %attr(755,root,root) %{_libdir}/samba/libdbwrap.so |
6646cd44 | 1390 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so |
70975be6 JR |
1391 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba.so |
1392 | %attr(755,root,root) %{_libdir}/samba/libdfs_server_ad.so | |
6646cd44 JR |
1393 | %attr(755,root,root) %{_libdir}/samba/liberrors.so |
1394 | %attr(755,root,root) %{_libdir}/samba/libevents.so | |
70975be6 JR |
1395 | %attr(755,root,root) %{_libdir}/samba/libflag_mapping.so |
1396 | %attr(755,root,root) %{_libdir}/samba/libgpo.so | |
6646cd44 | 1397 | %attr(755,root,root) %{_libdir}/samba/libgse.so |
481bc0b7 | 1398 | %attr(755,root,root) %{_libdir}/samba/libidmap.so |
6646cd44 | 1399 | %attr(755,root,root) %{_libdir}/samba/libiniparser.so |
70975be6 | 1400 | %attr(755,root,root) %{_libdir}/samba/libinterfaces.so |
6646cd44 | 1401 | %attr(755,root,root) %{_libdir}/samba/libkrb5samba.so |
70975be6 | 1402 | %attr(755,root,root) %{_libdir}/samba/libldbsamba.so |
6646cd44 | 1403 | %attr(755,root,root) %{_libdir}/samba/liblibcli_lsa3.so |
70975be6 | 1404 | %attr(755,root,root) %{_libdir}/samba/liblibcli_netlogon3.so |
6646cd44 | 1405 | %attr(755,root,root) %{_libdir}/samba/liblibsmb.so |
70975be6 JR |
1406 | %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT_OLD.so |
1407 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING.so | |
6646cd44 | 1408 | %attr(755,root,root) %{_libdir}/samba/libmsrpc3.so |
70975be6 JR |
1409 | %attr(755,root,root) %{_libdir}/samba/libndr-samba4.so |
1410 | %attr(755,root,root) %{_libdir}/samba/libndr-samba.so | |
1411 | %attr(755,root,root) %{_libdir}/samba/libnetif.so | |
1412 | %attr(755,root,root) %{_libdir}/samba/libnet_keytab.so | |
1413 | %attr(755,root,root) %{_libdir}/samba/libnpa_tstream.so | |
481bc0b7 | 1414 | %attr(755,root,root) %{_libdir}/samba/libnss_info.so |
6646cd44 | 1415 | %attr(755,root,root) %{_libdir}/samba/libpopt_samba3.so |
70975be6 | 1416 | %attr(755,root,root) %{_libdir}/samba/libprinting_migrate.so |
6646cd44 | 1417 | %attr(755,root,root) %{_libdir}/samba/libreplace.so |
70975be6 JR |
1418 | %attr(755,root,root) %{_libdir}/samba/libsamba3-util.so |
1419 | %attr(755,root,root) %{_libdir}/samba/libsamba-modules.so | |
6646cd44 JR |
1420 | %attr(755,root,root) %{_libdir}/samba/libsamba-security.so |
1421 | %attr(755,root,root) %{_libdir}/samba/libsamba-sockets.so | |
70975be6 | 1422 | %attr(755,root,root) %{_libdir}/samba/libsamdb-common.so |
6646cd44 JR |
1423 | %attr(755,root,root) %{_libdir}/samba/libsecrets3.so |
1424 | %attr(755,root,root) %{_libdir}/samba/libserver-role.so | |
70975be6 JR |
1425 | %attr(755,root,root) %{_libdir}/samba/libsmbd_base.so |
1426 | %attr(755,root,root) %{_libdir}/samba/libsmbd_conn.so | |
6646cd44 | 1427 | %attr(755,root,root) %{_libdir}/samba/libsmbd_shim.so |
481bc0b7 | 1428 | %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper.so |
6646cd44 | 1429 | %attr(755,root,root) %{_libdir}/samba/libsmbregistry.so |
70975be6 JR |
1430 | %attr(755,root,root) %{_libdir}/samba/libsmb_transport.so |
1431 | %attr(755,root,root) %{_libdir}/samba/libtdb-wrap.so | |
1432 | %attr(755,root,root) %{_libdir}/samba/libtrusts_util.so | |
6646cd44 JR |
1433 | %attr(755,root,root) %{_libdir}/samba/libutil_cmdline.so |
1434 | %attr(755,root,root) %{_libdir}/samba/libutil_reg.so | |
70975be6 | 1435 | %attr(755,root,root) %{_libdir}/samba/libutil_setid.so |
6646cd44 JR |
1436 | %attr(755,root,root) %{_libdir}/samba/libutil_tdb.so |
1437 | %attr(755,root,root) %{_libdir}/samba/libwinbind-client.so | |
e71e0470 | 1438 | %if %{without system_libs} |
e71e0470 JR |
1439 | %attr(755,root,root) %{_libdir}/samba/libtalloc.so.* |
1440 | %attr(755,root,root) %{_libdir}/samba/libtdb.so.* | |
e71e0470 | 1441 | %endif |
70975be6 JR |
1442 | %dir %{_libdir}/samba/auth |
1443 | %attr(755,root,root) %{_libdir}/samba/auth/samba4.so | |
1444 | %attr(755,root,root) %{_libdir}/samba/auth/script.so | |
1445 | %attr(755,root,root) %{_libdir}/samba/auth/unix.so | |
1446 | %attr(755,root,root) %{_libdir}/samba/auth/wbc.so | |
e71e0470 | 1447 | |
29511e6d | 1448 | %files swat |
11d2c190 | 1449 | %defattr(644,root,root,755) |
bd658e80 AM |
1450 | #%doc swat/README* swat/help/* |
1451 | %doc swat/help/* | |
3773b65f | 1452 | %attr(755,root,root) %{_sbindir}/swat |
d0e87ba8 | 1453 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat |
2e711b12 JR |
1454 | %dir %{_datadir}/samba/swat |
1455 | %{_datadir}/samba/swat/help | |
1456 | %{_datadir}/samba/swat/images | |
1457 | %{_datadir}/samba/swat/include | |
1458 | %dir %{_datadir}/samba/swat/lang | |
1459 | %lang(ja) %{_datadir}/samba/swat/lang/ja | |
1460 | %lang(tr) %{_datadir}/samba/swat/lang/tr | |
1461 | %lang(de) %{_datadir}/samba/codepages/de.msg | |
1462 | %{_datadir}/samba/codepages/en.msg | |
1463 | %lang(fi) %{_datadir}/samba/codepages/fi.msg | |
1464 | %lang(fr) %{_datadir}/samba/codepages/fr.msg | |
1465 | %lang(it) %{_datadir}/samba/codepages/it.msg | |
1466 | %lang(ja) %{_datadir}/samba/codepages/ja.msg | |
1467 | %lang(nl) %{_datadir}/samba/codepages/nl.msg | |
1468 | %lang(pl) %{_datadir}/samba/codepages/pl.msg | |
b7925477 | 1469 | %lang(ru) %{_datadir}/samba/codepages/ru* |
2e711b12 | 1470 | %lang(tr) %{_datadir}/samba/codepages/tr.msg |
1d99cec1 | 1471 | %{_mandir}/man8/swat.8* |
b36aa9d5 | 1472 | |
d6883a30 | 1473 | %files -n pam-pam_smbpass |
b36aa9d5 | 1474 | %defattr(644,root,root,755) |
13c7754f | 1475 | %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples |
017136ce | 1476 | %attr(755,root,root) /%{_lib}/security/pam_smbpass.so |
79d8a749 | 1477 | |
35f26c47 | 1478 | %files -n libsmbclient |
79d8a749 | 1479 | %defattr(644,root,root,755) |
6646cd44 JR |
1480 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so.*.*.* |
1481 | %attr(755,root,root) %ghost %{_libdir}/libsmbclient-raw.so.0 | |
37a62870 JR |
1482 | %attr(755,root,root) %{_libdir}/libsmbclient.so.* |
1483 | %attr(755,root,root) %{_libdir}/libwbclient.so.* | |
2545d2ae | 1484 | %{_mandir}/man7/libsmbclient.7* |
79d8a749 | 1485 | |
35f26c47 | 1486 | %files -n libsmbclient-devel |
79d8a749 | 1487 | %defattr(644,root,root,755) |
6646cd44 | 1488 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so |
37a62870 JR |
1489 | %attr(755,root,root) %{_libdir}/libsmbclient.so |
1490 | %attr(755,root,root) %{_libdir}/libwbclient.so | |
1491 | %{_includedir}/libsmbclient.h | |
1492 | %{_includedir}/wbclient.h | |
05913998 | 1493 | %{_pkgconfigdir}/smbclient-raw.pc |
bd658e80 | 1494 | |
f2b0247b ER |
1495 | %files devel |
1496 | %defattr(644,root,root,755) | |
6646cd44 JR |
1497 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so |
1498 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so | |
1499 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so | |
1500 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so | |
1501 | %attr(755,root,root) %{_libdir}/libdcerpc.so | |
1502 | %attr(755,root,root) %{_libdir}/libgensec.so | |
1503 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so | |
1504 | %attr(755,root,root) %{_libdir}/libndr-nbt.so | |
1505 | %attr(755,root,root) %{_libdir}/libndr-standard.so | |
1506 | %attr(755,root,root) %{_libdir}/libndr.so | |
1507 | %attr(755,root,root) %{_libdir}/libregistry.so | |
1508 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so | |
1509 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so | |
1510 | %attr(755,root,root) %{_libdir}/libsamba-policy.so | |
1511 | %attr(755,root,root) %{_libdir}/libsamba-util.so | |
1512 | %attr(755,root,root) %{_libdir}/libsamdb.so | |
1513 | %attr(755,root,root) %{_libdir}/libtevent-util.so | |
1514 | %attr(755,root,root) %{_libdir}/libnetapi.so | |
1515 | %attr(755,root,root) %{_libdir}/libpdb.so | |
1516 | %attr(755,root,root) %{_libdir}/libsmbconf.so | |
1517 | %attr(755,root,root) %{_libdir}/libsmbldap.so | |
37a62870 | 1518 | %{_includedir}/samba |
e765216e | 1519 | %{_includedir}/samba-4.0 |
6646cd44 | 1520 | %exclude %{_includedir}/samba-4.0/torture.h |
05913998 JR |
1521 | %{_pkgconfigdir}/dcerpc.pc |
1522 | %{_pkgconfigdir}/dcerpc_atsvc.pc | |
1523 | %{_pkgconfigdir}/dcerpc_samr.pc | |
1524 | %{_pkgconfigdir}/dcerpc_server.pc | |
1525 | %{_pkgconfigdir}/gensec.pc | |
1526 | %{_pkgconfigdir}/ndr.pc | |
1527 | %{_pkgconfigdir}/ndr_krb5pac.pc | |
1528 | %{_pkgconfigdir}/ndr_nbt.pc | |
1529 | %{_pkgconfigdir}/ndr_standard.pc | |
1530 | %{_pkgconfigdir}/netapi.pc | |
1531 | %{_pkgconfigdir}/registry.pc | |
1532 | %{_pkgconfigdir}/samba-credentials.pc | |
1533 | %{_pkgconfigdir}/samba-hostconfig.pc | |
1534 | %{_pkgconfigdir}/samba-policy.pc | |
1535 | %{_pkgconfigdir}/samba-util.pc | |
1536 | %{_pkgconfigdir}/samdb.pc | |
9f6f5df1 | 1537 | |
29511e6d | 1538 | %files -n smbget |
1539 | %defattr(644,root,root,755) | |
1540 | %attr(755,root,root) %{_bindir}/smbget | |
1541 | %{_mandir}/man1/smbget.1* | |
1542 | %{_mandir}/man5/smbgetrc.5* | |
1543 | ||
ddea14b0 | 1544 | %if %{with cups} |
9f6f5df1 AF |
1545 | %files -n cups-backend-smb |
1546 | %defattr(644,root,root,755) | |
1547 | %attr(755,root,root) %{_bindir}/smbspool | |
fd9d8b85 | 1548 | %attr(755,root,root) %{cups_serverbin}/backend/smb |
9f6f5df1 | 1549 | %{_mandir}/man8/smbspool.8* |
fd9d8b85 | 1550 | %endif |
70ff6d03 | 1551 | |
192f48a8 | 1552 | %files vfs-audit |
1553 | %defattr(644,root,root,755) | |
2e711b12 JR |
1554 | %attr(755,root,root) %{_libdir}/samba/vfs/audit.so |
1555 | %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so | |
1556 | %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so | |
4d8c5e20 | 1557 | %{_mandir}/man8/vfs_audit.8* |
78373b23 | 1558 | %{_mandir}/man8/vfs_extd_audit.8* |
1559 | %{_mandir}/man8/vfs_full_audit.8* | |
b0225e99 | 1560 | |
d1f5710a | 1561 | %files vfs-cap |
1562 | %defattr(644,root,root,755) | |
2e711b12 | 1563 | %attr(755,root,root) %{_libdir}/samba/vfs/cap.so |
4d8c5e20 | 1564 | %{_mandir}/man8/vfs_cap.8* |
d1f5710a | 1565 | |
4ecf4d28 JB |
1566 | %files vfs-catia |
1567 | %defattr(644,root,root,755) | |
1568 | %attr(755,root,root) %{_vfsdir}/catia.so | |
1569 | %{_mandir}/man8/vfs_catia.8* | |
1570 | ||
cc6b68cd | 1571 | %files vfs-default_quota |
d1f5710a | 1572 | %defattr(644,root,root,755) |
2e711b12 | 1573 | %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so |
4d8c5e20 | 1574 | %{_mandir}/man8/vfs_default_quota.8* |
d1f5710a | 1575 | |
cc6b68cd | 1576 | %files vfs-expand_msdfs |
d1f5710a | 1577 | %defattr(644,root,root,755) |
2e711b12 | 1578 | %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so |
d1f5710a | 1579 | |
cc6b68cd | 1580 | %files vfs-fake_perms |
d1f5710a | 1581 | %defattr(644,root,root,755) |
2e711b12 | 1582 | %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so |
4d8c5e20 | 1583 | %{_mandir}/man8/vfs_fake_perms.8* |
d1f5710a | 1584 | |
e765216e JR |
1585 | #%files vfs-notify_fam |
1586 | #%defattr(644,root,root,755) | |
1587 | #%attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so | |
1588 | #%{_mandir}/man8/vfs_notify_fam.8* | |
8ba454ef | 1589 | |
d1f5710a | 1590 | %files vfs-netatalk |
1591 | %defattr(644,root,root,755) | |
2e711b12 | 1592 | %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so |
4d8c5e20 JB |
1593 | %{_mandir}/man8/vfs_netatalk.8* |
1594 | ||
1595 | %files vfs-readahead | |
1596 | %defattr(644,root,root,755) | |
2e711b12 | 1597 | %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so |
4d8c5e20 | 1598 | %{_mandir}/man8/vfs_readahead.8* |
d1f5710a | 1599 | |
97334e11 JB |
1600 | %files vfs-readonly |
1601 | %defattr(644,root,root,755) | |
2e711b12 | 1602 | %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so |
4d8c5e20 | 1603 | %{_mandir}/man8/vfs_readonly.8* |
97334e11 JB |
1604 | |
1605 | %files vfs-recycle | |
1606 | %defattr(644,root,root,755) | |
2e711b12 | 1607 | %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so |
4d8c5e20 | 1608 | %{_mandir}/man8/vfs_recycle.8* |
97334e11 | 1609 | |
2e711b12 JR |
1610 | %files vfs-shadow_copy |
1611 | %defattr(644,root,root,755) | |
1612 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so | |
1613 | %{_mandir}/man8/vfs_shadow_copy.8* | |
1614 | ||
1615 | %files vfs-catia | |
1616 | %defattr(644,root,root,755) | |
1617 | %attr(755,root,root) %{_libdir}/samba/vfs/catia.so | |
1618 | %{_mandir}/man8/vfs_catia.8* | |
1619 | ||
d718c2e1 AF |
1620 | %files vfs-scannedonly |
1621 | %defattr(644,root,root,755) | |
2e711b12 | 1622 | %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so |
d718c2e1 AF |
1623 | %{_mandir}/man8/vfs_scannedonly.8* |
1624 | ||
4ecf4d28 JB |
1625 | %files vfs-shadow_copy |
1626 | %defattr(644,root,root,755) | |
1627 | %attr(755,root,root) %{_vfsdir}/shadow_copy.so | |
1628 | %{_mandir}/man8/vfs_shadow_copy.8* | |
1629 | ||
105507bc | 1630 | %if %{with ldap} |
99795f36 ER |
1631 | %files -n openldap-schema-samba |
1632 | %defattr(644,root,root,755) | |
4ecf4d28 | 1633 | %{schemadir}/samba.schema |
105507bc | 1634 | %endif |
8d59ae13 | 1635 | |
e765216e | 1636 | %files -n python-samba4 |
1a8c003b | 1637 | %defattr(644,root,root,755) |
1a8c003b AM |
1638 | %dir %{py_sitedir}/samba |
1639 | %attr(755,root,root) %{py_sitedir}/samba/*.so | |
1640 | %{py_sitedir}/samba/*.py[co] | |
1641 | %dir %{py_sitedir}/samba/dcerpc | |
1642 | %{py_sitedir}/samba/dcerpc/*.py[co] | |
1643 | %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so | |
e765216e JR |
1644 | %dir %{py_sitedir}/samba/external |
1645 | %{py_sitedir}/samba/external/*.py[co] | |
1646 | %dir %{py_sitedir}/samba/external/subunit | |
1647 | %{py_sitedir}/samba/external/subunit/*.py[co] | |
1648 | %dir %{py_sitedir}/samba/external/subunit/tests | |
1649 | %{py_sitedir}/samba/external/subunit/tests/*.py[co] | |
e765216e JR |
1650 | %dir %{py_sitedir}/samba/netcmd |
1651 | %{py_sitedir}/samba/netcmd/*.py[co] | |
1652 | %dir %{py_sitedir}/samba/provision | |
1653 | %{py_sitedir}/samba/provision/*.py[co] | |
1654 | %dir %{py_sitedir}/samba/samba3 | |
1655 | %attr(755,root,root) %{py_sitedir}/samba/samba3/*.so | |
1656 | %{py_sitedir}/samba/samba3/*.py[co] | |
1a8c003b AM |
1657 | %dir %{py_sitedir}/samba/tests |
1658 | %{py_sitedir}/samba/tests/*.py[co] | |
e765216e JR |
1659 | %dir %{py_sitedir}/samba/tests/blackbox |
1660 | %{py_sitedir}/samba/tests/blackbox/*.py[co] | |
1661 | %dir %{py_sitedir}/samba/tests/samba_tool | |
1662 | %{py_sitedir}/samba/tests/samba_tool/*.py[co] | |
1a8c003b AM |
1663 | %dir %{py_sitedir}/samba/tests/dcerpc |
1664 | %{py_sitedir}/samba/tests/dcerpc/*.py[co] | |
e765216e JR |
1665 | %dir %{py_sitedir}/samba/web_server |
1666 | %{py_sitedir}/samba/web_server/*.py[co] | |
e71e0470 JR |
1667 | %if %{without system_libs} |
1668 | %attr(755,root,root) %{py_sitedir}/*.so | |
e765216e | 1669 | %{py_sitedir}/tevent.py[co] |
e71e0470 | 1670 | %endif |
6646cd44 JR |
1671 | |
1672 | %files test | |
1673 | %defattr(644,root,root,755) | |
1674 | %attr(755,root,root) %{_bindir}/gentest | |
1675 | %attr(755,root,root) %{_bindir}/locktest | |
1676 | %attr(755,root,root) %{_bindir}/masktest | |
1677 | %attr(755,root,root) %{_bindir}/ndrdump | |
1678 | %attr(755,root,root) %{_bindir}/smbtorture | |
1679 | %attr(755,root,root) %{_bindir}/vfstest | |
1680 | %attr(755,root,root) %{_libdir}/libtorture.so.*.*.* | |
1681 | %attr(755,root,root) %ghost %{_libdir}/libtorture.so.0 | |
1682 | %attr(755,root,root) %{_libdir}/samba/libsubunit.so | |
1683 | %attr(755,root,root) %{_libdir}/samba/libdlz_bind9_for_torture.so | |
1684 | %{_mandir}/man1/gentest.1* | |
1685 | %{_mandir}/man1/locktest.1* | |
1686 | %{_mandir}/man1/masktest.1* | |
1687 | %{_mandir}/man1/ndrdump.1* | |
1688 | %{_mandir}/man1/smbtorture.1* | |
1689 | %{_mandir}/man1/vfstest.1* | |
1690 | # files to ignore in testsuite mode | |
1691 | #%{_libdir}/samba/libnss_wrapper.so | |
1692 | #%{_libdir}/samba/libsocket_wrapper.so | |
1693 | #%{_libdir}/samba/libuid_wrapper.so | |
1694 | ||
1695 | %files test-devel | |
1696 | %defattr(644,root,root,755) | |
1697 | %attr(755,root,root) %{_libdir}/libtorture.so | |
1698 | %{_includedir}/samba-4.0/torture.h | |
05913998 | 1699 | %{_pkgconfigdir}/torture.pc |
6646cd44 JR |
1700 | |
1701 | %files pidl | |
1702 | %defattr(644,root,root,755) | |
1703 | %attr(755,root,root) %{_bindir}/pidl | |
1704 | %{_mandir}/man1/pidl.1* | |
1705 | %{_mandir}/man3/Parse::Pidl*.3* | |
1706 | %{perl_vendorlib}/Parse/Pidl* |