3 # - review python-samba
4 # - look into other distro specs for valid %descriptions for samba 3
5 # - unpackaged man pages for modules that are not built by default,
6 # maybe we should build them?
7 # /usr/share/man/man8/vfs_cacheprime.8*
8 # /usr/share/man/man8/vfs_catia.8*
9 # /usr/share/man/man8/vfs_commit.8*
10 # /usr/share/man/man8/vfs_gpfs.8*
11 # /usr/share/man/man8/vfs_notify_fam.8*
12 # /usr/share/man/man8/vfs_prealloc.8*
16 # - MERGE vfs modules into main package, what was the point of splitting these?
20 %bcond_without ads # without ActiveDirectory support
21 %bcond_without cups # without CUPS support
22 %bcond_without kerberos5 # without Kerberos V support
23 %bcond_without ldap # without LDAP support
25 %bcond_without merged_build # without samba3+samba4 merge
26 # http://wiki.samba.org/index.php/Franky
27 %bcond_with mks # with vfs-mks (mksd dependency not distributale)
30 # ADS requires kerberos5 and LDAP
31 %if !%{with kerberos5} || !%{with ldap}
34 %define vscan_version 0.3.6c-beta5
36 Summary(cs.UTF-8): Server SMB
37 Summary(da.UTF-8): SMB server
38 Summary(de.UTF-8): SMB-Server
39 Summary(es.UTF-8): El servidor SMB
40 Summary(fi.UTF-8): SMB-palvelin
41 Summary(fr.UTF-8): Serveur SMB
42 Summary(it.UTF-8): Server SMB
43 Summary(ja.UTF-8): Samba SMB サーバー
44 Summary(ko.UTF-8): 삼바 SMB 서버
45 Summary(pl.UTF-8): Serwer SMB
46 Summary(pt_BR.UTF-8): Cliente e servidor SMB
47 Summary(ru.UTF-8): SMB клиент и сервер
48 Summary(tr.UTF-8): SMB sunucusu
49 Summary(uk.UTF-8): SMB клієнт та сервер
50 Summary(zh_CN.UTF-8): Samba 客户端和服务器
56 Group: Networking/Daemons
57 Source0: http://www.samba.org/samba/ftp/stable/%{name}-%{version}.tar.gz
58 # Source0-md5: 8e8a484782f2b7716b6c6bd9a7d2bf71
62 Source4: %{name}.sysconfig
63 Source5: %{name}.logrotate
65 Source7: http://www.openantivirus.org/download/%{name}-vscan-%{vscan_version}.tar.gz
66 # Source7-md5: 8f1dd119172e04e6d7c2d05526a4cf8b
68 Source9: winbind.sysconfig
69 Source10: %{name}-rfc3454.txt
70 Patch0: %{name}-smbwrapper.patch
71 Patch1: %{name}-c++-nofail.patch
72 Patch2: %{name}-pthread.patch
73 Patch3: %{name}-nscd.patch
74 Patch4: %{name}-lprng-no-dot-printers.patch
75 Patch5: %{name}-python.patch
76 Patch6: %{name}-disable-unused.patch
77 URL: http://www.samba.org/
78 BuildRequires: acl-devel
79 BuildRequires: autoconf
80 BuildRequires: automake
81 %{?with_avahi:BuildRequires: avahi-devel}
82 %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0}
83 BuildRequires: dmapi-devel
84 BuildRequires: fam-devel
85 BuildRequires: gdbm-devel
86 BuildRequires: gettext-devel
87 %{?with_kerberos5:BuildRequires: heimdal-devel}
89 BuildRequires: keyutils-devel
90 BuildRequires: libmagic-devel
91 BuildRequires: libnscd-devel
92 BuildRequires: libtool >= 2:1.4d
93 BuildRequires: make >= 3.81
94 BuildRequires: ncurses-devel >= 5.2
95 %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0}
96 BuildRequires: openssl-devel >= 0.9.7d
97 BuildRequires: pam-devel >= 0.99.8.1
98 BuildRequires: pkgconfig
99 BuildRequires: popt-devel
100 %{?with_pgsql:BuildRequires: postgresql-devel}
101 BuildRequires: python-devel
102 BuildRequires: python-modules
103 BuildRequires: readline-devel >= 4.2
104 BuildRequires: rpmbuild(macros) >= 1.304
105 BuildRequires: sed >= 4.0
106 BuildRequires: xfsprogs-devel
107 Requires(post,preun): /sbin/chkconfig
108 Requires: %{name}-common = %{epoch}:%{version}-%{release}
109 Requires: logrotate >= 3.7-4
110 Requires: pam >= 0.99.8.1
112 Requires: setup >= 2.4.6-7
113 # smbd links with libcups
114 %{?with_cups:Requires: cups-lib >= 1:1.2.0}
115 Obsoletes: python-samba
116 Obsoletes: samba-pdb-xml
117 Obsoletes: samba-vfs-block
118 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
120 %define _vfsdir %{_libdir}/%{name}/vfs
121 %define _sambahome /home/services/samba
122 %define _sambalibdir %{_libdir}/%{name}
124 %define cups_serverbin %{_prefix}/lib/cups
126 %define schemadir /usr/share/openldap/schema
128 # CFLAGS modified (the second ./configure)
129 %undefine configure_cache
132 Samba provides an SMB server which can be used to provide network
133 services to SMB (sometimes called "Lan Manager") clients, including
134 various versions of MS Windows, OS/2, and other Linux machines. Samba
135 also provides some SMB clients, which complement the built-in SMB
136 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
137 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
139 This release is known as the "Locking Update" and has full support for
140 Opportunistic File Locking. In addition this update includes native
141 support for Microsoft encrypted passwords, improved browse list and
142 WINS database management.
144 Please refer to the WHATSNEW.txt document for fixup information. This
145 binary release includes encrypted password support. Please read the
146 smb.conf file for implementation details.
148 %description -l cs.UTF-8
149 Samba poskytuje server SMB, který lze použít pro poskytování síťových
150 služeb klientům SMB (někdy nazývaných klienti "LAN manažer") včetně
151 klientů různých verzí MS Windows, OS/2 a dalších linuxových strojů.
152 Samba též poskytuje některé klienty SMB, kteří komplementují vestavěný
153 souborový systém SMB v Linuxu. Samba používá protokoly NetBIOS přes
154 TCP/IP (NetBT) a NEpotřebuje protokol NetBEUI (neformátovaný rámec
155 NetBIOS od společnosti Microsoft.
157 %description -l da.UTF-8
158 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
159 services til SMB (også kaldet "Lan Manager") klienter, incl.
160 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
161 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
162 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
163 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
166 %description -l de.UTF-8
167 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
168 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
169 verschiedenen Versionen von MS Windows-, OS/2- und anderen
170 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
171 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
172 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
173 (Microsoft Raw NetBIOS frame)-Protokoll.
175 %description -l es.UTF-8
176 Samba provee un servidor SMB que se puede usar para ofrecer servicios
177 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
178 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
179 Linux. Samba también ofrece algunos clientes SMB, que complementan el
180 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
181 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
184 %description -l fi.UTF-8
185 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
186 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
187 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
188 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
189 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
190 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
191 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
194 %description -l it.UTF-8
195 Samba fornisce un server SMB che puo` essere usato per fornire servizi
196 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
197 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
198 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
200 %description -l ja.UTF-8
201 Samba は MS Windows の様々なバージョン、OS/2 そして他の Linux マシン
202 を含む SMB (たまに "Lan Manager" と呼ばれる)
203 クライアントにネットワーク サービスを提供するために使用される SMB
204 サーバを提供します。Samba は NetBIOS over TCP/IP (NetBT)
205 プロトコルを使用し、 NetBEUI(Microsoft Raw NetBIOS frame)
208 Samba ほとんど動作する NT ドメインコントロールの機能を特徴とし、
209 好きなブラウザを使って samba の smb.conf ファイルをリモート管理する
210 新しい SWAT (Samba Web Administration Tool) を含みます。
211 目下のところこれは inetd を通して TCP ポート 901 で有効になります。
213 %description -l ko.UTF-8
214 삼바는 MS Windows, OS/2, 혹은 다른 리눅스 머신을 포함하는 SMB(혹은
215 "Lan Manager"라고도 불림) 클라이언트를 네트워크 서비스 위해 사용할 수
216 있는 SMB 서버를 제공한다. 삼바는 TCP/IP 프로토콜을 통해 NetBIOS를
217 사용하고 NetBEUI (Microsoft Raw NetBIOS 프레임) 프로토콜은 필요하지
220 삼바-2.2 의 특징은 NT 도메인 컨트롤의 성능으로 작업을 하고, 새로운
221 SWAT(Samba Web Administration Tool)로 웹브라우저를 사용하여 원격지에서
222 삼바의 smb.conf 파일을 관리하도록 한다. 이러한 경우 inetd 데몬을 통해
225 최근 정보로 WHATSNEW.txt 파일의 문서를 참고하도록 한다. 바이너리의
226 릴리즈는 암호화된 패스워드를 제공한다.
228 %description -l pl.UTF-8
229 Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia
230 usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów
231 takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie
232 znajduje się również oprogramowanie klienckie. Samba używa protokołu
233 NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma
234 pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania
235 haseł w standardzie MS i zarządzania bazą WINS.
237 %description -l pt_BR.UTF-8
238 O Samba provê um servidor SMB que pode ser usado para oferecer
239 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
240 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
241 máquinas Linux. O Samba também fornece alguns clientes SMB, que
242 complementam o sistema de arquivos SMB do Linux. O Samba usa o
243 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
244 NetBEUI (Microsoft Raw NetBIOS frame).
246 O Samba inclui a maioria das características de um servidor de
247 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
248 permite que o arquivo smb.conf seja gerenciado remotamente através de
249 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
252 %description -l ru.UTF-8
253 Samba предоставляет SMB-сервер, который может быть использован для
254 предоставления сетевых сервисов SMB (иногда называемым "Lan Manager")
255 клиентам, включая разнообразные версии MS Windows, OS/2, и другие
256 Linux-машины. Samba также предоставляет SMB-клиентов, которые работают
257 со встроенной в Linux файловой системой SMB.
259 Samba использует протокол NetBIOS over TCP/IP (NetBT) и не нуждается в
260 протоколе NetBEUI (Microsoft Raw NetBIOS frame).
262 Samba содержит практически работающую реализацию NT Domain Control и
263 включает новый SWAT (Samba Web Administration Tool), который позволяет
264 удаленно управлять конфигурационным файлом smb.conf при помощи вашего
265 любимого WEB-броузера. Пока что он разрешен через inetd на TCP-порту
268 %description -l uk.UTF-8
269 Samba надає SMB-сервер, що може бути використаний для надання
270 мережевих сервісів SMB (що їх іноді називають "Lan Manager") клієнтам,
271 включаючи різноманітні версії MS Windows, OS/2, та інші Linux-машини.
272 Samba також надає SMB-клієнтів, що працюють з вбудованою в Linux
273 файловою системою SMB.
275 Samba використовує протокол NetBIOS over TCP/IP (NetBT) та не потребує
276 протоколу NetBEUI (Microsoft Raw NetBIOS frame).
278 Samba містить майже працюючу реализацію NT Domain Control та новый
279 SWAT (Samba Web Administration Tool), котрий дозволяє віддалено
280 керувати конфігураційним файлом smb.conf за допомогою вашого
281 улюбленого WEB-броузера. Поки що він дозволений через inetd на
285 Summary: Samba Web Administration Tool
286 Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba
287 Summary(pt_BR.UTF-8): Samba SWAT e documentação Web
288 Summary(ru.UTF-8): Программа конфигурации SMB-сервера Samba
289 Summary(uk.UTF-8): Програма конфигурації SMB-сервера Samba
290 Group: Networking/Admin
291 Requires: %{name} = %{epoch}:%{version}-%{release}
293 Requires: rc-inetd >= 0.8.2
297 swat allows a Samba administrator to configure the complex smb.conf
298 file via a Web browser. In addition, a swat configuration page has
299 help links to all the configurable options in the smb.conf file
300 allowing an administrator to easily look up the effects of any change.
302 %description swat -l pl.UTF-8
303 swat pozwala na kompleksową konfigurację smb.conf przy pomocy
306 %description swat -l pt_BR.UTF-8
307 SWAT - ferramentada Web de configuração do Samba.
309 %description swat -l ru.UTF-8
310 Пакет samba-swat включает новый SWAT (Samba Web Administration Tool),
311 для удаленного администрирования файла smb.conf при помощи вашего
312 любимого Web-браузера.
314 %description swat -l uk.UTF-8
315 Пакет samba-swat містить новий SWAT (Samba Web Administration Tool),
316 для дистанційного адміністрування файлу smb.conf за допомогою вашого
317 улюбленого Web-браузеру.
320 Summary: Samba client programs
321 Summary(es.UTF-8): Cliente SMB de Samba
322 Summary(ja.UTF-8): Samba (SMB) クライアントプログラム
323 Summary(pl.UTF-8): Klienci serwera Samba
324 Summary(pt_BR.UTF-8): Cliente SMB do samba
325 Summary(ru.UTF-8): Клиентские программы Samba (SMB)
326 Summary(uk.UTF-8): Клієнтські програми Samba (SMB)
327 Group: Applications/Networking
328 Requires: %{name}-common = %{epoch}:%{version}-%{release}
329 %{?with_kerberos5:Requires: heimdal-libs}
330 Requires: libsmbclient = %{epoch}:%{version}-%{release}
331 Obsoletes: mount-cifs
335 Samba-client provides some SMB clients, which complement the build-in
336 SMB filesystem in Linux. These allow accessing of SMB shares and
337 printing to SMB printers.
339 %description client -l pt_BR.UTF-8
340 O pacote samba-clientes prove alguns clientes SMB, que complementam o
341 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
342 e também, à impressoras SMB.
344 %description client -l es.UTF-8
345 Cliente SMB de Samba.
347 %description client -l ja.UTF-8
348 Samba-client は Linux 上に含まれている SMB ファイルシステムを補う SMB
349 クライアントを提供します。これらは SMB 共有のアクセスと SMB
352 %description client -l pl.UTF-8
353 Samba-client dostarcza programy uzupełniające obsługę systemu plików
354 SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i
355 drukowanie w sieci SMB.
357 %description client -l pt_BR.UTF-8
358 O pacote samba-clientes prove alguns clientes SMB, que complementam o
359 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
360 e também, à impressoras SMB.
362 %description client -l ru.UTF-8
363 Пакет samba-client предоставляет некоторые клиенты SMB для работы со
364 встроенной файловой системой SMB в Linux. Эти клиенты позволяют
365 получать доступ к разделяемым каталогам SMB и печать на SMB-принтеры.
367 %description client -l uk.UTF-8
368 Пакет samba-client надає деякі клієнти SMB для роботи зі вбудованою
369 файловою системою SMB в Linux. Ці клієнти дозволяють отримувати доступ
370 до каталогів спільного використання SMB та друк на SMB-прінтери.
373 Summary: Files used by both Samba servers and clients
374 Summary(ja.UTF-8): Samba サーバーとクライアントで使用されるプログラム
375 Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba
376 Summary(pt_BR.UTF-8): Arquivos em comum entre samba e samba-clients
377 Summary(ru.UTF-8): Файлы, используемые как сервером, так и клиентом Samba
378 Summary(uk.UTF-8): Файли, що використовуються як сервером, так і клієнтом Samba
379 Group: Networking/Daemons
380 Requires: libtalloc >= %{epoch}:%{version}-%{release}
381 Requires: tdb >= %{epoch}:%{version}-%{release}
384 Samba-common provides files necessary for both the server and client
387 %description common -l ja.UTF-8
388 Samba-common は Samba のサーバとクライアントの両方のパッケージで
391 %description common -l pl.UTF-8
392 Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i
395 %description common -l pt_BR.UTF-8
396 Arquivos em comum entre os pacotes samba e samba-clients.
398 %description common -l ru.UTF-8
399 Samba-common содержит файлы, необходимые для работы как клиента, так и
402 %description common -l uk.UTF-8
403 Samba-common містить файли, необхідні для роботи як клієнта, так і
407 Summary: Samba-winbind daemon, utilities and documentation
408 Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja
409 Group: Networking/Daemons
410 Requires(post,preun): /sbin/chkconfig
411 Requires: %{name}-common = %{epoch}:%{version}-%{release}
414 Provides the winbind daemon and testing tools to allow authentication
415 and group/user enumeration from a Windows or Samba domain controller.
417 %description winbind -l pl.UTF-8
418 Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia
419 uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny
423 Summary: Name Service Switch service for WINS
424 Summary(pl.UTF-8): Usługa Name Service Switch dla WINS
426 Requires: %{name}-common = %{epoch}:%{version}-%{release}
428 %description -n nss_wins
429 Provides the libnss_wins shared library which resolves NetBIOS names
432 %description -n nss_wins -l pl.UTF-8
433 Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy
436 %package -n pam-pam_smbpass
437 Summary: PAM Samba Password Module
438 Summary(pl.UTF-8): Moduł PAM smbpass
440 Obsoletes: pam_smbpass
442 %description -n pam-pam_smbpass
443 PAM module which can be used on conforming systems to keep the
444 smbpasswd (Samba password) database in sync with the Unix password
447 %description -n pam-pam_smbpass -l pl.UTF-8
448 Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła
449 Samby) zsynchronizowanego z hasłami uniksowymi.
451 %package -n libsmbclient
452 Summary: libsmbclient - samba client library
453 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
456 %description -n libsmbclient
457 libsmbclient - library that allows to use samba clients functions.
459 %description -n libsmbclient -l pl.UTF-8
460 libsmbclient - biblioteka pozwalająca korzystać z funcji klienta
463 %package -n libsmbclient-devel
464 Summary: libsmbclient - samba client library
465 Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby
466 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
467 Group: Development/Libraries
468 Requires: libsmbclient = %{epoch}:%{version}-%{release}
470 %description -n libsmbclient-devel
471 Header files for libsmbclient.
473 %description -n libsmbclient-devel -l pl.UTF-8
474 Pliki nagłówkowe dla libsmbclient.
476 %description -n libsmbclient-devel -l pt_BR.UTF-8
477 Arquivos de inclusão, bibliotecas e documentação necessários para
478 desenvolver aplicativos clientes para o samba.
480 %package -n libsmbclient-static
481 Summary: Static version of libsmbclient - samba client library
482 Summary(pl.UTF-8): Statyczna wersja libsmbclient - biblioteki klienta samby
483 Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba
484 Group: Development/Libraries
485 Requires: libsmbclient = %{epoch}:%{version}-%{release}
487 %description -n libsmbclient-static
488 Static libsmbclient library.
490 %description -n libsmbclient-static -l pl.UTF-8
491 Statyczna biblioteka libsmbclient.
493 %package -n libtalloc
494 Summary: The talloc library
497 %description -n libtalloc
498 The talloc library from the Samba suite.
500 %package -n libtalloc-devel
501 Summary: Developer tools for the talloc library
502 Group: Development/Libraries
503 Requires: libtalloc = %{epoch}:%{version}-%{release}
505 %description -n libtalloc-devel
506 The libtalloc-devel package contains the header files and libraries needed to
507 develop programs that link against the talloc library in the Samba suite.
510 Summary: TDB - Trivial Database
511 Summary(pl.UTF-8): TDB - prosta baza danych
513 Obsoletes: tdb-extras
516 TDB is a Trivial Database. In concept, it is very much like GDBM, and
517 BSD's DB except that it allows multiple simultaneous writers and uses
518 locking internally to keep writers from trampling on each other. TDB
519 is also extremely small.
521 %description -n tdb -l pl.UTF-8
522 TDB to Trivial Database, czyli prosta baza danych. W założeniach jest
523 bardzo podobna do GDBM lub DB z BSD z wyjątkiem tego, że pozwala na
524 zapis wielu procesom jednocześnie i używa wewnętrznie blokowania, aby
525 nie pozwolić piszącym na zadeptanie się nawzajem. TDB jest ponadto
528 %package -n tdb-devel
529 Summary: Header files for TDB library
530 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki TDB
531 Group: Development/Libraries
532 Requires: tdb = %{epoch}:%{version}-%{release}
534 %description -n tdb-devel
535 Header files for TDB library.
537 %description -n tdb-devel -l pl.UTF-8
538 Pliki nagłówkowe biblioteki TDB.
541 Summary: Header files for Samba
542 Summary(pl.UTF-8): Pliki nagłówkowe Samby
543 Group: Development/Libraries
546 Header files for Samba.
548 %description devel -l pl.UTF-8
549 Pliki nagłówkowe Samby.
552 Summary: A utility for retrieving files using the SMB protocol
553 Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB
554 Group: Applications/Networking
556 %description -n smbget
557 wget-like utility for download files over SMB.
559 %description -n smbget -l pl.UTF-8
560 Narzędzie podobne do wgeta do pobierania plików protokołem SMB
561 używanym w sieciach MS Windows.
563 %package -n cups-backend-smb
564 Summary: CUPS backend for printing to SMB printers
565 Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB
566 Group: Applications/Printing
567 Requires: %{name}-client = %{epoch}:%{version}-%{release}
568 Requires: cups >= 1:1.2.0
570 %description -n cups-backend-smb
571 CUPS backend for printing to SMB printers.
573 %description -n cups-backend-smb -l pl.UTF-8
574 Backend CUPS-a drukujący na drukarkach SMB.
577 Summary: VFS module to audit file access
578 Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach
579 Group: Networking/Daemons
580 Requires: %{name} = %{epoch}:%{version}-%{release}
582 %description vfs-audit
583 A simple module to audit file access to the syslog facility. The
584 following operations are logged:
585 - share connect/disconnect,
586 - directory opens/create/remove,
587 - file open/close/rename/unlink/chmod.
589 %description vfs-audit -l pl.UTF-8
590 Proste moduły do monitorowania dostępu do plików na serwerze samba do
591 do sysloga. Monitorowane są następujące operacje:
592 - podłączenie do/odłączenie od zasobu,
593 - otwarcie/utworzenie/zmiana nazwy katalogu,
594 - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików.
596 Zawiera moduły audit, extd_audit i full_audit.
599 Summary: VFS module for CAP and samba compatibility
600 Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program)
601 Group: Networking/Daemons
602 Requires: %{name} = %{epoch}:%{version}-%{release}
605 Convert an incoming Shift-JIS character to the 3 byte hex
606 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
607 This is used for compatibility between Samba and CAP.
609 %description vfs-cap -l pl.UTF-8
610 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
611 reprezentacji używanej przez program Columbia AppleTalk Program (CAP).
613 %package vfs-default_quota
614 Summary: VFS module to store default quotas in a specified quota record
615 Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie
616 Group: Networking/Daemons
617 Requires: %{name} = %{epoch}:%{version}-%{release}
619 %description vfs-default_quota
620 This VFS modules stores default quotas in a specified quota record.
622 %description vfs-default_quota -l pl.UTF-8
623 Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie
626 %package vfs-expand_msdfs
627 Summary: VFS module for hosting a Microsoft Distributed File System Tree
628 Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System
629 Group: Networking/Daemons
630 Requires: %{name} = %{epoch}:%{version}-%{release}
632 %description vfs-expand_msdfs
633 A VFS module for hosting a Microsoft Distributed File System Tree.
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
637 physical locations of these resources on the network. It allows for
638 higher availability, smoother storage expansion, load balancing, and
641 %description vfs-expand_msdfs -l pl.UTF-8
642 Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed
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.
650 %package vfs-fake_perms
651 Summary: VFS module to report read-only fires as writable
652 Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne
653 Group: Networking/Daemons
654 Requires: %{name} = %{epoch}:%{version}-%{release}
656 %description vfs-fake_perms
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
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
670 lub wylogowywaniu klienta.
672 %package vfs-notify_fam
673 Summary: VFS module to implement file change notifications
674 Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach
675 Group: Networking/Daemons
676 Requires: %{name} = %{epoch}:%{version}-%{release}
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
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.
687 %package vfs-netatalk
688 Summary: VFS module for ease co-existence of samba and netatalk
689 Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk
690 Group: Networking/Daemons
691 Requires: %{name} = %{epoch}:%{version}-%{release}
693 %description vfs-netatalk
694 Package contains a netatalk VFS module for ease co-existence of Samba
695 and netatalk file sharing services.
697 %description vfs-netatalk -l pl.UTF-8
698 Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba
699 i netatalk przy udostępnianiu zasobów.
702 Summary: VFS module to add recycle bin facility to a samba share
703 Summary(pl.UTF-8): Moduł VFS dodający możliwość kosza do zasobu samby
704 Group: Networking/Daemons
705 Requires: %{name} = %{epoch}:%{version}-%{release}
707 %description vfs-recycle
708 VFS module to add recycle bin facility to a samba share.
710 %description vfs-recycle -l pl.UTF-8
711 Moduł VFS dodający możliwość kosza do zasobu samby.
713 %package vfs-readahead
714 Summary: VFS module for pre-loading the kernel buffer cache
715 Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra
716 Group: Networking/Daemons
717 Requires: %{name} = %{epoch}:%{version}-%{release}
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.
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.
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.
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
740 %package vfs-readonly
741 Summary: VFS module for read-only limitation for specified share
742 Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu
743 Group: Networking/Daemons
744 Requires: %{name} = %{epoch}:%{version}-%{release}
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.
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.
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} = %{epoch}:%{version}-%{release}
762 %description vfs-shadow_copy
763 VFS module to make automatic copy of data in samba share.
765 %description vfs-shadow_copy -l pl.UTF-8
766 Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby.
768 %package vfs-vscan-antivir
769 Summary: On-access virus scanning for samba using AntiVir
770 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący AntiVir
771 Group: Networking/Daemons
772 Requires: %{name} = %{epoch}:%{version}-%{release}
773 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
775 %description vfs-vscan-antivir
776 A vfs-module for samba to implement on-access scanning using the
777 AntiVir antivirus software (which must be installed to use this).
779 %description vfs-vscan-antivir -l pl.UTF-8
780 Moduł vfs do samby implementujący skaning antywirusowy w czasie
781 dostępu do plików korzystając z oprogramowania antywirusowego AntiVir
782 (które musi być zainstalowane, aby wykorzystać ten moduł).
784 %package vfs-vscan-clamav
785 Summary: On-access virus scanning for samba using ClamAV
786 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący ClamAV
787 Group: Networking/Daemons
788 Requires: %{name} = %{epoch}:%{version}-%{release}
790 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
792 %description vfs-vscan-clamav
793 A vfs-module for samba to implement on-access scanning using the
794 ClamAV antivirus software (which must be installed to use this).
796 %description vfs-vscan-clamav -l pl.UTF-8
797 Moduł vfs do samby implementujący skaning antywirusowy w czasie
798 dostępu do plików korzystając z oprogramowania antywirusowego ClamAV
799 (które musi być zainstalowane, aby wykorzystać ten moduł).
801 %package vfs-vscan-fprot
802 Summary: On-access virus scanning for samba using FPROT
803 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący FPROT
804 Group: Networking/Daemons
805 Requires: %{name} = %{epoch}:%{version}-%{release}
806 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
807 Obsoletes: vscan-fprot
809 %description vfs-vscan-fprot
810 A vfs-module for samba to implement on-access scanning using the FPROT
811 antivirus software (which must be installed to use this).
813 %description vfs-vscan-fprot -l pl.UTF-8
814 Moduł vfs do samby implementujący skaning antywirusowy w czasie
815 dostępu do plików korzystając z oprogramowania antywirusowego FPROT
816 (które musi być zainstalowane, aby wykorzystać ten moduł).
818 %package vfs-vscan-fsav
819 Summary: On-access virus scanning for samba using F-Secure AntiVirus
820 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący F-Secure AntiVirus
821 Group: Networking/Daemons
822 Requires: %{name} = %{epoch}:%{version}-%{release}
823 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
824 Obsoletes: vscan-fsav
826 %description vfs-vscan-fsav
827 A vfs-module for samba to implement on-access scanning using the
828 F-Secure AntiVirus antivirus software (which must be installed to use
831 %description vfs-vscan-fsav -l pl.UTF-8
832 Moduł vfs do samby implementujący skaning antywirusowy w czasie
833 dostępu do plików korzystając z oprogramowania antywirusowego F-Secure
834 AntiVirus (które musi być zainstalowane, aby wykorzystać ten moduł).
836 %package vfs-vscan-kavp
837 Summary: On-access virus scanning for samba using Kaspersky AVP
838 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Kaspersky AVP
839 Group: Networking/Daemons
840 Requires: %{name} = %{epoch}:%{version}-%{release}
841 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
842 Obsoletes: vscan-kavp
844 %description vfs-vscan-kavp
845 A vfs-module for samba to implement on-access scanning using the
846 Kaspersky AVP antivirus software (which must be installed to use
849 %description vfs-vscan-kavp -l pl.UTF-8
850 Moduł vfs do samby implementujący skaning antywirusowy w czasie
851 dostępu do plików korzystając z oprogramowania antywirusowego
852 Kaspersky AVP (które musi być zainstalowane, aby wykorzystać ten
855 %package vfs-vscan-mcafee
856 Summary: On-access virus scanning for samba using mcafee
857 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mcafee
858 Group: Networking/Daemons
859 Requires: %{name} = %{epoch}:%{version}-%{release}
861 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
862 Obsoletes: vscan-mcafee
864 %description vfs-vscan-mcafee
865 A vfs-module for samba to implement on-access scanning using the
866 mcafee antivirus software (which must be installed to use this).
868 %description vfs-vscan-mcafee -l pl.UTF-8
869 Moduł vfs do samby implementujący skaning antywirusowy w czasie
870 dostępu do plików korzystając z oprogramowania antywirusowego mcafee
871 (które musi być zainstalowane, aby wykorzystać ten moduł).
873 %package vfs-vscan-mks
874 Summary: On-access virus scanning for samba using mks
875 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący mks
876 Group: Networking/Daemons
877 Requires: %{name} = %{epoch}:%{version}-%{release}
879 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
882 %description vfs-vscan-mks
883 A vfs-module for samba to implement on-access scanning using the mks
884 antivirus software (which must be installed to use this).
886 %description vfs-vscan-mks -l pl.UTF-8
887 Moduł vfs do samby implementujący skaning antywirusowy w czasie
888 dostępu do plików korzystając z oprogramowania antywirusowego mks
889 (które musi być zainstalowane, aby wykorzystać ten moduł).
891 %package vfs-vscan-openantivirus
892 Summary: On-access virus scanning for samba using OpenAntivirus
893 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący OpenAntiVirus
894 Group: Networking/Daemons
895 Requires: %{name} = %{epoch}:%{version}-%{release}
896 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
897 Obsoletes: vscan-openantivirus
899 %description vfs-vscan-openantivirus
900 A vfs-module for samba to implement on-access scanning using the
901 OpenAntivirus antivirus software (which must be installed to use
904 %description vfs-vscan-openantivirus -l pl.UTF-8
905 Moduł vfs do samby implementujący skaning antywirusowy w czasie
906 dostępu do plików korzystając z oprogramowania antywirusowego
907 OpenAntiVirus.org (które musi być zainstalowane, aby wykorzystać ten
910 %package vfs-vscan-sophos
911 Summary: On-access virus scanning for samba using Sophos
912 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Sophos
913 Group: Networking/Daemons
914 Requires: %{name} = %{epoch}:%{version}-%{release}
915 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
916 Obsoletes: vscan-sophos
918 %description vfs-vscan-sophos
919 A vfs-module for samba to implement on-access scanning using the
920 Sophos antivirus software (which must be installed to use this).
922 %description vfs-vscan-sophos -l pl.UTF-8
923 Moduł vfs do samby implementujący skaning antywirusowy w czasie
924 dostępu do plików korzystając z oprogramowania antywirusowego Sophos
925 (które musi być zainstalowane, aby wykorzystać ten moduł).
927 %package vfs-vscan-symantec
928 Summary: On-access virus scanning for samba using Symantec
929 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Symantec
930 Group: Networking/Daemons
931 Requires: %{name} = %{epoch}:%{version}-%{release}
932 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
933 Obsoletes: vscan-symantec
935 %description vfs-vscan-symantec
936 A vfs-module for samba to implement on-access scanning using the
937 Symantec antivirus software (which must be installed to use this).
939 %description vfs-vscan-symantec -l pl.UTF-8
940 Moduł vfs do samby implementujący skaning antywirusowy w czasie
941 dostępu do plików korzystając z oprogramowania antywirusowego firmy
942 Symantec (które musi być zainstalowane, aby wykorzystać ten moduł).
944 %package vfs-vscan-trend
945 Summary: On-access virus scanning for samba using Trend
946 Summary(pl.UTF-8): Skaner antywirusowy online wykorzystujący Trend
947 Group: Networking/Daemons
948 Requires: %{name} = %{epoch}:%{version}-%{release}
949 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
950 Obsoletes: vscan-trend
952 %description vfs-vscan-trend
953 A vfs-module for samba to implement on-access scanning using the Trend
954 antivirus software (which must be installed to use this).
956 %description vfs-vscan-trend -l pl.UTF-8
957 Moduł vfs do samby implementujący skaning antywirusowy w czasie
958 dostępu do plików korzystając z oprogramowania antywirusowego Trend
959 (które musi być zainstalowane, aby wykorzystać ten moduł).
961 %package -n openldap-schema-samba
962 Summary: Samba LDAP schema
963 Summary(pl.UTF-8): Schemat LDAP dla samby
964 Group: Networking/Daemons
965 Requires(post,postun): sed >= 4.0
966 Requires: openldap-servers
968 %description -n openldap-schema-samba
969 This package contains samba.schema for openldap.
971 %description -n openldap-schema-samba -l pl.UTF-8
972 Ten pakiet zawiera schemat samby dla openldap-a.
975 Summary: Samba HTML documentation
976 Summary(pl.UTF-8): Documentacja samby w formacie HTML
979 %description doc-html
980 Samba HTML documentation.
982 %description doc-html -l pl.UTF-8
983 Documentacja samby w formacie HTML.
986 Summary: Samba documentation - PDF format
987 Summary(pl.UTF-8): Documentacja samby w formacie PDF
991 Samba PDF documentation.
993 %description doc-pdf -l pl.UTF-8
994 Documentacja samby w formacie PDF.
996 %package -n python-samba
997 Summary: Samba Module for Python
998 Group: Development/Languages/Python
999 %pyrequires_eq python
1000 Requires: %{name}-common = %{epoch}:%{version}-%{release}
1002 %description -n python-samba
1003 Samba Module for Python.
1015 %{__sed} -i 's#%SAMBAVERSION%#%{version}#' docs/htmldocs/index.html
1022 install %{SOURCE10} source4/heimdal/lib/wind/rfc3454.txt
1027 %{__autoconf} -Im4 -I../m4 -I../lib/replace -Ilib/replace -I../source4
1029 --with-modulesdir=%{_sambalibdir} \
1030 --with-rootsbindir=/sbin \
1031 --with-pammodulesdir=/%{_lib}/security \
1032 --with-acl-support \
1033 --with-aio-support \
1035 --with-libsmbclient \
1036 --with-lockdir=/var/lib/samba \
1038 --with-pam_smbpass \
1039 --with%{!?with_ads:out}-ads \
1040 --with-privatedir=%{_sysconfdir}/samba \
1043 --with-swatdir=%{_datadir}/swat \
1047 --without-included-popt \
1048 --%{?with_merged_build:en}%{!?with_merged_build:dis}able-merged-build \
1049 --enable-automatic-dependencies \
1051 --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \
1053 --with%{!?with_ldap:out}-ldap \
1054 --with%{!?with_kerberos5:out}-krb5
1056 %{__make} -j1 everything pam_smbpass bin/smbget bin/mount.cifs bin/vfstest
1059 %{__make} -C libsmbclient/smbwrapper \
1061 CFLAGS="%{rpmcflags} -fPIC \$(DEFS) \\\$(SMBINCLUDE)"
1067 CFLAGS="%{rpmcflags} -fPIC"
1071 cd samba-vscan-%{vscan_version}
1072 cp -f /usr/share/automake/config.sub .
1074 ln -s ../../../source3/lib .
1079 rm -rf $RPM_BUILD_ROOT
1080 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1081 $RPM_BUILD_ROOT{/var/{log,log/archive,spool}/samba,/var/lib/samba/printing} \
1082 $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \
1083 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1085 %{__make} -C source3 install \
1086 DESTDIR=$RPM_BUILD_ROOT \
1087 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1089 install source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1091 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1092 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1093 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1094 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1095 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1096 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1097 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1098 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1100 install nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1101 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1102 install nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1103 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1104 install source3/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
1105 install source3/bin/smbget $RPM_BUILD_ROOT%{_bindir}
1106 install source3/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
1108 install source3/bin/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1111 install examples/libsmbclient/smbwrapper/smbwrapper.so $RPM_BUILD_ROOT%{_libdir}/smbwrapper.so
1112 install examples/libsmbclient/smbwrapper/smbsh $RPM_BUILD_ROOT%{_bindir}
1113 install examples/libsmbclient/smbwrapper/smbsh.1 $RPM_BUILD_ROOT%{_mandir}/man1
1115 # these are needed to build samba-pdbsql
1116 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/{tdb,nsswitch}
1117 cp -a source3/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}
1118 cp -a lib/tdb/include/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/tdb
1119 cp -a nsswitch/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/nsswitch
1123 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1124 install examples/VFS/samba-vscan-%{vscan_version}/{antivir,clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
1127 touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat}
1129 echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1132 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1133 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1136 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1137 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1140 rm -r $RPM_BUILD_ROOT%{_datadir}/swat/using_samba
1143 %if %{with merged_build}
1144 rm -r $RPM_BUILD_ROOT%{_bindir}/{gentest4,locktest4,masktest4,nsstest4}
1148 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1151 %find_lang pam_winbind
1153 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
1154 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
1155 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
1158 rm -rf $RPM_BUILD_ROOT
1161 /sbin/chkconfig --add smb
1162 if [ -f /var/lock/samba/connections.tdb -a ! -f /var/lib/samba/connections.tdb ]; then
1163 echo >&2 "Moving old /var/lock/samba contents to /var/lib/samba"
1164 /sbin/service smb stop >&2
1165 mv -f /var/lock/samba/*.tdb /var/lib/samba 2>/dev/null || :
1166 mv -f /var/lock/samba/*.dat /var/lib/samba 2>/dev/null || :
1167 if [ -d /var/lock/samba/printing ]; then
1168 mv -f /var/lock/samba/printing/*.tdb /var/lib/samba/printing 2>/dev/null || :
1170 /sbin/service smb start >&2
1172 %service smb restart "Samba daemons"
1176 if [ "$1" = "0" ]; then
1178 /sbin/chkconfig --del smb
1182 /sbin/chkconfig --add winbind
1183 %service winbind restart "Winbind daemon"
1186 if [ "$1" = "0" ]; then
1187 %service winbind stop
1188 /sbin/chkconfig --del winbind
1192 %service -q rc-inetd reload
1195 if [ "$1" = 0 ]; then
1196 %service -q rc-inetd reload
1199 %post -n openldap-schema-samba
1200 # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1201 %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis
1202 %service -q ldap restart
1204 %postun -n openldap-schema-samba
1205 if [ "$1" = "0" ]; then
1206 %openldap_schema_unregister %{schemadir}/samba.schema
1207 %service -q ldap restart
1210 %triggerpostun -- samba < 1.9.18p7
1211 if [ "$1" != "0" ]; then
1212 /sbin/chkconfig --add smb
1215 %triggerpostun -- samba < 3.4.0
1216 %banner %{name} << EOF
1217 !!! WARNING !!! The default passdb backend has been changed to 'tdbsam'!
1218 That breaks existing setups using the 'smbpasswd' backend without explicit declaration!
1219 Please use 'passdb backend = smbpasswd' if you would like to stick to the 'smbpasswd'
1220 backend or convert your smbpasswd entries using e.g. 'pdbedit -i smbpasswd -e tdbsam'.
1224 %defattr(644,root,root,755)
1225 %attr(755,root,root) %{_sbindir}/nmbd
1226 %attr(755,root,root) %{_sbindir}/smbd
1227 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1228 %if %{with merged_build}
1229 %attr(755,root,root) %{_bindir}/ad2oLschema4
1230 %attr(755,root,root) %{_bindir}/oLschema2ldif4
1231 %attr(755,root,root) %{_bindir}/reg*
1232 # "This utility disabled until rewritten"
1233 #%attr(755,root,root) %{_bindir}/setnttoken4
1235 %attr(755,root,root) %{_bindir}/ldb*
1236 %attr(755,root,root) %{_bindir}/smbstatus
1237 %attr(755,root,root) %{_bindir}/smbpasswd
1238 %attr(755,root,root) %{_bindir}/smbcontrol
1240 %dir %{_libdir}/%{name}/pdb
1242 %attr(755,root,root) %{_vfsdir}/acl_tdb.so
1243 %attr(755,root,root) %{_vfsdir}/acl_xattr.so
1244 %attr(755,root,root) %{_vfsdir}/aio_fork.so
1245 %attr(755,root,root) %{_vfsdir}/dirsort.so
1246 %attr(755,root,root) %{_vfsdir}/fileid.so
1247 %attr(755,root,root) %{_vfsdir}/preopen.so
1248 %attr(755,root,root) %{_vfsdir}/shadow_copy2.so
1249 %attr(755,root,root) %{_vfsdir}/smb_traffic_analyzer.so
1250 %attr(755,root,root) %{_vfsdir}/streams_depot.so
1251 %attr(755,root,root) %{_vfsdir}/streams_xattr.so
1252 %attr(755,root,root) %{_vfsdir}/syncops.so
1253 %attr(755,root,root) %{_vfsdir}/xattr_tdb.so
1254 %{_mandir}/man8/vfs_acl_tdb.8*
1255 %{_mandir}/man8/vfs_acl_xattr.8*
1256 %{_mandir}/man8/vfs_dirsort.8*
1257 %{_mandir}/man8/vfs_fileid.8*
1258 %{_mandir}/man8/vfs_preopen.8*
1259 %{_mandir}/man8/vfs_shadow_copy2.8*
1260 %{_mandir}/man8/vfs_smb_traffic_analyzer.8*
1261 %{_mandir}/man8/vfs_streams_xattr.8*
1262 %{_mandir}/man8/vfs_streams_depot.8*
1263 %{_mandir}/man8/vfs_xattr_tdb.8*
1266 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers
1267 %attr(754,root,root) /etc/rc.d/init.d/smb
1268 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba
1269 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba
1270 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba
1271 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba
1272 %{_mandir}/man1/ldb*.1*
1273 %{_mandir}/man1/log2pcap.1*
1274 %{_mandir}/man1/smbstatus.1*
1275 %{_mandir}/man1/smbcontrol.1*
1276 %{_mandir}/man5/smbpasswd.5*
1277 %{_mandir}/man7/samba.7*
1278 %{_mandir}/man8/nmbd.8*
1279 %{_mandir}/man8/smbd.8*
1280 %{_mandir}/man8/smbpasswd.8*
1284 %ghost /var/lib/samba/*.dat
1285 %dir /var/lib/samba/printing
1287 %attr(750,root,root) %dir /var/log/samba
1288 %attr(750,root,root) %dir /var/log/samba/cores
1289 %attr(750,root,root) %dir /var/log/samba/cores/smbd
1290 %attr(750,root,root) %dir /var/log/samba/cores/nmbd
1291 %attr(750,root,root) %dir /var/log/archive/samba
1292 %attr(1777,root,root) %dir /var/spool/samba
1297 %files winbind -f pam_winbind.lang
1298 %defattr(644,root,root,755)
1299 %attr(755,root,root) %{_sbindir}/winbindd
1300 %attr(755,root,root) %{_bindir}/wbinfo
1301 %if %{with merged_build}
1302 %attr(755,root,root) %{_bindir}/wbinfo4
1304 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1305 %attr(755,root,root) /%{_lib}/libnss_winbind*
1306 %attr(754,root,root) /etc/rc.d/init.d/winbind
1307 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind
1308 %{_mandir}/man1/wbinfo*.1*
1309 %{_mandir}/man8/pam_winbind.8*
1310 %{_mandir}/man8/winbindd*.8*
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) /%{_lib}/libnss_wins*
1317 %defattr(644,root,root,755)
1318 %if %{with merged_build}
1319 %attr(755,root,root) %{_bindir}/cifsdd4
1320 %attr(755,root,root) %{_bindir}/net4
1321 %attr(755,root,root) %{_bindir}/nmblookup4
1322 %attr(755,root,root) %{_bindir}/smbclient4
1323 %attr(755,root,root) %{_sbindir}/cifs.upcall
1324 %{_mandir}/man8/cifs.upcall.8*
1326 %attr(755,root,root) /sbin/mount.cifs
1327 %attr(755,root,root) /sbin/umount.cifs
1328 %attr(755,root,root) %{_bindir}/findsmb
1329 %attr(755,root,root) %{_bindir}/net
1330 %attr(755,root,root) %{_bindir}/nmblookup
1331 %attr(755,root,root) %{_bindir}/rpcclient
1332 %attr(755,root,root) %{_bindir}/sharesec
1333 %attr(755,root,root) %{_bindir}/smbcacls
1334 %attr(755,root,root) %{_bindir}/smbclient
1335 %attr(755,root,root) %{_bindir}/smbsh
1336 %attr(755,root,root) %{_bindir}/smbtar
1337 %attr(755,root,root) %{_bindir}/smbtree
1338 %attr(755,root,root) %{_libdir}/smbwrapper.so
1339 %{_mandir}/man1/findsmb.1*
1340 %{_mandir}/man1/nmblookup.1*
1341 %{_mandir}/man1/rpcclient.1*
1342 %{_mandir}/man1/sharesec.1*
1343 %{_mandir}/man1/smbcacls.1*
1344 %{_mandir}/man1/smbclient.1*
1345 %{_mandir}/man1/smbsh.1*
1346 %{_mandir}/man1/smbtar.1*
1347 %{_mandir}/man1/smbtree.1*
1348 %{_mandir}/man8/net.8*
1349 %{_mandir}/man8/*mount.cifs.8*
1352 %defattr(644,root,root,755)
1353 %if %{with merged_build}
1354 %attr(755,root,root) %{_bindir}/getntacl4
1355 %attr(755,root,root) %{_bindir}/ndrdump4
1356 %attr(755,root,root) %{_bindir}/ntlm_auth4
1357 %attr(755,root,root) %{_bindir}/testparm4
1359 %doc README Manifest WHATSNEW.txt
1360 %doc Roadmap docs/registry/*
1361 %doc docs/{history,THANKS}
1362 %dir %{_sysconfdir}/samba
1363 %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf
1364 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts
1365 %attr(755,root,root) %{_bindir}/eventlogadm
1366 %attr(755,root,root) %{_bindir}/ntlm_auth
1367 %attr(755,root,root) %{_bindir}/pdbedit
1368 %attr(755,root,root) %{_bindir}/profiles
1369 %attr(755,root,root) %{_bindir}/smbcquotas
1370 %attr(755,root,root) %{_bindir}/testparm
1371 %attr(755,root,root) %{_bindir}/vfstest
1372 %dir %{_libdir}/%{name}
1373 %{_libdir}/%{name}/*.dat
1374 %dir %{_libdir}/%{name}/auth
1375 %attr(755,root,root) %{_libdir}/%{name}/auth/script.so
1376 %dir %{_libdir}/%{name}/charset
1377 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1378 %{_mandir}/man1/ntlm_auth.1*
1379 %{_mandir}/man1/profiles.1*
1380 %{_mandir}/man1/smbcquotas.1*
1381 %{_mandir}/man1/testparm.1*
1382 %{_mandir}/man1/vfstest.1*
1383 #%{_mandir}/man1/log2pcap.1*
1384 %{_mandir}/man5/lmhosts.5*
1385 %{_mandir}/man5/smb.conf.5*
1386 %{_mandir}/man8/pdbedit.8*
1387 %{_mandir}/man8/eventlogadm.8*
1388 %{_mandir}/man8/idmap_ad.8*
1389 %{_mandir}/man8/idmap_adex.8*
1390 %{_mandir}/man8/idmap_hash.8*
1391 %{_mandir}/man8/idmap_ldap.8*
1392 %{_mandir}/man8/idmap_nss.8*
1393 %{_mandir}/man8/idmap_rid.8*
1394 %{_mandir}/man8/idmap_tdb.8*
1395 %{_mandir}/man8/idmap_tdb2.8*
1398 %defattr(644,root,root,755)
1399 #%doc swat/README* swat/help/*
1401 %attr(755,root,root) %{_sbindir}/swat
1402 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat
1403 %dir %{_datadir}/swat
1404 %{_datadir}/swat/help
1405 %{_datadir}/swat/images
1406 %{_datadir}/swat/include
1407 %dir %{_datadir}/swat/lang
1408 %lang(ja) %{_datadir}/swat/lang/ja
1409 %lang(tr) %{_datadir}/swat/lang/tr
1410 %lang(de) %{_libdir}/%{name}/de.msg
1411 %{_libdir}/%{name}/en.msg
1412 %lang(fi) %{_libdir}/%{name}/fi.msg
1413 %lang(fr) %{_libdir}/%{name}/fr.msg
1414 %lang(it) %{_libdir}/%{name}/it.msg
1415 %lang(ja) %{_libdir}/%{name}/ja.msg
1416 %lang(nl) %{_libdir}/%{name}/nl.msg
1417 %lang(pl) %{_libdir}/%{name}/pl.msg
1418 %lang(ru) %{_libdir}/%{name}/ru.msg
1419 %lang(tr) %{_libdir}/%{name}/tr.msg
1420 %{_mandir}/man8/swat.8*
1422 %files -n pam-pam_smbpass
1423 %defattr(644,root,root,755)
1424 %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples
1425 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1427 %files -n libsmbclient
1428 %defattr(644,root,root,755)
1429 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1430 %attr(755,root,root) %{_libdir}/libwbclient.so.*
1431 %{_mandir}/man7/libsmbclient.7*
1433 %files -n libsmbclient-devel
1434 %defattr(644,root,root,755)
1435 %attr(755,root,root) %{_libdir}/libsmbclient.so
1436 %attr(755,root,root) %{_libdir}/libwbclient.so
1437 %{_includedir}/libsmbclient.h
1438 %{_includedir}/wbclient.h
1441 %defattr(644,root,root,755)
1442 %attr(755,root,root) %{_libdir}/libtalloc.so.*
1444 %files -n libtalloc-devel
1445 %defattr(644,root,root,755)
1446 %attr(755,root,root) %{_libdir}/libtalloc.so
1447 %{_includedir}/talloc.h
1450 %defattr(644,root,root,755)
1451 %attr(755,root,root) %{_bindir}/tdbbackup
1452 %attr(755,root,root) %{_bindir}/tdbdump
1453 %attr(755,root,root) %{_bindir}/tdbtool
1454 %if %{with merged_build}
1455 %attr(755,root,root) %{_bindir}/tdbbackup4
1456 %attr(755,root,root) %{_bindir}/tdbdump4
1457 %attr(755,root,root) %{_bindir}/tdbtool4
1459 %attr(755,root,root) %{_libdir}/libtdb.so.*
1460 %{_mandir}/man8/tdbbackup.8*
1461 %{_mandir}/man8/tdbdump.8*
1462 %{_mandir}/man8/tdbtool.8*
1465 %defattr(644,root,root,755)
1466 %attr(755,root,root) %{_libdir}/libtdb.so
1467 %{_includedir}/tdb.h
1470 %defattr(644,root,root,755)
1471 %{_includedir}/%{name}
1473 %files -n libsmbclient-static
1474 %defattr(644,root,root,755)
1475 %{_libdir}/libsmbclient.a
1478 %defattr(644,root,root,755)
1479 %attr(755,root,root) %{_bindir}/smbget
1480 %{_mandir}/man1/smbget.1*
1481 %{_mandir}/man5/smbgetrc.5*
1484 %files -n cups-backend-smb
1485 %defattr(644,root,root,755)
1486 %attr(755,root,root) %{_bindir}/smbspool
1487 %attr(755,root,root) %{cups_serverbin}/backend/smb
1488 %{_mandir}/man8/smbspool.8*
1492 %defattr(644,root,root,755)
1493 %attr(755,root,root) %{_vfsdir}/audit.so
1494 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1495 %attr(755,root,root) %{_vfsdir}/full_audit.so
1496 %{_mandir}/man8/vfs_audit.8*
1497 %{_mandir}/man8/vfs_extd_audit.8*
1498 %{_mandir}/man8/vfs_full_audit.8*
1501 %defattr(644,root,root,755)
1502 %attr(755,root,root) %{_vfsdir}/cap.so
1503 %{_mandir}/man8/vfs_cap.8*
1505 %files vfs-default_quota
1506 %defattr(644,root,root,755)
1507 %attr(755,root,root) %{_vfsdir}/default_quota.so
1508 %{_mandir}/man8/vfs_default_quota.8*
1510 %files vfs-expand_msdfs
1511 %defattr(644,root,root,755)
1512 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1514 %files vfs-fake_perms
1515 %defattr(644,root,root,755)
1516 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1517 %{_mandir}/man8/vfs_fake_perms.8*
1519 %files vfs-notify_fam
1520 %defattr(644,root,root,755)
1521 %attr(755,root,root) %{_vfsdir}/notify_fam.so
1522 %{_mandir}/man8/vfs_notify_fam.8*
1525 %defattr(644,root,root,755)
1526 %attr(755,root,root) %{_vfsdir}/netatalk.so
1527 %{_mandir}/man8/vfs_netatalk.8*
1529 %files vfs-readahead
1530 %defattr(644,root,root,755)
1531 %attr(755,root,root) %{_vfsdir}/readahead.so
1532 %{_mandir}/man8/vfs_readahead.8*
1535 %defattr(644,root,root,755)
1536 %attr(755,root,root) %{_vfsdir}/readonly.so
1537 %{_mandir}/man8/vfs_readonly.8*
1540 %defattr(644,root,root,755)
1541 %attr(755,root,root) %{_vfsdir}/recycle.so
1542 %{_mandir}/man8/vfs_recycle.8*
1544 %files vfs-shadow_copy
1545 %defattr(644,root,root,755)
1546 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1547 %{_mandir}/man8/vfs_shadow_copy.8*
1550 %files vfs-vscan-antivir
1551 %defattr(644,root,root,755)
1552 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1553 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-antivir.conf
1554 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1556 %files vfs-vscan-clamav
1557 %defattr(644,root,root,755)
1558 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1559 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-clamav.conf
1560 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1562 %files vfs-vscan-fprot
1563 %defattr(644,root,root,755)
1564 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1565 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fprotd.conf
1566 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1568 %files vfs-vscan-fsav
1569 %defattr(644,root,root,755)
1570 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1571 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-fsav.conf
1572 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1574 %files vfs-vscan-kavp
1575 %defattr(644,root,root,755)
1576 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1577 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-kavp.conf
1578 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1580 %files vfs-vscan-mcafee
1581 %defattr(644,root,root,755)
1582 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1583 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1584 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1587 %ifarch %{ix86} %{x8664}
1588 %files vfs-vscan-mks
1589 %defattr(644,root,root,755)
1590 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1591 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-mks32.conf
1592 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1596 %files vfs-vscan-openantivirus
1597 %defattr(644,root,root,755)
1598 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1599 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-oav.conf
1600 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1602 %files vfs-vscan-sophos
1603 %defattr(644,root,root,755)
1604 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1605 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-sophos.conf
1606 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1608 %files vfs-vscan-symantec
1609 %defattr(644,root,root,755)
1610 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1611 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-icap.conf
1612 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1614 %files vfs-vscan-trend
1615 %defattr(644,root,root,755)
1616 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1617 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/vscan-trend.conf
1618 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1622 %files -n openldap-schema-samba
1623 %defattr(644,root,root,755)
1624 %{schemadir}/*.schema
1628 %defattr(644,root,root,755)
1629 %doc docs/htmldocs/*
1632 %defattr(644,root,root,755)
1636 %files -n python-samba
1637 %defattr(644,root,root,755)
1638 %attr(755,root,root) %{py_sitedir}/*.so
1639 %dir %{py_sitedir}/samba
1640 %attr(755,root,root) %{py_sitedir}/samba/*.so
1641 %{py_sitedir}/samba/*.py[co]
1642 %dir %{py_sitedir}/samba/dcerpc
1643 %{py_sitedir}/samba/dcerpc/*.py[co]
1644 %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so
1645 %dir %{py_sitedir}/samba/tests
1646 %{py_sitedir}/samba/tests/*.py[co]
1647 %dir %{py_sitedir}/samba/tests/dcerpc
1648 %{py_sitedir}/samba/tests/dcerpc/*.py[co]
1649 %dir %{py_sitedir}/samba/torture
1650 %{py_sitedir}/samba/torture/*.py[co]