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