3 # - look into other distro specs for valid %descriptions for samba 3
6 %bcond_without ads # without ActiveDirectory support
7 %bcond_without cups # without CUPS support
8 %bcond_without krb5 # without Kerberos5/Heimdal support
9 %bcond_without ldap # without LDAP support
10 %bcond_without mysql # without MySQL support
11 %bcond_without pgsql # without PostgreSQL support
12 %bcond_without python # without python libs/utils
13 %bcond_with ldapsam # with LDAP SAM 2.2 based auth (instead of smbpasswd)
15 # ADS requires krb5 and LDAP
16 %if %{without krb5} || %{without ldap}
19 %define vscan_version 0.3.6
21 Summary(cs): Server SMB
22 Summary(da): SMB server
23 Summary(de): SMB-Server
24 Summary(es): El servidor SMB
25 Summary(fi): SMB-palvelin
26 Summary(fr): Serveur SMB
27 Summary(it): Server SMB
28 Summary(ja): Samba SMB ¥µ¡¼¥Ð¡¼
29 Summary(ko): »ï¹Ù SMB ¼¹ö
30 Summary(pl): Serwer SMB
31 Summary(pt_BR): Cliente e servidor SMB
32 Summary(ru): SMB ËÌÉÅÎÔ É ÓÅÒ×ÅÒ
33 Summary(tr): SMB sunucusu
34 Summary(uk): SMB Ë̦¤ÎÔ ÔÁ ÓÅÒ×ÅÒ
35 Summary(zh_CN): Samba ¿Í»§¶ËºÍ·þÎñÆ÷
41 Group: Networking/Daemons
42 Source0: http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
43 # Source0-md5: ebee37e66a8b5f6fd328967dc09088e8
47 Source4: %{name}.sysconfig
48 Source5: %{name}.logrotate
50 Source7: http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
51 # Source7-md5: 68c9d099d942d85e68d96804b26ac788
53 Source9: winbind.sysconfig
54 Patch0: %{name}-statfs-workaround.patch
55 Patch1: %{name}-lib64.patch
56 Patch2: %{name}-setup-python.patch
57 Patch3: %{name}-FHS.patch
58 Patch4: %{name}-case_insensitive_sql_operator.patch
59 URL: http://www.samba.org/
60 BuildRequires: acl-devel
61 BuildRequires: autoconf
62 BuildRequires: automake
63 %{?with_cups:BuildRequires: cups-devel}
64 %{?with_krb5:BuildRequires: heimdal-devel}
65 BuildRequires: libmagic-devel
66 BuildRequires: libtool >= 2:1.4d
67 BuildRequires: libxml2-devel
69 BuildRequires: mysql-devel
70 BuildRequires: mysql-extras
73 BuildRequires: postgresql-devel
75 BuildRequires: ncurses-devel >= 5.2
76 %{?with_ldap:BuildRequires: openldap-devel}
77 BuildRequires: openssl-devel >= 0.9.7d
78 BuildRequires: pam-devel > 0.66
79 BuildRequires: popt-devel
80 BuildRequires: readline-devel >= 4.2
81 BuildRequires: xfsprogs-devel
82 %{?with_python:BuildRequires: python-devel}
84 PreReq: setup >= 2.4.6-7
85 Requires(post,preun): /sbin/chkconfig
86 Requires: %{name}-common = %{epoch}:%{version}-%{release}
89 Obsoletes: samba-vfs-block
90 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
92 %define _vfsdir %{_libdir}/%{name}/vfs
93 %define _sambahome /home/services/samba
95 %define cups_serverbin %{_libdir}/cups
97 %define schemadir /usr/share/openldap/schema
100 Samba provides an SMB server which can be used to provide network
101 services to SMB (sometimes called "Lan Manager") clients, including
102 various versions of MS Windows, OS/2, and other Linux machines. Samba
103 also provides some SMB clients, which complement the built-in SMB
104 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
105 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
107 This release is known as the "Locking Update" and has full support for
108 Opportunistic File Locking. In addition this update includes native
109 support for Microsoft encrypted passwords, improved browse list and
110 WINS database management.
112 Please refer to the WHATSNEW.txt document for fixup information. This
113 binary release includes encrypted password support. Please read the
114 smb.conf file for implementation details.
117 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
118 slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
119 klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
120 Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
121 souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
122 TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
123 NetBIOS od spoleènosti Microsoft.
126 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
127 services til SMB (også kaldet "Lan Manager") klienter, incl.
128 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
129 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
130 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
131 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
135 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
136 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
137 verschiedenen Versionen von MS Windows-, OS/2- und anderen
138 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
139 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
140 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
141 (Microsoft Raw NetBIOS frame)-Protokoll.
144 Samba provee un servidor SMB que se puede usar para ofrecer servicios
145 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
146 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
147 Linux. Samba también ofrece algunos clientes SMB, que complementan el
148 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
149 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
153 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
154 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
155 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
156 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
157 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
158 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
159 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
163 Samba fornisce un server SMB che puo` essere usato per fornire servizi
164 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
165 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
166 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
169 Samba ¤Ï MS Windows ¤ÎÍÍ¡¹¤Ê¥Ð¡¼¥¸¥ç¥ó¡¢OS/2 ¤½¤·¤Æ¾¤Î Linux ¥Þ¥·¥ó
170 ¤ò´Þ¤à SMB (¤¿¤Þ¤Ë "Lan Manager" ¤È¸Æ¤Ð¤ì¤ë)
171 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Í¥Ã¥È¥ï¡¼¥¯ ¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë SMB
172 ¥µ¡¼¥Ð¤òÄ󶡤·¤Þ¤¹¡£Samba ¤Ï NetBIOS over TCP/IP (NetBT)
173 ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¡¢ NetBEUI(Microsoft Raw NetBIOS frame)
174 ¥×¥í¥È¥³¥ë¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£
176 Samba ¤Û¤È¤ó¤ÉÆ°ºî¤¹¤ë NT ¥É¥á¥¤¥ó¥³¥ó¥È¥í¡¼¥ë¤Îµ¡Ç½¤òÆÃħ¤È¤·¡¢
177 ¹¥¤¤Ê¥Ö¥é¥¦¥¶¤ò»È¤Ã¤Æ samba ¤Î smb.conf ¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È´ÉÍý¤¹¤ë
178 ¿·¤·¤¤ SWAT (Samba Web Administration Tool) ¤ò´Þ¤ß¤Þ¤¹¡£
179 Ìܲ¼¤Î¤È¤³¤í¤³¤ì¤Ï inetd ¤òÄ̤·¤Æ TCP ¥Ý¡¼¥È 901 ¤Ç͸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
182 »ï¹Ù´Â MS Windows, OS/2, ȤÀº ´Ù¸¥ ¸®´ª½º ¸Ó½ÅÀ» Æ÷ÇÔÇÏ´Â SMB(ȤÀº
183 "Lan Manager"¶ó°íµµ ºÒ¸²) Ŭ¶óÀ̾ðÆ®¸¦ ³×Æ®¿öÅ© ¼ºñ½º À§ÇØ »ç¿ëÇÒ ¼ö
184 ÀÖ´Â SMB ¼¹ö¸¦ Á¦°øÇÑ´Ù. »ï¹Ù´Â TCP/IP ÇÁ·ÎÅäÄÝÀ» ÅëÇØ NetBIOS¸¦
185 »ç¿ëÇÏ°í NetBEUI (Microsoft Raw NetBIOS ÇÁ·¹ÀÓ) ÇÁ·ÎÅäÄÝÀº ÇÊ¿äÇÏÁö
188 »ï¹Ù-2.2 ÀÇ Æ¯Â¡Àº NT µµ¸ÞÀÎ ÄÁÆ®·ÑÀÇ ¼º´ÉÀ¸·Î ÀÛ¾÷À» ÇÏ°í, »õ·Î¿î
189 SWAT(Samba Web Administration Tool)·Î À¥ºê¶ó¿ìÀú¸¦ »ç¿ëÇÏ¿© ¿ø°ÝÁö¿¡¼
190 »ï¹ÙÀÇ smb.conf ÆÄÀÏÀ» °ü¸®Çϵµ·Ï ÇÑ´Ù. ÀÌ·¯ÇÑ °æ¿ì inetd µ¥¸óÀ» ÅëÇØ
191 TCP 901 Æ÷Æ®¸¦ »ç¿ëÇÏ°Ô µÈ´Ù.
193 ÃÖ±Ù Á¤º¸·Î WHATSNEW.txt ÆÄÀÏÀÇ ¹®¼¸¦ Âü°íÇϵµ·Ï ÇÑ´Ù. ¹ÙÀ̳ʸ®ÀÇ
194 ¸±¸®Áî´Â ¾ÏÈ£ÈµÈ Æнº¿öµå¸¦ Á¦°øÇÑ´Ù.
197 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
198 us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
199 takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. W pakiecie
200 znajduje siê równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u
201 NetBIOS po TCP/IP (NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma
202 pe³ne wsparcie dla blokowania plików, a tak¿e wsparcie dla kodowania
203 hase³ w standardzie MS i zarz±dzania baz± WINS.
205 %description -l pt_BR
206 O Samba provê um servidor SMB que pode ser usado para oferecer
207 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
208 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
209 máquinas Linux. O Samba também fornece alguns clientes SMB, que
210 complementam o sistema de arquivos SMB do Linux. O Samba usa o
211 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
212 NetBEUI (Microsoft Raw NetBIOS frame).
214 O Samba inclui a maioria das características de um servidor de
215 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
216 permite que o arquivo smb.conf seja gerenciado remotamente através de
217 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
221 Samba ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ÓÅÒ×ÅÒ, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ
222 ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ× SMB (ÉÎÏÇÄÁ ÎÁÚÙ×ÁÅÍÙÍ "Lan Manager")
223 ËÌÉÅÎÔÁÍ, ×ËÌÀÞÁÑ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ×ÅÒÓÉÉ MS Windows, OS/2, É ÄÒÕÇÉÅ
224 Linux-ÍÁÛÉÎÙ. Samba ÔÁËÖÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ËÌÉÅÎÔÏ×, ËÏÔÏÒÙÅ ÒÁÂÏÔÁÀÔ
225 ÓÏ ×ÓÔÒÏÅÎÎÏÊ × Linux ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB.
227 Samba ÉÓÐÏÌØÚÕÅÔ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) É ÎÅ ÎÕÖÄÁÅÔÓÑ ×
228 ÐÒÏÔÏËÏÌÅ NetBEUI (Microsoft Raw NetBIOS frame).
230 Samba ÓÏÄÅÒÖÉÔ ÐÒÁËÔÉÞÅÓËÉ ÒÁÂÏÔÁÀÝÕÀ ÒÅÁÌÉÚÁÃÉÀ NT Domain Control É
231 ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool), ËÏÔÏÒÙÊ ÐÏÚ×ÏÌÑÅÔ
232 ÕÄÁÌÅÎÎÏ ÕÐÒÁ×ÌÑÔØ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÍ ÆÁÊÌÏÍ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
233 ÌÀÂÉÍÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÁ ÞÔÏ ÏÎ ÒÁÚÒÅÛÅÎ ÞÅÒÅÚ inetd ÎÁ TCP-ÐÏÒÔÕ
237 Samba ÎÁÄÁ¤ SMB-ÓÅÒ×ÅÒ, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ ÎÁÄÁÎÎÑ
238 ÍÅÒÅÖÅ×ÉÈ ÓÅÒ×¦Ó¦× SMB (ÝÏ §È ¦ÎÏĦ ÎÁÚÉ×ÁÀÔØ "Lan Manager") Ë̦¤ÎÔÁÍ,
239 ×ËÌÀÞÁÀÞÉ Ò¦ÚÎÏÍÁΦÔΦ ×ÅÒÓ¦§ MS Windows, OS/2, ÔÁ ¦ÎÛ¦ Linux-ÍÁÛÉÎÉ.
240 Samba ÔÁËÏÖ ÎÁÄÁ¤ SMB-Ë̦¤ÎÔ¦×, ÝÏ ÐÒÁÃÀÀÔØ Ú ×ÂÕÄÏ×ÁÎÏÀ × Linux
241 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB.
243 Samba ×ÉËÏÒÉÓÔÏ×Õ¤ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) ÔÁ ÎÅ ÐÏÔÒÅÂÕ¤
244 ÐÒÏÔÏËÏÌÕ NetBEUI (Microsoft Raw NetBIOS frame).
246 Samba ͦÓÔÉÔØ ÍÁÊÖÅ ÐÒÁÃÀÀÞÕ ÒÅÁÌÉÚÁæÀ NT Domain Control ÔÁ ÎÏ×ÙÊ
247 SWAT (Samba Web Administration Tool), ËÏÔÒÉÊ ÄÏÚ×ÏÌѤ צÄÄÁÌÅÎÏ
248 ËÅÒÕ×ÁÔÉ ËÏÎƦÇÕÒÁæÊÎÉÍ ÆÁÊÌÏÍ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
249 ÕÌÀÂÌÅÎÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÉ ÝÏ ×¦Î ÄÏÚ×ÏÌÅÎÉÊ ÞÅÒÅÚ inetd ÎÁ
253 Summary: Samba Web Administration Tool
254 Summary(es): Samba SWAT and Web documentation
255 Summary(pl): Narzêdzie administracyjne serwisu Samba
256 Summary(pt_BR): Samba SWAT e documentação Web
257 Summary(ru): ðÒÏÇÒÁÍÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ SMB-ÓÅÒ×ÅÒÁ Samba
258 Summary(uk): ðÒÏÇÒÁÍÁ ËÏÎÆÉÇÕÒÁæ§ SMB-ÓÅÒ×ÅÒÁ Samba
259 Group: Networking/Admin
260 Requires: %{name} = %{epoch}:%{version}-%{release}
262 Requires: rc-inetd >= 0.8.2
266 swat allows a Samba administrator to configure the complex smb.conf
267 file via a Web browser. In addition, a swat configuration page has
268 help links to all the configurable options in the smb.conf file
269 allowing an administrator to easily look up the effects of any change.
271 %description swat -l pl
272 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
275 %description swat -l pt_BR
276 SWAT - ferramentada Web de configuração do Samba.
278 %description swat -l ru
279 ðÁËÅÔ samba-swat ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool),
280 ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ ÆÁÊÌÁ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
281 ÌÀÂÉÍÏÇÏ Web-ÂÒÁÕÚÅÒÁ.
283 %description swat -l uk
284 ðÁËÅÔ samba-swat ͦÓÔÉÔØ ÎÏ×ÉÊ SWAT (Samba Web Administration Tool),
285 ÄÌÑ ÄÉÓÔÁÎæÊÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ ÆÁÊÌÕ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
286 ÕÌÀÂÌÅÎÏÇÏ Web-ÂÒÁÕÚÅÒÕ.
289 Summary: Samba MySQL password database plugin
290 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie MySQL
291 Group: Networking/Daemons
292 Requires: %{name} = %{epoch}:%{version}-%{release}
294 %description pdb-mysql
295 Samba MySQL password database plugin.
297 %description pdb-mysql -l pl
298 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
301 Summary: Samba PostgreSQL password database plugin
302 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie PostgreSQL
303 Group: Networking/Daemons
304 Requires: %{name} = %{epoch}:%{version}-%{release}
306 %description pdb-pgsql
307 Samba MySQL password database plugin.
309 %description pdb-pgsql -l pl
310 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
313 Summary: Samba XML password database plugin
314 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie XML
315 Group: Networking/Daemons
316 Requires: %{name} = %{epoch}:%{version}-%{release}
319 Samba XML password database plugin.
321 %description pdb-xml -l pl
322 Wtyczka Samby do przechowywania hase³ w bazie XML.
325 Summary: Samba client programs
326 Summary(es): Cliente SMB de Samba
327 Summary(ja): Samba (SMB) ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
328 Summary(pl): Klienci serwera Samba
329 Summary(pt_BR): Cliente SMB do samba
330 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ Samba (SMB)
331 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ Samba (SMB)
332 Group: Applications/Networking
333 Requires: %{name}-common = %{epoch}:%{version}-%{release}
334 Obsoletes: mount-cifs
338 Samba-client provides some SMB clients, which complement the build-in
339 SMB filesystem in Linux. These allow accessing of SMB shares and
340 printing to SMB printers.
342 %description client -l pt_BR
343 O pacote samba-clientes prove alguns clientes SMB, que complementam o
344 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
345 e também, à impressoras SMB.
347 %description client -l es
348 Cliente SMB de Samba.
350 %description client -l ja
351 Samba-client ¤Ï Linux ¾å¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë SMB ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÊ䤦 SMB
352 ¥¯¥é¥¤¥¢¥ó¥È¤òÄ󶡤·¤Þ¤¹¡£¤³¤ì¤é¤Ï SMB ¶¦Í¤Î¥¢¥¯¥»¥¹¤È SMB
353 ¥×¥ê¥ó¥¿¤Ø¤Î°õºþ¤òµö²Ä¤·¤Þ¤¹¡£
355 %description client -l pl
356 Samba-client dostarcza programy uzupe³niaj±ce obs³ugê systemu plików
357 SMB zawart± w j±drze. Pozwalaj± one na wspó³dzielenie zasobów SMB i
358 drukowanie w sieci SMB.
360 %description client -l pt_BR
361 O pacote samba-clientes prove alguns clientes SMB, que complementam o
362 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
363 e também, à impressoras SMB.
365 %description client -l ru
366 ðÁËÅÔ samba-client ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÅËÏÔÏÒÙÅ ËÌÉÅÎÔÙ SMB ÄÌÑ ÒÁÂÏÔÙ ÓÏ
367 ×ÓÔÒÏÅÎÎÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB × Linux. üÔÉ ËÌÉÅÎÔÙ ÐÏÚ×ÏÌÑÀÔ
368 ÐÏÌÕÞÁÔØ ÄÏÓÔÕÐ Ë ÒÁÚÄÅÌÑÅÍÙÍ ËÁÔÁÌÏÇÁÍ SMB É ÐÅÞÁÔØ ÎÁ SMB-ÐÒÉÎÔÅÒÙ.
370 %description client -l uk
371 ðÁËÅÔ samba-client ÎÁÄÁ¤ ÄÅÑ˦ Ë̦¤ÎÔÉ SMB ÄÌÑ ÒÏÂÏÔÉ Ú¦ ×ÂÕÄÏ×ÁÎÏÀ
372 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB × Linux. 㦠Ë̦¤ÎÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÕ×ÁÔÉ ÄÏÓÔÕÐ
373 ÄÏ ËÁÔÁÌÏÇ¦× ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ SMB ÔÁ ÄÒÕË ÎÁ SMB-ÐÒ¦ÎÔÅÒÉ.
376 Summary: Files used by both Samba servers and clients
377 Summary(es): Common files between samba and samba-clients
378 Summary(ja): Samba ¥µ¡¼¥Ð¡¼¤È¥¯¥é¥¤¥¢¥ó¥È¤Ç»ÈÍѤµ¤ì¤ë¥×¥í¥°¥é¥à
379 Summary(pl): Pliki u¿ywane przez serwer i klientów Samba
380 Summary(pt_BR): Arquivos em comum entre samba e samba-clients
381 Summary(ru): æÁÊÌÙ, ÉÓÐÏÌØÚÕÅÍÙÅ ËÁË ÓÅÒ×ÅÒÏÍ, ÔÁË É ËÌÉÅÎÔÏÍ Samba
382 Summary(uk): æÁÊÌÉ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÑË ÓÅÒ×ÅÒÏÍ, ÔÁË ¦ Ë̦¤ÎÔÏÍ Samba
383 Group: Networking/Daemons
386 Samba-common provides files necessary for both the server and client
389 %description common -l ja
390 Samba-common ¤Ï Samba ¤Î¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤ÎξÊý¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç
391 »ÈÍѤµ¤ì¤ë¥Õ¥¡¥¤¥ë¤òÄ󶡤·¤Þ¤¹¡£
393 %description common -l pl
394 Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
397 %description common -l pt_BR
398 Arquivos em comum entre os pacotes samba e samba-clients.
400 %description common -l ru
401 Samba-common ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ ËÁË ËÌÉÅÎÔÁ, ÔÁË É
404 %description common -l uk
405 Samba-common ͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ ÑË Ë̦¤ÎÔÁ, ÔÁË ¦
409 Summary: Samba-winbind daemon, utilities and documentation
410 Summary(pl): Demon samba-winbind, narzêdzia i dokumentacja
411 Group: Networking/Daemons
412 Requires(post,preun): /sbin/chkconfig
413 Requires: %{name}-common = %{epoch}:%{version}-%{release}
416 Provides the winbind daemon and testing tools to allow authentication
417 and group/user enumeration from a Windows or Samba domain controller.
419 %description winbind -l pl
420 Pakiet zawiera demona winbind oraz narzêdzia testowe. Umo¿liwia
421 uwierzytelnianie i wyliczanie grup/u¿ytkowników z kontrolera domeny
425 Summary: Name Service Switch service for WINS
426 Summary(pl): Us³uga Name Service Switch dla WINS
428 Requires: %{name}-common = %{epoch}:%{version}-%{release}
430 %description -n nss_wins
431 Provides the libnss_wins shared library which resolves NetBIOS names
434 %description -n nss_wins -l pl
435 Biblioteka dzielona libnss_wins rozwi±zuj±ca nazwy NetBIOS na adresy
438 %package -n pam-pam_smbpass
439 Summary: PAM Samba Password Module
440 Summary(pl): Modu³ PAM smbpass
442 Obsoletes: pam_smbpass
444 %description -n pam-pam_smbpass
445 PAM module which can be used on conforming systems to keep the
446 smbpasswd (Samba password) database in sync with the unix password
449 %description -n pam-pam_smbpass -l pl
450 Modu³ PAM, który mo¿e byæ u¿ywany do trzymania pliku smbpasswd (has³a
451 Samby) zsynchronizowanego z has³ami uniksowymi.
453 %package -n libsmbclient
454 Summary: libsmbclient - samba client library
455 Summary(pl): libsmbclient - biblioteka klienta samby
458 %description -n libsmbclient
459 libsmbclient - library that allows to use samba clients functions.
461 %description -n libsmbclient -l pl
462 libsmbclient - biblioteka pozwalaj±ca korzystaæ z funcji klienta
465 %package -n libsmbclient-devel
466 Summary: libsmbclient - samba client library
467 Summary(pl): libsmbclient - biblioteka klienta samby
468 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
469 Group: Development/Libraries
470 Requires: libsmbclient = %{epoch}:%{version}-%{release}
472 %description -n libsmbclient-devel
473 Header files for libsmbclient.
475 %description -n libsmbclient-devel -l pl
476 Pliki nag³ówkowe dla libsmbclient.
478 %description -n libsmbclient-devel -l pt_BR
479 Arquivos de inclusão, bibliotecas e documentação necessários para
480 desenvolver aplicativos clientes para o samba.
482 %package -n libsmbclient-static
483 Summary: Static version of libsmbclient - samba client library
484 Summary(pl): Statyczna wersja libsmbclient - biblioteki klienta samby
485 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
486 Group: Development/Libraries
487 Requires: libsmbclient = %{epoch}:%{version}-%{release}
489 %description -n libsmbclient-static
490 Static libsmbclient library.
492 %description -n libsmbclient-static -l pl
493 Statyczna biblioteka libsmbclient.
496 Summary: A utility for retrieving files using the SMB protocol
497 Summary(pl): Narzêdzie do pobierania plików protoko³em SMB
498 Group: Applications/Networking
500 %description -n smbget
501 wget-like utility for download files over SMB.
503 %description -n smbget -l pl
504 Narzêdzie podobne do wgeta do pobierania plików protoko³em SMB
505 u¿ywanym w sieciach MS Windows.
507 %package -n cups-backend-smb
508 Summary: CUPS backend for printing to SMB printers
509 Summary(pl): Backend CUPS-a drukuj±cy na drukarkach SMB
510 Group: Applications/Printing
511 Requires: %{name}-client = %{epoch}:%{version}-%{release}
514 %description -n cups-backend-smb
515 CUPS backend for printing to SMB printers.
517 %description -n cups-backend-smb -l pl
518 Backend CUPS-a drukuj±cy na drukarkach SMB.
520 %package -n python-samba
521 Summary: Samba python tools and libraries
522 Summary(pl): Narzêdzia i biblioteki pythona do samby
523 Group: Applications/Networking
524 %pyrequires_eq python-libs
526 %description -n python-samba
527 Samba python tools and libraries.
529 %description -n python-samba -l pl
530 Narzêdzia i biblioteki pythona do samby.
533 Summary: VFS module to audit file access
534 Summary(pl): Modu³ VFS do monitorowania operacji na plikach
535 Group: Networking/Daemons
536 Requires: %{name} = %{epoch}:%{version}-%{release}
538 %description vfs-audit
539 A simple module to audit file access to the syslog facility. The
540 following operations are logged: share connect/disconnect, directory
541 opens/create/remove, file open/close/rename/unlink/chmod.
543 %description vfs-audit -l pl
544 Proste modu³y do monitorowania dostêpu do plików na serwerze samba do
545 do sysloga. Monitorowane s± nastêpuj±ce operacje:
546 pod³±czenie/od³±czenie do zasobu, otwarcie/utworzenie/zmiana nazwy
547 katalogu, otwarcie/zamknêcie/zmiana nazwy/skasowania/zmiana praw
548 plików. Zawiera modu³y audit, extd_audit i full_audit
551 Summary: VFS module for CAP and samba compatibility
552 Summary(pl): Modu³ VFS zgodno¶ci z CAP (Columbia AppleTalk Program)
553 Group: Networking/Daemons
554 Requires: %{name} = %{epoch}:%{version}-%{release}
557 Convert an incoming Shift-JIS character to the 3 byte hex
558 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
559 This is used for compatibility between Samba and CAP.
561 %description vfs-cap -l pl
562 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
563 reprezentacji u¿ywanej przez program Columbia AppleTalk Program (CAP).
565 %package vfs-default_quota
566 Summary: VFS module to store default quotas in a specified quota record
567 Summary(pl): Modu³ VFS do zapisywania domy¶lnych limitów w okre¶lonym rekordzie
568 Group: Networking/Daemons
569 Requires: %{name} = %{epoch}:%{version}-%{release}
571 %description vfs-default_quota
572 This VFS modules stores default quotas in a specified quota record.
574 %description vfs-default_quota -l pl
575 Ten modu³ VFS zapisuje domy¶lne limity (quoty) w okre¶lonym rekordzie
578 %package vfs-expand_msdfs
579 Summary: VFS module for hosting a Microsoft Distributed File System Tree
580 Summary(pl): Modu³ VFS obs³ugi Microsoft Distributed File System
581 Group: Networking/Daemons
582 Requires: %{name} = %{epoch}:%{version}-%{release}
584 %description vfs-expand_msdfs
585 A VFS module for hosting a Microsoft Distributed File System Tree.
587 The Distributed File System (DFS) provides a means of separating the
588 logical view of files and directories that users see from the actual
589 physical locations of these resources on the network. It allows for
590 higher availability, smoother storage expansion, load balancing, and
593 %description vfs-expand_msdfs -l pl
594 Modu³ VFS do udostêpniania drzewa systemu plików Microsoft Distributed
597 Distributed File System (DFS) umo¿liwia rozdzielanie logicznego widoku
598 plików i katalogów widocznych przez u¿ytkowników z fizycznego
599 umiejscowienia tych zasobów w sieci. Pozwala to na wy¿sz± dostêpno¶æ,
600 p³ynniejsze powiêkszanie przestrzeni, rozdzielanie obci±¿enia itp.
602 %package vfs-fake_perms
603 Summary: VFS module to report read-only fires as writable
604 Summary(pl): Modu³ VFS udaj±cy, ¿e pliki tylko do odczytu s± zapisywalne
605 Group: Networking/Daemons
606 Requires: %{name} = %{epoch}:%{version}-%{release}
608 %description vfs-fake_perms
609 This module allow Roaming Profile files and directories to be set (on
610 the Samba server under UNIX) as read only. This module will, if
611 installed on the Profiles share, report to the client that the Profile
612 files and directories are writeable. This satisfies the client even
613 though the files will never be overwritten as the client logs out or
616 %description vfs-fake_perms -l pl
617 Ten modu³ pozwala na ustawienie plików i katalogów z wêdruj±cych
618 profili (Roaming Profiles) jako tylko do odczytu. Modu³ ten w
619 przypadku zainstalowania na udziale z profilami bêdzie zg³asza³
620 klientom, ¿e pliki i katalogi z profilu s± zapisywane. To wystarczy
621 klientom pomimo, ¿e pliki nie zostan± nigdy nadpisane przy logowaniu
622 lub wylogowywaniu klienta.
624 %package vfs-netatalk
625 Summary: VFS module for ease co-existence of samba and netatalk
626 Summary(pl): Modu³ VFS u³atwiaj±cy wspó³pracê serwisów samba i netatalk
627 Group: Networking/Daemons
628 Requires: %{name} = %{epoch}:%{version}-%{release}
630 %description vfs-netatalk
631 Package contains a netatalk VFS module for ease co-existence of Samba
632 and netatalk file sharing services.
634 %description vfs-netatalk -l pl
635 Pakiet zawiera modu³ VFS netatalk umo¿liwiaj±cy wspó³pracê us³ug samba
636 i netatalk przy udostêpnianiu zasobów.
639 Summary: VFS module to add recycle bin facility to a samba share
640 Summary(pl): Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby
641 Group: Networking/Daemons
642 Requires: %{name} = %{epoch}:%{version}-%{release}
644 %description vfs-recycle
645 VFS module to add recycle bin facility to a samba share.
647 %description vfs-recycle -l pl
648 Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby.
650 %package vfs-readonly
651 Summary: VFS module for read-only limitation for specified share
652 Summary(pl): Modu³ VFS do ograniczania okre¶lonego udzia³u tylko do odczytu
653 Group: Networking/Daemons
654 Requires: %{name} = %{epoch}:%{version}-%{release}
656 %description vfs-readonly
657 This module performs a read-only limitation for specified share (or
658 all of them if it is loaded in a [global] section) based on period
659 definition in smb.conf.
661 %description vfs-readonly -l pl
662 Ten modu³ wprowadza ograniczenie tylko do odczytu dla okre¶lonego
663 udzia³u (lub wszystkich, je¶li jest wczytywany w sekcji [global]) w
664 oparciu o definicje okresów w smb.conf.
666 %package vfs-shadow_copy
667 Summary: VFS module to make automatic copy of data in samba share
668 Summary(pl): Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby
669 Group: Networking/Daemons
670 Requires: %{name} = %{epoch}:%{version}-%{release}
672 %description vfs-shadow_copy
673 VFS module to make automatic copy of data in samba share.
675 %description vfs-shadow_copy -l pl
676 Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby.
678 %package vfs-vscan-antivir
679 Summary: On-access virus scanning for samba using AntiVir
680 Summary(pl): Skaner antywirusowy online wykorzystuj±cy AntiVir
681 Group: Networking/Daemons
682 Requires: %{name} = %{epoch}:%{version}-%{release}
683 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
685 %description vfs-vscan-antivir
686 A vfs-module for samba to implement on-access scanning using the
687 AntiVir antivirus software (which must be installed to use this).
689 %description vfs-vscan-antivir -l pl
690 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
691 dostêpu do plików korzystaj±c z oprogramowania antywirusowego AntiVir
692 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
694 %package vfs-vscan-clamav
695 Summary: On-access virus scanning for samba using ClamAV
696 Summary(pl): Skaner antywirusowy online wykorzystuj±cy ClamAV
697 Group: Networking/Daemons
698 Requires: %{name} = %{epoch}:%{version}-%{release}
700 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
702 %description vfs-vscan-clamav
703 A vfs-module for samba to implement on-access scanning using the
704 ClamAV antivirus software (which must be installed to use this).
706 %description vfs-vscan-clamav -l pl
707 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
708 dostêpu do plików korzystaj±c z oprogramowania antywirusowego ClamAV
709 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
711 %package vfs-vscan-fprot
712 Summary: On-access virus scanning for samba using FPROT
713 Summary(pl): Skaner antywirusowy online wykorzystuj±cy FPROT
714 Group: Networking/Daemons
715 Requires: %{name} = %{epoch}:%{version}-%{release}
716 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
717 Obsoletes: vscan-fprot
719 %description vfs-vscan-fprot
720 A vfs-module for samba to implement on-access scanning using the FPROT
721 antivirus software (which must be installed to use this).
723 %description vfs-vscan-fprot -l pl
724 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
725 dostêpu do plików korzystaj±c z oprogramowania antywirusowego FPROT
726 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
728 %package vfs-vscan-fsav
729 Summary: On-access virus scanning for samba using F-Secure AntiVirus
730 Summary(pl): Skaner antywirusowy online wykorzystuj±cy F-Secure AntiVirus
731 Group: Networking/Daemons
732 Requires: %{name} = %{epoch}:%{version}-%{release}
733 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
734 Obsoletes: vscan-fsav
736 %description vfs-vscan-fsav
737 A vfs-module for samba to implement on-access scanning using the
738 F-Secure AntiVirus antivirus software (which must be installed to use
741 %description vfs-vscan-fsav -l pl
742 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
743 dostêpu do plików korzystaj±c z oprogramowania antywirusowego F-Secure
744 AntiVirus (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
746 %package vfs-vscan-kavp
747 Summary: On-access virus scanning for samba using Kaspersky AVP
748 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Kaspersky AVP
749 Group: Networking/Daemons
750 Requires: %{name} = %{epoch}:%{version}-%{release}
751 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
752 Obsoletes: vscan-kavp
754 %description vfs-vscan-kavp
755 A vfs-module for samba to implement on-access scanning using the
756 Kaspersky AVP antivirus software (which must be installed to use
759 %description vfs-vscan-kavp -l pl
760 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
761 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
762 Kaspersky AVP (które musi byæ zainstalowane, aby wykorzystaæ ten
765 %package vfs-vscan-mcafee
766 Summary: On-access virus scanning for samba using mcafee
767 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mcafee
768 Group: Networking/Daemons
769 Requires: %{name} = %{epoch}:%{version}-%{release}
771 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
772 Obsoletes: vscan-mcafee
774 %description vfs-vscan-mcafee
775 A vfs-module for samba to implement on-access scanning using the mcafee
776 antivirus software (which must be installed to use this).
778 %description vfs-vscan-mcafee -l pl
779 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
780 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mcafee
781 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
783 %package vfs-vscan-mks
784 Summary: On-access virus scanning for samba using mks
785 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mks
786 Group: Networking/Daemons
787 Requires: %{name} = %{epoch}:%{version}-%{release}
789 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
792 %description vfs-vscan-mks
793 A vfs-module for samba to implement on-access scanning using the mks
794 antivirus software (which must be installed to use this).
796 %description vfs-vscan-mks -l pl
797 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
798 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mks
799 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
801 %package vfs-vscan-openantivirus
802 Summary: On-access virus scanning for samba using OpenAntivirus
803 Summary(pl): Skaner antywirusowy online wykorzystuj±cy OpenAntiVirus
804 Group: Networking/Daemons
805 Requires: %{name} = %{epoch}:%{version}-%{release}
806 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
807 Obsoletes: vscan-openantivirus
809 %description vfs-vscan-openantivirus
810 A vfs-module for samba to implement on-access scanning using the
811 OpenAntivirus antivirus software (which must be installed to use
814 %description vfs-vscan-openantivirus -l pl
815 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
816 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
817 OpenAntiVirus.org (które musi byæ zainstalowane, aby wykorzystaæ ten
820 %package vfs-vscan-sophos
821 Summary: On-access virus scanning for samba using Sophos
822 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Sophos
823 Group: Networking/Daemons
824 Requires: %{name} = %{epoch}:%{version}-%{release}
825 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
826 Obsoletes: vscan-sophos
828 %description vfs-vscan-sophos
829 A vfs-module for samba to implement on-access scanning using the
830 Sophos antivirus software (which must be installed to use this).
832 %description vfs-vscan-sophos -l pl
833 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
834 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Sophos
835 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
837 %package vfs-vscan-symantec
838 Summary: On-access virus scanning for samba using Symantec
839 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Symantec
840 Group: Networking/Daemons
841 Requires: %{name} = %{epoch}:%{version}-%{release}
842 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
843 Obsoletes: vscan-symantec
845 %description vfs-vscan-symantec
846 A vfs-module for samba to implement on-access scanning using the
847 Symantec antivirus software (which must be installed to use this).
849 %description vfs-vscan-symantec -l pl
850 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
851 dostêpu do plików korzystaj±c z oprogramowania antywirusowego firmy
852 Symantec (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
854 %package vfs-vscan-trend
855 Summary: On-access virus scanning for samba using Trend
856 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Trend
857 Group: Networking/Daemons
858 Requires: %{name} = %{epoch}:%{version}-%{release}
859 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
860 Obsoletes: vscan-trend
862 %description vfs-vscan-trend
863 A vfs-module for samba to implement on-access scanning using the Trend
864 antivirus software (which must be installed to use this).
866 %description vfs-vscan-trend -l pl
867 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
868 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Trend
869 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
871 %package -n openldap-schema-samba
872 Summary: Samba LDAP schema
873 Summary(pl): Schemat LDAP dla samby
874 Group: Networking/Daemons
875 Requires(post,postun): sed >= 4.0
876 Requires: openldap-servers
878 %description -n openldap-schema-samba
879 This package contains samba.schema for openldap.
881 %description -n openldap-schema-samba -l pl
882 Ten pakiet zawiera schemat samby dla openldap-a.
887 %if "%{_lib}" == "lib64"
902 # Removed options (default or not supported by configure script)
905 # --without-smbwrapper \
906 # --with-sslinc=%{_prefix} \
909 # %{?with_ipv6:--with-ipv6} \
914 --with-libsmbclient \
917 --with%{!?with_ads:out}-ads \
918 --with-privatedir=%{_sysconfdir}/samba \
922 --with-swatdir=%{_datadir}/swat \
926 %{?with_python:--with-python} \
927 --with-expsam=xml,%{?with_mysql:mysql}%{?with_pgsql:,pgsql} \
928 %{?with_ldapsam:--with-ldapsam} \
929 --with%{!?with_ldap:out}-ldap \
930 --with%{!?with_krb5:out}-krb5
933 %{__make} everything pam_smbpass bin/smbget client/mount.cifs bin/vfstest
938 CFLAGS="%{rpmcflags} -fPIC"
942 cd samba-vscan-%{vscan_version}
943 cp -f /usr/share/automake/config.sub .
946 # Ugly workaround for release containing character, for samba major version > 3
947 # release is ignored (according to include/vscan-global.h)
948 sed -i -e 's/SAMBA_VERSION_RELEASE 14a/SAMBA_VERSION_RELEASE 14/' ../../../source/include/version.h
953 rm -rf $RPM_BUILD_ROOT
954 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
955 $RPM_BUILD_ROOT/var/{lock,log,log/archiv,spool}/samba \
956 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
960 DESTDIR=$RPM_BUILD_ROOT \
961 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
963 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
966 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
968 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
969 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
970 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
971 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
972 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
973 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
974 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
975 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
977 install source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
978 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
979 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
980 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
981 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
982 install source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security
983 install source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security
984 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
985 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
986 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
988 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
989 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
990 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
992 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
995 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
996 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
998 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
1000 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1003 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1004 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1007 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1008 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1010 rm -f docs/faq/*.{sgml,txt}
1011 rm -f docs/htmldocs/*.[0-9].html
1013 # we have this utility in tdb package
1014 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
1018 install -d $RPM_BUILD_ROOT%{py_sitedir}
1019 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1022 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1025 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1029 rm -rf $RPM_BUILD_ROOT
1032 /sbin/chkconfig --add smb
1033 if [ -r /var/lock/subsys/smb ]; then
1034 /etc/rc.d/init.d/smb restart >&2
1036 echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
1040 if [ "$1" = "0" ]; then
1041 if [ -r /var/lock/subsys/smb ]; then
1042 /etc/rc.d/init.d/smb stop >&2
1044 /sbin/chkconfig --del smb
1048 /sbin/chkconfig --add winbind
1049 if [ -r /var/lock/subsys/winbind ]; then
1050 /etc/rc.d/init.d/winbind restart >&2
1052 echo "Run \"/etc/rc.d/init.d/winbind start\" to start Winbind daemon."
1056 if [ "$1" = "0" ]; then
1057 if [ -r /var/lock/subsys/winbind ]; then
1058 /etc/rc.d/init.d/winbind stop >&2
1060 /sbin/chkconfig --del winbind
1064 if [ -f /var/lock/subsys/rc-inetd ]; then
1065 /etc/rc.d/init.d/rc-inetd reload 1>&2
1067 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
1071 if [ -f /var/lock/subsys/rc-inetd ]; then
1072 /etc/rc.d/init.d/rc-inetd reload
1075 %post -n openldap-schema-samba
1076 if ! grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1078 /^include.*local.schema/{
1080 include %{schemadir}/samba.schema
1083 # enable dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1084 /^#include.*\(cosine\|inetorgperson\|nis\)\.schema/{
1087 ' /etc/openldap/slapd.conf
1090 if [ -f /var/lock/subsys/ldap ]; then
1091 /etc/rc.d/init.d/ldap restart >&2
1094 %postun -n openldap-schema-samba
1095 if [ "$1" = "0" ]; then
1096 if grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1098 /^include.*\/usr\/share\/openldap\/schema\/samba.schema/d
1100 # for symmetry it would be nice if we disable enabled schemas in post,
1101 # but we really can not do that, it would break something else.
1102 ' /etc/openldap/slapd.conf
1105 if [ -f /var/lock/subsys/ldap ]; then
1106 /etc/rc.d/init.d/ldap restart >&2 || :
1110 %triggerpostun -- samba < 1.9.18p7
1111 if [ "$1" != "0" ]; then
1112 /sbin/chkconfig --add smb
1115 %triggerpostun -- samba < 2.0.5a-3
1116 if [ "$1" != "0" ]; then
1117 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
1118 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
1122 %defattr(644,root,root,755)
1123 %attr(755,root,root) %{_sbindir}/nmbd
1124 %attr(755,root,root) %{_sbindir}/smbd
1125 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1126 %attr(755,root,root) %{_bindir}/smbstatus
1127 %attr(755,root,root) %{_bindir}/smbpasswd
1128 %attr(755,root,root) %{_bindir}/smbcontrol
1129 %attr(755,root,root) %{_bindir}/tdbbackup
1130 %attr(755,root,root) %{_bindir}/tdbtool_samba
1132 %dir %{_libdir}/%{name}/pdb
1135 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smbusers
1136 %attr(754,root,root) /etc/rc.d/init.d/smb
1137 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
1138 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/samba
1139 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/samba
1140 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
1141 %{_mandir}/man1/smbstatus.1*
1142 %{_mandir}/man1/smbcontrol.1*
1143 %{_mandir}/man5/smbpasswd.5*
1144 %{_mandir}/man7/samba.7*
1145 %{_mandir}/man8/nmbd.8*
1146 %{_mandir}/man8/smbd.8*
1147 %{_mandir}/man8/smbpasswd.8*
1148 %{_mandir}/man8/pdbedit.8*
1149 %{_mandir}/man8/tdbbackup.8*
1152 %dir /var/lock/samba
1153 %ghost /var/lock/samba/*
1155 %attr(750,root,root) %dir /var/log/samba
1156 %attr(750,root,root) %dir /var/log/archiv/samba
1157 %attr(1777,root,root) %dir /var/spool/samba
1164 %defattr(644,root,root,755)
1165 %attr(755,root,root) %{_libdir}/%{name}/pdb/mysql.so
1170 %defattr(644,root,root,755)
1171 %attr(755,root,root) %{_libdir}/%{name}/pdb/pgsql.so
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) %{_libdir}/%{name}/pdb/xml.so
1179 %defattr(644,root,root,755)
1180 %attr(755,root,root) %{_sbindir}/winbindd
1181 %attr(755,root,root) %{_bindir}/wbinfo
1182 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1183 %attr(755,root,root) /%{_lib}/libnss_winbind*
1184 %attr(754,root,root) /etc/rc.d/init.d/winbind
1185 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/winbind
1186 %{_mandir}/man8/winbindd*.8*
1187 %{_mandir}/man8/pam_winbind.8.gz
1188 %{_mandir}/man1/wbinfo*.1*
1191 %defattr(644,root,root,755)
1192 %attr(755,root,root) /%{_lib}/libnss_wins*
1195 %defattr(644,root,root,755)
1196 %attr(755,root,root) /sbin/mount.smbfs
1197 %attr(755,root,root) /sbin/mount.cifs
1198 %attr(755,root,root) %{_bindir}/smbmount
1199 %attr(755,root,root) %{_bindir}/smbmnt
1200 %attr(755,root,root) %{_bindir}/smbumount
1201 %attr(755,root,root) %{_bindir}/net
1202 %attr(755,root,root) %{_bindir}/smbtree
1203 %{_mandir}/man8/net.8*
1204 %{_mandir}/man8/smbmnt.8*
1205 %{_mandir}/man8/smbmount.8*
1206 %{_mandir}/man8/smbumount.8*
1207 %{_mandir}/man8/mount.cifs.8*
1208 %attr(755,root,root) %{_bindir}/nmblookup
1209 %attr(755,root,root) %{_bindir}/smbclient
1210 %attr(755,root,root) %{_bindir}/smbtar
1211 %attr(755,root,root) %{_bindir}/smbcacls
1212 %{_mandir}/man1/smbtar.1*
1213 %{_mandir}/man1/smbtree.1*
1214 %{_mandir}/man1/smbclient.1*
1215 %{_mandir}/man1/nmblookup.1*
1216 %{_mandir}/man1/smbcacls.1*
1217 %{_mandir}/man1/smbsh.1*
1218 %attr(755,root,root) %{_bindir}/rpcclient
1219 %{_mandir}/man1/rpcclient.1*
1220 %attr(755,root,root) %{_bindir}/findsmb
1221 %{_mandir}/man1/findsmb.1*
1224 %defattr(644,root,root,755)
1225 %doc README Manifest WHATSNEW.txt
1226 %doc Roadmap docs/*.pdf docs/registry/*
1227 %doc docs/htmldocs/*.* docs/{history,THANKS}
1228 %dir %{_sysconfdir}/samba
1229 %attr(664,root,fileshare) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smb.conf
1230 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/lmhosts
1231 %dir %{_libdir}/%{name}
1232 %{_libdir}/%{name}/*.dat
1233 %attr(755,root,root) %{_bindir}/testparm
1234 %attr(755,root,root) %{_bindir}/testprns
1235 %attr(755,root,root) %{_bindir}/ntlm_auth
1236 %attr(755,root,root) %{_bindir}/smbcquotas
1237 %attr(755,root,root) %{_bindir}/profiles
1238 %attr(755,root,root) %{_bindir}/pdbedit
1239 %attr(755,root,root) %{_bindir}/vfstest
1240 %dir %{_libdir}/%{name}/charset
1241 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1242 %{_mandir}/man1/editreg.1*
1243 %{_mandir}/man1/testparm.1*
1244 %{_mandir}/man1/testprns.1*
1245 %{_mandir}/man1/ntlm_auth.1*
1246 %{_mandir}/man1/smbcquotas.1*
1247 %{_mandir}/man1/profiles.1*
1248 %{_mandir}/man1/vfstest.1*
1250 %{_mandir}/man1/log2pcap.1*
1252 %{_mandir}/man5/smb.conf.5*
1253 %{_mandir}/man5/lmhosts.5*
1256 %defattr(644,root,root,755)
1257 #%doc swat/README* swat/help/*
1259 %attr(755,root,root) %{_sbindir}/swat
1260 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat
1261 %dir %{_datadir}/swat
1262 %{_datadir}/swat/help
1263 %{_datadir}/swat/images
1264 %{_datadir}/swat/include
1265 %dir %{_datadir}/swat/lang
1266 %lang(ja) %{_datadir}/swat/lang/ja
1267 %lang(tr) %{_datadir}/swat/lang/tr
1268 %{_datadir}/swat/using_samba
1269 %lang(de) %{_libdir}/%{name}/de.msg
1270 %{_libdir}/%{name}/en.msg
1271 %lang(fr) %{_libdir}/%{name}/fr.msg
1272 %lang(it) %{_libdir}/%{name}/it.msg
1273 %lang(ja) %{_libdir}/%{name}/ja.msg
1274 %lang(nl) %{_libdir}/%{name}/nl.msg
1275 %lang(pl) %{_libdir}/%{name}/pl.msg
1276 %lang(tr) %{_libdir}/%{name}/tr.msg
1277 %{_mandir}/man8/swat.8*
1280 %files -n python-samba
1281 %defattr(644,root,root,755)
1282 %dir %{py_sitedir}/samba
1283 %attr(755,root,root) %{py_sitedir}/samba/*.so
1284 %{py_sitedir}/samba/*.py
1285 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1286 %doc source/python/examples
1289 %files -n pam-pam_smbpass
1290 %defattr(644,root,root,755)
1291 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1292 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1294 %files -n libsmbclient
1295 %defattr(644,root,root,755)
1296 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1298 %files -n libsmbclient-devel
1299 %defattr(644,root,root,755)
1300 %attr(755,root,root) %{_libdir}/libsmbclient.so
1301 %{_includedir}/libsmbclient.h
1303 %files -n libsmbclient-static
1304 %defattr(644,root,root,755)
1305 %{_libdir}/libsmbclient.a
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_bindir}/smbget
1310 %{_mandir}/man1/smbget.1*
1311 %{_mandir}/man5/smbgetrc.5*
1314 %files -n cups-backend-smb
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_bindir}/smbspool
1317 %attr(755,root,root) %{cups_serverbin}/backend/smb
1318 %{_mandir}/man8/smbspool.8*
1322 %defattr(644,root,root,755)
1323 %attr(755,root,root) %{_vfsdir}/audit.so
1324 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1325 %attr(755,root,root) %{_vfsdir}/full_audit.so
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_vfsdir}/cap.so
1331 %files vfs-default_quota
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_vfsdir}/default_quota.so
1335 %files vfs-expand_msdfs
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1339 %files vfs-fake_perms
1340 %defattr(644,root,root,755)
1341 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1344 %defattr(644,root,root,755)
1345 %attr(755,root,root) %{_vfsdir}/netatalk.so
1348 %defattr(644,root,root,755)
1349 %attr(755,root,root) %{_vfsdir}/readonly.so
1352 %defattr(644,root,root,755)
1353 %attr(755,root,root) %{_vfsdir}/recycle.so
1355 %files vfs-shadow_copy
1356 %defattr(644,root,root,755)
1357 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1359 %files vfs-vscan-antivir
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-antivir.conf
1363 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1365 %files vfs-vscan-clamav
1366 %defattr(644,root,root,755)
1367 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1368 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-clamav.conf
1369 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1371 %files vfs-vscan-fprot
1372 %defattr(644,root,root,755)
1373 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1374 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fprotd.conf
1375 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1377 %files vfs-vscan-fsav
1378 %defattr(644,root,root,755)
1379 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1380 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fsav.conf
1381 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1383 %files vfs-vscan-kavp
1384 %defattr(644,root,root,755)
1385 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1386 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-kavp.conf
1387 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1389 %files vfs-vscan-mcafee
1390 %defattr(644,root,root,755)
1391 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1392 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1393 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1395 %ifarch %{ix86} amd64
1396 %files vfs-vscan-mks
1397 %defattr(644,root,root,755)
1398 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1399 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mks32.conf
1400 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1403 %files vfs-vscan-openantivirus
1404 %defattr(644,root,root,755)
1405 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1406 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-oav.conf
1407 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1409 %files vfs-vscan-sophos
1410 %defattr(644,root,root,755)
1411 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1412 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-sophos.conf
1413 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1415 %files vfs-vscan-symantec
1416 %defattr(644,root,root,755)
1417 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1418 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-icap.conf
1419 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1421 %files vfs-vscan-trend
1422 %defattr(644,root,root,755)
1423 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1424 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-trend.conf
1425 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1428 %files -n openldap-schema-samba
1429 %defattr(644,root,root,755)
1430 %{schemadir}/*.schema