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