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: 262c9f8b2f2d6910f5b3472e215eddf6
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: libtool >= 2:1.4d
66 BuildRequires: libxml2-devel
68 BuildRequires: mysql-devel
69 BuildRequires: mysql-extras
72 BuildRequires: postgresql-devel
74 BuildRequires: ncurses-devel >= 5.2
75 %{?with_ldap:BuildRequires: openldap-devel}
76 BuildRequires: openssl-devel >= 0.9.7d
77 BuildRequires: pam-devel > 0.66
78 BuildRequires: popt-devel
79 BuildRequires: readline-devel >= 4.2
80 BuildRequires: xfsprogs-devel
81 %{?with_python:BuildRequires: python-devel}
83 PreReq: setup >= 2.4.6-7
84 Requires(post,preun): /sbin/chkconfig
85 Requires: %{name}-common = %{epoch}:%{version}-%{release}
88 Obsoletes: samba-vfs-block
89 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91 %define _vfsdir %{_libdir}/%{name}/vfs
92 %define _sambahome /home/services/samba
94 %define cups_serverbin %{_libdir}/cups
96 %define schemadir /usr/share/openldap/schema
99 Samba provides an SMB server which can be used to provide network
100 services to SMB (sometimes called "Lan Manager") clients, including
101 various versions of MS Windows, OS/2, and other Linux machines. Samba
102 also provides some SMB clients, which complement the built-in SMB
103 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
104 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
106 This release is known as the "Locking Update" and has full support for
107 Opportunistic File Locking. In addition this update includes native
108 support for Microsoft encrypted passwords, improved browse list and
109 WINS database management.
111 Please refer to the WHATSNEW.txt document for fixup information. This
112 binary release includes encrypted password support. Please read the
113 smb.conf file for implementation details.
116 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
117 slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
118 klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
119 Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
120 souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
121 TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
122 NetBIOS od spoleènosti Microsoft.
125 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
126 services til SMB (også kaldet "Lan Manager") klienter, incl.
127 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
128 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
129 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
130 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
134 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
135 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
136 verschiedenen Versionen von MS Windows-, OS/2- und anderen
137 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
138 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
139 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
140 (Microsoft Raw NetBIOS frame)-Protokoll.
143 Samba provee un servidor SMB que se puede usar para ofrecer servicios
144 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
145 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
146 Linux. Samba también ofrece algunos clientes SMB, que complementan el
147 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
148 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
152 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
153 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
154 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
155 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
156 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
157 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
158 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
162 Samba fornisce un server SMB che puo` essere usato per fornire servizi
163 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
164 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
165 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
168 Samba ¤Ï MS Windows ¤ÎÍÍ¡¹¤Ê¥Ð¡¼¥¸¥ç¥ó¡¢OS/2 ¤½¤·¤Æ¾¤Î Linux ¥Þ¥·¥ó
169 ¤ò´Þ¤à SMB (¤¿¤Þ¤Ë "Lan Manager" ¤È¸Æ¤Ð¤ì¤ë)
170 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Í¥Ã¥È¥ï¡¼¥¯ ¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë SMB
171 ¥µ¡¼¥Ð¤òÄ󶡤·¤Þ¤¹¡£Samba ¤Ï NetBIOS over TCP/IP (NetBT)
172 ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¡¢ NetBEUI(Microsoft Raw NetBIOS frame)
173 ¥×¥í¥È¥³¥ë¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£
175 Samba ¤Û¤È¤ó¤ÉÆ°ºî¤¹¤ë NT ¥É¥á¥¤¥ó¥³¥ó¥È¥í¡¼¥ë¤Îµ¡Ç½¤òÆÃħ¤È¤·¡¢
176 ¹¥¤¤Ê¥Ö¥é¥¦¥¶¤ò»È¤Ã¤Æ samba ¤Î smb.conf ¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È´ÉÍý¤¹¤ë
177 ¿·¤·¤¤ SWAT (Samba Web Administration Tool) ¤ò´Þ¤ß¤Þ¤¹¡£
178 Ìܲ¼¤Î¤È¤³¤í¤³¤ì¤Ï inetd ¤òÄ̤·¤Æ TCP ¥Ý¡¼¥È 901 ¤Ç͸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
181 »ï¹Ù´Â MS Windows, OS/2, ȤÀº ´Ù¸¥ ¸®´ª½º ¸Ó½ÅÀ» Æ÷ÇÔÇÏ´Â SMB(ȤÀº
182 "Lan Manager"¶ó°íµµ ºÒ¸²) Ŭ¶óÀ̾ðÆ®¸¦ ³×Æ®¿öÅ© ¼ºñ½º À§ÇØ »ç¿ëÇÒ ¼ö
183 ÀÖ´Â SMB ¼¹ö¸¦ Á¦°øÇÑ´Ù. »ï¹Ù´Â TCP/IP ÇÁ·ÎÅäÄÝÀ» ÅëÇØ NetBIOS¸¦
184 »ç¿ëÇÏ°í NetBEUI (Microsoft Raw NetBIOS ÇÁ·¹ÀÓ) ÇÁ·ÎÅäÄÝÀº ÇÊ¿äÇÏÁö
187 »ï¹Ù-2.2 ÀÇ Æ¯Â¡Àº NT µµ¸ÞÀÎ ÄÁÆ®·ÑÀÇ ¼º´ÉÀ¸·Î ÀÛ¾÷À» ÇÏ°í, »õ·Î¿î
188 SWAT(Samba Web Administration Tool)·Î À¥ºê¶ó¿ìÀú¸¦ »ç¿ëÇÏ¿© ¿ø°ÝÁö¿¡¼
189 »ï¹ÙÀÇ smb.conf ÆÄÀÏÀ» °ü¸®Çϵµ·Ï ÇÑ´Ù. ÀÌ·¯ÇÑ °æ¿ì inetd µ¥¸óÀ» ÅëÇØ
190 TCP 901 Æ÷Æ®¸¦ »ç¿ëÇÏ°Ô µÈ´Ù.
192 ÃÖ±Ù Á¤º¸·Î WHATSNEW.txt ÆÄÀÏÀÇ ¹®¼¸¦ Âü°íÇϵµ·Ï ÇÑ´Ù. ¹ÙÀ̳ʸ®ÀÇ
193 ¸±¸®Áî´Â ¾ÏÈ£ÈµÈ Æнº¿öµå¸¦ Á¦°øÇÑ´Ù.
196 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
197 us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
198 takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. W pakiecie
199 znajduje siê równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u
200 NetBIOS po TCP/IP (NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma
201 pe³ne wsparcie dla blokowania plików, a tak¿e wsparcie dla kodowania
202 hase³ w standardzie MS i zarz±dzania baz± WINS.
204 %description -l pt_BR
205 O Samba provê um servidor SMB que pode ser usado para oferecer
206 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
207 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
208 máquinas Linux. O Samba também fornece alguns clientes SMB, que
209 complementam o sistema de arquivos SMB do Linux. O Samba usa o
210 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
211 NetBEUI (Microsoft Raw NetBIOS frame).
213 O Samba inclui a maioria das características de um servidor de
214 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
215 permite que o arquivo smb.conf seja gerenciado remotamente através de
216 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
220 Samba ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ÓÅÒ×ÅÒ, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ
221 ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ× SMB (ÉÎÏÇÄÁ ÎÁÚÙ×ÁÅÍÙÍ "Lan Manager")
222 ËÌÉÅÎÔÁÍ, ×ËÌÀÞÁÑ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ×ÅÒÓÉÉ MS Windows, OS/2, É ÄÒÕÇÉÅ
223 Linux-ÍÁÛÉÎÙ. Samba ÔÁËÖÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ËÌÉÅÎÔÏ×, ËÏÔÏÒÙÅ ÒÁÂÏÔÁÀÔ
224 ÓÏ ×ÓÔÒÏÅÎÎÏÊ × Linux ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB.
226 Samba ÉÓÐÏÌØÚÕÅÔ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) É ÎÅ ÎÕÖÄÁÅÔÓÑ ×
227 ÐÒÏÔÏËÏÌÅ NetBEUI (Microsoft Raw NetBIOS frame).
229 Samba ÓÏÄÅÒÖÉÔ ÐÒÁËÔÉÞÅÓËÉ ÒÁÂÏÔÁÀÝÕÀ ÒÅÁÌÉÚÁÃÉÀ NT Domain Control É
230 ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool), ËÏÔÏÒÙÊ ÐÏÚ×ÏÌÑÅÔ
231 ÕÄÁÌÅÎÎÏ ÕÐÒÁ×ÌÑÔØ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÍ ÆÁÊÌÏÍ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
232 ÌÀÂÉÍÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÁ ÞÔÏ ÏÎ ÒÁÚÒÅÛÅÎ ÞÅÒÅÚ inetd ÎÁ TCP-ÐÏÒÔÕ
236 Samba ÎÁÄÁ¤ SMB-ÓÅÒ×ÅÒ, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ ÎÁÄÁÎÎÑ
237 ÍÅÒÅÖÅ×ÉÈ ÓÅÒ×¦Ó¦× SMB (ÝÏ §È ¦ÎÏĦ ÎÁÚÉ×ÁÀÔØ "Lan Manager") Ë̦¤ÎÔÁÍ,
238 ×ËÌÀÞÁÀÞÉ Ò¦ÚÎÏÍÁΦÔΦ ×ÅÒÓ¦§ MS Windows, OS/2, ÔÁ ¦ÎÛ¦ Linux-ÍÁÛÉÎÉ.
239 Samba ÔÁËÏÖ ÎÁÄÁ¤ SMB-Ë̦¤ÎÔ¦×, ÝÏ ÐÒÁÃÀÀÔØ Ú ×ÂÕÄÏ×ÁÎÏÀ × Linux
240 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB.
242 Samba ×ÉËÏÒÉÓÔÏ×Õ¤ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) ÔÁ ÎÅ ÐÏÔÒÅÂÕ¤
243 ÐÒÏÔÏËÏÌÕ NetBEUI (Microsoft Raw NetBIOS frame).
245 Samba ͦÓÔÉÔØ ÍÁÊÖÅ ÐÒÁÃÀÀÞÕ ÒÅÁÌÉÚÁæÀ NT Domain Control ÔÁ ÎÏ×ÙÊ
246 SWAT (Samba Web Administration Tool), ËÏÔÒÉÊ ÄÏÚ×ÏÌѤ צÄÄÁÌÅÎÏ
247 ËÅÒÕ×ÁÔÉ ËÏÎƦÇÕÒÁæÊÎÉÍ ÆÁÊÌÏÍ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
248 ÕÌÀÂÌÅÎÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÉ ÝÏ ×¦Î ÄÏÚ×ÏÌÅÎÉÊ ÞÅÒÅÚ inetd ÎÁ
252 Summary: Samba Web Administration Tool
253 Summary(es): Samba SWAT and Web documentation
254 Summary(pl): Narzêdzie administracyjne serwisu Samba
255 Summary(pt_BR): Samba SWAT e documentação Web
256 Summary(ru): ðÒÏÇÒÁÍÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ SMB-ÓÅÒ×ÅÒÁ Samba
257 Summary(uk): ðÒÏÇÒÁÍÁ ËÏÎÆÉÇÕÒÁæ§ SMB-ÓÅÒ×ÅÒÁ Samba
258 Group: Networking/Admin
259 Requires: %{name} = %{epoch}:%{version}-%{release}
261 Requires: rc-inetd >= 0.8.2
265 swat allows a Samba administrator to configure the complex smb.conf
266 file via a Web browser. In addition, a swat configuration page has
267 help links to all the configurable options in the smb.conf file
268 allowing an administrator to easily look up the effects of any change.
270 %description swat -l pl
271 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
274 %description swat -l pt_BR
275 SWAT - ferramentada Web de configuração do Samba.
277 %description swat -l ru
278 ðÁËÅÔ samba-swat ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool),
279 ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ ÆÁÊÌÁ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
280 ÌÀÂÉÍÏÇÏ Web-ÂÒÁÕÚÅÒÁ.
282 %description swat -l uk
283 ðÁËÅÔ samba-swat ͦÓÔÉÔØ ÎÏ×ÉÊ SWAT (Samba Web Administration Tool),
284 ÄÌÑ ÄÉÓÔÁÎæÊÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ ÆÁÊÌÕ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
285 ÕÌÀÂÌÅÎÏÇÏ Web-ÂÒÁÕÚÅÒÕ.
288 Summary: Samba MySQL password database plugin
289 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie MySQL
290 Group: Networking/Daemons
291 Requires: %{name} = %{epoch}:%{version}-%{release}
293 %description pdb-mysql
294 Samba MySQL password database plugin.
296 %description pdb-mysql -l pl
297 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
300 Summary: Samba PostgreSQL password database plugin
301 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie PostgreSQL
302 Group: Networking/Daemons
303 Requires: %{name} = %{epoch}:%{version}-%{release}
305 %description pdb-pgsql
306 Samba MySQL password database plugin.
308 %description pdb-pgsql -l pl
309 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
312 Summary: Samba XML password database plugin
313 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie XML
314 Group: Networking/Daemons
315 Requires: %{name} = %{epoch}:%{version}-%{release}
318 Samba XML password database plugin.
320 %description pdb-xml -l pl
321 Wtyczka Samby do przechowywania hase³ w bazie XML.
324 Summary: Samba client programs
325 Summary(es): Cliente SMB de Samba
326 Summary(ja): Samba (SMB) ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
327 Summary(pl): Klienci serwera Samba
328 Summary(pt_BR): Cliente SMB do samba
329 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ Samba (SMB)
330 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ Samba (SMB)
331 Group: Applications/Networking
332 Requires: %{name}-common = %{epoch}:%{version}-%{release}
333 Obsoletes: mount-cifs
337 Samba-client provides some SMB clients, which complement the build-in
338 SMB filesystem in Linux. These allow accessing of SMB shares and
339 printing to SMB printers.
341 %description client -l pt_BR
342 O pacote samba-clientes prove alguns clientes SMB, que complementam o
343 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
344 e também, à impressoras SMB.
346 %description client -l es
347 Cliente SMB de Samba.
349 %description client -l ja
350 Samba-client ¤Ï Linux ¾å¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë SMB ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÊ䤦 SMB
351 ¥¯¥é¥¤¥¢¥ó¥È¤òÄ󶡤·¤Þ¤¹¡£¤³¤ì¤é¤Ï SMB ¶¦Í¤Î¥¢¥¯¥»¥¹¤È SMB
352 ¥×¥ê¥ó¥¿¤Ø¤Î°õºþ¤òµö²Ä¤·¤Þ¤¹¡£
354 %description client -l pl
355 Samba-client dostarcza programy uzupe³niaj±ce obs³ugê systemu plików
356 SMB zawart± w j±drze. Pozwalaj± one na wspó³dzielenie zasobów SMB i
357 drukowanie w sieci SMB.
359 %description client -l pt_BR
360 O pacote samba-clientes prove alguns clientes SMB, que complementam o
361 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
362 e também, à impressoras SMB.
364 %description client -l ru
365 ðÁËÅÔ samba-client ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÅËÏÔÏÒÙÅ ËÌÉÅÎÔÙ SMB ÄÌÑ ÒÁÂÏÔÙ ÓÏ
366 ×ÓÔÒÏÅÎÎÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB × Linux. üÔÉ ËÌÉÅÎÔÙ ÐÏÚ×ÏÌÑÀÔ
367 ÐÏÌÕÞÁÔØ ÄÏÓÔÕÐ Ë ÒÁÚÄÅÌÑÅÍÙÍ ËÁÔÁÌÏÇÁÍ SMB É ÐÅÞÁÔØ ÎÁ SMB-ÐÒÉÎÔÅÒÙ.
369 %description client -l uk
370 ðÁËÅÔ samba-client ÎÁÄÁ¤ ÄÅÑ˦ Ë̦¤ÎÔÉ SMB ÄÌÑ ÒÏÂÏÔÉ Ú¦ ×ÂÕÄÏ×ÁÎÏÀ
371 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB × Linux. 㦠Ë̦¤ÎÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÕ×ÁÔÉ ÄÏÓÔÕÐ
372 ÄÏ ËÁÔÁÌÏÇ¦× ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ SMB ÔÁ ÄÒÕË ÎÁ SMB-ÐÒ¦ÎÔÅÒÉ.
375 Summary: Files used by both Samba servers and clients
376 Summary(es): Common files between samba and samba-clients
377 Summary(ja): Samba ¥µ¡¼¥Ð¡¼¤È¥¯¥é¥¤¥¢¥ó¥È¤Ç»ÈÍѤµ¤ì¤ë¥×¥í¥°¥é¥à
378 Summary(pl): Pliki u¿ywane przez serwer i klientów Samba
379 Summary(pt_BR): Arquivos em comum entre samba e samba-clients
380 Summary(ru): æÁÊÌÙ, ÉÓÐÏÌØÚÕÅÍÙÅ ËÁË ÓÅÒ×ÅÒÏÍ, ÔÁË É ËÌÉÅÎÔÏÍ Samba
381 Summary(uk): æÁÊÌÉ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÑË ÓÅÒ×ÅÒÏÍ, ÔÁË ¦ Ë̦¤ÎÔÏÍ Samba
382 Group: Networking/Daemons
385 Samba-common provides files necessary for both the server and client
388 %description common -l ja
389 Samba-common ¤Ï Samba ¤Î¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤ÎξÊý¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç
390 »ÈÍѤµ¤ì¤ë¥Õ¥¡¥¤¥ë¤òÄ󶡤·¤Þ¤¹¡£
392 %description common -l pl
393 Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
396 %description common -l pt_BR
397 Arquivos em comum entre os pacotes samba e samba-clients.
399 %description common -l ru
400 Samba-common ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ ËÁË ËÌÉÅÎÔÁ, ÔÁË É
403 %description common -l uk
404 Samba-common ͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ ÑË Ë̦¤ÎÔÁ, ÔÁË ¦
408 Summary: Samba-winbind daemon, utilities and documentation
409 Summary(pl): Demon samba-winbind, narzêdzia i dokumentacja
410 Group: Networking/Daemons
411 Requires(post,preun): /sbin/chkconfig
412 Requires: %{name}-common = %{epoch}:%{version}-%{release}
415 Provides the winbind daemon and testing tools to allow authentication
416 and group/user enumeration from a Windows or Samba domain controller.
418 %description winbind -l pl
419 Pakiet zawiera demona winbind oraz narzêdzia testowe. Umo¿liwia
420 uwierzytelnianie i wyliczanie grup/u¿ytkowników z kontrolera domeny
424 Summary: Name Service Switch service for WINS
425 Summary(pl): Us³uga Name Service Switch dla WINS
427 Requires: %{name}-common = %{epoch}:%{version}-%{release}
429 %description -n nss_wins
430 Provides the libnss_wins shared library which resolves NetBIOS names
433 %description -n nss_wins -l pl
434 Biblioteka dzielona libnss_wins rozwi±zuj±ca nazwy NetBIOS na adresy
437 %package -n pam-pam_smbpass
438 Summary: PAM Samba Password Module
439 Summary(pl): Modu³ PAM smbpass
441 Obsoletes: pam_smbpass
443 %description -n pam-pam_smbpass
444 PAM module which can be used on conforming systems to keep the
445 smbpasswd (Samba password) database in sync with the unix password
448 %description -n pam-pam_smbpass -l pl
449 Modu³ PAM, który mo¿e byæ u¿ywany do trzymania pliku smbpasswd (has³a
450 Samby) zsynchronizowanego z has³ami uniksowymi.
452 %package -n libsmbclient
453 Summary: libsmbclient - samba client library
454 Summary(pl): libsmbclient - biblioteka klienta samby
457 %description -n libsmbclient
458 libsmbclient - library that allows to use samba clients functions.
460 %description -n libsmbclient -l pl
461 libsmbclient - biblioteka pozwalaj±ca korzystaæ z funcji klienta
464 %package -n libsmbclient-devel
465 Summary: libsmbclient - samba client library
466 Summary(pl): libsmbclient - biblioteka klienta samby
467 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
468 Group: Development/Libraries
469 Requires: libsmbclient = %{epoch}:%{version}-%{release}
471 %description -n libsmbclient-devel
472 Header files for libsmbclient.
474 %description -n libsmbclient-devel -l pl
475 Pliki nag³ówkowe dla libsmbclient.
477 %description -n libsmbclient-devel -l pt_BR
478 Arquivos de inclusão, bibliotecas e documentação necessários para
479 desenvolver aplicativos clientes para o samba.
481 %package -n libsmbclient-static
482 Summary: Static version of libsmbclient - samba client library
483 Summary(pl): Statyczna wersja libsmbclient - biblioteki klienta samby
484 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
485 Group: Development/Libraries
486 Requires: libsmbclient = %{epoch}:%{version}-%{release}
488 %description -n libsmbclient-static
489 Static libsmbclient library.
491 %description -n libsmbclient-static -l pl
492 Statyczna biblioteka libsmbclient.
495 Summary: A utility for retrieving files using the SMB protocol
496 Summary(pl): Narzêdzie do pobierania plików protoko³em SMB
497 Group: Applications/Networking
499 %description -n smbget
500 wget-like utility for download files over SMB.
502 %description -n smbget -l pl
503 Narzêdzie podobne do wgeta do pobierania plików protoko³em SMB
504 u¿ywanym w sieciach MS Windows.
506 %package -n cups-backend-smb
507 Summary: CUPS backend for printing to SMB printers
508 Summary(pl): Backend CUPS-a drukuj±cy na drukarkach SMB
509 Group: Applications/Printing
510 Requires: %{name}-client = %{epoch}:%{version}-%{release}
513 %description -n cups-backend-smb
514 CUPS backend for printing to SMB printers.
516 %description -n cups-backend-smb -l pl
517 Backend CUPS-a drukuj±cy na drukarkach SMB.
519 %package -n python-samba
520 Summary: Samba python tools and libraries
521 Summary(pl): Narzêdzia i biblioteki pythona do samby
522 Group: Applications/Networking
523 %pyrequires_eq python-libs
525 %description -n python-samba
526 Samba python tools and libraries.
528 %description -n python-samba -l pl
529 Narzêdzia i biblioteki pythona do samby.
532 Summary: VFS module to audit file access
533 Summary(pl): Modu³ VFS do monitorowania operacji na plikach
534 Group: Networking/Daemons
535 Requires: %{name} = %{epoch}:%{version}-%{release}
537 %description vfs-audit
538 A simple module to audit file access to the syslog facility. The
539 following operations are logged: share connect/disconnect, directory
540 opens/create/remove, file open/close/rename/unlink/chmod.
542 %description vfs-audit -l pl
543 Prosty modu³ do monitorowania dostêpu do plików do sysloga.
544 Monitorowane s± nastêpuj±ce operacje: pod³±czone/od³±czenie do zasobu,
545 otwarcie/utworzenie/zmiana nazwy katalogu, otwarcie/zamknêcie/zmiana
546 nazwy/skasowania/zmiana praw plików.
549 Summary: VFS module for CAP and samba compatibility
550 Summary(pl): Modu³ VFS zgodno¶ci z CAP (Columbia AppleTalk Program)
551 Group: Networking/Daemons
552 Requires: %{name} = %{epoch}:%{version}-%{release}
555 Convert an incoming Shift-JIS character to the 3 byte hex
556 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
557 This is used for compatibility between Samba and CAP.
559 %description vfs-cap -l pl
560 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
561 reprezentacji u¿ywanej przez program Columbia AppleTalk Program (CAP).
563 %package vfs-default_quota
564 Summary: VFS module to store default quotas in a specified quota record
565 Summary(pl): Modu³ VFS do zapisywania domy¶lnych limitów w okre¶lonym rekordzie
566 Group: Networking/Daemons
567 Requires: %{name} = %{epoch}:%{version}-%{release}
569 %description vfs-default_quota
570 This VFS modules stores default quotas in a specified quota record.
572 %description vfs-default_quota -l pl
573 Ten modu³ VFS zapisuje domy¶lne limity (quoty) w okre¶lonym rekordzie
576 %package vfs-expand_msdfs
577 Summary: VFS module for hosting a Microsoft Distributed File System Tree
578 Summary(pl): Modu³ VFS obs³ugi Microsoft Distributed File System
579 Group: Networking/Daemons
580 Requires: %{name} = %{epoch}:%{version}-%{release}
582 %description vfs-expand_msdfs
583 A VFS module for hosting a Microsoft Distributed File System Tree.
585 The Distributed File System (DFS) provides a means of separating the
586 logical view of files and directories that users see from the actual
587 physical locations of these resources on the network. It allows for
588 higher availability, smoother storage expansion, load balancing, and
591 %description vfs-expand_msdfs -l pl
592 Modu³ VFS do udostêpniania drzewa systemu plików Microsoft Distributed
595 Distributed File System (DFS) umo¿liwia rozdzielanie logicznego widoku
596 plików i katalogów widocznych przez u¿ytkowników z fizycznego
597 umiejscowienia tych zasobów w sieci. Pozwala to na wy¿sz± dostêpno¶æ,
598 p³ynniejsze powiêkszanie przestrzeni, rozdzielanie obci±¿enia itp.
600 %package vfs-fake_perms
601 Summary: VFS module to report read-only fires as writable
602 Summary(pl): Modu³ VFS udaj±cy, ¿e pliki tylko do odczytu s± zapisywalne
603 Group: Networking/Daemons
604 Requires: %{name} = %{epoch}:%{version}-%{release}
606 %description vfs-fake_perms
607 This module allow Roaming Profile files and directories to be set (on
608 the Samba server under UNIX) as read only. This module will, if
609 installed on the Profiles share, report to the client that the Profile
610 files and directories are writeable. This satisfies the client even
611 though the files will never be overwritten as the client logs out or
614 %description vfs-fake_perms -l pl
615 Ten modu³ pozwala na ustawienie plików i katalogów z wêdruj±cych
616 profili (Roaming Profiles) jako tylko do odczytu. Modu³ ten w
617 przypadku zainstalowania na udziale z profilami bêdzie zg³asza³
618 klientom, ¿e pliki i katalogi z profilu s± zapisywane. To wystarczy
619 klientom pomimo, ¿e pliki nie zostan± nigdy nadpisane przy logowaniu
620 lub wylogowywaniu klienta.
622 %package vfs-netatalk
623 Summary: VFS module for ease co-existence of samba and netatalk
624 Summary(pl): Modu³ VFS u³atwiaj±cy wspó³pracê serwisów samba i netatalk
625 Group: Networking/Daemons
626 Requires: %{name} = %{epoch}:%{version}-%{release}
628 %description vfs-netatalk
629 Package contains a netatalk VFS module for ease co-existence of Samba
630 and netatalk file sharing services.
632 %description vfs-netatalk -l pl
633 Pakiet zawiera modu³ VFS netatalk umo¿liwiaj±cy wspó³pracê us³ug samba
634 i netatalk przy udostêpnianiu zasobów.
637 Summary: VFS module to add recycle bin facility to a samba share
638 Summary(pl): Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby
639 Group: Networking/Daemons
640 Requires: %{name} = %{epoch}:%{version}-%{release}
642 %description vfs-recycle
643 VFS module to add recycle bin facility to a samba share.
645 %description vfs-recycle -l pl
646 Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby.
648 %package vfs-readonly
649 Summary: VFS module for read-only limitation for specified share
650 Summary(pl): Modu³ VFS do ograniczania okre¶lonego udzia³u tylko do odczytu
651 Group: Networking/Daemons
652 Requires: %{name} = %{epoch}:%{version}-%{release}
654 %description vfs-readonly
655 This module performs a read-only limitation for specified share (or
656 all of them if it is loaded in a [global] section) based on period
657 definition in smb.conf.
659 %description vfs-readonly -l pl
660 Ten modu³ wprowadza ograniczenie tylko do odczytu dla okre¶lonego
661 udzia³u (lub wszystkich, je¶li jest wczytywany w sekcji [global]) w
662 oparciu o definicje okresów w smb.conf.
664 %package vfs-shadow_copy
665 Summary: VFS module to make automatic copy of data in samba share
666 Summary(pl): Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby
667 Group: Networking/Daemons
668 Requires: %{name} = %{epoch}:%{version}-%{release}
670 %description vfs-shadow_copy
671 VFS module to make automatic copy of data in samba share.
673 %description vfs-shadow_copy -l pl
674 Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby.
676 %package vfs-vscan-antivir
677 Summary: On-access virus scanning for samba using AntiVir
678 Summary(pl): Skaner antywirusowy online wykorzystuj±cy AntiVir
679 Group: Networking/Daemons
680 Requires: %{name} = %{epoch}:%{version}-%{release}
681 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
683 %description vfs-vscan-antivir
684 A vfs-module for samba to implement on-access scanning using the
685 AntiVir antivirus software (which must be installed to use this).
687 %description vfs-vscan-antivir -l pl
688 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
689 dostêpu do plików korzystaj±c z oprogramowania antywirusowego AntiVir
690 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
692 %package vfs-vscan-clamav
693 Summary: On-access virus scanning for samba using ClamAV
694 Summary(pl): Skaner antywirusowy online wykorzystuj±cy ClamAV
695 Group: Networking/Daemons
696 Requires: %{name} = %{epoch}:%{version}-%{release}
698 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
700 %description vfs-vscan-clamav
701 A vfs-module for samba to implement on-access scanning using the
702 ClamAV antivirus software (which must be installed to use this).
704 %description vfs-vscan-clamav -l pl
705 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
706 dostêpu do plików korzystaj±c z oprogramowania antywirusowego ClamAV
707 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
709 %package vfs-vscan-fprot
710 Summary: On-access virus scanning for samba using FPROT
711 Summary(pl): Skaner antywirusowy online wykorzystuj±cy FPROT
712 Group: Networking/Daemons
713 Requires: %{name} = %{epoch}:%{version}-%{release}
714 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
715 Obsoletes: vscan-fprot
717 %description vfs-vscan-fprot
718 A vfs-module for samba to implement on-access scanning using the FPROT
719 antivirus software (which must be installed to use this).
721 %description vfs-vscan-fprot -l pl
722 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
723 dostêpu do plików korzystaj±c z oprogramowania antywirusowego FPROT
724 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
726 %package vfs-vscan-fsav
727 Summary: On-access virus scanning for samba using F-Secure AntiVirus
728 Summary(pl): Skaner antywirusowy online wykorzystuj±cy F-Secure AntiVirus
729 Group: Networking/Daemons
730 Requires: %{name} = %{epoch}:%{version}-%{release}
731 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
732 Obsoletes: vscan-fsav
734 %description vfs-vscan-fsav
735 A vfs-module for samba to implement on-access scanning using the
736 F-Secure AntiVirus antivirus software (which must be installed to use
739 %description vfs-vscan-fsav -l pl
740 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
741 dostêpu do plików korzystaj±c z oprogramowania antywirusowego F-Secure
742 AntiVirus (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
744 %package vfs-vscan-kavp
745 Summary: On-access virus scanning for samba using Kaspersky AVP
746 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Kaspersky AVP
747 Group: Networking/Daemons
748 Requires: %{name} = %{epoch}:%{version}-%{release}
749 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
750 Obsoletes: vscan-kavp
752 %description vfs-vscan-kavp
753 A vfs-module for samba to implement on-access scanning using the
754 Kaspersky AVP antivirus software (which must be installed to use
757 %description vfs-vscan-kavp -l pl
758 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
759 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
760 Kaspersky AVP (które musi byæ zainstalowane, aby wykorzystaæ ten
763 %package vfs-vscan-mcafee
764 Summary: On-access virus scanning for samba using mcafee
765 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mcafee
766 Group: Networking/Daemons
767 Requires: %{name} = %{epoch}:%{version}-%{release}
769 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
770 Obsoletes: vscan-mcafee
772 %description vfs-vscan-mcafee
773 A vfs-module for samba to implement on-access scanning using the mcafee
774 antivirus software (which must be installed to use this).
776 %description vfs-vscan-mcafee -l pl
777 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
778 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mcafee
779 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
781 %package vfs-vscan-mks
782 Summary: On-access virus scanning for samba using mks
783 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mks
784 Group: Networking/Daemons
785 Requires: %{name} = %{epoch}:%{version}-%{release}
787 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
790 %description vfs-vscan-mks
791 A vfs-module for samba to implement on-access scanning using the mks
792 antivirus software (which must be installed to use this).
794 %description vfs-vscan-mks -l pl
795 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
796 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mks
797 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
799 %package vfs-vscan-openantivirus
800 Summary: On-access virus scanning for samba using OpenAntivirus
801 Summary(pl): Skaner antywirusowy online wykorzystuj±cy OpenAntiVirus
802 Group: Networking/Daemons
803 Requires: %{name} = %{epoch}:%{version}-%{release}
804 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
805 Obsoletes: vscan-openantivirus
807 %description vfs-vscan-openantivirus
808 A vfs-module for samba to implement on-access scanning using the
809 OpenAntivirus antivirus software (which must be installed to use
812 %description vfs-vscan-openantivirus -l pl
813 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
814 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
815 OpenAntiVirus.org (które musi byæ zainstalowane, aby wykorzystaæ ten
818 %package vfs-vscan-sophos
819 Summary: On-access virus scanning for samba using Sophos
820 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Sophos
821 Group: Networking/Daemons
822 Requires: %{name} = %{epoch}:%{version}-%{release}
823 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
824 Obsoletes: vscan-sophos
826 %description vfs-vscan-sophos
827 A vfs-module for samba to implement on-access scanning using the
828 Sophos antivirus software (which must be installed to use this).
830 %description vfs-vscan-sophos -l pl
831 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
832 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Sophos
833 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
835 %package vfs-vscan-symantec
836 Summary: On-access virus scanning for samba using Symantec
837 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Symantec
838 Group: Networking/Daemons
839 Requires: %{name} = %{epoch}:%{version}-%{release}
840 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
841 Obsoletes: vscan-symantec
843 %description vfs-vscan-symantec
844 A vfs-module for samba to implement on-access scanning using the
845 Symantec antivirus software (which must be installed to use this).
847 %description vfs-vscan-symantec -l pl
848 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
849 dostêpu do plików korzystaj±c z oprogramowania antywirusowego firmy
850 Symantec (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
852 %package vfs-vscan-trend
853 Summary: On-access virus scanning for samba using Trend
854 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Trend
855 Group: Networking/Daemons
856 Requires: %{name} = %{epoch}:%{version}-%{release}
857 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
858 Obsoletes: vscan-trend
860 %description vfs-vscan-trend
861 A vfs-module for samba to implement on-access scanning using the Trend
862 antivirus software (which must be installed to use this).
864 %description vfs-vscan-trend -l pl
865 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
866 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Trend
867 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
869 %package -n openldap-schema-samba
870 Summary: Samba LDAP schema
871 Summary(pl): Schemat LDAP dla samby
872 Group: Networking/Daemons
873 Requires(post,postun): sed >= 4.0
874 Requires: openldap-servers
876 %description -n openldap-schema-samba
877 This package contains samba.schema for openldap.
879 %description -n openldap-schema-samba -l pl
880 Ten pakiet zawiera schemat samby dla openldap-a.
885 %if "%{_lib}" == "lib64"
900 # Removed options (default or not supported by configure script)
903 # --without-smbwrapper \
904 # --with-sslinc=%{_prefix} \
907 # %{?with_ipv6:--with-ipv6} \
912 --with-libsmbclient \
915 --with%{!?with_ads:out}-ads \
916 --with-privatedir=%{_sysconfdir}/samba \
920 --with-swatdir=%{_datadir}/swat \
924 %{?with_python:--with-python} \
925 --with-expsam=xml,%{?with_mysql:mysql}%{?with_pgsql:,pgsql} \
926 %{?with_ldapsam:--with-ldapsam} \
927 --with%{!?with_ldap:out}-ldap \
928 --with%{!?with_krb5:out}-krb5
931 %{__make} everything pam_smbpass bin/smbget client/mount.cifs bin/vfstest
936 CFLAGS="%{rpmcflags} -fPIC"
940 cd samba-vscan-%{vscan_version}
941 cp -f /usr/share/automake/config.sub .
946 rm -rf $RPM_BUILD_ROOT
947 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
948 $RPM_BUILD_ROOT/var/{lock,log,log/archiv,spool}/samba \
949 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
953 DESTDIR=$RPM_BUILD_ROOT \
954 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
956 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
959 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
961 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
962 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
963 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
964 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
965 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
966 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
967 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
968 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
970 install source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
971 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
972 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
973 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
974 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
975 install source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security
976 install source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security
977 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
978 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
979 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
981 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
982 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
983 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
985 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
988 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
989 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
991 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
993 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
996 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
997 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1000 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1001 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1003 rm -f docs/faq/*.{sgml,txt}
1004 rm -f docs/htmldocs/*.[0-9].html
1006 # we have this utility in tdb package
1007 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
1011 install -d $RPM_BUILD_ROOT%{py_sitedir}
1012 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1015 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1018 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1022 rm -rf $RPM_BUILD_ROOT
1025 /sbin/chkconfig --add smb
1026 if [ -r /var/lock/subsys/smb ]; then
1027 /etc/rc.d/init.d/smb restart >&2
1029 echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
1033 if [ "$1" = "0" ]; then
1034 if [ -r /var/lock/subsys/smb ]; then
1035 /etc/rc.d/init.d/smb stop >&2
1037 /sbin/chkconfig --del smb
1041 /sbin/chkconfig --add winbind
1042 if [ -r /var/lock/subsys/winbind ]; then
1043 /etc/rc.d/init.d/winbind restart >&2
1045 echo "Run \"/etc/rc.d/init.d/winbind start\" to start Winbind daemon."
1049 if [ "$1" = "0" ]; then
1050 if [ -r /var/lock/subsys/winbind ]; then
1051 /etc/rc.d/init.d/winbind stop >&2
1053 /sbin/chkconfig --del winbind
1057 if [ -f /var/lock/subsys/rc-inetd ]; then
1058 /etc/rc.d/init.d/rc-inetd reload 1>&2
1060 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
1064 if [ -f /var/lock/subsys/rc-inetd ]; then
1065 /etc/rc.d/init.d/rc-inetd reload
1068 %post -n openldap-schema-samba
1069 if ! grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1071 /^include.*local.schema/{
1073 include %{schemadir}/samba.schema
1076 # enable dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1077 /^#include.*\(cosine\|inetorgperson\|nis\)\.schema/{
1080 ' /etc/openldap/slapd.conf
1083 if [ -f /var/lock/subsys/ldap ]; then
1084 /etc/rc.d/init.d/ldap restart >&2
1087 %postun -n openldap-schema-samba
1088 if [ "$1" = "0" ]; then
1089 if grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1091 /^include.*\/usr\/share\/openldap\/schema\/samba.schema/d
1093 # for symmetry it would be nice if we disable enabled schemas in post,
1094 # but we really can not do that, it would break something else.
1095 ' /etc/openldap/slapd.conf
1098 if [ -f /var/lock/subsys/ldap ]; then
1099 /etc/rc.d/init.d/ldap restart >&2 || :
1103 %triggerpostun -- samba < 1.9.18p7
1104 if [ "$1" != "0" ]; then
1105 /sbin/chkconfig --add smb
1108 %triggerpostun -- samba < 2.0.5a-3
1109 if [ "$1" != "0" ]; then
1110 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
1111 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
1115 %defattr(644,root,root,755)
1116 %attr(755,root,root) %{_sbindir}/nmbd
1117 %attr(755,root,root) %{_sbindir}/smbd
1118 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1119 %attr(755,root,root) %{_bindir}/smbstatus
1120 %attr(755,root,root) %{_bindir}/smbpasswd
1121 %attr(755,root,root) %{_bindir}/smbcontrol
1122 %attr(755,root,root) %{_bindir}/tdbbackup
1123 %attr(755,root,root) %{_bindir}/tdbtool_samba
1125 %dir %{_libdir}/%{name}/pdb
1128 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smbusers
1129 %attr(754,root,root) /etc/rc.d/init.d/smb
1130 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
1131 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/samba
1132 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/samba
1133 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
1134 %{_mandir}/man1/smbstatus.1*
1135 %{_mandir}/man1/smbcontrol.1*
1136 %{_mandir}/man5/smbpasswd.5*
1137 %{_mandir}/man7/samba.7*
1138 %{_mandir}/man8/nmbd.8*
1139 %{_mandir}/man8/smbd.8*
1140 %{_mandir}/man8/smbpasswd.8*
1141 %{_mandir}/man8/pdbedit.8*
1142 %{_mandir}/man8/tdbbackup.8*
1145 %dir /var/lock/samba
1146 %ghost /var/lock/samba/*
1148 %attr(750,root,root) %dir /var/log/samba
1149 %attr(750,root,root) %dir /var/log/archiv/samba
1150 %attr(1777,root,root) %dir /var/spool/samba
1157 %defattr(644,root,root,755)
1158 %attr(755,root,root) %{_libdir}/%{name}/pdb/mysql.so
1163 %defattr(644,root,root,755)
1164 %attr(755,root,root) %{_libdir}/%{name}/pdb/pgsql.so
1168 %defattr(644,root,root,755)
1169 %attr(755,root,root) %{_libdir}/%{name}/pdb/xml.so
1172 %defattr(644,root,root,755)
1173 %attr(755,root,root) %{_sbindir}/winbindd
1174 %attr(755,root,root) %{_bindir}/wbinfo
1175 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1176 %attr(755,root,root) /%{_lib}/libnss_winbind*
1177 %attr(754,root,root) /etc/rc.d/init.d/winbind
1178 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/winbind
1179 %{_mandir}/man8/winbindd*.8*
1180 %{_mandir}/man8/pam_winbind.8.gz
1181 %{_mandir}/man1/wbinfo*.1*
1184 %defattr(644,root,root,755)
1185 %attr(755,root,root) /%{_lib}/libnss_wins*
1188 %defattr(644,root,root,755)
1189 %attr(755,root,root) /sbin/mount.smbfs
1190 %attr(755,root,root) /sbin/mount.cifs
1191 %attr(755,root,root) %{_bindir}/smbmount
1192 %attr(755,root,root) %{_bindir}/smbmnt
1193 %attr(755,root,root) %{_bindir}/smbumount
1194 %attr(755,root,root) %{_bindir}/net
1195 %attr(755,root,root) %{_bindir}/smbtree
1196 %{_mandir}/man8/net.8*
1197 %{_mandir}/man8/smbmnt.8*
1198 %{_mandir}/man8/smbmount.8*
1199 %{_mandir}/man8/smbumount.8*
1200 %{_mandir}/man8/mount.cifs.8*
1201 %attr(755,root,root) %{_bindir}/nmblookup
1202 %attr(755,root,root) %{_bindir}/smbclient
1203 %attr(755,root,root) %{_bindir}/smbtar
1204 %attr(755,root,root) %{_bindir}/smbcacls
1205 %{_mandir}/man1/smbtar.1*
1206 %{_mandir}/man1/smbtree.1*
1207 %{_mandir}/man1/smbclient.1*
1208 %{_mandir}/man1/nmblookup.1*
1209 %{_mandir}/man1/smbcacls.1*
1210 %{_mandir}/man1/smbsh.1*
1211 %attr(755,root,root) %{_bindir}/rpcclient
1212 %{_mandir}/man1/rpcclient.1*
1213 %attr(755,root,root) %{_bindir}/findsmb
1214 %{_mandir}/man1/findsmb.1*
1217 %defattr(644,root,root,755)
1218 %doc README Manifest WHATSNEW.txt
1219 %doc Roadmap docs/*.pdf docs/registry/*
1220 %doc docs/htmldocs/*.* docs/{history,THANKS}
1221 %dir %{_sysconfdir}/samba
1222 %attr(664,root,fileshare) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smb.conf
1223 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/lmhosts
1224 %dir %{_libdir}/%{name}
1225 %{_libdir}/%{name}/*.dat
1226 %attr(755,root,root) %{_bindir}/testparm
1227 %attr(755,root,root) %{_bindir}/testprns
1228 %attr(755,root,root) %{_bindir}/ntlm_auth
1229 %attr(755,root,root) %{_bindir}/smbcquotas
1230 %attr(755,root,root) %{_bindir}/profiles
1231 %attr(755,root,root) %{_bindir}/pdbedit
1232 %attr(755,root,root) %{_bindir}/vfstest
1233 %dir %{_libdir}/%{name}/charset
1234 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1235 %{_mandir}/man1/editreg.1*
1236 %{_mandir}/man1/testparm.1*
1237 %{_mandir}/man1/testprns.1*
1238 %{_mandir}/man1/ntlm_auth.1*
1239 %{_mandir}/man1/smbcquotas.1*
1240 %{_mandir}/man1/profiles.1*
1241 %{_mandir}/man1/vfstest.1*
1243 %{_mandir}/man1/log2pcap.1*
1245 %{_mandir}/man5/smb.conf.5*
1246 %{_mandir}/man5/lmhosts.5*
1249 %defattr(644,root,root,755)
1250 #%doc swat/README* swat/help/*
1252 %attr(755,root,root) %{_sbindir}/swat
1253 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat
1254 %dir %{_datadir}/swat
1255 %{_datadir}/swat/help
1256 %{_datadir}/swat/images
1257 %{_datadir}/swat/include
1258 %dir %{_datadir}/swat/lang
1259 %lang(ja) %{_datadir}/swat/lang/ja
1260 %lang(tr) %{_datadir}/swat/lang/tr
1261 %{_datadir}/swat/using_samba
1262 %lang(de) %{_libdir}/%{name}/de.msg
1263 %{_libdir}/%{name}/en.msg
1264 %lang(fr) %{_libdir}/%{name}/fr.msg
1265 %lang(it) %{_libdir}/%{name}/it.msg
1266 %lang(ja) %{_libdir}/%{name}/ja.msg
1267 %lang(nl) %{_libdir}/%{name}/nl.msg
1268 %lang(pl) %{_libdir}/%{name}/pl.msg
1269 %lang(tr) %{_libdir}/%{name}/tr.msg
1270 %{_mandir}/man8/swat.8*
1273 %files -n python-samba
1274 %defattr(644,root,root,755)
1275 %dir %{py_sitedir}/samba
1276 %attr(755,root,root) %{py_sitedir}/samba/*.so
1277 %{py_sitedir}/samba/*.py
1278 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1279 %doc source/python/examples
1282 %files -n pam-pam_smbpass
1283 %defattr(644,root,root,755)
1284 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1285 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1287 %files -n libsmbclient
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1291 %files -n libsmbclient-devel
1292 %defattr(644,root,root,755)
1293 %attr(755,root,root) %{_libdir}/libsmbclient.so
1294 %{_includedir}/libsmbclient.h
1296 %files -n libsmbclient-static
1297 %defattr(644,root,root,755)
1298 %{_libdir}/libsmbclient.a
1301 %defattr(644,root,root,755)
1302 %attr(755,root,root) %{_bindir}/smbget
1303 %{_mandir}/man1/smbget.1*
1304 %{_mandir}/man5/smbgetrc.5*
1307 %files -n cups-backend-smb
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_bindir}/smbspool
1310 %attr(755,root,root) %{cups_serverbin}/backend/smb
1311 %{_mandir}/man8/smbspool.8*
1315 %defattr(644,root,root,755)
1316 %attr(755,root,root) %{_vfsdir}/audit.so
1317 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1318 %attr(755,root,root) %{_vfsdir}/full_audit.so
1321 %defattr(644,root,root,755)
1322 %attr(755,root,root) %{_vfsdir}/cap.so
1324 %files vfs-default_quota
1325 %defattr(644,root,root,755)
1326 %attr(755,root,root) %{_vfsdir}/default_quota.so
1328 %files vfs-expand_msdfs
1329 %defattr(644,root,root,755)
1330 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1332 %files vfs-fake_perms
1333 %defattr(644,root,root,755)
1334 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1337 %defattr(644,root,root,755)
1338 %attr(755,root,root) %{_vfsdir}/netatalk.so
1341 %defattr(644,root,root,755)
1342 %attr(755,root,root) %{_vfsdir}/readonly.so
1345 %defattr(644,root,root,755)
1346 %attr(755,root,root) %{_vfsdir}/recycle.so
1348 %files vfs-shadow_copy
1349 %defattr(644,root,root,755)
1350 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1352 %files vfs-vscan-antivir
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-antivir.conf
1356 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1358 %files vfs-vscan-clamav
1359 %defattr(644,root,root,755)
1360 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1361 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-clamav.conf
1362 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1364 %files vfs-vscan-fprot
1365 %defattr(644,root,root,755)
1366 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1367 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fprotd.conf
1368 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1370 %files vfs-vscan-fsav
1371 %defattr(644,root,root,755)
1372 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1373 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fsav.conf
1374 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1376 %files vfs-vscan-kavp
1377 %defattr(644,root,root,755)
1378 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1379 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-kavp.conf
1380 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1382 %files vfs-vscan-mcafee
1383 %defattr(644,root,root,755)
1384 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1385 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1386 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1389 %files vfs-vscan-mks
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-mks32.conf
1393 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1396 %files vfs-vscan-openantivirus
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-oav.conf
1400 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1402 %files vfs-vscan-sophos
1403 %defattr(644,root,root,755)
1404 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1405 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-sophos.conf
1406 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1408 %files vfs-vscan-symantec
1409 %defattr(644,root,root,755)
1410 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1411 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-icap.conf
1412 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1414 %files vfs-vscan-trend
1415 %defattr(644,root,root,755)
1416 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1417 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-trend.conf
1418 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1421 %files -n openldap-schema-samba
1422 %defattr(644,root,root,755)
1423 %{schemadir}/*.schema