3 # - fix Summary and Description for python-samba package
4 # - look into other distro specs for valid %descriptions for samba 3
5 # - review configure options
6 # - fix broken --without ldap, test functionality with other bconds
7 # - check tdbtool (with tdb.spec)
10 %bcond_without ads # without ActiveDirectory support
11 %bcond_without cups # without CUPS support
12 %bcond_without krb5 # without Kerberos5/Heimdal support
13 %bcond_without ldap # without LDAP support
14 %bcond_without mysql # without MySQL support
15 %bcond_without pgsql # without PostgreSQL support
16 %bcond_without python # without python libs/utils
17 %bcond_with ldapsam # with LDAP SAM 2.2 based auth (instead of smbpasswd)
19 # ADS requires krb5 and LDAP
20 %if %{without krb5} || %{without ldap}
23 %define vscan_version 0.3.5
25 Summary(cs): Server SMB
26 Summary(da): SMB server
27 Summary(de): SMB-Server
28 Summary(es): El servidor SMB
29 Summary(fi): SMB-palvelin
30 Summary(fr): Serveur SMB
31 Summary(it): Server SMB
32 Summary(ja): Samba SMB ¥µ¡¼¥Ð¡¼
33 Summary(ko): »ï¹Ù SMB ¼¹ö
34 Summary(pl): Serwer SMB
35 Summary(pt_BR): Cliente e servidor SMB
36 Summary(ru): SMB ËÌÉÅÎÔ É ÓÅÒ×ÅÒ
37 Summary(tr): SMB sunucusu
38 Summary(uk): SMB Ë̦¤ÎÔ ÔÁ ÓÅÒ×ÅÒ
39 Summary(zh_CN): Samba ¿Í»§¶ËºÍ·þÎñÆ÷
45 Group: Networking/Daemons
46 Source0: http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
47 # Source0-md5: 217e489646a474b4fb69d5802c14bc6e
51 Source4: %{name}.sysconfig
52 Source5: %{name}.logrotate
54 Source7: http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
55 # Source7-md5: 5f173d549014985d681478897135915b
57 Source9: winbind.sysconfig
58 Patch0: %{name}-statfs-workaround.patch
59 Patch1: %{name}-lib64.patch
60 Patch2: %{name}-setup-python.patch
61 Patch3: %{name}-FHS.patch
62 Patch4: %{name}-case_insensitive_sql_operator.patch
63 URL: http://www.samba.org/
64 BuildRequires: acl-devel
65 BuildRequires: autoconf
66 BuildRequires: automake
67 %{?with_cups:BuildRequires: cups-devel}
68 %{?with_krb5:BuildRequires: heimdal-devel}
69 BuildRequires: libtool >= 2:1.4d
70 BuildRequires: libxml2-devel
72 BuildRequires: mysql-devel
73 BuildRequires: mysql-extras
76 BuildRequires: postgresql-devel
78 BuildRequires: ncurses-devel >= 5.2
79 %{?with_ldap:BuildRequires: openldap-devel}
80 BuildRequires: openssl-devel >= 0.9.7d
81 BuildRequires: pam-devel > 0.66
82 BuildRequires: popt-devel
83 BuildRequires: readline-devel >= 4.2
84 BuildRequires: xfsprogs-devel
85 %{?with_python:BuildRequires: python-devel}
87 PreReq: setup >= 2.4.6-7
88 Requires(post,preun): /sbin/chkconfig
89 Requires: %{name}-common = %{epoch}:%{version}-%{release}
92 Obsoletes: samba-vfs-block
93 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
95 %define _vfsdir %{_libdir}/%{name}/vfs
96 %define _sambahome /home/services/samba
98 %define cups_serverbin %{_libdir}/cups
100 %define schemadir /usr/share/openldap/schema
103 Samba provides an SMB server which can be used to provide network
104 services to SMB (sometimes called "Lan Manager") clients, including
105 various versions of MS Windows, OS/2, and other Linux machines. Samba
106 also provides some SMB clients, which complement the built-in SMB
107 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
108 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
110 This release is known as the "Locking Update" and has full support for
111 Opportunistic File Locking. In addition this update includes native
112 support for Microsoft encrypted passwords, improved browse list and
113 WINS database management.
115 Please refer to the WHATSNEW.txt document for fixup information. This
116 binary release includes encrypted password support. Please read the
117 smb.conf file and ENCRYPTION.txt in the docs directory for
118 implementation details.
121 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
122 slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
123 klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
124 Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
125 souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
126 TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
127 NetBIOS od spoleènosti Microsoft.
130 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
131 services til SMB (også kaldet "Lan Manager") klienter, incl.
132 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
133 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
134 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
135 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
139 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
140 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
141 verschiedenen Versionen von MS Windows-, OS/2- und anderen
142 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
143 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
144 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
145 (Microsoft Raw NetBIOS frame)-Protokoll.
148 Samba provee un servidor SMB que se puede usar para ofrecer servicios
149 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
150 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
151 Linux. Samba también ofrece algunos clientes SMB, que complementan el
152 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
153 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
157 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
158 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
159 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
160 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
161 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
162 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
163 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
167 Samba fornisce un server SMB che puo` essere usato per fornire servizi
168 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
169 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
170 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
173 Samba ¤Ï MS Windows ¤ÎÍÍ¡¹¤Ê¥Ð¡¼¥¸¥ç¥ó¡¢OS/2 ¤½¤·¤Æ¾¤Î Linux ¥Þ¥·¥ó
174 ¤ò´Þ¤à SMB (¤¿¤Þ¤Ë "Lan Manager" ¤È¸Æ¤Ð¤ì¤ë)
175 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Í¥Ã¥È¥ï¡¼¥¯ ¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë SMB
176 ¥µ¡¼¥Ð¤òÄ󶡤·¤Þ¤¹¡£Samba ¤Ï NetBIOS over TCP/IP (NetBT)
177 ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¡¢ NetBEUI(Microsoft Raw NetBIOS frame)
178 ¥×¥í¥È¥³¥ë¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£
180 Samba ¤Û¤È¤ó¤ÉÆ°ºî¤¹¤ë NT ¥É¥á¥¤¥ó¥³¥ó¥È¥í¡¼¥ë¤Îµ¡Ç½¤òÆÃħ¤È¤·¡¢
181 ¹¥¤¤Ê¥Ö¥é¥¦¥¶¤ò»È¤Ã¤Æ samba ¤Î smb.conf ¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È´ÉÍý¤¹¤ë
182 ¿·¤·¤¤ SWAT (Samba Web Administration Tool) ¤ò´Þ¤ß¤Þ¤¹¡£
183 Ìܲ¼¤Î¤È¤³¤í¤³¤ì¤Ï inetd ¤òÄ̤·¤Æ TCP ¥Ý¡¼¥È 901 ¤Ç͸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
186 »ï¹Ù´Â MS Windows, OS/2, ȤÀº ´Ù¸¥ ¸®´ª½º ¸Ó½ÅÀ» Æ÷ÇÔÇÏ´Â SMB(ȤÀº
187 "Lan Manager"¶ó°íµµ ºÒ¸²) Ŭ¶óÀ̾ðÆ®¸¦ ³×Æ®¿öÅ© ¼ºñ½º À§ÇØ »ç¿ëÇÒ ¼ö
188 ÀÖ´Â SMB ¼¹ö¸¦ Á¦°øÇÑ´Ù. »ï¹Ù´Â TCP/IP ÇÁ·ÎÅäÄÝÀ» ÅëÇØ NetBIOS¸¦
189 »ç¿ëÇÏ°í NetBEUI (Microsoft Raw NetBIOS ÇÁ·¹ÀÓ) ÇÁ·ÎÅäÄÝÀº ÇÊ¿äÇÏÁö
192 »ï¹Ù-2.2 ÀÇ Æ¯Â¡Àº NT µµ¸ÞÀÎ ÄÁÆ®·ÑÀÇ ¼º´ÉÀ¸·Î ÀÛ¾÷À» ÇÏ°í, »õ·Î¿î
193 SWAT(Samba Web Administration Tool)·Î À¥ºê¶ó¿ìÀú¸¦ »ç¿ëÇÏ¿© ¿ø°ÝÁö¿¡¼
194 »ï¹ÙÀÇ smb.conf ÆÄÀÏÀ» °ü¸®Çϵµ·Ï ÇÑ´Ù. ÀÌ·¯ÇÑ °æ¿ì inetd µ¥¸óÀ» ÅëÇØ
195 TCP 901 Æ÷Æ®¸¦ »ç¿ëÇÏ°Ô µÈ´Ù.
197 ÃÖ±Ù Á¤º¸·Î WHATSNEW.txt ÆÄÀÏÀÇ ¹®¼¸¦ Âü°íÇϵµ·Ï ÇÑ´Ù. ¹ÙÀ̳ʸ®ÀÇ
198 ¸±¸®Áî´Â ¾ÏÈ£ÈµÈ Æнº¿öµå¸¦ Á¦°øÇÑ´Ù. ±¸Çö¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾ò±â
199 À§ÇØ docs µð·ºÅ丮³»¿¡ ÀÖ´Â smb.conf ÆÄÀÏ°ú ENCRYPTION.txt ÆÄÀÏÀ»
203 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
204 us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
205 takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. W pakiecie
206 znajduje siê równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u
207 NetBIOS po TCP/IP (NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma
208 pe³ne wsparcie dla blokowania plików, a tak¿e wsparcie dla kodowania
209 hase³ w standardzie MS i zarz±dzania baz± WINS.
211 %description -l pt_BR
212 O Samba provê um servidor SMB que pode ser usado para oferecer
213 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
214 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
215 máquinas Linux. O Samba também fornece alguns clientes SMB, que
216 complementam o sistema de arquivos SMB do Linux. O Samba usa o
217 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
218 NetBEUI (Microsoft Raw NetBIOS frame).
220 O Samba inclui a maioria das características de um servidor de
221 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
222 permite que o arquivo smb.conf seja gerenciado remotamente através de
223 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
227 Samba ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ÓÅÒ×ÅÒ, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ
228 ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ× SMB (ÉÎÏÇÄÁ ÎÁÚÙ×ÁÅÍÙÍ "Lan Manager")
229 ËÌÉÅÎÔÁÍ, ×ËÌÀÞÁÑ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ×ÅÒÓÉÉ MS Windows, OS/2, É ÄÒÕÇÉÅ
230 Linux-ÍÁÛÉÎÙ. Samba ÔÁËÖÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ËÌÉÅÎÔÏ×, ËÏÔÏÒÙÅ ÒÁÂÏÔÁÀÔ
231 ÓÏ ×ÓÔÒÏÅÎÎÏÊ × Linux ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB.
233 Samba ÉÓÐÏÌØÚÕÅÔ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) É ÎÅ ÎÕÖÄÁÅÔÓÑ ×
234 ÐÒÏÔÏËÏÌÅ NetBEUI (Microsoft Raw NetBIOS frame).
236 Samba ÓÏÄÅÒÖÉÔ ÐÒÁËÔÉÞÅÓËÉ ÒÁÂÏÔÁÀÝÕÀ ÒÅÁÌÉÚÁÃÉÀ NT Domain Control É
237 ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool), ËÏÔÏÒÙÊ ÐÏÚ×ÏÌÑÅÔ
238 ÕÄÁÌÅÎÎÏ ÕÐÒÁ×ÌÑÔØ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÍ ÆÁÊÌÏÍ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
239 ÌÀÂÉÍÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÁ ÞÔÏ ÏÎ ÒÁÚÒÅÛÅÎ ÞÅÒÅÚ inetd ÎÁ TCP-ÐÏÒÔÕ
243 Samba ÎÁÄÁ¤ SMB-ÓÅÒ×ÅÒ, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ ÎÁÄÁÎÎÑ
244 ÍÅÒÅÖÅ×ÉÈ ÓÅÒ×¦Ó¦× SMB (ÝÏ §È ¦ÎÏĦ ÎÁÚÉ×ÁÀÔØ "Lan Manager") Ë̦¤ÎÔÁÍ,
245 ×ËÌÀÞÁÀÞÉ Ò¦ÚÎÏÍÁΦÔΦ ×ÅÒÓ¦§ MS Windows, OS/2, ÔÁ ¦ÎÛ¦ Linux-ÍÁÛÉÎÉ.
246 Samba ÔÁËÏÖ ÎÁÄÁ¤ SMB-Ë̦¤ÎÔ¦×, ÝÏ ÐÒÁÃÀÀÔØ Ú ×ÂÕÄÏ×ÁÎÏÀ × Linux
247 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB.
249 Samba ×ÉËÏÒÉÓÔÏ×Õ¤ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) ÔÁ ÎÅ ÐÏÔÒÅÂÕ¤
250 ÐÒÏÔÏËÏÌÕ NetBEUI (Microsoft Raw NetBIOS frame).
252 Samba ͦÓÔÉÔØ ÍÁÊÖÅ ÐÒÁÃÀÀÞÕ ÒÅÁÌÉÚÁæÀ NT Domain Control ÔÁ ÎÏ×ÙÊ
253 SWAT (Samba Web Administration Tool), ËÏÔÒÉÊ ÄÏÚ×ÏÌѤ צÄÄÁÌÅÎÏ
254 ËÅÒÕ×ÁÔÉ ËÏÎƦÇÕÒÁæÊÎÉÍ ÆÁÊÌÏÍ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
255 ÕÌÀÂÌÅÎÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÉ ÝÏ ×¦Î ÄÏÚ×ÏÌÅÎÉÊ ÞÅÒÅÚ inetd ÎÁ
259 Summary: Samba Web Administration Tool
260 Summary(es): Samba SWAT and Web documentation
261 Summary(pl): Narzêdzie administracyjne serwisu Samba
262 Summary(pt_BR): Samba SWAT e documentação Web
263 Summary(ru): ðÒÏÇÒÁÍÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ SMB-ÓÅÒ×ÅÒÁ Samba
264 Summary(uk): ðÒÏÇÒÁÍÁ ËÏÎÆÉÇÕÒÁæ§ SMB-ÓÅÒ×ÅÒÁ Samba
265 Group: Networking/Admin
266 Requires: %{name} = %{epoch}:%{version}-%{release}
268 Requires: rc-inetd >= 0.8.2
272 swat allows a Samba administrator to configure the complex smb.conf
273 file via a Web browser. In addition, a swat configuration page has
274 help links to all the configurable options in the smb.conf file
275 allowing an administrator to easily look up the effects of any change.
277 %description swat -l pl
278 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
281 %description swat -l pt_BR
282 SWAT - ferramentada Web de configuração do Samba.
284 %description swat -l ru
285 ðÁËÅÔ samba-swat ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool),
286 ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ ÆÁÊÌÁ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
287 ÌÀÂÉÍÏÇÏ Web-ÂÒÁÕÚÅÒÁ.
289 %description swat -l uk
290 ðÁËÅÔ samba-swat ͦÓÔÉÔØ ÎÏ×ÉÊ SWAT (Samba Web Administration Tool),
291 ÄÌÑ ÄÉÓÔÁÎæÊÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ ÆÁÊÌÕ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
292 ÕÌÀÂÌÅÎÏÇÏ Web-ÂÒÁÕÚÅÒÕ.
295 Summary: Samba MySQL password database plugin
296 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie MySQL
297 Group: Networking/Daemons
298 Requires: %{name} = %{epoch}:%{version}-%{release}
300 %description pdb-mysql
301 Samba MySQL password database plugin.
303 %description pdb-mysql -l pl
304 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
307 Summary: Samba PostgreSQL password database plugin
308 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie PostgreSQL
309 Group: Networking/Daemons
310 Requires: %{name} = %{epoch}:%{version}-%{release}
312 %description pdb-pgsql
313 Samba MySQL password database plugin.
315 %description pdb-pgsql -l pl
316 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
319 Summary: Samba XML password database plugin
320 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie XML
321 Group: Networking/Daemons
322 Requires: %{name} = %{epoch}:%{version}-%{release}
325 Samba XML password database plugin.
327 %description pdb-xml -l pl
328 Wtyczka Samby do przechowywania hase³ w bazie XML.
331 Summary: Samba client programs
332 Summary(es): Cliente SMB de Samba
333 Summary(ja): Samba (SMB) ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
334 Summary(pl): Klienci serwera Samba
335 Summary(pt_BR): Cliente SMB do samba
336 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ Samba (SMB)
337 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ Samba (SMB)
338 Group: Applications/Networking
339 Requires: %{name}-common = %{epoch}:%{version}-%{release}
340 Obsoletes: mount-cifs
344 Samba-client provides some SMB clients, which complement the build-in
345 SMB filesystem in Linux. These allow accessing of SMB shares and
346 printing to SMB printers.
348 %description client -l pt_BR
349 O pacote samba-clientes prove alguns clientes SMB, que complementam o
350 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
351 e também, à impressoras SMB.
353 %description client -l es
354 Cliente SMB de Samba.
356 %description client -l ja
357 Samba-client ¤Ï Linux ¾å¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë SMB ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÊ䤦 SMB
358 ¥¯¥é¥¤¥¢¥ó¥È¤òÄ󶡤·¤Þ¤¹¡£¤³¤ì¤é¤Ï SMB ¶¦Í¤Î¥¢¥¯¥»¥¹¤È SMB
359 ¥×¥ê¥ó¥¿¤Ø¤Î°õºþ¤òµö²Ä¤·¤Þ¤¹¡£
361 %description client -l pl
362 Samba-client dostarcza programy uzupe³niaj±ce obs³ugê systemu plików
363 SMB zawart± w j±drze. Pozwalaj± one na wspó³dzielenie zasobów SMB i
364 drukowanie w sieci SMB.
366 %description client -l pt_BR
367 O pacote samba-clientes prove alguns clientes SMB, que complementam o
368 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
369 e também, à impressoras SMB.
371 %description client -l ru
372 ðÁËÅÔ samba-client ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÅËÏÔÏÒÙÅ ËÌÉÅÎÔÙ SMB ÄÌÑ ÒÁÂÏÔÙ ÓÏ
373 ×ÓÔÒÏÅÎÎÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB × Linux. üÔÉ ËÌÉÅÎÔÙ ÐÏÚ×ÏÌÑÀÔ
374 ÐÏÌÕÞÁÔØ ÄÏÓÔÕÐ Ë ÒÁÚÄÅÌÑÅÍÙÍ ËÁÔÁÌÏÇÁÍ SMB É ÐÅÞÁÔØ ÎÁ SMB-ÐÒÉÎÔÅÒÙ.
376 %description client -l uk
377 ðÁËÅÔ samba-client ÎÁÄÁ¤ ÄÅÑ˦ Ë̦¤ÎÔÉ SMB ÄÌÑ ÒÏÂÏÔÉ Ú¦ ×ÂÕÄÏ×ÁÎÏÀ
378 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB × Linux. 㦠Ë̦¤ÎÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÕ×ÁÔÉ ÄÏÓÔÕÐ
379 ÄÏ ËÁÔÁÌÏÇ¦× ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ SMB ÔÁ ÄÒÕË ÎÁ SMB-ÐÒ¦ÎÔÅÒÉ.
382 Summary: Files used by both Samba servers and clients
383 Summary(es): Common files between samba and samba-clients
384 Summary(ja): Samba ¥µ¡¼¥Ð¡¼¤È¥¯¥é¥¤¥¢¥ó¥È¤Ç»ÈÍѤµ¤ì¤ë¥×¥í¥°¥é¥à
385 Summary(pl): Pliki u¿ywane przez serwer i klientów Samba
386 Summary(pt_BR): Arquivos em comum entre samba e samba-clients
387 Summary(ru): æÁÊÌÙ, ÉÓÐÏÌØÚÕÅÍÙÅ ËÁË ÓÅÒ×ÅÒÏÍ, ÔÁË É ËÌÉÅÎÔÏÍ Samba
388 Summary(uk): æÁÊÌÉ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÑË ÓÅÒ×ÅÒÏÍ, ÔÁË ¦ Ë̦¤ÎÔÏÍ Samba
389 Group: Networking/Daemons
392 Samba-common provides files necessary for both the server and client
395 %description common -l ja
396 Samba-common ¤Ï Samba ¤Î¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤ÎξÊý¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç
397 »ÈÍѤµ¤ì¤ë¥Õ¥¡¥¤¥ë¤òÄ󶡤·¤Þ¤¹¡£
399 %description common -l pl
400 Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
403 %description common -l pt_BR
404 Arquivos em comum entre os pacotes samba e samba-clients.
406 %description common -l ru
407 Samba-common ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ ËÁË ËÌÉÅÎÔÁ, ÔÁË É
410 %description common -l uk
411 Samba-common ͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ ÑË Ë̦¤ÎÔÁ, ÔÁË ¦
415 Summary: Samba-winbind daemon, utilities and documentation
416 Summary(pl): Demon samba-winbind, narzêdzia i dokumentacja
417 Group: Networking/Daemons
418 Requires(post,preun): /sbin/chkconfig
419 Requires: %{name}-common = %{epoch}:%{version}-%{release}
422 Provides the winbind daemon and testing tools to allow authentication
423 and group/user enumeration from a Windows or Samba domain controller.
425 %description winbind -l pl
426 Pakiet zawiera demona winbind oraz narzêdzia testowe. Umo¿liwia
427 uwierzytelnianie i wyliczanie grup/u¿ytkowników z kontrolera domeny
431 Summary: Name Service Switch service for WINS
432 Summary(pl): Us³uga Name Service Switch dla WINS
434 Requires: %{name}-common = %{epoch}:%{version}-%{release}
436 %description -n nss_wins
437 Provides the libnss_wins shared library which resolves NetBIOS names
440 %description -n nss_wins -l pl
441 Biblioteka dzielona libnss_wins rozwi±zuj±ca nazwy NetBIOS na adresy
444 %package -n pam-pam_smbpass
445 Summary: PAM Samba Password Module
446 Summary(pl): Modu³ PAM smbpass
448 Obsoletes: pam_smbpass
450 %description -n pam-pam_smbpass
451 PAM module which can be used on conforming systems to keep the
452 smbpasswd (Samba password) database in sync with the unix password
455 %description -n pam-pam_smbpass -l pl
456 Modu³ PAM, który mo¿e byæ u¿ywany do trzymania pliku smbpasswd (has³a
457 Samby) zsynchronizowanego z has³ami uniksowymi.
459 %package -n libsmbclient
460 Summary: libsmbclient - samba client library
461 Summary(pl): libsmbclient - biblioteka klienta samby
464 %description -n libsmbclient
465 libsmbclient - library that allows to use samba clients functions.
467 %description -n libsmbclient -l pl
468 libsmbclient - biblioteka pozwalaj±ca korzystaæ z funcji klienta
471 %package -n libsmbclient-devel
472 Summary: libsmbclient - samba client library
473 Summary(pl): libsmbclient - biblioteka klienta samby
474 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
475 Group: Development/Libraries
476 Requires: libsmbclient = %{epoch}:%{version}-%{release}
478 %description -n libsmbclient-devel
479 Header files for libsmbclient.
481 %description -n libsmbclient-devel -l pl
482 Pliki nag³ówkowe dla libsmbclient.
484 %description -n libsmbclient-devel -l pt_BR
485 Arquivos de inclusão, bibliotecas e documentação necessários para
486 desenvolver aplicativos clientes para o samba.
488 %package -n libsmbclient-static
489 Summary: Static version of libsmbclient - samba client library
490 Summary(pl): Statyczna wersja libsmbclient - biblioteki klienta samby
491 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
492 Group: Development/Libraries
493 Requires: libsmbclient = %{epoch}:%{version}-%{release}
495 %description -n libsmbclient-static
496 Static libsmbclient library.
498 %description -n libsmbclient-static -l pl
499 Statyczna biblioteka libsmbclient.
502 Summary: A utility for retrieving files using the SMB protocol
503 Summary(pl): Narzêdzie do pobierania plików protoko³em SMB
504 Group: Applications/Networking
506 %description -n smbget
507 wget-like utility for download files over SMB.
509 %description -n smbget -l pl
510 Narzêdzie podobne do wgeta do pobierania plików protoko³em SMB
511 u¿ywanym w sieciach MS Windows.
513 %package -n cups-backend-smb
514 Summary: CUPS backend for printing to SMB printers
515 Summary(pl): Backend CUPS-a drukuj±cy na drukarkach SMB
516 Group: Applications/Printing
517 Requires: %{name}-client = %{epoch}:%{version}-%{release}
520 %description -n cups-backend-smb
521 CUPS backend for printing to SMB printers.
523 %description -n cups-backend-smb -l pl
524 Backend CUPS-a drukuj±cy na drukarkach SMB.
526 %package -n python-samba
527 Summary: Samba python tools and libraries
528 Summary(pl): Narzêdzia i biblioteki pythona do samby
529 Group: Applications/Networking
530 %pyrequires_eq python-libs
532 %description -n python-samba
533 Samba python tools and libraries.
535 %description -n python-samba -l pl
536 Narzêdzia i biblioteki pythona do samby.
539 Summary: VFS module to audit file access
540 Summary(pl): Modu³ VFS do monitorowania operacji na plikach
541 Group: Networking/Daemons
542 Requires: %{name} = %{epoch}:%{version}-%{release}
544 %description vfs-audit
545 A simple module to audit file access to the syslog facility. The
546 following operations are logged: share connect/disconnect, directory
547 opens/create/remove, file open/close/rename/unlink/chmod.
549 %description vfs-audit -l pl
550 Prosty modu³ do monitorowania dostêpu do plików do sysloga.
551 Monitorowane s± nastêpuj±ce operacje: pod³±czone/od³±czenie do zasobu,
552 otwarcie/utworzenie/zmiana nazwy katalogu, otwarcie/zamknêcie/zmiana
553 nazwy/skasowania/zmiana praw plików.
556 Summary: VFS module for CAP and samba compatibility
557 Summary(pl): Modu³ VFS zgodno¶ci z CAP (Columbia AppleTalk Program)
558 Group: Networking/Daemons
559 Requires: %{name} = %{epoch}:%{version}-%{release}
562 Convert an incoming Shift-JIS character to the 3 byte hex
563 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
564 This is used for compatibility between Samba and CAP.
566 %description vfs-cap -l pl
567 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
568 reprezentacji u¿ywanej przez program Columbia AppleTalk Program (CAP).
570 %package vfs-default_quota
571 Summary: VFS module to store default quotas in a specified quota record
572 Summary(pl): Modu³ VFS do zapisywania domy¶lnych limitów w okre¶lonym rekordzie
573 Group: Networking/Daemons
574 Requires: %{name} = %{epoch}:%{version}-%{release}
576 %description vfs-default_quota
577 This VFS modules stores default quotas in a specified quota record.
579 %description vfs-default_quota -l pl
580 Ten modu³ VFS zapisuje domy¶lne limity (quoty) w okre¶lonym rekordzie
583 %package vfs-expand_msdfs
584 Summary: VFS module for hosting a Microsoft Distributed File System Tree
585 Summary(pl): Modu³ VFS obs³ugi Microsoft Distributed File System
586 Group: Networking/Daemons
587 Requires: %{name} = %{epoch}:%{version}-%{release}
589 %description vfs-expand_msdfs
590 A VFS module for hosting a Microsoft Distributed File System Tree.
592 The Distributed File System (DFS) provides a means of separating the
593 logical view of files and directories that users see from the actual
594 physical locations of these resources on the network. It allows for
595 higher availability, smoother storage expansion, load balancing, and
598 %description vfs-expand_msdfs -l pl
599 Modu³ VFS do udostêpniania drzewa systemu plików Microsoft Distributed
602 Distributed File System (DFS) umo¿liwia rozdzielanie logicznego widoku
603 plików i katalogów widocznych przez u¿ytkowników z fizycznego
604 umiejscowienia tych zasobów w sieci. Pozwala to na wy¿sz± dostêpno¶æ,
605 p³ynniejsze powiêkszanie przestrzeni, rozdzielanie obci±¿enia itp.
607 %package vfs-fake_perms
608 Summary: VFS module to report read-only fires as writable
609 Summary(pl): Modu³ VFS udaj±cy, ¿e pliki tylko do odczytu s± zapisywalne
610 Group: Networking/Daemons
611 Requires: %{name} = %{epoch}:%{version}-%{release}
613 %description vfs-fake_perms
614 This module allow Roaming Profile files and directories to be set (on
615 the Samba server under UNIX) as read only. This module will, if
616 installed on the Profiles share, report to the client that the Profile
617 files and directories are writeable. This satisfies the client even
618 though the files will never be overwritten as the client logs out or
621 %description vfs-fake_perms -l pl
622 Ten modu³ pozwala na ustawienie plików i katalogów z wêdruj±cych
623 profili (Roaming Profiles) jako tylko do odczytu. Modu³ ten w
624 przypadku zainstalowania na udziale z profilami bêdzie zg³asza³
625 klientom, ¿e pliki i katalogi z profilu s± zapisywane. To wystarczy
626 klientom pomimo, ¿e pliki nie zostan± nigdy nadpisane przy logowaniu
627 lub wylogowywaniu klienta.
629 %package vfs-netatalk
630 Summary: VFS module for ease co-existence of samba and netatalk
631 Summary(pl): Modu³ VFS u³atwiaj±cy wspó³pracê serwisów samba i netatalk
632 Group: Networking/Daemons
633 Requires: %{name} = %{epoch}:%{version}-%{release}
635 %description vfs-netatalk
636 Package contains a netatalk VFS module for ease co-existence of Samba
637 and netatalk file sharing services.
639 %description vfs-netatalk -l pl
640 Pakiet zawiera modu³ VFS netatalk umo¿liwiaj±cy wspó³pracê us³ug samba
641 i netatalk przy udostêpnianiu zasobów.
644 Summary: VFS module to add recycle bin facility to a samba share
645 Summary(pl): Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby
646 Group: Networking/Daemons
647 Requires: %{name} = %{epoch}:%{version}-%{release}
649 %description vfs-recycle
650 VFS module to add recycle bin facility to a samba share.
652 %description vfs-recycle -l pl
653 Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby.
655 %package vfs-readonly
656 Summary: VFS module for read-only limitation for specified share
657 Summary(pl): Modu³ VFS do ograniczania okre¶lonego udzia³u tylko do odczytu
658 Group: Networking/Daemons
659 Requires: %{name} = %{epoch}:%{version}-%{release}
661 %description vfs-readonly
662 This module performs a read-only limitation for specified share (or
663 all of them if it is loaded in a [global] section) based on period
664 definition in smb.conf.
666 %description vfs-readonly -l pl
667 Ten modu³ wprowadza ograniczenie tylko do odczytu dla okre¶lonego
668 udzia³u (lub wszystkich, je¶li jest wczytywany w sekcji [global]) w
669 oparciu o definicje okresów w smb.conf.
671 %package vfs-shadow_copy
672 Summary: VFS module to make automatic copy of data in samba share
673 Summary(pl): Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby
674 Group: Networking/Daemons
675 Requires: %{name} = %{epoch}:%{version}-%{release}
677 %description vfs-shadow_copy
678 VFS module to make automatic copy of data in samba share.
680 %description vfs-shadow_copy -l pl
681 Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby.
683 %package vfs-vscan-clamav
684 Summary: On-access virus scanning for samba using ClamAV
685 Summary(pl): Skaner antywirusowy online wykorzystuj±cy ClamAV
686 Group: Networking/Daemons
687 Requires: %{name} = %{epoch}:%{version}-%{release}
689 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
691 %description vfs-vscan-clamav
692 A vfs-module for samba to implement on-access scanning using the
693 ClamAV antivirus software (which must be installed to use this).
695 %description vfs-vscan-clamav -l pl
696 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
697 dostêpu do plików korzystaj±c z oprogramowania antywirusowego ClamAV
698 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
700 %package vfs-vscan-fprot
701 Summary: On-access virus scanning for samba using FPROT
702 Summary(pl): Skaner antywirusowy online wykorzystuj±cy FPROT
703 Group: Networking/Daemons
704 Requires: %{name} = %{epoch}:%{version}-%{release}
705 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
706 Obsoletes: vscan-fprot
708 %description vfs-vscan-fprot
709 A vfs-module for samba to implement on-access scanning using the FPROT
710 antivirus software (which must be installed to use this).
712 %description vfs-vscan-fprot -l pl
713 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
714 dostêpu do plików korzystaj±c z oprogramowania antywirusowego FPROT
715 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
717 %package vfs-vscan-fsav
718 Summary: On-access virus scanning for samba using F-Secure AntiVirus
719 Summary(pl): Skaner antywirusowy online wykorzystuj±cy F-Secure AntiVirus
720 Group: Networking/Daemons
721 Requires: %{name} = %{epoch}:%{version}-%{release}
722 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
723 Obsoletes: vscan-fsav
725 %description vfs-vscan-fsav
726 A vfs-module for samba to implement on-access scanning using the
727 F-Secure AntiVirus antivirus software (which must be installed to use
730 %description vfs-vscan-fsav -l pl
731 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
732 dostêpu do plików korzystaj±c z oprogramowania antywirusowego F-Secure
733 AntiVirus (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
735 %package vfs-vscan-kavp
736 Summary: On-access virus scanning for samba using Kaspersky AVP
737 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Kaspersky AVP
738 Group: Networking/Daemons
739 Requires: %{name} = %{epoch}:%{version}-%{release}
740 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
741 Obsoletes: vscan-kavp
743 %description vfs-vscan-kavp
744 A vfs-module for samba to implement on-access scanning using the
745 Kaspersky AVP antivirus software (which must be installed to use
748 %description vfs-vscan-kavp -l pl
749 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
750 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
751 Kaspersky AVP (które musi byæ zainstalowane, aby wykorzystaæ ten
754 %package vfs-vscan-mcafee
755 Summary: On-access virus scanning for samba using mcafee
756 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mcafee
757 Group: Networking/Daemons
758 Requires: %{name} = %{epoch}:%{version}-%{release}
760 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
761 Obsoletes: vscan-mcafee
763 %description vfs-vscan-mcafee
764 A vfs-module for samba to implement on-access scanning using the mcafee
765 antivirus software (which must be installed to use this).
767 %description vfs-vscan-mcafee -l pl
768 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
769 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mcafee
770 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
772 %package vfs-vscan-mks
773 Summary: On-access virus scanning for samba using mks
774 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mks
775 Group: Networking/Daemons
776 Requires: %{name} = %{epoch}:%{version}-%{release}
778 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
781 %description vfs-vscan-mks
782 A vfs-module for samba to implement on-access scanning using the mks
783 antivirus software (which must be installed to use this).
785 %description vfs-vscan-mks -l pl
786 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
787 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mks
788 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
790 %package vfs-vscan-openantivirus
791 Summary: On-access virus scanning for samba using OpenAntivirus
792 Summary(pl): Skaner antywirusowy online wykorzystuj±cy OpenAntiVirus
793 Group: Networking/Daemons
794 Requires: %{name} = %{epoch}:%{version}-%{release}
795 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
796 Obsoletes: vscan-openantivirus
798 %description vfs-vscan-openantivirus
799 A vfs-module for samba to implement on-access scanning using the
800 OpenAntivirus antivirus software (which must be installed to use
803 %description vfs-vscan-openantivirus -l pl
804 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
805 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
806 OpenAntiVirus.org (które musi byæ zainstalowane, aby wykorzystaæ ten
809 %package vfs-vscan-sophos
810 Summary: On-access virus scanning for samba using Sophos
811 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Sophos
812 Group: Networking/Daemons
813 Requires: %{name} = %{epoch}:%{version}-%{release}
814 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
815 Obsoletes: vscan-sophos
817 %description vfs-vscan-sophos
818 A vfs-module for samba to implement on-access scanning using the
819 Sophos antivirus software (which must be installed to use this).
821 %description vfs-vscan-sophos -l pl
822 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
823 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Sophos
824 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
826 %package vfs-vscan-symantec
827 Summary: On-access virus scanning for samba using Symantec
828 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Symantec
829 Group: Networking/Daemons
830 Requires: %{name} = %{epoch}:%{version}-%{release}
831 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
832 Obsoletes: vscan-symantec
834 %description vfs-vscan-symantec
835 A vfs-module for samba to implement on-access scanning using the
836 Symantec antivirus software (which must be installed to use this).
838 %description vfs-vscan-symantec -l pl
839 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
840 dostêpu do plików korzystaj±c z oprogramowania antywirusowego firmy
841 Symantec (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
843 %package vfs-vscan-trend
844 Summary: On-access virus scanning for samba using Trend
845 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Trend
846 Group: Networking/Daemons
847 Requires: %{name} = %{epoch}:%{version}-%{release}
848 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
849 Obsoletes: vscan-trend
851 %description vfs-vscan-trend
852 A vfs-module for samba to implement on-access scanning using the Trend
853 antivirus software (which must be installed to use this).
855 %description vfs-vscan-trend -l pl
856 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
857 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Trend
858 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
860 %package -n openldap-schema-samba
861 Summary: Samba LDAP schema
862 Group: Networking/Daemons
863 Requires(post,postun): sed >= 4.0
864 Requires: openldap-servers
866 %description -n openldap-schema-samba
867 This package contains samba.schema for openldap.
872 %if "%{_lib}" == "lib64"
887 # Removed options (default or not supported by configure script)
890 # --without-smbwrapper \
891 # --with-sslinc=%{_prefix} \
894 # %{?with_ipv6:--with-ipv6} \
899 --with-libsmbclient \
902 --with%{!?with_ads:out}-ads \
903 --with-privatedir=%{_sysconfdir}/samba \
907 --with-swatdir=%{_datadir}/swat \
911 %{?with_python:--with-python} \
912 --with-expsam=xml,%{?with_mysql:mysql}%{?with_pgsql:,pgsql} \
913 %{?with_ldapsam:--with-ldapsam} \
914 --with%{!?with_ldap:out}-ldap \
915 --with%{!?with_krb5:out}-krb5
918 %{__make} everything pam_smbpass bin/smbget client/mount.cifs bin/vfstest
923 CFLAGS="%{rpmcflags} -fPIC"
927 cd samba-vscan-%{vscan_version}
928 cp -f /usr/share/automake/config.sub .
933 rm -rf $RPM_BUILD_ROOT
934 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
935 $RPM_BUILD_ROOT/var/{lock,log,log/archiv,spool}/samba \
936 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
940 DESTDIR=$RPM_BUILD_ROOT \
941 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
943 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
946 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
948 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
949 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
950 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
951 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
952 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
953 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
954 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
955 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
957 install source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
958 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
959 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
960 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
961 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
962 install source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security
963 install source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security
964 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
965 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
966 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
968 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
969 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
970 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
972 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
975 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
976 install examples/VFS/samba-vscan-%{vscan_version}/{clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
978 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
980 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
983 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
984 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
987 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
988 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
990 rm -f docs/faq/*.{sgml,txt}
991 rm -f docs/htmldocs/*.[0-9].html
993 # we have this utility in tdb package
994 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
998 install -d $RPM_BUILD_ROOT%{py_sitedir}
999 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1002 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1004 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1007 rm -rf $RPM_BUILD_ROOT
1010 /sbin/chkconfig --add smb
1011 if [ -r /var/lock/subsys/smb ]; then
1012 /etc/rc.d/init.d/smb restart >&2
1014 echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
1018 if [ "$1" = "0" ]; then
1019 if [ -r /var/lock/subsys/smb ]; then
1020 /etc/rc.d/init.d/smb stop >&2
1022 /sbin/chkconfig --del smb
1026 /sbin/chkconfig --add winbind
1027 if [ -r /var/lock/subsys/winbind ]; then
1028 /etc/rc.d/init.d/winbind restart >&2
1030 echo "Run \"/etc/rc.d/init.d/winbind start\" to start Winbind daemon."
1034 if [ "$1" = "0" ]; then
1035 if [ -r /var/lock/subsys/winbind ]; then
1036 /etc/rc.d/init.d/winbind stop >&2
1038 /sbin/chkconfig --del winbind
1042 if [ -f /var/lock/subsys/rc-inetd ]; then
1043 /etc/rc.d/init.d/rc-inetd reload 1>&2
1045 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
1049 if [ -f /var/lock/subsys/rc-inetd ]; then
1050 /etc/rc.d/init.d/rc-inetd reload
1053 %post -n openldap-schema-samba
1054 if ! grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1056 /^include.*local.schema/{
1058 include %{schemadir}/samba.schema
1059 }' /etc/openldap/slapd.conf
1062 if [ -f /var/lock/subsys/ldap ]; then
1063 /etc/rc.d/init.d/ldap restart >&2
1066 %postun -n openldap-schema-samba
1067 if [ "$1" = "0" ]; then
1068 if grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1070 /^include.*\/usr\/share\/openldap\/schema\/samba.schema/d
1071 ' /etc/openldap/slapd.conf
1074 if [ -f /var/lock/subsys/ldap ]; then
1075 /etc/rc.d/init.d/ldap restart >&2 || :
1079 %triggerpostun -- samba < 1.9.18p7
1080 if [ "$1" != "0" ]; then
1081 /sbin/chkconfig --add smb
1084 %triggerpostun -- samba < 2.0.5a-3
1085 if [ "$1" != "0" ]; then
1086 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
1087 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
1091 %defattr(644,root,root,755)
1092 %attr(755,root,root) %{_sbindir}/nmbd
1093 %attr(755,root,root) %{_sbindir}/smbd
1094 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1095 %attr(755,root,root) %{_bindir}/smbstatus
1096 %attr(755,root,root) %{_bindir}/smbpasswd
1097 %attr(755,root,root) %{_bindir}/smbcontrol
1098 %attr(755,root,root) %{_bindir}/tdbbackup
1099 %attr(755,root,root) %{_bindir}/tdbtool_samba
1101 %dir %{_libdir}/%{name}/pdb
1104 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smbusers
1105 %attr(754,root,root) /etc/rc.d/init.d/smb
1106 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
1107 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/samba
1108 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/samba
1109 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
1110 %{_mandir}/man1/smbstatus.1*
1111 %{_mandir}/man1/smbcontrol.1*
1112 %{_mandir}/man5/smbpasswd.5*
1113 %{_mandir}/man7/samba.7*
1114 %{_mandir}/man8/nmbd.8*
1115 %{_mandir}/man8/smbd.8*
1116 %{_mandir}/man8/smbpasswd.8*
1117 %{_mandir}/man8/pdbedit.8*
1118 %{_mandir}/man8/tdbbackup.8*
1121 %dir /var/lock/samba
1122 %ghost /var/lock/samba/*
1124 %attr(750,root,root) %dir /var/log/samba
1125 %attr(750,root,root) %dir /var/log/archiv/samba
1126 %attr(1777,root,root) %dir /var/spool/samba
1133 %defattr(644,root,root,755)
1134 %attr(755,root,root) %{_libdir}/%{name}/pdb/mysql.so
1139 %defattr(644,root,root,755)
1140 %attr(755,root,root) %{_libdir}/%{name}/pdb/pgsql.so
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_libdir}/%{name}/pdb/xml.so
1148 %defattr(644,root,root,755)
1149 %attr(755,root,root) %{_sbindir}/winbindd
1150 %attr(755,root,root) %{_bindir}/wbinfo
1151 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1152 %attr(755,root,root) /%{_lib}/libnss_winbind*
1153 %attr(754,root,root) /etc/rc.d/init.d/winbind
1154 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/winbind
1155 %{_mandir}/man8/winbindd*.8*
1156 %{_mandir}/man8/pam_winbind.8.gz
1157 %{_mandir}/man1/wbinfo*.1*
1160 %defattr(644,root,root,755)
1161 %attr(755,root,root) /%{_lib}/libnss_wins*
1164 %defattr(644,root,root,755)
1165 %attr(755,root,root) /sbin/mount.smbfs
1166 %attr(755,root,root) /sbin/mount.cifs
1167 %attr(755,root,root) %{_bindir}/smbmount
1168 %attr(755,root,root) %{_bindir}/smbmnt
1169 %attr(755,root,root) %{_bindir}/smbumount
1170 %attr(755,root,root) %{_bindir}/net
1171 %attr(755,root,root) %{_bindir}/smbtree
1172 %{_mandir}/man8/net.8*
1173 %{_mandir}/man8/smbmnt.8*
1174 %{_mandir}/man8/smbmount.8*
1175 %{_mandir}/man8/smbumount.8*
1176 %{_mandir}/man8/mount.cifs.8*
1177 %attr(755,root,root) %{_bindir}/nmblookup
1178 %attr(755,root,root) %{_bindir}/smbclient
1179 %attr(755,root,root) %{_bindir}/smbtar
1180 %attr(755,root,root) %{_bindir}/smbcacls
1181 %{_mandir}/man1/smbtar.1*
1182 %{_mandir}/man1/smbtree.1*
1183 %{_mandir}/man1/smbclient.1*
1184 %{_mandir}/man1/nmblookup.1*
1185 %{_mandir}/man1/smbcacls.1*
1186 %{_mandir}/man1/smbsh.1*
1187 %attr(755,root,root) %{_bindir}/rpcclient
1188 %{_mandir}/man1/rpcclient.1*
1189 %attr(755,root,root) %{_bindir}/findsmb
1190 %{_mandir}/man1/findsmb.1*
1193 %defattr(644,root,root,755)
1194 %doc README Manifest WHATSNEW.txt
1195 %doc Roadmap docs/*.pdf docs/registry/*
1196 %doc docs/htmldocs/*.* docs/{history,THANKS}
1197 %dir %{_sysconfdir}/samba
1198 %attr(664,root,fileshare) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smb.conf
1199 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/lmhosts
1200 %dir %{_libdir}/%{name}
1201 %{_libdir}/%{name}/*.dat
1202 %attr(755,root,root) %{_bindir}/testparm
1203 %attr(755,root,root) %{_bindir}/testprns
1204 %attr(755,root,root) %{_bindir}/ntlm_auth
1205 %attr(755,root,root) %{_bindir}/smbcquotas
1206 %attr(755,root,root) %{_bindir}/profiles
1207 %attr(755,root,root) %{_bindir}/pdbedit
1208 %attr(755,root,root) %{_bindir}/vfstest
1209 %dir %{_libdir}/%{name}/charset
1210 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1211 %{_mandir}/man1/editreg.1*
1212 %{_mandir}/man1/testparm.1*
1213 %{_mandir}/man1/testprns.1*
1214 %{_mandir}/man1/ntlm_auth.1*
1215 %{_mandir}/man1/smbcquotas.1*
1216 %{_mandir}/man1/profiles.1*
1217 %{_mandir}/man1/vfstest.1*
1219 %{_mandir}/man1/log2pcap.1*
1221 %{_mandir}/man5/smb.conf.5*
1222 %{_mandir}/man5/lmhosts.5*
1225 %defattr(644,root,root,755)
1226 #%doc swat/README* swat/help/*
1228 %attr(755,root,root) %{_sbindir}/swat
1229 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat
1230 %dir %{_datadir}/swat
1231 %{_datadir}/swat/help
1232 %{_datadir}/swat/images
1233 %{_datadir}/swat/include
1234 %dir %{_datadir}/swat/lang
1235 %lang(ja) %{_datadir}/swat/lang/ja
1236 %lang(tr) %{_datadir}/swat/lang/tr
1237 %{_datadir}/swat/using_samba
1238 %lang(de) %{_libdir}/%{name}/de.msg
1239 %{_libdir}/%{name}/en.msg
1240 %lang(fr) %{_libdir}/%{name}/fr.msg
1241 %lang(it) %{_libdir}/%{name}/it.msg
1242 %lang(ja) %{_libdir}/%{name}/ja.msg
1243 %lang(nl) %{_libdir}/%{name}/nl.msg
1244 %lang(pl) %{_libdir}/%{name}/pl.msg
1245 %lang(tr) %{_libdir}/%{name}/tr.msg
1246 %{_mandir}/man8/swat.8*
1249 %files -n python-samba
1250 %defattr(644,root,root,755)
1251 %dir %{py_sitedir}/samba
1252 %attr(755,root,root) %{py_sitedir}/samba/*.so
1253 %{py_sitedir}/samba/*.py
1254 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1255 %doc source/python/examples
1258 %files -n pam-pam_smbpass
1259 %defattr(644,root,root,755)
1260 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1261 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1263 %files -n libsmbclient
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1267 %files -n libsmbclient-devel
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_libdir}/libsmbclient.so
1270 %{_includedir}/libsmbclient.h
1272 %files -n libsmbclient-static
1273 %defattr(644,root,root,755)
1274 %{_libdir}/libsmbclient.a
1277 %defattr(644,root,root,755)
1278 %attr(755,root,root) %{_bindir}/smbget
1279 %{_mandir}/man1/smbget.1*
1280 %{_mandir}/man5/smbgetrc.5*
1283 %files -n cups-backend-smb
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_bindir}/smbspool
1286 %attr(755,root,root) %{cups_serverbin}/backend/smb
1287 %{_mandir}/man8/smbspool.8*
1291 %defattr(644,root,root,755)
1292 %attr(755,root,root) %{_vfsdir}/audit.so
1293 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1294 %attr(755,root,root) %{_vfsdir}/full_audit.so
1297 %defattr(644,root,root,755)
1298 %attr(755,root,root) %{_vfsdir}/cap.so
1300 %files vfs-default_quota
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_vfsdir}/default_quota.so
1304 %files vfs-expand_msdfs
1305 %defattr(644,root,root,755)
1306 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1308 %files vfs-fake_perms
1309 %defattr(644,root,root,755)
1310 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1313 %defattr(644,root,root,755)
1314 %attr(755,root,root) %{_vfsdir}/netatalk.so
1317 %defattr(644,root,root,755)
1318 %attr(755,root,root) %{_vfsdir}/readonly.so
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_vfsdir}/recycle.so
1324 %files vfs-shadow_copy
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1328 %files vfs-vscan-clamav
1329 %defattr(644,root,root,755)
1330 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1331 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-clamav.conf
1332 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1334 %files vfs-vscan-fprot
1335 %defattr(644,root,root,755)
1336 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1337 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fprotd.conf
1338 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1340 %files vfs-vscan-fsav
1341 %defattr(644,root,root,755)
1342 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1343 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fsav.conf
1344 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1346 %files vfs-vscan-kavp
1347 %defattr(644,root,root,755)
1348 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1349 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-kavp.conf
1350 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1352 %files vfs-vscan-mcafee
1353 %defattr(644,root,root,755)
1354 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1355 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1356 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1359 %files vfs-vscan-mks
1360 %defattr(644,root,root,755)
1361 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1362 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mks32.conf
1363 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1366 %files vfs-vscan-openantivirus
1367 %defattr(644,root,root,755)
1368 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1369 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-oav.conf
1370 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1372 %files vfs-vscan-sophos
1373 %defattr(644,root,root,755)
1374 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1375 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-sophos.conf
1376 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1378 %files vfs-vscan-symantec
1379 %defattr(644,root,root,755)
1380 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1381 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-icap.conf
1382 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1384 %files vfs-vscan-trend
1385 %defattr(644,root,root,755)
1386 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1387 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-trend.conf
1388 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1390 %files -n openldap-schema-samba
1391 %defattr(644,root,root,755)
1392 %{schemadir}/*.schema