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