3 # - fix Summary and Description for python-samba package
4 # - look into other distro specs for valid %descriptions for samba 3
5 # - review configure options
6 # - fix broken --without ldap, test functionality with other bconds
7 # - new package with McAfee vscan - I dunno what to do with daemon
10 %bcond_without cups # without CUPS support
11 %bcond_without mysql # without MySQL support
12 %bcond_with ldapsam # with LDAP SAM 2.2 based auth (instead of smbpasswd)
13 #%bcond_with ipv6 # with IPv6 support
14 %bcond_without ldap # without LDAP support
15 %bcond_without krb5 # without Kerberos5/Heimdal support
16 %bcond_without python # without python libs/utils
18 %define vscan_version 0.3.5
20 Summary(cs): Server SMB
21 Summary(da): SMB server
22 Summary(de): SMB-Server
23 Summary(es): El servidor SMB
24 Summary(fi): SMB-palvelin
25 Summary(fr): Serveur SMB
26 Summary(it): Server SMB
27 Summary(ja): Samba SMB ¥µ¡¼¥Ð¡¼
28 Summary(ko): »ï¹Ù SMB ¼¹ö
29 Summary(pl): Serwer SMB
30 Summary(pt_BR): Cliente e servidor SMB
31 Summary(ru): SMB ËÌÉÅÎÔ É ÓÅÒ×ÅÒ
32 Summary(tr): SMB sunucusu
33 Summary(uk): SMB Ë̦¤ÎÔ ÔÁ ÓÅÒ×ÅÒ
34 Summary(zh_CN): Samba ¿Í»§¶ËºÍ·þÎñÆ÷
40 Group: Networking/Daemons
41 Source0: http://www.samba.org/samba/ftp/%{name}-%{version}.tar.gz
42 # Source0-md5: 5896ad33676e3c26efaab5dcd897c466
46 Source4: %{name}.sysconfig
47 Source5: %{name}.logrotate
49 Source7: http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
50 # Source7-md5: 5f173d549014985d681478897135915b
52 Source9: winbind.sysconfig
53 Patch0: %{name}-statfs-workaround.patch
54 Patch1: %{name}-lib64.patch
55 #Patch2: http://v6web.litech.org/samba/%{name}-2.2.4+IPv6-20020609.diff
56 URL: http://www.samba.org/
57 BuildRequires: acl-devel
58 BuildRequires: autoconf
59 BuildRequires: automake
60 %{?with_cups:BuildRequires: cups-devel}
61 %{?with_krb5:BuildRequires: heimdal-devel}
62 BuildRequires: libtool >= 2:1.4d
63 BuildRequires: libxml2-devel
65 BuildRequires: mysql-devel
66 BuildRequires: mysql-extras
68 BuildRequires: ncurses-devel >= 5.2
69 %{?with_ldap:BuildRequires: openldap-devel}
70 BuildRequires: openssl-devel >= 0.9.7d
71 BuildRequires: pam-devel > 0.66
72 BuildRequires: popt-devel
73 BuildRequires: readline-devel >= 4.2
74 BuildRequires: xfsprogs-devel
75 %{?with_python:BuildRequires: python-devel}
77 Requires(post,preun): /sbin/chkconfig
78 Requires: %{name}-common = %{epoch}:%{version}-%{release}
81 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
83 %define _vfsdir %{_libdir}/%{name}/vfs
84 %define _sambahome /home/services/samba
86 %define cups_serverbin %(cups-config --serverbin)
90 Samba provides an SMB server which can be used to provide network
91 services to SMB (sometimes called "Lan Manager") clients, including
92 various versions of MS Windows, OS/2, and other Linux machines. Samba
93 also provides some SMB clients, which complement the built-in SMB
94 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
95 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
97 This release is known as the "Locking Update" and has full support for
98 Opportunistic File Locking. In addition this update includes native
99 support for Microsoft encrypted passwords, improved browse list and
100 WINS database management.
102 Please refer to the WHATSNEW.txt document for fixup information. This
103 binary release includes encrypted password support. Please read the
104 smb.conf file and ENCRYPTION.txt in the docs directory for
105 implementation details.
108 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
109 slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
110 klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
111 Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
112 souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
113 TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
114 NetBIOS od spoleènosti Microsoft.
117 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
118 services til SMB (også kaldet "Lan Manager") klienter, incl.
119 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
120 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
121 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
122 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
126 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
127 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
128 verschiedenen Versionen von MS Windows-, OS/2- und anderen
129 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
130 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
131 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
132 (Microsoft Raw NetBIOS frame)-Protokoll.
135 Samba provee un servidor SMB que se puede usar para ofrecer servicios
136 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
137 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
138 Linux. Samba también ofrece algunos clientes SMB, que complementan el
139 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
140 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
144 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
145 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
146 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
147 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
148 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
149 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
150 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
154 Samba fornisce un server SMB che puo` essere usato per fornire servizi
155 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
156 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
157 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
160 Samba ¤Ï MS Windows ¤ÎÍÍ¡¹¤Ê¥Ð¡¼¥¸¥ç¥ó¡¢OS/2 ¤½¤·¤Æ¾¤Î Linux ¥Þ¥·¥ó
161 ¤ò´Þ¤à SMB (¤¿¤Þ¤Ë "Lan Manager" ¤È¸Æ¤Ð¤ì¤ë)
162 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Í¥Ã¥È¥ï¡¼¥¯ ¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë SMB
163 ¥µ¡¼¥Ð¤òÄ󶡤·¤Þ¤¹¡£Samba ¤Ï NetBIOS over TCP/IP (NetBT)
164 ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¡¢ NetBEUI(Microsoft Raw NetBIOS frame)
165 ¥×¥í¥È¥³¥ë¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£
167 Samba ¤Û¤È¤ó¤ÉÆ°ºî¤¹¤ë NT ¥É¥á¥¤¥ó¥³¥ó¥È¥í¡¼¥ë¤Îµ¡Ç½¤òÆÃħ¤È¤·¡¢
168 ¹¥¤¤Ê¥Ö¥é¥¦¥¶¤ò»È¤Ã¤Æ samba ¤Î smb.conf ¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È´ÉÍý¤¹¤ë
169 ¿·¤·¤¤ SWAT (Samba Web Administration Tool) ¤ò´Þ¤ß¤Þ¤¹¡£
170 Ìܲ¼¤Î¤È¤³¤í¤³¤ì¤Ï inetd ¤òÄ̤·¤Æ TCP ¥Ý¡¼¥È 901 ¤Ç͸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
173 »ï¹Ù´Â MS Windows, OS/2, ȤÀº ´Ù¸¥ ¸®´ª½º ¸Ó½ÅÀ» Æ÷ÇÔÇÏ´Â SMB(ȤÀº
174 "Lan Manager"¶ó°íµµ ºÒ¸²) Ŭ¶óÀ̾ðÆ®¸¦ ³×Æ®¿öÅ© ¼ºñ½º À§ÇØ »ç¿ëÇÒ ¼ö
175 ÀÖ´Â SMB ¼¹ö¸¦ Á¦°øÇÑ´Ù. »ï¹Ù´Â TCP/IP ÇÁ·ÎÅäÄÝÀ» ÅëÇØ NetBIOS¸¦
176 »ç¿ëÇÏ°í NetBEUI (Microsoft Raw NetBIOS ÇÁ·¹ÀÓ) ÇÁ·ÎÅäÄÝÀº ÇÊ¿äÇÏÁö
179 »ï¹Ù-2.2 ÀÇ Æ¯Â¡Àº NT µµ¸ÞÀÎ ÄÁÆ®·ÑÀÇ ¼º´ÉÀ¸·Î ÀÛ¾÷À» ÇÏ°í, »õ·Î¿î
180 SWAT(Samba Web Administration Tool)·Î À¥ºê¶ó¿ìÀú¸¦ »ç¿ëÇÏ¿© ¿ø°ÝÁö¿¡¼
181 »ï¹ÙÀÇ smb.conf ÆÄÀÏÀ» °ü¸®Çϵµ·Ï ÇÑ´Ù. ÀÌ·¯ÇÑ °æ¿ì inetd µ¥¸óÀ» ÅëÇØ
182 TCP 901 Æ÷Æ®¸¦ »ç¿ëÇÏ°Ô µÈ´Ù.
184 ÃÖ±Ù Á¤º¸·Î WHATSNEW.txt ÆÄÀÏÀÇ ¹®¼¸¦ Âü°íÇϵµ·Ï ÇÑ´Ù. ¹ÙÀ̳ʸ®ÀÇ
185 ¸±¸®Áî´Â ¾ÏÈ£ÈµÈ Æнº¿öµå¸¦ Á¦°øÇÑ´Ù. ±¸Çö¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾ò±â
186 À§ÇØ docs µð·ºÅ丮³»¿¡ ÀÖ´Â smb.conf ÆÄÀÏ°ú ENCRYPTION.txt ÆÄÀÏÀ»
190 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
191 us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
192 takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. W pakiecie
193 znajduje siê równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u
194 NetBIOS po TCP/IP (NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma
195 pe³ne wsparcie dla blokowania plików, a tak¿e wsparcie dla kodowania
196 hase³ w standardzie MS i zarz±dzania baz± WINS.
198 %description -l pt_BR
199 O Samba provê um servidor SMB que pode ser usado para oferecer
200 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
201 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
202 máquinas Linux. O Samba também fornece alguns clientes SMB, que
203 complementam o sistema de arquivos SMB do Linux. O Samba usa o
204 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
205 NetBEUI (Microsoft Raw NetBIOS frame).
207 O Samba inclui a maioria das características de um servidor de
208 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
209 permite que o arquivo smb.conf seja gerenciado remotamente através de
210 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
214 Samba ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ÓÅÒ×ÅÒ, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ
215 ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ× SMB (ÉÎÏÇÄÁ ÎÁÚÙ×ÁÅÍÙÍ "Lan Manager")
216 ËÌÉÅÎÔÁÍ, ×ËÌÀÞÁÑ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ×ÅÒÓÉÉ MS Windows, OS/2, É ÄÒÕÇÉÅ
217 Linux-ÍÁÛÉÎÙ. Samba ÔÁËÖÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ËÌÉÅÎÔÏ×, ËÏÔÏÒÙÅ ÒÁÂÏÔÁÀÔ
218 ÓÏ ×ÓÔÒÏÅÎÎÏÊ × Linux ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB.
220 Samba ÉÓÐÏÌØÚÕÅÔ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) É ÎÅ ÎÕÖÄÁÅÔÓÑ ×
221 ÐÒÏÔÏËÏÌÅ NetBEUI (Microsoft Raw NetBIOS frame).
223 Samba ÓÏÄÅÒÖÉÔ ÐÒÁËÔÉÞÅÓËÉ ÒÁÂÏÔÁÀÝÕÀ ÒÅÁÌÉÚÁÃÉÀ NT Domain Control É
224 ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool), ËÏÔÏÒÙÊ ÐÏÚ×ÏÌÑÅÔ
225 ÕÄÁÌÅÎÎÏ ÕÐÒÁ×ÌÑÔØ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÍ ÆÁÊÌÏÍ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
226 ÌÀÂÉÍÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÁ ÞÔÏ ÏÎ ÒÁÚÒÅÛÅÎ ÞÅÒÅÚ inetd ÎÁ TCP-ÐÏÒÔÕ
230 Samba ÎÁÄÁ¤ SMB-ÓÅÒ×ÅÒ, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ ÎÁÄÁÎÎÑ
231 ÍÅÒÅÖÅ×ÉÈ ÓÅÒ×¦Ó¦× SMB (ÝÏ §È ¦ÎÏĦ ÎÁÚÉ×ÁÀÔØ "Lan Manager") Ë̦¤ÎÔÁÍ,
232 ×ËÌÀÞÁÀÞÉ Ò¦ÚÎÏÍÁΦÔΦ ×ÅÒÓ¦§ MS Windows, OS/2, ÔÁ ¦ÎÛ¦ Linux-ÍÁÛÉÎÉ.
233 Samba ÔÁËÏÖ ÎÁÄÁ¤ SMB-Ë̦¤ÎÔ¦×, ÝÏ ÐÒÁÃÀÀÔØ Ú ×ÂÕÄÏ×ÁÎÏÀ × Linux
234 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB.
236 Samba ×ÉËÏÒÉÓÔÏ×Õ¤ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) ÔÁ ÎÅ ÐÏÔÒÅÂÕ¤
237 ÐÒÏÔÏËÏÌÕ NetBEUI (Microsoft Raw NetBIOS frame).
239 Samba ͦÓÔÉÔØ ÍÁÊÖÅ ÐÒÁÃÀÀÞÕ ÒÅÁÌÉÚÁæÀ NT Domain Control ÔÁ ÎÏ×ÙÊ
240 SWAT (Samba Web Administration Tool), ËÏÔÒÉÊ ÄÏÚ×ÏÌѤ צÄÄÁÌÅÎÏ
241 ËÅÒÕ×ÁÔÉ ËÏÎƦÇÕÒÁæÊÎÉÍ ÆÁÊÌÏÍ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
242 ÕÌÀÂÌÅÎÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÉ ÝÏ ×¦Î ÄÏÚ×ÏÌÅÎÉÊ ÞÅÒÅÚ inetd ÎÁ
246 Summary: Samba Web Administration Tool
247 Summary(es): Samba SWAT and Web documentation
248 Summary(pl): Narzêdzie administracyjne serwisu Samba
249 Summary(pt_BR): Samba SWAT e documentação Web
250 Summary(ru): ðÒÏÇÒÁÍÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ SMB-ÓÅÒ×ÅÒÁ Samba
251 Summary(uk): ðÒÏÇÒÁÍÁ ËÏÎÆÉÇÕÒÁæ§ SMB-ÓÅÒ×ÅÒÁ Samba
252 Group: Networking/Admin
253 Requires: %{name} = %{epoch}:%{version}-%{release}
255 Requires: rc-inetd >= 0.8.2
259 swat allows a Samba administrator to configure the complex smb.conf
260 file via a Web browser. In addition, a swat configuration page has
261 help links to all the configurable options in the smb.conf file
262 allowing an administrator to easily look up the effects of any change.
264 %description swat -l pl
265 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
268 %description swat -l pt_BR
269 SWAT - ferramentada Web de configuração do Samba.
271 %description swat -l ru
272 ðÁËÅÔ samba-swat ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool),
273 ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ ÆÁÊÌÁ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
274 ÌÀÂÉÍÏÇÏ Web-ÂÒÁÕÚÅÒÁ.
276 %description swat -l uk
277 ðÁËÅÔ samba-swat ͦÓÔÉÔØ ÎÏ×ÉÊ SWAT (Samba Web Administration Tool),
278 ÄÌÑ ÄÉÓÔÁÎæÊÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ ÆÁÊÌÕ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
279 ÕÌÀÂÌÅÎÏÇÏ Web-ÂÒÁÕÚÅÒÕ.
282 Summary: Samba MySQL password database plugin
283 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie MySQL
284 Group: Networking/Daemons
285 Requires: %{name} = %{epoch}:%{version}-%{release}
287 %description pdb-mysql
288 Samba MySQL password database plugin.
290 %description pdb-mysql -l pl
291 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
294 Summary: Samba XML password database plugin
295 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie XML
296 Group: Networking/Daemons
297 Requires: %{name} = %{epoch}:%{version}-%{release}
300 Samba XML password database plugin.
302 %description pdb-xml -l pl
303 Wtyczka Samby do przechowywania hase³ w bazie XML.
306 Summary: Samba client programs
307 Summary(es): Cliente SMB de Samba
308 Summary(ja): Samba (SMB) ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
309 Summary(pl): Klienci serwera Samba
310 Summary(pt_BR): Cliente SMB do samba
311 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ Samba (SMB)
312 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ Samba (SMB)
313 Group: Applications/Networking
314 Requires: samba-common = %{epoch}:%{version}-%{release}
316 Obsoletes: mount-cifs
319 Samba-client provides some SMB clients, which complement the build-in
320 SMB filesystem in Linux. These allow accessing of SMB shares and
321 printing to SMB printers.
323 %description client -l pt_BR
324 O pacote samba-clientes prove alguns clientes SMB, que complementam o
325 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
326 e também, à impressoras SMB.
328 %description client -l es
329 Cliente SMB de Samba.
331 %description client -l ja
332 Samba-client ¤Ï Linux ¾å¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë SMB ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÊ䤦 SMB
333 ¥¯¥é¥¤¥¢¥ó¥È¤òÄ󶡤·¤Þ¤¹¡£¤³¤ì¤é¤Ï SMB ¶¦Í¤Î¥¢¥¯¥»¥¹¤È SMB
334 ¥×¥ê¥ó¥¿¤Ø¤Î°õºþ¤òµö²Ä¤·¤Þ¤¹¡£
336 %description client -l pl
337 Samba-client dostarcza programy uzupe³niaj±ce obs³ugê systemu plików
338 SMB zawart± w j±drze. Pozwalaj± one na wspó³dzielenie zasobów SMB i
339 drukowanie w sieci SMB.
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 ru
347 ðÁËÅÔ samba-client ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÅËÏÔÏÒÙÅ ËÌÉÅÎÔÙ SMB ÄÌÑ ÒÁÂÏÔÙ ÓÏ
348 ×ÓÔÒÏÅÎÎÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB × Linux. üÔÉ ËÌÉÅÎÔÙ ÐÏÚ×ÏÌÑÀÔ
349 ÐÏÌÕÞÁÔØ ÄÏÓÔÕÐ Ë ÒÁÚÄÅÌÑÅÍÙÍ ËÁÔÁÌÏÇÁÍ SMB É ÐÅÞÁÔØ ÎÁ SMB-ÐÒÉÎÔÅÒÙ.
351 %description client -l uk
352 ðÁËÅÔ samba-client ÎÁÄÁ¤ ÄÅÑ˦ Ë̦¤ÎÔÉ SMB ÄÌÑ ÒÏÂÏÔÉ Ú¦ ×ÂÕÄÏ×ÁÎÏÀ
353 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB × Linux. 㦠Ë̦¤ÎÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÕ×ÁÔÉ ÄÏÓÔÕÐ
354 ÄÏ ËÁÔÁÌÏÇ¦× ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ SMB ÔÁ ÄÒÕË ÎÁ SMB-ÐÒ¦ÎÔÅÒÉ.
357 Summary: Files used by both Samba servers and clients
358 Summary(es): Common files between samba and samba-clients
359 Summary(ja): Samba ¥µ¡¼¥Ð¡¼¤È¥¯¥é¥¤¥¢¥ó¥È¤Ç»ÈÍѤµ¤ì¤ë¥×¥í¥°¥é¥à
360 Summary(pl): Pliki u¿ywane przez serwer i klientów Samba
361 Summary(pt_BR): Arquivos em comum entre samba e samba-clients
362 Summary(ru): æÁÊÌÙ, ÉÓÐÏÌØÚÕÅÍÙÅ ËÁË ÓÅÒ×ÅÒÏÍ, ÔÁË É ËÌÉÅÎÔÏÍ Samba
363 Summary(uk): æÁÊÌÉ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÑË ÓÅÒ×ÅÒÏÍ, ÔÁË ¦ Ë̦¤ÎÔÏÍ Samba
364 Group: Networking/Daemons
367 Samba-common provides files necessary for both the server and client
370 %description common -l ja
371 Samba-common ¤Ï Samba ¤Î¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤ÎξÊý¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç
372 »ÈÍѤµ¤ì¤ë¥Õ¥¡¥¤¥ë¤òÄ󶡤·¤Þ¤¹¡£
374 %description common -l pl
375 Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
378 %description common -l pt_BR
379 Arquivos em comum entre os pacotes samba e samba-clients.
381 %description common -l ru
382 Samba-common ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ ËÁË ËÌÉÅÎÔÁ, ÔÁË É
385 %description common -l uk
386 Samba-common ͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ ÑË Ë̦¤ÎÔÁ, ÔÁË ¦
390 Summary: Samba-winbind daemon, utilities and documentation
391 Summary(pl): Demon samba-winbind, narzêdzia i dokumentacja
392 Group: Networking/Daemons
393 Requires(post,preun): /sbin/chkconfig
394 Requires: %{name}-common = %{epoch}:%{version}-%{release}
397 Provides the winbind daemon and testing tools to allow authentication
398 and group/user enumeration from a Windows or Samba domain controller.
400 %description winbind -l pl
401 Pakiet zawiera demona winbind oraz narzêdzia testowe. Umo¿liwia
402 uwierzytelnianie i wyliczanie grup/u¿ytkowników z kontrolera domeny
406 Summary: Name Service Switch service for WINS
407 Summary(pl): Us³uga Name Service Switch dla WINS
409 Requires: %{name}-common = %{epoch}:%{version}-%{release}
411 %description -n nss_wins
412 Provides the libnss_wins shared library which resolves NetBIOS names
415 %description -n nss_wins -l pl
416 Biblioteka dzielona libnss_wins rozwi±zuj±ca nazwy NetBIOS na adresy
419 %package -n pam-pam_smbpass
420 Summary: PAM Samba Password Module
421 Summary(pl): Modu³ PAM smbpass
423 Obsoletes: pam_smbpass
425 %description -n pam-pam_smbpass
426 PAM module which can be used on conforming systems to keep the
427 smbpasswd (Samba password) database in sync with the unix password
430 %description -n pam-pam_smbpass -l pl
431 Modu³ PAM, który mo¿e byæ u¿ywany do trzymania pliku smbpasswd (has³a
432 Samby) zsynchronizowanego z has³ami unixowymi.
434 %package -n libsmbclient
435 Summary: libsmbclient - samba client library
436 Summary(pl): libsmbclient - biblioteka klienta samby
439 %description -n libsmbclient
440 libsmbclient - library that allows to use samba clients functions.
442 %description -n libsmbclient -l pl
443 libsmbclient - biblioteka pozwalaj±ca korzystaæ z funcji klienta
446 %package -n libsmbclient-devel
447 Summary: libsmbclient - samba client library
448 Summary(pl): libsmbclient - biblioteka klienta samby
449 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
450 Group: Development/Libraries
451 Requires: libsmbclient = %{epoch}:%{version}-%{release}
453 %description -n libsmbclient-devel
454 Header files for libsmbclient.
456 %description -n libsmbclient-devel -l pl
457 Pliki nag³ówkowe dla libsmbclient.
459 %description -n libsmbclient-devel -l pt_BR
460 Arquivos de inclusão, bibliotecas e documentação necessários para
461 desenvolver aplicativos clientes para o samba.
463 %package -n libsmbclient-static
464 Summary: Static version of libsmbclient - samba client library
465 Summary(pl): Statyczna wersja libsmbclient - biblioteki klienta samby
466 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
467 Group: Development/Libraries
468 Requires: libsmbclient = %{epoch}:%{version}-%{release}
470 %description -n libsmbclient-static
471 Static libsmbclient library.
473 %description -n libsmbclient-static -l pl
474 Statyczna biblioteka libsmbclient.
477 Summary: A utility for retrieving files using the SMB protocol
478 Summary(pl): Narzêdzie do pobierania plików protoko³em SMB
479 Group: Applications/Networking
481 %description -n smbget
482 wget-like utility for download files over SMB.
484 %description -n smbget -l pl
485 Narzêdzie podobne do wgeta do pobierania plików protoko³em SMB
486 u¿ywanym w sieciach MS Windows.
488 %package -n cups-backend-smb
489 Summary: CUPS backend for printing to SMB printers
490 Summary(pl): Backend CUPS-a drukuj±cy na drukarkach SMB
491 Group: Applications/Printing
492 Requires: %{name}-client = %{epoch}:%{version}-%{release}
495 %description -n cups-backend-smb
496 CUPS backend for printing to SMB printers.
498 %description -n cups-backend-smb -l pl
499 Backend CUPS-a drukuj±cy na drukarkach SMB.
501 %package -n python-samba
502 Summary: Samba python tools and libraries
503 Summary(pl): Narzêdzia i biblioteki pythona do samby
504 Group: Applications/Networking
506 %description -n python-samba
507 Samba python tools and libraries
509 %description -n python-samba -l pl
510 Narzêdzia i biblioteki pythona do samby
513 Summary: VFS module to audit file access
514 Summary(pl): Modu³ VFS do monitorowania operacji na plikach
515 Group: Networking/Daemons
516 Requires: %{name} = %{epoch}:%{version}-%{release}
518 %description vfs-audit
519 A simple module to audit file access to the syslog facility. The
520 following operations are logged: share connect/disconnect, directory
521 opens/create/remove, file open/close/rename/unlink/chmod.
523 %description vfs-audit -l pl
524 Prosty modu³ do monitorowania dostêpu do plików do sysloga.
525 Monitorowane s± nastêpuj±ce operacje: pod³±czone/od³±czenie do zasobu,
526 otwarcie/utworzenie/zmiana nazwy katalogu, otwarcie/zamknêcie/zmiana
527 nazwy/skasowania/zmiana praw plików.
530 Summary: VFS module for CAP and samba compatibility
531 Summary(pl): Modu³ VFS zgodno¶ci z CAP (Columbia AppleTalk Program)
532 Group: Networking/Daemons
533 Requires: %{name} = %{epoch}:%{version}-%{release}
536 Convert an incoming Shift-JIS character to the 3 byte hex
537 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
538 This is used for compatibility between Samba and CAP.
540 %description vfs-cap -l pl
541 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
542 reprezentacji u¿ywanej przez program Columbia AppleTalk Program (CAP).
544 %package vfs-default_quota
545 Summary: VFS module to store default quotas in a specified quota record
546 Summary(pl): Modu³ VFS do zapisywania domy¶lnych limitów w okre¶lonym rekordzie
547 Group: Networking/Daemons
548 Requires: %{name} = %{epoch}:%{version}-%{release}
550 %description vfs-default_quota
551 This VFS modules stores default quotas in a specified quota record.
553 %description vfs-default_quota -l pl
554 Ten modu³ VFS zapisuje domy¶lne limity (quoty) w okre¶lonym rekordzie
557 %package vfs-expand_msdfs
558 Summary: VFS module for hosting a Microsoft Distributed File System Tree
559 Summary(pl): Modu³ VFS obs³ugi Microsoft Distributed File System
560 Group: Networking/Daemons
561 Requires: %{name} = %{epoch}:%{version}-%{release}
563 %description vfs-expand_msdfs
564 A VFS module for hosting a Microsoft Distributed File System Tree.
566 The Distributed File System (DFS) provides a means of separating the
567 logical view of files and directories that users see from the actual
568 physical locations of these resources on the network. It allows for
569 higher availability, smoother storage expansion, load balancing, and
572 %description vfs-expand_msdfs -l pl
573 Modu³ VFS do udostêpniania drzewa systemu plików Microsoft Distributed
576 Distributed File System (DFS) umo¿liwia rozdzielanie logicznego widoku
577 plików i katalogów widocznych przez u¿ytkowników z fizycznego
578 umiejscowienia tych zasobów w sieci. Pozwala to na wy¿sz± dostêpno¶æ,
579 p³ynniejsze powiêkszanie przestrzeni, rozdzielanie obci±¿enia itp.
581 %package vfs-fake_perms
582 Summary: VFS module to report read-only fires as writable
583 Summary(pl): Modu³ VFS udaj±cy, ¿e pliki tylko do odczytu s± zapisywalne
584 Group: Networking/Daemons
585 Requires: %{name} = %{epoch}:%{version}-%{release}
587 %description vfs-fake_perms
588 This module allow Roaming Profile files and directories to be set (on
589 the Samba server under UNIX) as read only. This module will, if
590 installed on the Profiles share, report to the client that the Profile
591 files and directories are writeable. This satisfies the client even
592 though the files will never be overwritten as the client logs out or
595 %description vfs-fake_perms -l pl
596 Ten modu³ pozwala na ustawienie plików i katalogów z wêdruj±cych
597 profili (Roaming Profiles) jako tylko do odczytu. Modu³ ten w
598 przypadku zainstalowania na udziale z profilami bêdzie zg³asza³
599 klientom, ¿e pliki i katalogi z profilu s± zapisywane. To wystarczy
600 klientom pomimo, ¿e pliki nie zostan± nigdy nadpisane przy logowaniu
601 lub wylogowywaniu klienta.
603 %package vfs-netatalk
604 Summary: VFS module for ease co-existence of samba and netatalk
605 Summary(pl): Modu³ VFS u³atwiaj±cy wspó³pracê serwisów samba i netatalk
606 Group: Networking/Daemons
607 Requires: %{name} = %{epoch}:%{version}-%{release}
609 %description vfs-netatalk
610 Package contains a netatalk VFS module for ease co-existence of Samba
611 and netatalk file sharing services.
613 %description vfs-netatalk -l pl
614 Pakiet zawiera modu³ VFS netatalk umo¿liwiaj±cy wspó³pracê us³ug samba
615 i netatalk przy udostêpnianiu zasobów.
618 Summary: VFS module to add recycle bin facility to a samba share
619 Summary(pl): Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby
620 Group: Networking/Daemons
621 Requires: %{name} = %{epoch}:%{version}-%{release}
623 %description vfs-recycle
624 VFS module to add recycle bin facility to a samba share.
626 %description vfs-recycle -l pl
627 Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby.
629 %package vfs-readonly
630 Summary: VFS module for read-only limitation for specified share
631 Summary(pl): Modu³ VFS do ograniczania okre¶lonego udzia³u tylko do odczytu
632 Group: Networking/Daemons
633 Requires: %{name} = %{epoch}:%{version}-%{release}
635 %description vfs-readonly
636 This module performs a read-only limitation for specified share (or
637 all of them if it is loaded in a [global] section) based on period
638 definition in smb.conf.
640 %description vfs-readonly -l pl
641 Ten modu³ wprowadza ograniczenie tylko do odczytu dla okre¶lonego
642 udzia³u (lub wszystkich, je¶li jest wczytywany w sekcji [global]) w
643 oparciu o definicje okresów w smb.conf.
645 %package vfs-shadow_copy
646 Summary: VFS module to make automatic copy of data in samba share
647 Summary(pl): Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby
648 Group: Networking/Daemons
649 Requires: %{name} = %{epoch}:%{version}-%{release}
651 %description vfs-shadow_copy
652 VFS module to make automatic copy of data in samba share.
654 %description vfs-shadow_copy -l pl
655 Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby.
657 %package vfs-vscan-clamav
658 Summary: On-access virus scanning for samba using ClamAV
659 Summary(pl): Skaner antywirusowy online wykorzystuj±cy ClamAV
660 Group: Networking/Daemons
661 Requires: %{name} = %{epoch}:%{version}-%{release}
663 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
665 %description vfs-vscan-clamav
666 A vfs-module for samba to implement on-access scanning using the
667 ClamAV antivirus software (which must be installed to use this).
669 %description vfs-vscan-clamav -l pl
670 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
671 dostêpu do plików korzystaj±c z oprogramowania antywirusowego ClamAV
672 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
674 %package vfs-vscan-fprot
675 Summary: On-access virus scanning for samba using FPROT
676 Summary(pl): Skaner antywirusowy online wykorzystuj±cy FPROT
677 Group: Networking/Daemons
678 Requires: %{name} = %{epoch}:%{version}-%{release}
679 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
680 Obsoletes: vscan-fprot
682 %description vfs-vscan-fprot
683 A vfs-module for samba to implement on-access scanning using the FPROT
684 antivirus software (which must be installed to use this).
686 %description vfs-vscan-fprot -l pl
687 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
688 dostêpu do plików korzystaj±c z oprogramowania antywirusowego FPROT
689 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
691 %package vfs-vscan-fsav
692 Summary: On-access virus scanning for samba using F-Secure AntiVirus
693 Summary(pl): Modu³ VFS dodaj±cy obs³ugê antywirusa F-Secure AntiVirus
694 Group: Networking/Daemons
695 Requires: %{name} = %{epoch}:%{version}-%{release}
696 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
697 Obsoletes: vscan-kavp
699 %description vfs-vscan-fsav
700 A vfs-module for samba to implement on-access scanning using the
701 F-Secure AntiVirus antivirus software (which must be installed to use
704 %description vfs-vscan-fsav -l pl
705 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
706 dostêpu do plików korzystaj±c z oprogramowania antywirusowego F-Secure
707 AntiVirus (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
709 %package vfs-vscan-kavp
710 Summary: On-access virus scanning for samba using Kaspersky AVP
711 Summary(pl): Modu³ VFS dodaj±cy obs³ugê antywirusa Kaspersky AVP
712 Group: Networking/Daemons
713 Requires: %{name} = %{epoch}:%{version}-%{release}
714 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
715 Obsoletes: vscan-kavp
717 %description vfs-vscan-kavp
718 A vfs-module for samba to implement on-access scanning using the
719 Kaspersky AVP antivirus software (which must be installed to use
722 %description vfs-vscan-kavp -l pl
723 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
724 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
725 Kaspersky AVP (które musi byæ zainstalowane, aby wykorzystaæ ten
728 %package vfs-vscan-mks
729 Summary: On-access virus scanning for samba using mks
730 Summary(pl): Modu³ VFS dodaj±cy obs³ugê antywirusa mks
731 Group: Networking/Daemons
732 Requires: %{name} = %{epoch}:%{version}-%{release}
734 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
737 %description vfs-vscan-mks
738 A vfs-module for samba to implement on-access scanning using the mks
739 antivirus software (which must be installed to use this).
741 %description vfs-vscan-mks -l pl
742 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
743 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mks
744 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
746 %package vfs-vscan-openantivirus
747 Summary: On-access virus scanning for samba using OpenAntivirus
748 Summary(pl): Modu³ VFS dodaj±cy obs³ugê antywirusa OpenAntiVirus
749 Group: Networking/Daemons
750 Requires: %{name} = %{epoch}:%{version}-%{release}
751 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
752 Obsoletes: vscan-openantivirus
754 %description vfs-vscan-openantivirus
755 A vfs-module for samba to implement on-access scanning using the
756 OpenAntivirus antivirus software (which must be installed to use
759 %description vfs-vscan-openantivirus -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 OpenAntiVirus.org (które musi byæ zainstalowane, aby wykorzystaæ ten
765 %package vfs-vscan-sophos
766 Summary: On-access virus scanning for samba using Sophos
767 Summary(pl): Modu³ VFS dodaj±cy obs³ugê antywirusa Sophos
768 Group: Networking/Daemons
769 Requires: %{name} = %{epoch}:%{version}-%{release}
770 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
771 Obsoletes: vscan-sophos
773 %description vfs-vscan-sophos
774 A vfs-module for samba to implement on-access scanning using the
775 Sophos antivirus software (which must be installed to use this).
777 %description vfs-vscan-sophos -l pl
778 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
779 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Sophos
780 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
782 %package vfs-vscan-symantec
783 Summary: On-access virus scanning for samba using Symantec
784 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Symantec
785 Group: Networking/Daemons
786 Requires: %{name} = %{epoch}:%{version}-%{release}
787 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
788 Obsoletes: vscan-symantec
790 %description vfs-vscan-symantec
791 A vfs-module for samba to implement on-access scanning using the
792 Symantec antivirus software (which must be installed to use this).
794 %description vfs-vscan-symantec -l pl
795 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
796 dostêpu do plików korzystaj±c z oprogramowania antywirusowego firmy
797 Symantec (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
799 %package vfs-vscan-trend
800 Summary: On-access virus scanning for samba using Trend
801 Summary(pl): Modu³ VFS dodaj±cy obs³ugê antywirusa Trend
802 Group: Networking/Daemons
803 Requires: %{name} = %{epoch}:%{version}-%{release}
804 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
805 Obsoletes: vscan-trend
807 %description vfs-vscan-trend
808 A vfs-module for samba to implement on-access scanning using the Trend
809 antivirus software (which must be installed to use this).
811 %description vfs-vscan-trend -l pl
812 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
813 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Trend
814 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
822 #%{?with_ipv6:%patch2 -p1}
832 # Removed options (default or not supported by configure script)
835 # --without-smbwrapper \
836 # --with-sslinc=%{_prefix} \
839 # %{?with_ipv6:--with-ipv6} \
844 --with-libsmbclient \
847 --with%{!?with_ldap:out}-ads \
848 --with-privatedir=%{_sysconfdir}/samba \
852 --with-swatdir=%{_datadir}/swat \
856 %{?with_python:--with-python} \
857 --with-expsam=xml,%{?with_mysql:mysql} \
858 %{?with_ldapsam:--with-ldapsam} \
859 --with%{!?with_ldap:out}-ldap \
860 --with%{!?with_krb5:out}-krb5
863 %{__make} everything pam_smbpass bin/smbget client/mount.cifs
868 CFLAGS="%{rpmcflags} -fPIC"
872 cd samba-vscan-%{vscan_version}
873 cp %{_datadir}/automake/config.sub .
878 rm -rf $RPM_BUILD_ROOT
879 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
880 $RPM_BUILD_ROOT/var/{lock,log,log/archiv,spool}/samba \
881 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome}}
885 DESTDIR=$RPM_BUILD_ROOT \
886 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
888 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
891 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
893 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
894 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
895 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
896 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
897 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
898 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
899 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
900 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
902 install source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
903 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
904 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
905 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
906 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
907 install source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security
908 install source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security
909 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
910 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
912 mv $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
913 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
915 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
918 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
919 install examples/VFS/samba-vscan-%{vscan_version}/{clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
921 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
923 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
926 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
927 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
930 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
931 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
933 rm -f docs/faq/*.{sgml,txt}
934 rm -f docs/htmldocs/*.[0-9].html
936 # we have this utility in tdb package
937 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
941 install -d $RPM_BUILD_ROOT%{py_sitedir}
942 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
946 rm -rf $RPM_BUILD_ROOT
949 /sbin/chkconfig --add smb
950 if [ -r /var/lock/subsys/smb ]; then
951 /etc/rc.d/init.d/smb restart >&2
953 echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
957 if [ "$1" = "0" ]; then
958 if [ -r /var/lock/subsys/smb ]; then
959 /etc/rc.d/init.d/smb stop >&2
961 /sbin/chkconfig --del smb
965 /sbin/chkconfig --add winbind
966 if [ -r /var/lock/subsys/winbind ]; then
967 /etc/rc.d/init.d/winbind restart >&2
969 echo "Run \"/etc/rc.d/init.d/winbind start\" to start Winbind daemon."
973 if [ "$1" = "0" ]; then
974 if [ -r /var/lock/subsys/winbind ]; then
975 /etc/rc.d/init.d/winbind stop >&2
977 /sbin/chkconfig --del winbind
981 if [ -f /var/lock/subsys/rc-inetd ]; then
982 /etc/rc.d/init.d/rc-inetd reload 1>&2
984 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
988 if [ -f /var/lock/subsys/rc-inetd ]; then
989 /etc/rc.d/init.d/rc-inetd reload
992 %triggerpostun -- samba < 1.9.18p7
993 if [ "$1" != "0" ]; then
994 /sbin/chkconfig --add smb
997 %triggerpostun -- samba < 2.0.5a-3
998 if [ "$1" != "0" ]; then
999 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
1000 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
1004 %defattr(644,root,root,755)
1005 %attr(755,root,root) %{_sbindir}/nmbd
1006 %attr(755,root,root) %{_sbindir}/smbd
1007 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1008 %attr(755,root,root) %{_bindir}/smbstatus
1009 %attr(755,root,root) %{_bindir}/smbpasswd
1010 %attr(755,root,root) %{_bindir}/smbcontrol
1011 %attr(755,root,root) %{_bindir}/tdbbackup
1013 %dir %{_libdir}/%{name}/pdb
1016 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smbusers
1017 %attr(754,root,root) /etc/rc.d/init.d/smb
1018 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
1019 %attr(640,root,root) /etc/logrotate.d/samba
1020 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/samba
1021 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
1022 %{_mandir}/man1/smbstatus.1*
1023 %{_mandir}/man1/smbcontrol.1*
1024 %{_mandir}/man5/smbpasswd.5*
1025 %{_mandir}/man7/samba.7*
1026 %{_mandir}/man8/nmbd.8*
1027 %{_mandir}/man8/smbd.8*
1028 %{_mandir}/man8/smbpasswd.8*
1029 %{_mandir}/man8/pdbedit.8*
1030 %{_mandir}/man8/winbindd.8*
1031 %{_mandir}/man8/tdbbackup.8*
1034 %dir /var/lock/samba
1035 %ghost /var/lock/samba/*
1037 %attr(0750,root,root) %dir /var/log/samba
1038 %attr(0750,root,root) %dir /var/log/archiv/samba
1039 %attr(1777,root,root) %dir /var/spool/samba
1043 %defattr(644,root,root,755)
1044 %attr(755,root,root) %{_libdir}/%{name}/pdb/mysql.so
1048 %defattr(644,root,root,755)
1049 %attr(755,root,root) %{_libdir}/%{name}/pdb/xml.so
1052 %defattr(644,root,root,755)
1053 %attr(755,root,root) %{_sbindir}/winbindd
1054 %attr(755,root,root) %{_bindir}/wbinfo
1055 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1056 %attr(755,root,root) /%{_lib}/libnss_winbind*
1057 %attr(754,root,root) /etc/rc.d/init.d/winbind
1058 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/winbind
1059 #%attr(-,root,root) %config(noreplace) %{_sysconfdir}/pam.d/system-auth-winbind*
1060 %{_mandir}/man8/winbindd*.8*
1061 %{_mandir}/man1/wbinfo*.1*
1064 %defattr(644,root,root,755)
1065 %attr(755,root,root) /%{_lib}/libnss_wins*
1068 %defattr(644,root,root,755)
1069 %attr(755,root,root) /sbin/mount.smbfs
1070 %attr(755,root,root) /sbin/mount.cifs
1071 %attr(755,root,root) %{_bindir}/smbmount
1072 %attr(755,root,root) %{_bindir}/smbmnt
1073 %attr(755,root,root) %{_bindir}/smbumount
1074 %attr(755,root,root) %{_bindir}/net
1075 %attr(755,root,root) %{_bindir}/smbtree
1076 %{_mandir}/man8/net.8*
1077 %{_mandir}/man8/smbmnt.8*
1078 %{_mandir}/man8/smbmount.8*
1079 %{_mandir}/man8/smbumount.8*
1080 %{_mandir}/man8/mount.cifs.8*
1081 %attr(755,root,root) %{_bindir}/nmblookup
1082 %attr(755,root,root) %{_bindir}/smbclient
1083 %attr(755,root,root) %{_bindir}/smbtar
1084 %attr(755,root,root) %{_bindir}/smbcacls
1085 %{_mandir}/man1/smbtar.1*
1086 %{_mandir}/man1/smbtree.1*
1087 %{_mandir}/man1/smbclient.1*
1088 %{_mandir}/man1/nmblookup.1*
1089 %{_mandir}/man1/smbcacls.1*
1090 %{_mandir}/man1/smbsh.1*
1091 %attr(755,root,root) %{_bindir}/rpcclient
1092 %{_mandir}/man1/rpcclient.1*
1093 %attr(755,root,root) %{_bindir}/wbinfo
1094 %{_mandir}/man1/wbinfo.1*
1095 %attr(755,root,root) %{_bindir}/findsmb
1096 %{_mandir}/man1/findsmb.1*
1099 %defattr(644,root,root,755)
1100 %doc README Manifest WHATSNEW.txt
1101 %doc Roadmap docs/*.pdf docs/registry/*
1102 %doc docs/htmldocs/*.* docs/{history,THANKS}
1103 %dir %{_libdir}/%{name}
1104 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smb.conf
1105 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/lmhosts
1106 %{_libdir}/%{name}/*.dat
1107 #%attr(755,root,root) %{_bindir}/make_smbcodepage
1108 #%attr(755,root,root) %{_bindir}/make_unicodemap
1109 %attr(755,root,root) %{_bindir}/testparm
1110 %attr(755,root,root) %{_bindir}/testprns
1111 %attr(755,root,root) %{_bindir}/ntlm_auth
1112 %attr(755,root,root) %{_bindir}/smbcquotas
1113 %attr(755,root,root) %{_bindir}/profiles
1114 %attr(755,root,root) %{_bindir}/pdbedit
1115 #%attr(755,root,root) %{_bindir}/make_printerdef
1116 %dir %{_libdir}/%{name}/charset
1117 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1118 #%{_mandir}/man1/make_smbcodepage.1*
1119 #%{_mandir}/man1/make_unicodemap.1*
1120 %{_mandir}/man1/editreg.1*
1121 %{_mandir}/man1/testparm.1*
1122 %{_mandir}/man1/testprns.1*
1123 %{_mandir}/man1/ntlm_auth.1*
1124 %{_mandir}/man1/smbcquotas.1*
1125 %{_mandir}/man1/profiles.1*
1126 %{_mandir}/man1/vfstest.1*
1128 %{_mandir}/man1/log2pcap.1*
1130 %{_mandir}/man5/smb.conf.5*
1131 %{_mandir}/man5/lmhosts.5*
1134 %defattr(644,root,root,755)
1135 #%doc swat/README* swat/help/*
1137 %attr(755,root,root) %{_sbindir}/swat
1138 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat
1139 %dir %{_datadir}/swat
1140 %{_datadir}/swat/help
1141 %{_datadir}/swat/images
1142 %{_datadir}/swat/include
1143 %dir %{_datadir}/swat/lang
1144 %lang(ja) %{_datadir}/swat/lang/ja
1145 %lang(tr) %{_datadir}/swat/lang/tr
1146 %{_datadir}/swat/using_samba
1147 %lang(de) %{_libdir}/%{name}/de.msg
1148 %{_libdir}/%{name}/en.msg
1149 %lang(fr) %{_libdir}/%{name}/fr.msg
1150 %lang(it) %{_libdir}/%{name}/it.msg
1151 %lang(ja) %{_libdir}/%{name}/ja.msg
1152 %lang(nl) %{_libdir}/%{name}/nl.msg
1153 %lang(pl) %{_libdir}/%{name}/pl.msg
1154 %lang(tr) %{_libdir}/%{name}/tr.msg
1155 %{_mandir}/man8/swat.8*
1158 %files -n python-samba
1159 %defattr(644,root,root,755)
1160 %dir %{py_sitedir}/samba
1161 %attr(755,root,root) %{py_sitedir}/samba/*.so
1162 %{py_sitedir}/samba/*.py
1163 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1164 %doc source/python/examples
1167 %files -n pam-pam_smbpass
1168 %defattr(644,root,root,755)
1169 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1170 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1172 %files -n libsmbclient
1173 %defattr(644,root,root,755)
1174 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1176 %files -n libsmbclient-devel
1177 %defattr(644,root,root,755)
1178 %attr(755,root,root) %{_libdir}/libsmbclient.so
1179 %{_includedir}/libsmbclient.h
1181 %files -n libsmbclient-static
1182 %defattr(644,root,root,755)
1183 %{_libdir}/libsmbclient.a
1186 %defattr(644,root,root,755)
1187 %attr(755,root,root) %{_bindir}/smbget
1188 %{_mandir}/man1/smbget.1*
1189 %{_mandir}/man5/smbgetrc.5*
1192 %files -n cups-backend-smb
1193 %defattr(644,root,root,755)
1194 %attr(755,root,root) %{_bindir}/smbspool
1195 %attr(755,root,root) %{cups_serverbin}/backend/smb
1196 %{_mandir}/man8/smbspool.8*
1200 %defattr(644,root,root,755)
1201 %attr(755,root,root) %{_vfsdir}/audit.so
1202 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1205 %defattr(644,root,root,755)
1206 %attr(755,root,root) %{_vfsdir}/cap.so
1208 %files vfs-default_quota
1209 %defattr(644,root,root,755)
1210 %attr(755,root,root) %{_vfsdir}/default_quota.so
1212 %files vfs-expand_msdfs
1213 %defattr(644,root,root,755)
1214 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1216 %files vfs-fake_perms
1217 %defattr(644,root,root,755)
1218 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1221 %defattr(644,root,root,755)
1222 %attr(755,root,root) %{_vfsdir}/netatalk.so
1225 %defattr(644,root,root,755)
1226 %attr(755,root,root) %{_vfsdir}/readonly.so
1229 %defattr(644,root,root,755)
1230 %attr(755,root,root) %{_vfsdir}/recycle.so
1232 %files vfs-shadow_copy
1233 %defattr(644,root,root,755)
1234 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1236 %files vfs-vscan-clamav
1237 %defattr(644,root,root,755)
1238 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1239 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-clamav.conf
1240 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1242 %files vfs-vscan-fprot
1243 %defattr(644,root,root,755)
1244 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1245 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fprotd.conf
1246 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1248 %files vfs-vscan-fsav
1249 %defattr(644,root,root,755)
1250 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1251 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fsav.conf
1252 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1254 %files vfs-vscan-kavp
1255 %defattr(644,root,root,755)
1256 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1257 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-kavp.conf
1258 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1261 %files vfs-vscan-mks
1262 %defattr(644,root,root,755)
1263 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1264 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mks32.conf
1265 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1268 %files vfs-vscan-openantivirus
1269 %defattr(644,root,root,755)
1270 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1271 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-oav.conf
1272 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1274 %files vfs-vscan-sophos
1275 %defattr(644,root,root,755)
1276 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1277 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-sophos.conf
1278 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1280 %files vfs-vscan-symantec
1281 %defattr(644,root,root,755)
1282 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1283 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-icap.conf
1284 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1286 %files vfs-vscan-trend
1287 %defattr(644,root,root,755)
1288 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1289 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-trend.conf
1290 %attr(755,root,root) %{_vfsdir}/vscan-trend.so