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