]>
Commit | Line | Data |
---|---|---|
29511e6d | 1 | # |
e4bb74d8 | 2 | # Conditional build: |
1e2a5fcf | 3 | %bcond_without ads # without ActiveDirectory support |
1d99cec1 | 4 | %bcond_without cups # without CUPS support |
07069da4 | 5 | %bcond_without kerberos5 # without Kerberos V support |
d1d9e9b8 | 6 | %bcond_without ldap # without LDAP support |
a0d23d1e | 7 | %bcond_without avahi |
f02030a6 | 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 | |
f02030a6 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 | |
b25f7233 | 20 | %endif |
d5e4e2d5 | 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 客户端和服务器 | |
7af14fc0 JR |
39 | Name: samba4 |
40 | Version: 4.0.0 | |
d974bdb3 | 41 | Release: 0.4 |
7e84928b | 42 | Epoch: 1 |
6bef715a | 43 | License: GPL v3 |
11d2c190 | 44 | Group: Networking/Daemons |
7af14fc0 JR |
45 | Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz |
46 | # Source0-md5: 93e9aad40893ba48d08e1b28e7efff72 | |
ba850b61 | 47 | Source1: smb.init |
fa37aa9d | 48 | Source2: samba.pamd |
d7dadfd6 | 49 | Source3: swat.inetd |
fa37aa9d JR |
50 | Source4: samba.sysconfig |
51 | Source5: samba.logrotate | |
138aecb0 | 52 | Source6: smb.conf |
68134596 | 53 | Source7: winbind.init |
54 | Source8: winbind.sysconfig | |
7d14b7f3 | 55 | Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2 |
56 | # Source10-md5: a3a30d5fbf309d356e8c5833db680c17 | |
f66571a4 | 57 | Patch0: system-heimdal.patch |
fa37aa9d 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 |
f66571a4 | 73 | %{?with_kerberos5:BuildRequires: heimdal-devel >= 1.5.3-1} |
9f74dab7 | 74 | BuildRequires: iconv |
1125cc60 | 75 | BuildRequires: keyutils-devel |
f66571a4 | 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 |
7e84928b 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} |
1a8c003b | 90 | BuildRequires: python-devel |
44554b25 | 91 | BuildRequires: python-dns |
6bf53014 | 92 | BuildRequires: python-modules |
44554b25 | 93 | BuildRequires: python-testtools |
f092c096 | 94 | BuildRequires: readline-devel >= 4.2 |
c4db757c | 95 | BuildRequires: rpmbuild(macros) >= 1.304 |
e155c475 | 96 | BuildRequires: sed >= 4.0 |
f02030a6 | 97 | %if %{with system_libs} |
f02030a6 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} | |
2dee2d4a JR |
102 | BuildRequires: talloc-devel >= %{talloc_ver} |
103 | BuildRequires: tdb-devel >= %{tdb_ver} | |
104 | BuildRequires: tevent-devel >= %{tevent_ver} | |
f02030a6 | 105 | %endif |
bd658e80 | 106 | BuildRequires: xfsprogs-devel |
f66571a4 | 107 | BuildConflicts: libbsd-devel |
656b05ab | 108 | Requires(post,preun): /sbin/chkconfig |
7e84928b | 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} |
6682f6b1 JR |
116 | Obsoletes: samba-doc-html |
117 | Obsoletes: samba-doc-pdf | |
2dee2d4a 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 |
7e84928b | 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 |
7e84928b | 328 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
f66571a4 | 329 | %{?with_kerberos5:Requires: heimdal-libs >= 1.5.3-1} |
7e84928b | 330 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
b0b9dc36 | 331 | Suggests: cifs-utils |
2dee2d4a | 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 ER |
369 | Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム |
370 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba | |
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 |
d974bdb3 | 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 | |
387 | klientów Samba. | |
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 | |
d974bdb3 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 |
7e84928b | 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 |
7e84928b | 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 |
7e84928b | 471 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
6682f6b1 | 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 |
7e84928b | 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 |
4c0ad0d2 | 521 | Summary: VFS module to audit file access |
fa1faeca | 522 | Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach |
4c0ad0d2 | 523 | Group: Networking/Daemons |
7e84928b | 524 | Requires: %{name} = %{epoch}:%{version}-%{release} |
70ff6d03 | 525 | |
192f48a8 | 526 | %description vfs-audit |
4c0ad0d2 | 527 | A simple module to audit file access to the syslog facility. The |
8d59ae13 | 528 | following operations are logged: |
529 | - share connect/disconnect, | |
530 | - directory opens/create/remove, | |
531 | - file open/close/rename/unlink/chmod. | |
70ff6d03 | 532 | |
96088f7b JR |
533 | %description vfs-audit -l pl.UTF-8 |
534 | Proste moduły do monitorowania dostępu do plików na serwerze samba do | |
535 | do sysloga. Monitorowane są następujące operacje: | |
536 | - podłączenie do/odłączenie od zasobu, | |
8d59ae13 | 537 | - otwarcie/utworzenie/zmiana nazwy katalogu, |
96088f7b | 538 | - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików. |
0719a8a7 ER |
539 | |
540 | Zawiera moduły audit, extd_audit i full_audit. | |
192f48a8 | 541 | |
d1f5710a | 542 | %package vfs-cap |
cc6b68cd | 543 | Summary: VFS module for CAP and samba compatibility |
fa1faeca | 544 | Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program) |
d1f5710a | 545 | Group: Networking/Daemons |
7e84928b | 546 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 547 | |
548 | %description vfs-cap | |
e1c0d47d | 549 | Convert an incoming Shift-JIS character to the 3 byte hex |
550 | representation used by the Columbia AppleTalk Program (CAP), i.e. :AB. | |
551 | This is used for compatibility between Samba and CAP. | |
d1f5710a | 552 | |
96088f7b | 553 | %description vfs-cap -l pl.UTF-8 |
cc6b68cd | 554 | Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej |
96088f7b | 555 | reprezentacji używanej przez program Columbia AppleTalk Program (CAP). |
d1f5710a | 556 | |
cc6b68cd | 557 | %package vfs-default_quota |
97334e11 | 558 | Summary: VFS module to store default quotas in a specified quota record |
fa1faeca | 559 | Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie |
d1f5710a | 560 | Group: Networking/Daemons |
7e84928b | 561 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 562 | |
cc6b68cd | 563 | %description vfs-default_quota |
97334e11 | 564 | This VFS modules stores default quotas in a specified quota record. |
d1f5710a | 565 | |
96088f7b JR |
566 | %description vfs-default_quota -l pl.UTF-8 |
567 | Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie | |
568 | limitów. | |
d1f5710a | 569 | |
cc6b68cd | 570 | %package vfs-expand_msdfs |
571 | Summary: VFS module for hosting a Microsoft Distributed File System Tree | |
fa1faeca | 572 | Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System |
d1f5710a | 573 | Group: Networking/Daemons |
7e84928b | 574 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 575 | |
cc6b68cd | 576 | %description vfs-expand_msdfs |
577 | A VFS module for hosting a Microsoft Distributed File System Tree. | |
d1f5710a | 578 | |
cc6b68cd | 579 | The Distributed File System (DFS) provides a means of separating the |
580 | logical view of files and directories that users see from the actual | |
e1c0d47d | 581 | physical locations of these resources on the network. It allows for |
582 | higher availability, smoother storage expansion, load balancing, and | |
583 | so on. | |
d1f5710a | 584 | |
96088f7b JR |
585 | %description vfs-expand_msdfs -l pl.UTF-8 |
586 | Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed | |
727a2c6a JB |
587 | File System. |
588 | ||
96088f7b JR |
589 | Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku |
590 | plików i katalogów widocznych przez użytkowników z fizycznego | |
591 | umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność, | |
592 | płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp. | |
cc6b68cd | 593 | |
594 | %package vfs-fake_perms | |
727a2c6a | 595 | Summary: VFS module to report read-only fires as writable |
fa1faeca | 596 | Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne |
d1f5710a | 597 | Group: Networking/Daemons |
7e84928b | 598 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 599 | |
cc6b68cd | 600 | %description vfs-fake_perms |
e1c0d47d | 601 | This module allow Roaming Profile files and directories to be set (on |
602 | the Samba server under UNIX) as read only. This module will, if | |
603 | installed on the Profiles share, report to the client that the Profile | |
604 | files and directories are writeable. This satisfies the client even | |
605 | though the files will never be overwritten as the client logs out or | |
606 | shuts down. | |
d1f5710a | 607 | |
96088f7b JR |
608 | %description vfs-fake_perms -l pl.UTF-8 |
609 | Ten moduł pozwala na ustawienie plików i katalogów z wędrujących | |
610 | profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w | |
611 | przypadku zainstalowania na udziale z profilami będzie zgłaszał | |
612 | klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy | |
613 | klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu | |
727a2c6a | 614 | lub wylogowywaniu klienta. |
d1f5710a | 615 | |
8ba454ef | 616 | %package vfs-notify_fam |
9f74dab7 | 617 | Summary: VFS module to implement file change notifications |
8ba454ef AM |
618 | Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach |
619 | Group: Networking/Daemons | |
7e84928b | 620 | Requires: %{name} = %{epoch}:%{version}-%{release} |
8ba454ef AM |
621 | |
622 | %description vfs-notify_fam | |
623 | The vfs_notify_fam module makes use of the system FAM (File Alteration | |
624 | Monitor) daemon to implement file change notifications for Windows | |
625 | clients. | |
626 | ||
627 | %description vfs-notify_fam -l pl.UTF-8 | |
628 | Ten moduł używa demona FAM (File Alteration Monitor) do implementacji | |
629 | informowania o zmianach w plikach dla klientów Windows. | |
630 | ||
d1f5710a | 631 | %package vfs-netatalk |
cc6b68cd | 632 | Summary: VFS module for ease co-existence of samba and netatalk |
fa1faeca | 633 | Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk |
d1f5710a | 634 | Group: Networking/Daemons |
7e84928b | 635 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d1f5710a | 636 | |
637 | %description vfs-netatalk | |
727a2c6a | 638 | Package contains a netatalk VFS module for ease co-existence of Samba |
e1c0d47d | 639 | and netatalk file sharing services. |
d1f5710a | 640 | |
96088f7b JR |
641 | %description vfs-netatalk -l pl.UTF-8 |
642 | Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba | |
643 | i netatalk przy udostępnianiu zasobów. | |
d1f5710a | 644 | |
97334e11 JB |
645 | %package vfs-recycle |
646 | Summary: VFS module to add recycle bin facility to a samba share | |
fa1faeca | 647 | Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby |
97334e11 | 648 | Group: Networking/Daemons |
7e84928b | 649 | Requires: %{name} = %{epoch}:%{version}-%{release} |
97334e11 JB |
650 | |
651 | %description vfs-recycle | |
652 | VFS module to add recycle bin facility to a samba share. | |
653 | ||
96088f7b JR |
654 | %description vfs-recycle -l pl.UTF-8 |
655 | Moduł VFS dodający możliwość kosza do zasobu samby. | |
97334e11 | 656 | |
4d8c5e20 | 657 | %package vfs-readahead |
05756483 | 658 | Summary: VFS module for pre-loading the kernel buffer cache |
8134e830 | 659 | Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra |
05756483 | 660 | Group: Networking/Daemons |
7e84928b | 661 | Requires: %{name} = %{epoch}:%{version}-%{release} |
4d8c5e20 JB |
662 | |
663 | %description vfs-readahead | |
664 | This VFS module detects read requests at multiples of a given offset | |
665 | (hex 0x80000 by default) and then tells the kernel via either the | |
666 | readahead system call (on Linux) or the posix_fadvise system call to | |
667 | pre-fetch this data into the buffer cache. | |
668 | ||
669 | This module is useful for Windows Vista clients reading data using the | |
670 | Windows Explorer program, which asynchronously does multiple file read | |
671 | requests at offset boundaries of 0x80000 bytes. | |
672 | ||
8134e830 JB |
673 | %description vfs-readahead -l pl.UTF-8 |
674 | Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych | |
675 | pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez | |
676 | wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do | |
677 | wczesnego odczytu tych danych do bufora cache. | |
4d8c5e20 | 678 | |
8134e830 JB |
679 | Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane |
680 | przy użyciu programu Windows Explorer, który asynchronicznie wykonuje | |
681 | wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000 | |
682 | bajtów. | |
4d8c5e20 | 683 | |
97334e11 JB |
684 | %package vfs-readonly |
685 | Summary: VFS module for read-only limitation for specified share | |
fa1faeca | 686 | Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu |
97334e11 | 687 | Group: Networking/Daemons |
7e84928b | 688 | Requires: %{name} = %{epoch}:%{version}-%{release} |
97334e11 JB |
689 | |
690 | %description vfs-readonly | |
691 | This module performs a read-only limitation for specified share (or | |
692 | all of them if it is loaded in a [global] section) based on period | |
693 | definition in smb.conf. | |
694 | ||
96088f7b JR |
695 | %description vfs-readonly -l pl.UTF-8 |
696 | Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego | |
697 | udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w | |
698 | oparciu o definicje okresów w smb.conf. | |
97334e11 JB |
699 | |
700 | %package vfs-shadow_copy | |
701 | Summary: VFS module to make automatic copy of data in samba share | |
fa1faeca | 702 | Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby |
97334e11 | 703 | Group: Networking/Daemons |
7e84928b | 704 | Requires: %{name} = %{epoch}:%{version}-%{release} |
97334e11 JB |
705 | |
706 | %description vfs-shadow_copy | |
707 | VFS module to make automatic copy of data in samba share. | |
708 | ||
96088f7b JR |
709 | %description vfs-shadow_copy -l pl.UTF-8 |
710 | Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby. | |
97334e11 | 711 | |
d718c2e1 AF |
712 | %package vfs-catia |
713 | Summary: VFS module to fix Catia CAD filenames | |
714 | Group: Networking/Daemons | |
7e84928b | 715 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d718c2e1 AF |
716 | |
717 | %description vfs-catia | |
aceac5ef ER |
718 | The Catia CAD package commonly creates filenames that use characters |
719 | that are illegal in CIFS filenames. The vfs_catia VFS module | |
720 | implements a fixed character mapping so that these files can be shared | |
721 | with CIFS clients. | |
d718c2e1 AF |
722 | |
723 | %package vfs-scannedonly | |
724 | Summary: Anti-virus solution as VFS module | |
725 | Group: Networking/Daemons | |
7e84928b | 726 | Requires: %{name} = %{epoch}:%{version}-%{release} |
d718c2e1 AF |
727 | |
728 | %description vfs-scannedonly | |
aceac5ef ER |
729 | The vfs_scannedonly VFS module ensures that only files that have been |
730 | scanned for viruses are visible and accessible to the end user. If | |
731 | non-scanned files are found an anti-virus scanning daemon is notified. | |
d718c2e1 | 732 | |
99795f36 ER |
733 | %package -n openldap-schema-samba |
734 | Summary: Samba LDAP schema | |
fa1faeca | 735 | Summary(pl.UTF-8): Schemat LDAP dla samby |
99795f36 ER |
736 | Group: Networking/Daemons |
737 | Requires(post,postun): sed >= 4.0 | |
738 | Requires: openldap-servers | |
739 | ||
740 | %description -n openldap-schema-samba | |
741 | This package contains samba.schema for openldap. | |
742 | ||
96088f7b | 743 | %description -n openldap-schema-samba -l pl.UTF-8 |
e611fed4 | 744 | Ten pakiet zawiera schemat samby dla openldap-a. |
745 | ||
6682f6b1 | 746 | %package -n python-samba4 |
9f74dab7 | 747 | Summary: Samba Module for Python |
748 | Group: Development/Languages/Python | |
749 | %pyrequires_eq python | |
7e84928b | 750 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
1a8c003b | 751 | |
6682f6b1 | 752 | %description -n python-samba4 |
1a8c003b AM |
753 | Samba Module for Python. |
754 | ||
7e84928b JR |
755 | %package test |
756 | Summary: Testing tools for Samba servers and clients | |
757 | Group: Applications/System | |
758 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
759 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
760 | Requires: %{name}-winbind = %{epoch}:%{version}-%{release} | |
761 | ||
762 | %description test | |
763 | samba4-test provides testing tools for both the server and client | |
764 | packages of Samba. | |
765 | ||
766 | %package test-devel | |
767 | Summary: Testing devel files for Samba servers and clients | |
768 | Group: Applications/System | |
769 | Requires: %{name}-test = %{epoch}:%{version}-%{release} | |
770 | ||
771 | %description test-devel | |
2dee2d4a JR |
772 | samba-test-devel provides testing devel files for both the server and |
773 | client packages of Samba. | |
7e84928b JR |
774 | |
775 | %package pidl | |
776 | Summary: Perl IDL compiler | |
777 | Group: Development/Tools | |
778 | Requires: perl(Parse::Yapp) | |
779 | ||
780 | %description pidl | |
781 | The samba4-pidl package contains the Perl IDL compiler used by Samba | |
782 | and Wireshark to parse IDL and similar protocols. | |
783 | ||
1925a8b4 | 784 | %prep |
7af14fc0 | 785 | %setup -q -n samba-%{version} |
f66571a4 | 786 | %patch0 -p1 |
8932759c | 787 | %patch1 -p1 |
f4ecaf8b | 788 | %patch3 -p1 |
ce9af3e2 | 789 | %patch4 -p1 |
6fb3721a | 790 | |
1925a8b4 | 791 | %build |
f66571a4 JR |
792 | LDFLAGS="${LDFLAGS:-%rpmldflags}" \ |
793 | CFLAGS="${CFLAGS:-%rpmcflags}" \ | |
794 | CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \ | |
795 | FFLAGS="${FFLAGS:-%rpmcflags}" \ | |
796 | FCFLAGS="${FCFLAGS:-%rpmcflags}" \ | |
797 | CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \ | |
798 | %{?__cc:CC="%{__cc}"} \ | |
799 | %{?__cxx:CXX="%{__cxx}"} \ | |
800 | ./configure \ | |
801 | --enable-fhs \ | |
802 | --prefix=%{_prefix} \ | |
803 | --exec-prefix=%{_exec_prefix} \ | |
804 | --bindir=%{_bindir} \ | |
805 | --sbindir=%{_sbindir} \ | |
806 | --sysconfdir=%{_sysconfdir} \ | |
807 | --datadir=%{_datadir} \ | |
808 | --includedir=%{_includedir} \ | |
809 | --libdir=%{_libdir} \ | |
810 | --libexecdir=%{_libexecdir} \ | |
811 | --localstatedir=%{_localstatedir} \ | |
812 | --sharedstatedir=%{_sharedstatedir} \ | |
813 | --mandir=%{_mandir} \ | |
814 | --infodir=%{_infodir} \ | |
4ca488b9 JR |
815 | --with-privatelibdir=%{_libdir}/samba \ |
816 | --with-modulesdir=%{_libdir}/samba \ | |
01485082 | 817 | --with-pammodulesdir=/%{_lib}/security \ |
f66571a4 JR |
818 | --with-lockdir=/var/lib/samba \ |
819 | --with-privatedir=%{_sysconfdir}/samba \ | |
820 | --disable-gnutls \ | |
821 | --disable-rpath-install \ | |
822 | --builtin-libraries=ccan \ | |
f02030a6 | 823 | --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libs:talloc,tdb,ldb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util} \ |
f66571a4 JR |
824 | --private-libraries=smbclient,smbsharemodes,wbclient \ |
825 | --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 | 826 | --with-acl-support \ |
f66571a4 | 827 | --with%{!?with_ads:out}-ads \ |
40d90f9e | 828 | --with-aio-support \ |
432ee34d | 829 | --with-automount \ |
f66571a4 JR |
830 | --with-dmapi \ |
831 | --with-dnsupdate \ | |
832 | --with-iconv \ | |
833 | --with%{!?with_ldap:out}-ldap \ | |
d1d64cbe | 834 | --with-pam \ |
29511e6d | 835 | --with-pam_smbpass \ |
4ef99dd8 | 836 | --with-quotas \ |
f66571a4 JR |
837 | --with-sendfile-support \ |
838 | --with-swat \ | |
4ef99dd8 | 839 | --with-syslog \ |
840 | --with-utmp \ | |
f66571a4 | 841 | --with-winbind \ |
66e5c63e | 842 | --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \ |
f66571a4 JR |
843 | --enable-cups \ |
844 | --enable-iprint | |
1925a8b4 | 845 | |
70ff6d03 | 846 | %{__make} |
192f48a8 | 847 | |
7e84928b JR |
848 | # Build PIDL for installation into vendor directories before |
849 | # 'make proto' gets to it. | |
850 | cd pidl | |
851 | %{__perl} Makefile.PL \ | |
852 | INSTALLDIRS=vendor | |
853 | ||
1925a8b4 | 854 | %install |
855 | rm -rf $RPM_BUILD_ROOT | |
a60823b9 | 856 | install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \ |
4ca488b9 | 857 | $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \ |
08bf002e | 858 | $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \ |
4ca488b9 JR |
859 | $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \ |
860 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
ba850b61 | 861 | |
f66571a4 | 862 | %{__make} install \ |
bd658e80 | 863 | DESTDIR=$RPM_BUILD_ROOT \ |
29511e6d | 864 | CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba |
bd658e80 | 865 | |
7e84928b JR |
866 | # Undo the PIDL install, we want to try again with the right options. |
867 | %{__rm} -r $RPM_BUILD_ROOT/%{_datadir}/perl5 | |
868 | ||
869 | # Install PIDL | |
870 | cd pidl | |
871 | %{__make} install \ | |
872 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | |
873 | cd .. | |
874 | ||
875 | # Clean out crap left behind by the PIDL install | |
876 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/wscript_build | |
877 | %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp | |
878 | ||
b25f7233 | 879 | install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir} |
1925a8b4 | 880 | |
4ca488b9 JR |
881 | install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf |
882 | install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
883 | install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir} | |
884 | install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
885 | install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir} | |
886 | ||
b25f7233 ER |
887 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb |
888 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba | |
889 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat | |
890 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba | |
891 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba | |
892 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf | |
893 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind | |
894 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind | |
29511e6d | 895 | |
2720c7f3 JR |
896 | # move lib{smb,wb}client where they always were for compatibility |
897 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
898 | ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so | |
899 | ln -s libwbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libwbclient.so | |
900 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libwbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
901 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/libsmbclient.h $RPM_BUILD_ROOT%{_includedir} | |
902 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/wbclient.h $RPM_BUILD_ROOT%{_includedir} | |
903 | ||
f66571a4 JR |
904 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib} |
905 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib} | |
906 | install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir} | |
79d8a749 | 907 | |
f2b0247b | 908 | # these are needed to build samba-pdbsql |
2720c7f3 JR |
909 | install -d $RPM_BUILD_ROOT%{_includedir}/samba/nsswitch |
910 | cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/samba | |
911 | cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/samba/nsswitch | |
b25f7233 | 912 | %if %{without system_libtdb} |
2720c7f3 JR |
913 | install -d $RPM_BUILD_ROOT%{_includedir}/samba/tdb |
914 | cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/samba/tdb | |
b25f7233 | 915 | %endif |
f2b0247b | 916 | |
6a2e83e0 | 917 | touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat} |
1925a8b4 | 918 | |
01485082 | 919 | echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts |
8b604b68 | 920 | |
ddea14b0 | 921 | %if %{with cups} |
fd9d8b85 JB |
922 | install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend |
923 | ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb | |
924 | %endif | |
9f6f5df1 | 925 | |
29511e6d | 926 | > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers |
8b604b68 | 927 | > $RPM_BUILD_ROOT/etc/security/blacklist.samba |
11d2c190 | 928 | |
105507bc | 929 | %if %{with ldap} |
99795f36 | 930 | install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir} |
105507bc | 931 | %endif |
99795f36 | 932 | |
b25f7233 ER |
933 | %if %{with system_libtdb} |
934 | # remove manuals of tdb if system lib used | |
935 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8* | |
936 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8* | |
937 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8* | |
938 | %endif | |
939 | ||
1a8c003b AM |
940 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
941 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
942 | find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f | |
943 | ||
ea8d81e5 JB |
944 | %clean |
945 | rm -rf $RPM_BUILD_ROOT | |
9661cd11 | 946 | |
1925a8b4 | 947 | %post |
9ac29548 | 948 | /sbin/chkconfig --add smb |
27879fe9 ER |
949 | if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then |
950 | echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba" | |
951 | /sbin/service smb stop >&2 | |
952 | mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || : | |
953 | mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || : | |
954 | if [ -d /var/lock/samba/printing ]; then | |
955 | mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || : | |
6a2e83e0 | 956 | fi |
27879fe9 | 957 | /sbin/service smb start >&2 |
9ac29548 | 958 | else |
27879fe9 | 959 | %service smb restart "Samba daemons" |
9ac29548 | 960 | fi |
1925a8b4 | 961 | |
962 | %preun | |
9ac29548 | 963 | if [ "$1" = "0" ]; then |
27879fe9 | 964 | %service smb stop |
9ac29548 | 965 | /sbin/chkconfig --del smb |
966 | fi | |
11d2c190 | 967 | |
d974bdb3 JR |
968 | %post libs -p /sbin/ldconfig |
969 | %postun libs -p /sbin/ldconfig | |
970 | ||
29511e6d | 971 | %post winbind |
972 | /sbin/chkconfig --add winbind | |
27879fe9 | 973 | %service winbind restart "Winbind daemon" |
29511e6d | 974 | |
975 | %preun winbind | |
976 | if [ "$1" = "0" ]; then | |
27879fe9 | 977 | %service winbind stop |
29511e6d | 978 | /sbin/chkconfig --del winbind |
979 | fi | |
980 | ||
981 | %post swat | |
27879fe9 | 982 | %service -q rc-inetd reload |
d7dadfd6 | 983 | |
29511e6d | 984 | %postun swat |
27879fe9 ER |
985 | if [ "$1" = 0 ]; then |
986 | %service -q rc-inetd reload | |
9ac29548 | 987 | fi |
d7dadfd6 | 988 | |
99795f36 | 989 | %post -n openldap-schema-samba |
c4db757c ER |
990 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
991 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
27879fe9 | 992 | %service -q ldap restart |
99795f36 ER |
993 | |
994 | %postun -n openldap-schema-samba | |
995 | if [ "$1" = "0" ]; then | |
c4db757c | 996 | %openldap_schema_unregister %{schemadir}/samba.schema |
27879fe9 | 997 | %service -q ldap restart |
99795f36 ER |
998 | fi |
999 | ||
1925a8b4 | 1000 | %files |
1001 | %defattr(644,root,root,755) | |
3773b65f | 1002 | %attr(755,root,root) %{_sbindir}/nmbd |
1003 | %attr(755,root,root) %{_sbindir}/smbd | |
7e84928b JR |
1004 | %attr(755,root,root) %{_sbindir}/samba |
1005 | %attr(755,root,root) %{_sbindir}/samba_dnsupdate | |
1006 | %attr(755,root,root) %{_sbindir}/samba_kcc | |
1007 | %attr(755,root,root) %{_sbindir}/samba_spnupdate | |
1008 | %attr(755,root,root) %{_sbindir}/samba_upgradedns | |
1009 | %attr(755,root,root) %{_sbindir}/samba_upgradeprovision | |
cc483cf9 | 1010 | %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh |
1a8c003b | 1011 | %attr(755,root,root) %{_bindir}/reg* |
ac6f9d13 | 1012 | %attr(755,root,root) %{_bindir}/smbstatus |
e5e8db61 | 1013 | %attr(755,root,root) %{_bindir}/smbcontrol |
11d2c190 | 1014 | |
7e84928b JR |
1015 | %attr(755,root,root) %{_bindir}/smbta-util |
1016 | %attr(755,root,root) %{_bindir}/smbpasswd | |
1017 | ||
7e84928b | 1018 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so.*.*.* |
d974bdb3 | 1019 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-atsvc.so.0 |
7e84928b | 1020 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.* |
d974bdb3 | 1021 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0 |
7e84928b | 1022 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.* |
d974bdb3 | 1023 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0 |
7e84928b | 1024 | %attr(755,root,root) %{_libdir}/libregistry.so.*.*.* |
d974bdb3 | 1025 | %attr(755,root,root) %ghost %{_libdir}/libregistry.so.0 |
7e84928b | 1026 | %attr(755,root,root) %{_libdir}/libsamba-policy.so.*.*.* |
d974bdb3 | 1027 | %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.so.0 |
7e84928b | 1028 | %attr(755,root,root) %{_libdir}/mit_samba.so |
7e84928b | 1029 | %attr(755,root,root) %{_libdir}/samba/libdb-glue.so |
7e84928b | 1030 | %attr(755,root,root) %{_libdir}/samba/libdsdb-module.so |
d974bdb3 | 1031 | %attr(755,root,root) %{_libdir}/samba/libHDB_SAMBA4.so |
7e84928b JR |
1032 | %attr(755,root,root) %{_libdir}/samba/libntvfs.so |
1033 | %attr(755,root,root) %{_libdir}/samba/libpac.so | |
1034 | %attr(755,root,root) %{_libdir}/samba/libposix_eadb.so | |
7e84928b JR |
1035 | %attr(755,root,root) %{_libdir}/samba/libprocess_model.so |
1036 | %attr(755,root,root) %{_libdir}/samba/libsamba-net.so | |
1037 | %attr(755,root,root) %{_libdir}/samba/libsamba_python.so | |
1038 | %attr(755,root,root) %{_libdir}/samba/libservice.so | |
1039 | %attr(755,root,root) %{_libdir}/samba/libshares.so | |
7e84928b JR |
1040 | %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser.so |
1041 | %attr(755,root,root) %{_libdir}/samba/libsmbsharemodes.so.0 | |
1042 | %attr(755,root,root) %{_libdir}/samba/libtdb_compat.so | |
7e84928b | 1043 | %attr(755,root,root) %{_libdir}/samba/libxattr_tdb.so |
2dee2d4a | 1044 | %dir %{_libdir}/samba/bind9 |
7e84928b JR |
1045 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so |
1046 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so | |
2dee2d4a | 1047 | %dir %{_libdir}/samba/gensec |
7e84928b | 1048 | %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so |
2dee2d4a | 1049 | %dir %{_libdir}/samba/hdb |
7e84928b | 1050 | %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so |
4ca488b9 | 1051 | %dir %{_libdir}/samba/idmap |
7e84928b JR |
1052 | %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so |
1053 | %attr(755,root,root) %{_libdir}/samba/idmap/ad.so | |
1054 | %attr(755,root,root) %{_libdir}/samba/idmap/hash.so | |
1055 | %attr(755,root,root) %{_libdir}/samba/idmap/rid.so | |
1056 | %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so | |
2dee2d4a | 1057 | %dir %{_libdir}/samba/ldb |
7e84928b JR |
1058 | %attr(755,root,root) %{_libdir}/samba/ldb/acl.so |
1059 | %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so | |
1060 | %attr(755,root,root) %{_libdir}/samba/ldb/anr.so | |
1061 | %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so | |
1062 | %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so | |
1063 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so | |
1064 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so | |
1065 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so | |
1066 | %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so | |
1067 | %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so | |
1068 | %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so | |
1069 | %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so | |
1070 | %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so | |
1071 | %attr(755,root,root) %{_libdir}/samba/ldb/local_password.so | |
1072 | %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so | |
1073 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so | |
1074 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so | |
1075 | %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so | |
1076 | %attr(755,root,root) %{_libdir}/samba/ldb/operational.so | |
1077 | %attr(755,root,root) %{_libdir}/samba/ldb/partition.so | |
1078 | %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so | |
1079 | %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so | |
1080 | %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so | |
1081 | %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so | |
1082 | %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so | |
1083 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so | |
1084 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so | |
1085 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so | |
1086 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so | |
1087 | %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so | |
1088 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so | |
1089 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so | |
1090 | %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so | |
1091 | %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so | |
1092 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so | |
1093 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so | |
1094 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so | |
1095 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so | |
1096 | %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so | |
1097 | %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so | |
2dee2d4a | 1098 | %dir %{_libdir}/samba/nss_info |
7e84928b JR |
1099 | %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so |
1100 | %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so | |
1101 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so | |
1102 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so | |
4ca488b9 | 1103 | %dir %{_libdir}/samba/pdb |
7e84928b JR |
1104 | %attr(755,root,root) %{_libdir}/samba/pdb/ldap.so |
1105 | %attr(755,root,root) %{_libdir}/samba/pdb/smbpasswd.so | |
1106 | %attr(755,root,root) %{_libdir}/samba/pdb/tdbsam.so | |
1107 | %attr(755,root,root) %{_libdir}/samba/pdb/wbc_sam.so | |
2dee2d4a | 1108 | %dir %{_libdir}/samba/process_model |
7e84928b JR |
1109 | %attr(755,root,root) %{_libdir}/samba/process_model/onefork.so |
1110 | %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so | |
1111 | %attr(755,root,root) %{_libdir}/samba/process_model/standard.so | |
2dee2d4a | 1112 | %dir %{_libdir}/samba/service |
7e84928b JR |
1113 | %attr(755,root,root) %{_libdir}/samba/service/cldap.so |
1114 | %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so | |
1115 | %attr(755,root,root) %{_libdir}/samba/service/dns.so | |
1116 | %attr(755,root,root) %{_libdir}/samba/service/dns_update.so | |
1117 | %attr(755,root,root) %{_libdir}/samba/service/drepl.so | |
1118 | %attr(755,root,root) %{_libdir}/samba/service/kcc.so | |
1119 | %attr(755,root,root) %{_libdir}/samba/service/kdc.so | |
1120 | %attr(755,root,root) %{_libdir}/samba/service/ldap.so | |
1121 | %attr(755,root,root) %{_libdir}/samba/service/nbtd.so | |
1122 | %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so | |
1123 | %attr(755,root,root) %{_libdir}/samba/service/s3fs.so | |
1124 | %attr(755,root,root) %{_libdir}/samba/service/smb.so | |
1125 | %attr(755,root,root) %{_libdir}/samba/service/web.so | |
1126 | %attr(755,root,root) %{_libdir}/samba/service/winbind.so | |
1127 | %attr(755,root,root) %{_libdir}/samba/service/wrepl.so | |
4ca488b9 | 1128 | %dir %{_libdir}/samba/vfs |
7e84928b JR |
1129 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_linux.so |
1130 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_posix.so | |
1131 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so | |
1132 | %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so | |
1133 | %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so | |
4ca488b9 JR |
1134 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so |
1135 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so | |
1136 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so | |
1137 | %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so | |
1138 | %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so | |
1139 | %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so | |
1140 | %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so | |
1141 | %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so | |
1142 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so | |
1143 | %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so | |
1144 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so | |
1145 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so | |
1146 | %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so | |
1147 | %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so | |
1148 | %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so | |
6682f6b1 | 1149 | %{_datadir}/samba/setup |
7e84928b | 1150 | %{_mandir}/man8/idmap_autorid.8* |
6fb3721a AM |
1151 | %{_mandir}/man8/vfs_acl_tdb.8* |
1152 | %{_mandir}/man8/vfs_acl_xattr.8* | |
423b7f34 | 1153 | %{_mandir}/man8/vfs_crossrename.8* |
69828d88 | 1154 | %{_mandir}/man8/vfs_dirsort.8* |
6fb3721a AM |
1155 | %{_mandir}/man8/vfs_fileid.8* |
1156 | %{_mandir}/man8/vfs_preopen.8* | |
1157 | %{_mandir}/man8/vfs_shadow_copy2.8* | |
1158 | %{_mandir}/man8/vfs_smb_traffic_analyzer.8* | |
1159 | %{_mandir}/man8/vfs_streams_xattr.8* | |
1160 | %{_mandir}/man8/vfs_streams_depot.8* | |
423b7f34 | 1161 | %{_mandir}/man8/vfs_time_audit.8* |
6fb3721a | 1162 | %{_mandir}/man8/vfs_xattr_tdb.8* |
7e84928b JR |
1163 | %{_mandir}/man8/vfs_aio_fork.8* |
1164 | %{_mandir}/man8/vfs_aio_linux.8* | |
1165 | %{_mandir}/man8/vfs_aio_pthread.8* | |
1166 | %{_mandir}/man8/vfs_media_harmony.8* | |
b36aa9d5 | 1167 | |
d0e87ba8 | 1168 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers |
138aecb0 | 1169 | %attr(754,root,root) /etc/rc.d/init.d/smb |
d0e87ba8 ER |
1170 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba |
1171 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba | |
1172 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba | |
1173 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba | |
619d8577 | 1174 | %{_mandir}/man1/log2pcap.1* |
ac6f9d13 | 1175 | %{_mandir}/man1/smbstatus.1* |
e5e8db61 | 1176 | %{_mandir}/man1/smbcontrol.1* |
ac6f9d13 MC |
1177 | %{_mandir}/man5/smbpasswd.5* |
1178 | %{_mandir}/man7/samba.7* | |
e11c6ca1 | 1179 | %{_mandir}/man8/nmbd.8* |
e63ea659 JR |
1180 | %{_mandir}/man8/samba.8* |
1181 | %{_mandir}/man8/smbta-util.8* | |
e11c6ca1 | 1182 | %{_mandir}/man8/smbd.8* |
e11c6ca1 | 1183 | %{_mandir}/man8/smbpasswd.8* |
1925a8b4 | 1184 | |
c10bc67e | 1185 | %dir %{_sambahome} |
6a2e83e0 JB |
1186 | %dir /var/lib/samba |
1187 | %ghost /var/lib/samba/*.dat | |
1188 | %dir /var/lib/samba/printing | |
c9c921bd | 1189 | |
d1d9e9b8 | 1190 | %attr(750,root,root) %dir /var/log/samba |
08bf002e ER |
1191 | %attr(750,root,root) %dir /var/log/samba/cores |
1192 | %attr(750,root,root) %dir /var/log/samba/cores/smbd | |
1193 | %attr(750,root,root) %dir /var/log/samba/cores/nmbd | |
7137e1be | 1194 | %attr(750,root,root) %dir /var/log/archive/samba |
11d2c190 | 1195 | %attr(1777,root,root) %dir /var/spool/samba |
1396ce8a | 1196 | %if %{with ldap} |
1197 | %doc examples/LDAP | |
1198 | %endif | |
c9c921bd | 1199 | |
f66571a4 | 1200 | %files winbind |
29511e6d | 1201 | %defattr(644,root,root,755) |
1202 | %attr(755,root,root) %{_sbindir}/winbindd | |
1203 | %attr(755,root,root) %{_bindir}/wbinfo | |
1204 | %attr(755,root,root) /%{_lib}/security/pam_winbind* | |
1205 | %attr(755,root,root) /%{_lib}/libnss_winbind* | |
e63ea659 | 1206 | %attr(755,root,root) %{_libdir}/winbind_krb5_locator.so |
29511e6d | 1207 | %attr(754,root,root) /etc/rc.d/init.d/winbind |
d0e87ba8 | 1208 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind |
29511e6d | 1209 | %{_mandir}/man1/wbinfo*.1* |
45a544fa | 1210 | %{_mandir}/man5/pam_winbind.conf.5* |
e63ea659 | 1211 | %{_mandir}/man7/winbind_krb5_locator.7* |
a4c31844 | 1212 | %{_mandir}/man8/pam_winbind.8* |
af208f88 | 1213 | %{_mandir}/man8/winbindd*.8* |
29511e6d | 1214 | |
1215 | %files -n nss_wins | |
1216 | %defattr(644,root,root,755) | |
1217 | %attr(755,root,root) /%{_lib}/libnss_wins* | |
1218 | ||
ac6f9d13 | 1219 | %files client |
2eedd257 | 1220 | %defattr(644,root,root,755) |
7e84928b JR |
1221 | %attr(755,root,root) %{_bindir}/cifsdd |
1222 | %attr(755,root,root) %{_bindir}/dbwrap_tool | |
bd658e80 | 1223 | %attr(755,root,root) %{_bindir}/net |
ac6f9d13 | 1224 | %attr(755,root,root) %{_bindir}/nmblookup |
7e84928b JR |
1225 | %attr(755,root,root) %{_bindir}/nmblookup4 |
1226 | %attr(755,root,root) %{_bindir}/oLschema2ldif | |
6c886cab | 1227 | %attr(755,root,root) %{_bindir}/rpcclient |
7e84928b | 1228 | %attr(755,root,root) %{_bindir}/samba-tool |
a5cbc2b9 | 1229 | %attr(755,root,root) %{_bindir}/sharesec |
af208f88 | 1230 | %attr(755,root,root) %{_bindir}/smbcacls |
ac6f9d13 | 1231 | %attr(755,root,root) %{_bindir}/smbclient |
7e84928b | 1232 | %attr(755,root,root) %{_bindir}/smbclient4 |
6c886cab | 1233 | %attr(755,root,root) %{_bindir}/smbtree |
7e84928b | 1234 | %attr(755,root,root) %{_libdir}/samba/libldb-cmdline.so |
6c886cab | 1235 | %{_mandir}/man1/findsmb.1* |
ac6f9d13 | 1236 | %{_mandir}/man1/nmblookup.1* |
e63ea659 JR |
1237 | %{_mandir}/man1/nmblookup4.1* |
1238 | %{_mandir}/man1/oLschema2ldif.1* | |
6c886cab | 1239 | %{_mandir}/man1/rpcclient.1* |
a5cbc2b9 | 1240 | %{_mandir}/man1/sharesec.1* |
e5e8db61 | 1241 | %{_mandir}/man1/smbcacls.1* |
af208f88 | 1242 | %{_mandir}/man1/smbclient.1* |
6c886cab JB |
1243 | %{_mandir}/man1/smbtar.1* |
1244 | %{_mandir}/man1/smbtree.1* | |
6c886cab | 1245 | %{_mandir}/man8/net.8* |
e63ea659 | 1246 | %{_mandir}/man8/samba-tool.8* |
ac6f9d13 | 1247 | |
ac6f9d13 | 1248 | %files common |
2eedd257 | 1249 | %defattr(644,root,root,755) |
4ca488b9 | 1250 | %doc README WHATSNEW.txt Roadmap |
2f0e4f6e | 1251 | %dir %{_sysconfdir}/samba |
d0e87ba8 ER |
1252 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf |
1253 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts | |
af208f88 | 1254 | %attr(755,root,root) %{_bindir}/eventlogadm |
bd658e80 | 1255 | %attr(755,root,root) %{_bindir}/ntlm_auth |
bd658e80 | 1256 | %attr(755,root,root) %{_bindir}/pdbedit |
af208f88 JB |
1257 | %attr(755,root,root) %{_bindir}/profiles |
1258 | %attr(755,root,root) %{_bindir}/smbcquotas | |
1259 | %attr(755,root,root) %{_bindir}/testparm | |
d974bdb3 JR |
1260 | %dir %{_datadir}/samba |
1261 | %dir %{_datadir}/samba/codepages | |
1262 | %{_datadir}/samba/codepages/lowcase.dat | |
1263 | %{_datadir}/samba/codepages/upcase.dat | |
1264 | %{_datadir}/samba/codepages/valid.dat | |
1265 | %{_mandir}/man1/ntlm_auth.1* | |
1266 | %{_mandir}/man1/profiles.1* | |
1267 | %{_mandir}/man1/smbcquotas.1* | |
1268 | %{_mandir}/man1/testparm.1* | |
1269 | #%{_mandir}/man1/log2pcap.1* | |
1270 | %{_mandir}/man5/lmhosts.5* | |
1271 | %{_mandir}/man5/smb.conf.5* | |
1272 | %{_mandir}/man8/pdbedit.8* | |
1273 | %{_mandir}/man8/eventlogadm.8* | |
1274 | %{_mandir}/man8/idmap_ad.8* | |
1275 | %{_mandir}/man8/idmap_hash.8* | |
1276 | %{_mandir}/man8/idmap_ldap.8* | |
1277 | %{_mandir}/man8/idmap_nss.8* | |
1278 | %{_mandir}/man8/idmap_rid.8* | |
1279 | %{_mandir}/man8/idmap_tdb.8* | |
1280 | %{_mandir}/man8/idmap_tdb2.8* | |
1281 | %if %{without system_libs} | |
1282 | %attr(755,root,root) %{_bindir}/tdbbackup | |
1283 | %attr(755,root,root) %{_bindir}/tdbdump | |
1284 | %attr(755,root,root) %{_bindir}/tdbtool | |
1285 | %{_mandir}/man8/tdbbackup.8* | |
1286 | %{_mandir}/man8/tdbdump.8* | |
1287 | %{_mandir}/man8/tdbtool.8* | |
1288 | %endif | |
1289 | ||
1290 | %files libs | |
1291 | %defattr(644,root,root,755) | |
1292 | %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.* | |
1293 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0 | |
1294 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.* | |
1295 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0 | |
1296 | %attr(755,root,root) %{_libdir}/libgensec.so.*.*.* | |
1297 | %attr(755,root,root) %ghost %{_libdir}/libgensec.so.0 | |
1298 | %attr(755,root,root) %{_libdir}/libndr.so.*.*.* | |
1299 | %attr(755,root,root) %ghost %{_libdir}/libndr.so.0 | |
1300 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.* | |
1301 | %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0 | |
1302 | %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.* | |
1303 | %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0 | |
1304 | %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.* | |
1305 | %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0 | |
1306 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.* | |
1307 | %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0 | |
1308 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.* | |
1309 | %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0 | |
1310 | %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.* | |
1311 | %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0 | |
1312 | %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.* | |
1313 | %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0 | |
1314 | %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.* | |
1315 | %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0 | |
1316 | ||
1317 | %attr(755,root,root) %{_libdir}/libnetapi.so.0 | |
1318 | %attr(755,root,root) %{_libdir}/libpdb.so.0 | |
1319 | %attr(755,root,root) %{_libdir}/libsmbconf.so.0 | |
7e84928b | 1320 | %attr(755,root,root) %{_libdir}/libsmbldap.so.0 |
d974bdb3 JR |
1321 | |
1322 | %dir %{_libdir}/samba | |
7e84928b JR |
1323 | %attr(755,root,root) %{_libdir}/samba/libaddns.so |
1324 | %attr(755,root,root) %{_libdir}/samba/libads.so | |
1325 | %attr(755,root,root) %{_libdir}/samba/libasn1util.so | |
d974bdb3 JR |
1326 | %attr(755,root,root) %{_libdir}/samba/libauth4.so |
1327 | %attr(755,root,root) %{_libdir}/samba/libauthkrb5.so | |
1328 | %attr(755,root,root) %{_libdir}/samba/libauth_sam_reply.so | |
1329 | %attr(755,root,root) %{_libdir}/samba/libauth.so | |
7e84928b | 1330 | %attr(755,root,root) %{_libdir}/samba/libauth_unix_token.so |
d974bdb3 JR |
1331 | %attr(755,root,root) %{_libdir}/samba/libCHARSET3.so |
1332 | %attr(755,root,root) %{_libdir}/samba/libcliauth.so | |
1333 | %attr(755,root,root) %{_libdir}/samba/libcli_cldap.so | |
7e84928b | 1334 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common.so |
d974bdb3 | 1335 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap.so |
7e84928b | 1336 | %attr(755,root,root) %{_libdir}/samba/libcli-nbt.so |
7e84928b | 1337 | %attr(755,root,root) %{_libdir}/samba/libcli_smb_common.so |
d974bdb3 | 1338 | %attr(755,root,root) %{_libdir}/samba/libcli_spoolss.so |
7e84928b | 1339 | %attr(755,root,root) %{_libdir}/samba/libcluster.so |
d974bdb3 | 1340 | %attr(755,root,root) %{_libdir}/samba/libcmdline-credentials.so |
7e84928b | 1341 | %attr(755,root,root) %{_libdir}/samba/libdbwrap.so |
7e84928b | 1342 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so |
d974bdb3 JR |
1343 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba.so |
1344 | %attr(755,root,root) %{_libdir}/samba/libdfs_server_ad.so | |
7e84928b JR |
1345 | %attr(755,root,root) %{_libdir}/samba/liberrors.so |
1346 | %attr(755,root,root) %{_libdir}/samba/libevents.so | |
d974bdb3 JR |
1347 | %attr(755,root,root) %{_libdir}/samba/libflag_mapping.so |
1348 | %attr(755,root,root) %{_libdir}/samba/libgpo.so | |
7e84928b | 1349 | %attr(755,root,root) %{_libdir}/samba/libgse.so |
e63ea659 | 1350 | %attr(755,root,root) %{_libdir}/samba/libidmap.so |
7e84928b | 1351 | %attr(755,root,root) %{_libdir}/samba/libiniparser.so |
d974bdb3 | 1352 | %attr(755,root,root) %{_libdir}/samba/libinterfaces.so |
7e84928b | 1353 | %attr(755,root,root) %{_libdir}/samba/libkrb5samba.so |
d974bdb3 | 1354 | %attr(755,root,root) %{_libdir}/samba/libldbsamba.so |
7e84928b | 1355 | %attr(755,root,root) %{_libdir}/samba/liblibcli_lsa3.so |
d974bdb3 | 1356 | %attr(755,root,root) %{_libdir}/samba/liblibcli_netlogon3.so |
7e84928b | 1357 | %attr(755,root,root) %{_libdir}/samba/liblibsmb.so |
d974bdb3 JR |
1358 | %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT_OLD.so |
1359 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING.so | |
7e84928b | 1360 | %attr(755,root,root) %{_libdir}/samba/libmsrpc3.so |
d974bdb3 JR |
1361 | %attr(755,root,root) %{_libdir}/samba/libndr-samba4.so |
1362 | %attr(755,root,root) %{_libdir}/samba/libndr-samba.so | |
1363 | %attr(755,root,root) %{_libdir}/samba/libnetif.so | |
1364 | %attr(755,root,root) %{_libdir}/samba/libnet_keytab.so | |
1365 | %attr(755,root,root) %{_libdir}/samba/libnpa_tstream.so | |
e63ea659 | 1366 | %attr(755,root,root) %{_libdir}/samba/libnss_info.so |
7e84928b | 1367 | %attr(755,root,root) %{_libdir}/samba/libpopt_samba3.so |
d974bdb3 | 1368 | %attr(755,root,root) %{_libdir}/samba/libprinting_migrate.so |
7e84928b | 1369 | %attr(755,root,root) %{_libdir}/samba/libreplace.so |
d974bdb3 JR |
1370 | %attr(755,root,root) %{_libdir}/samba/libsamba3-util.so |
1371 | %attr(755,root,root) %{_libdir}/samba/libsamba-modules.so | |
7e84928b JR |
1372 | %attr(755,root,root) %{_libdir}/samba/libsamba-security.so |
1373 | %attr(755,root,root) %{_libdir}/samba/libsamba-sockets.so | |
d974bdb3 | 1374 | %attr(755,root,root) %{_libdir}/samba/libsamdb-common.so |
7e84928b JR |
1375 | %attr(755,root,root) %{_libdir}/samba/libsecrets3.so |
1376 | %attr(755,root,root) %{_libdir}/samba/libserver-role.so | |
d974bdb3 JR |
1377 | %attr(755,root,root) %{_libdir}/samba/libsmbd_base.so |
1378 | %attr(755,root,root) %{_libdir}/samba/libsmbd_conn.so | |
7e84928b | 1379 | %attr(755,root,root) %{_libdir}/samba/libsmbd_shim.so |
e63ea659 | 1380 | %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper.so |
7e84928b | 1381 | %attr(755,root,root) %{_libdir}/samba/libsmbregistry.so |
d974bdb3 JR |
1382 | %attr(755,root,root) %{_libdir}/samba/libsmb_transport.so |
1383 | %attr(755,root,root) %{_libdir}/samba/libtdb-wrap.so | |
1384 | %attr(755,root,root) %{_libdir}/samba/libtrusts_util.so | |
7e84928b JR |
1385 | %attr(755,root,root) %{_libdir}/samba/libutil_cmdline.so |
1386 | %attr(755,root,root) %{_libdir}/samba/libutil_reg.so | |
d974bdb3 | 1387 | %attr(755,root,root) %{_libdir}/samba/libutil_setid.so |
7e84928b JR |
1388 | %attr(755,root,root) %{_libdir}/samba/libutil_tdb.so |
1389 | %attr(755,root,root) %{_libdir}/samba/libwinbind-client.so | |
f02030a6 | 1390 | %if %{without system_libs} |
f02030a6 JR |
1391 | %attr(755,root,root) %{_libdir}/samba/libtalloc.so.* |
1392 | %attr(755,root,root) %{_libdir}/samba/libtdb.so.* | |
f02030a6 | 1393 | %endif |
d974bdb3 JR |
1394 | %dir %{_libdir}/samba/auth |
1395 | %attr(755,root,root) %{_libdir}/samba/auth/samba4.so | |
1396 | %attr(755,root,root) %{_libdir}/samba/auth/script.so | |
1397 | %attr(755,root,root) %{_libdir}/samba/auth/unix.so | |
1398 | %attr(755,root,root) %{_libdir}/samba/auth/wbc.so | |
f02030a6 | 1399 | |
29511e6d | 1400 | %files swat |
11d2c190 | 1401 | %defattr(644,root,root,755) |
bd658e80 AM |
1402 | #%doc swat/README* swat/help/* |
1403 | %doc swat/help/* | |
3773b65f | 1404 | %attr(755,root,root) %{_sbindir}/swat |
d0e87ba8 | 1405 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat |
4ca488b9 JR |
1406 | %dir %{_datadir}/samba/swat |
1407 | %{_datadir}/samba/swat/help | |
1408 | %{_datadir}/samba/swat/images | |
1409 | %{_datadir}/samba/swat/include | |
1410 | %dir %{_datadir}/samba/swat/lang | |
1411 | %lang(ja) %{_datadir}/samba/swat/lang/ja | |
1412 | %lang(tr) %{_datadir}/samba/swat/lang/tr | |
1413 | %lang(de) %{_datadir}/samba/codepages/de.msg | |
1414 | %{_datadir}/samba/codepages/en.msg | |
1415 | %lang(fi) %{_datadir}/samba/codepages/fi.msg | |
1416 | %lang(fr) %{_datadir}/samba/codepages/fr.msg | |
1417 | %lang(it) %{_datadir}/samba/codepages/it.msg | |
1418 | %lang(ja) %{_datadir}/samba/codepages/ja.msg | |
1419 | %lang(nl) %{_datadir}/samba/codepages/nl.msg | |
1420 | %lang(pl) %{_datadir}/samba/codepages/pl.msg | |
5f88c661 | 1421 | %lang(ru) %{_datadir}/samba/codepages/ru* |
4ca488b9 | 1422 | %lang(tr) %{_datadir}/samba/codepages/tr.msg |
1d99cec1 | 1423 | %{_mandir}/man8/swat.8* |
b36aa9d5 | 1424 | |
d6883a30 | 1425 | %files -n pam-pam_smbpass |
b36aa9d5 | 1426 | %defattr(644,root,root,755) |
13c7754f | 1427 | %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples |
017136ce | 1428 | %attr(755,root,root) /%{_lib}/security/pam_smbpass.so |
79d8a749 | 1429 | |
35f26c47 | 1430 | %files -n libsmbclient |
79d8a749 | 1431 | %defattr(644,root,root,755) |
7e84928b JR |
1432 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so.*.*.* |
1433 | %attr(755,root,root) %ghost %{_libdir}/libsmbclient-raw.so.0 | |
2720c7f3 JR |
1434 | %attr(755,root,root) %{_libdir}/libsmbclient.so.* |
1435 | %attr(755,root,root) %{_libdir}/libwbclient.so.* | |
2545d2ae | 1436 | %{_mandir}/man7/libsmbclient.7* |
79d8a749 | 1437 | |
35f26c47 | 1438 | %files -n libsmbclient-devel |
79d8a749 | 1439 | %defattr(644,root,root,755) |
7e84928b | 1440 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so |
2720c7f3 JR |
1441 | %attr(755,root,root) %{_libdir}/libsmbclient.so |
1442 | %attr(755,root,root) %{_libdir}/libwbclient.so | |
1443 | %{_includedir}/libsmbclient.h | |
1444 | %{_includedir}/wbclient.h | |
2dee2d4a | 1445 | %{_pkgconfigdir}/smbclient-raw.pc |
bd658e80 | 1446 | |
f2b0247b ER |
1447 | %files devel |
1448 | %defattr(644,root,root,755) | |
7e84928b JR |
1449 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so |
1450 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so | |
1451 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so | |
1452 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so | |
1453 | %attr(755,root,root) %{_libdir}/libdcerpc.so | |
1454 | %attr(755,root,root) %{_libdir}/libgensec.so | |
1455 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so | |
1456 | %attr(755,root,root) %{_libdir}/libndr-nbt.so | |
1457 | %attr(755,root,root) %{_libdir}/libndr-standard.so | |
1458 | %attr(755,root,root) %{_libdir}/libndr.so | |
1459 | %attr(755,root,root) %{_libdir}/libregistry.so | |
1460 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so | |
1461 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so | |
1462 | %attr(755,root,root) %{_libdir}/libsamba-policy.so | |
1463 | %attr(755,root,root) %{_libdir}/libsamba-util.so | |
1464 | %attr(755,root,root) %{_libdir}/libsamdb.so | |
1465 | %attr(755,root,root) %{_libdir}/libtevent-util.so | |
1466 | %attr(755,root,root) %{_libdir}/libnetapi.so | |
1467 | %attr(755,root,root) %{_libdir}/libpdb.so | |
1468 | %attr(755,root,root) %{_libdir}/libsmbconf.so | |
1469 | %attr(755,root,root) %{_libdir}/libsmbldap.so | |
2720c7f3 | 1470 | %{_includedir}/samba |
6682f6b1 | 1471 | %{_includedir}/samba-4.0 |
7e84928b | 1472 | %exclude %{_includedir}/samba-4.0/torture.h |
2dee2d4a JR |
1473 | %{_pkgconfigdir}/dcerpc.pc |
1474 | %{_pkgconfigdir}/dcerpc_atsvc.pc | |
1475 | %{_pkgconfigdir}/dcerpc_samr.pc | |
1476 | %{_pkgconfigdir}/dcerpc_server.pc | |
1477 | %{_pkgconfigdir}/gensec.pc | |
1478 | %{_pkgconfigdir}/ndr.pc | |
1479 | %{_pkgconfigdir}/ndr_krb5pac.pc | |
1480 | %{_pkgconfigdir}/ndr_nbt.pc | |
1481 | %{_pkgconfigdir}/ndr_standard.pc | |
1482 | %{_pkgconfigdir}/netapi.pc | |
1483 | %{_pkgconfigdir}/registry.pc | |
1484 | %{_pkgconfigdir}/samba-credentials.pc | |
1485 | %{_pkgconfigdir}/samba-hostconfig.pc | |
1486 | %{_pkgconfigdir}/samba-policy.pc | |
1487 | %{_pkgconfigdir}/samba-util.pc | |
1488 | %{_pkgconfigdir}/samdb.pc | |
9f6f5df1 | 1489 | |
29511e6d | 1490 | %files -n smbget |
1491 | %defattr(644,root,root,755) | |
1492 | %attr(755,root,root) %{_bindir}/smbget | |
1493 | %{_mandir}/man1/smbget.1* | |
1494 | %{_mandir}/man5/smbgetrc.5* | |
1495 | ||
ddea14b0 | 1496 | %if %{with cups} |
9f6f5df1 AF |
1497 | %files -n cups-backend-smb |
1498 | %defattr(644,root,root,755) | |
1499 | %attr(755,root,root) %{_bindir}/smbspool | |
fd9d8b85 | 1500 | %attr(755,root,root) %{cups_serverbin}/backend/smb |
9f6f5df1 | 1501 | %{_mandir}/man8/smbspool.8* |
fd9d8b85 | 1502 | %endif |
70ff6d03 | 1503 | |
192f48a8 | 1504 | %files vfs-audit |
1505 | %defattr(644,root,root,755) | |
4ca488b9 JR |
1506 | %attr(755,root,root) %{_libdir}/samba/vfs/audit.so |
1507 | %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so | |
1508 | %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so | |
4d8c5e20 | 1509 | %{_mandir}/man8/vfs_audit.8* |
78373b23 | 1510 | %{_mandir}/man8/vfs_extd_audit.8* |
1511 | %{_mandir}/man8/vfs_full_audit.8* | |
b0225e99 | 1512 | |
d1f5710a | 1513 | %files vfs-cap |
1514 | %defattr(644,root,root,755) | |
4ca488b9 | 1515 | %attr(755,root,root) %{_libdir}/samba/vfs/cap.so |
4d8c5e20 | 1516 | %{_mandir}/man8/vfs_cap.8* |
d1f5710a | 1517 | |
cc6b68cd | 1518 | %files vfs-default_quota |
d1f5710a | 1519 | %defattr(644,root,root,755) |
4ca488b9 | 1520 | %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so |
4d8c5e20 | 1521 | %{_mandir}/man8/vfs_default_quota.8* |
d1f5710a | 1522 | |
cc6b68cd | 1523 | %files vfs-expand_msdfs |
d1f5710a | 1524 | %defattr(644,root,root,755) |
4ca488b9 | 1525 | %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so |
d1f5710a | 1526 | |
cc6b68cd | 1527 | %files vfs-fake_perms |
d1f5710a | 1528 | %defattr(644,root,root,755) |
4ca488b9 | 1529 | %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so |
4d8c5e20 | 1530 | %{_mandir}/man8/vfs_fake_perms.8* |
d1f5710a | 1531 | |
6682f6b1 JR |
1532 | #%files vfs-notify_fam |
1533 | #%defattr(644,root,root,755) | |
1534 | #%attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so | |
1535 | #%{_mandir}/man8/vfs_notify_fam.8* | |
8ba454ef | 1536 | |
d1f5710a | 1537 | %files vfs-netatalk |
1538 | %defattr(644,root,root,755) | |
4ca488b9 | 1539 | %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so |
4d8c5e20 JB |
1540 | %{_mandir}/man8/vfs_netatalk.8* |
1541 | ||
1542 | %files vfs-readahead | |
1543 | %defattr(644,root,root,755) | |
4ca488b9 | 1544 | %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so |
4d8c5e20 | 1545 | %{_mandir}/man8/vfs_readahead.8* |
d1f5710a | 1546 | |
97334e11 JB |
1547 | %files vfs-readonly |
1548 | %defattr(644,root,root,755) | |
4ca488b9 | 1549 | %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so |
4d8c5e20 | 1550 | %{_mandir}/man8/vfs_readonly.8* |
97334e11 JB |
1551 | |
1552 | %files vfs-recycle | |
1553 | %defattr(644,root,root,755) | |
4ca488b9 | 1554 | %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so |
4d8c5e20 | 1555 | %{_mandir}/man8/vfs_recycle.8* |
97334e11 JB |
1556 | |
1557 | %files vfs-shadow_copy | |
1558 | %defattr(644,root,root,755) | |
4ca488b9 | 1559 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so |
4d8c5e20 | 1560 | %{_mandir}/man8/vfs_shadow_copy.8* |
97334e11 | 1561 | |
d718c2e1 AF |
1562 | %files vfs-catia |
1563 | %defattr(644,root,root,755) | |
4ca488b9 | 1564 | %attr(755,root,root) %{_libdir}/samba/vfs/catia.so |
d718c2e1 AF |
1565 | %{_mandir}/man8/vfs_catia.8* |
1566 | ||
1567 | %files vfs-scannedonly | |
1568 | %defattr(644,root,root,755) | |
4ca488b9 | 1569 | %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so |
d718c2e1 AF |
1570 | %{_mandir}/man8/vfs_scannedonly.8* |
1571 | ||
105507bc | 1572 | %if %{with ldap} |
99795f36 ER |
1573 | %files -n openldap-schema-samba |
1574 | %defattr(644,root,root,755) | |
1575 | %{schemadir}/*.schema | |
105507bc | 1576 | %endif |
8d59ae13 | 1577 | |
6682f6b1 | 1578 | %files -n python-samba4 |
1a8c003b | 1579 | %defattr(644,root,root,755) |
1a8c003b AM |
1580 | %dir %{py_sitedir}/samba |
1581 | %attr(755,root,root) %{py_sitedir}/samba/*.so | |
1582 | %{py_sitedir}/samba/*.py[co] | |
1583 | %dir %{py_sitedir}/samba/dcerpc | |
1584 | %{py_sitedir}/samba/dcerpc/*.py[co] | |
1585 | %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so | |
6682f6b1 JR |
1586 | %dir %{py_sitedir}/samba/external |
1587 | %{py_sitedir}/samba/external/*.py[co] | |
1588 | %dir %{py_sitedir}/samba/external/subunit | |
1589 | %{py_sitedir}/samba/external/subunit/*.py[co] | |
1590 | %dir %{py_sitedir}/samba/external/subunit/tests | |
1591 | %{py_sitedir}/samba/external/subunit/tests/*.py[co] | |
6682f6b1 JR |
1592 | %dir %{py_sitedir}/samba/netcmd |
1593 | %{py_sitedir}/samba/netcmd/*.py[co] | |
1594 | %dir %{py_sitedir}/samba/provision | |
1595 | %{py_sitedir}/samba/provision/*.py[co] | |
1596 | %dir %{py_sitedir}/samba/samba3 | |
1597 | %attr(755,root,root) %{py_sitedir}/samba/samba3/*.so | |
1598 | %{py_sitedir}/samba/samba3/*.py[co] | |
1a8c003b AM |
1599 | %dir %{py_sitedir}/samba/tests |
1600 | %{py_sitedir}/samba/tests/*.py[co] | |
6682f6b1 JR |
1601 | %dir %{py_sitedir}/samba/tests/blackbox |
1602 | %{py_sitedir}/samba/tests/blackbox/*.py[co] | |
1603 | %dir %{py_sitedir}/samba/tests/samba_tool | |
1604 | %{py_sitedir}/samba/tests/samba_tool/*.py[co] | |
1a8c003b AM |
1605 | %dir %{py_sitedir}/samba/tests/dcerpc |
1606 | %{py_sitedir}/samba/tests/dcerpc/*.py[co] | |
6682f6b1 JR |
1607 | %dir %{py_sitedir}/samba/web_server |
1608 | %{py_sitedir}/samba/web_server/*.py[co] | |
f02030a6 JR |
1609 | %if %{without system_libs} |
1610 | %attr(755,root,root) %{py_sitedir}/*.so | |
6682f6b1 | 1611 | %{py_sitedir}/tevent.py[co] |
f02030a6 | 1612 | %endif |
7e84928b JR |
1613 | |
1614 | %files test | |
1615 | %defattr(644,root,root,755) | |
1616 | %attr(755,root,root) %{_bindir}/gentest | |
1617 | %attr(755,root,root) %{_bindir}/locktest | |
1618 | %attr(755,root,root) %{_bindir}/masktest | |
1619 | %attr(755,root,root) %{_bindir}/ndrdump | |
1620 | %attr(755,root,root) %{_bindir}/smbtorture | |
1621 | %attr(755,root,root) %{_bindir}/vfstest | |
1622 | %attr(755,root,root) %{_libdir}/libtorture.so.*.*.* | |
1623 | %attr(755,root,root) %ghost %{_libdir}/libtorture.so.0 | |
1624 | %attr(755,root,root) %{_libdir}/samba/libsubunit.so | |
1625 | %attr(755,root,root) %{_libdir}/samba/libdlz_bind9_for_torture.so | |
1626 | %{_mandir}/man1/gentest.1* | |
1627 | %{_mandir}/man1/locktest.1* | |
1628 | %{_mandir}/man1/masktest.1* | |
1629 | %{_mandir}/man1/ndrdump.1* | |
1630 | %{_mandir}/man1/smbtorture.1* | |
1631 | %{_mandir}/man1/vfstest.1* | |
1632 | # files to ignore in testsuite mode | |
1633 | #%{_libdir}/samba/libnss_wrapper.so | |
1634 | #%{_libdir}/samba/libsocket_wrapper.so | |
1635 | #%{_libdir}/samba/libuid_wrapper.so | |
1636 | ||
1637 | %files test-devel | |
1638 | %defattr(644,root,root,755) | |
1639 | %attr(755,root,root) %{_libdir}/libtorture.so | |
1640 | %{_includedir}/samba-4.0/torture.h | |
2dee2d4a | 1641 | %{_pkgconfigdir}/torture.pc |
7e84928b JR |
1642 | |
1643 | %files pidl | |
1644 | %defattr(644,root,root,755) | |
1645 | %attr(755,root,root) %{_bindir}/pidl | |
1646 | %{_mandir}/man1/pidl.1* | |
1647 | %{_mandir}/man3/Parse::Pidl*.3* | |
1648 | %{perl_vendorlib}/Parse/Pidl* |