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