3 # - fix Summary and Description for python-samba package
4 # - look into other distro specs for valid %descriptions for samba 3
5 # - review configure options
6 # - fix broken --without ldap, test functionality with other bconds
7 # - check tdbtool (with tdb.spec)
10 %bcond_without ads # without ActiveDirectory support
11 %bcond_without cups # without CUPS support
12 %bcond_without krb5 # without Kerberos5/Heimdal support
13 %bcond_without ldap # without LDAP support
14 %bcond_without mysql # without MySQL support
15 %bcond_without pgsql # without PostgreSQL support
16 %bcond_without python # without python libs/utils
17 %bcond_with ldapsam # with LDAP SAM 2.2 based auth (instead of smbpasswd)
18 #%bcond_with ipv6 # with IPv6 support
20 # ADS requires krb5 and LDAP
21 %if %{without krb5} || %{without ldap}
24 %define vscan_version 0.3.5
26 Summary(cs): Server SMB
27 Summary(da): SMB server
28 Summary(de): SMB-Server
29 Summary(es): El servidor SMB
30 Summary(fi): SMB-palvelin
31 Summary(fr): Serveur SMB
32 Summary(it): Server SMB
33 Summary(ja): Samba SMB ¥µ¡¼¥Ð¡¼
34 Summary(ko): »ï¹Ù SMB ¼¹ö
35 Summary(pl): Serwer SMB
36 Summary(pt_BR): Cliente e servidor SMB
37 Summary(ru): SMB ËÌÉÅÎÔ É ÓÅÒ×ÅÒ
38 Summary(tr): SMB sunucusu
39 Summary(uk): SMB Ë̦¤ÎÔ ÔÁ ÓÅÒ×ÅÒ
40 Summary(zh_CN): Samba ¿Í»§¶ËºÍ·þÎñÆ÷
46 Group: Networking/Daemons
47 Source0: http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
48 # Source0-md5: 9cf2bcef71509a81687dec8732545400
52 Source4: %{name}.sysconfig
53 Source5: %{name}.logrotate
55 Source7: http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
56 # Source7-md5: 5f173d549014985d681478897135915b
58 Source9: winbind.sysconfig
59 Patch0: %{name}-statfs-workaround.patch
60 Patch1: %{name}-lib64.patch
61 Patch2: %{name}-setup-python.patch
62 Patch3: %{name}-FHS.patch
63 Patch4: %{name}-case_insensitive_sql_operator.patch
64 #Patch5: http://v6web.litech.org/samba/%{name}-2.2.4+IPv6-20020609.diff
65 Patch6: %{name}-3_0_9-printing.patch
66 URL: http://www.samba.org/
67 BuildRequires: acl-devel
68 BuildRequires: autoconf
69 BuildRequires: automake
70 %{?with_cups:BuildRequires: cups-devel}
71 %{?with_krb5:BuildRequires: heimdal-devel}
72 BuildRequires: libtool >= 2:1.4d
73 BuildRequires: libxml2-devel
75 BuildRequires: mysql-devel
76 BuildRequires: mysql-extras
79 BuildRequires: postgresql-devel
81 BuildRequires: ncurses-devel >= 5.2
82 %{?with_ldap:BuildRequires: openldap-devel}
83 BuildRequires: openssl-devel >= 0.9.7d
84 BuildRequires: pam-devel > 0.66
85 BuildRequires: popt-devel
86 BuildRequires: readline-devel >= 4.2
87 BuildRequires: xfsprogs-devel
88 %{?with_python:BuildRequires: python-devel}
90 PreReq: setup >= 2.4.6-7
91 Requires(post,preun): /sbin/chkconfig
92 Requires: %{name}-common = %{epoch}:%{version}-%{release}
95 Obsoletes: samba-vfs-block
96 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
98 %define _vfsdir %{_libdir}/%{name}/vfs
99 %define _sambahome /home/services/samba
101 %define cups_serverbin %{_libdir}/cups
105 Samba provides an SMB server which can be used to provide network
106 services to SMB (sometimes called "Lan Manager") clients, including
107 various versions of MS Windows, OS/2, and other Linux machines. Samba
108 also provides some SMB clients, which complement the built-in SMB
109 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
110 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
112 This release is known as the "Locking Update" and has full support for
113 Opportunistic File Locking. In addition this update includes native
114 support for Microsoft encrypted passwords, improved browse list and
115 WINS database management.
117 Please refer to the WHATSNEW.txt document for fixup information. This
118 binary release includes encrypted password support. Please read the
119 smb.conf file and ENCRYPTION.txt in the docs directory for
120 implementation details.
123 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
124 slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
125 klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
126 Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
127 souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
128 TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
129 NetBIOS od spoleènosti Microsoft.
132 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
133 services til SMB (også kaldet "Lan Manager") klienter, incl.
134 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
135 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
136 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
137 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
141 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
142 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
143 verschiedenen Versionen von MS Windows-, OS/2- und anderen
144 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
145 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
146 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
147 (Microsoft Raw NetBIOS frame)-Protokoll.
150 Samba provee un servidor SMB que se puede usar para ofrecer servicios
151 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
152 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
153 Linux. Samba también ofrece algunos clientes SMB, que complementan el
154 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
155 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
159 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
160 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
161 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
162 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
163 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
164 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
165 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
169 Samba fornisce un server SMB che puo` essere usato per fornire servizi
170 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
171 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
172 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
175 Samba ¤Ï MS Windows ¤ÎÍÍ¡¹¤Ê¥Ð¡¼¥¸¥ç¥ó¡¢OS/2 ¤½¤·¤Æ¾¤Î Linux ¥Þ¥·¥ó
176 ¤ò´Þ¤à SMB (¤¿¤Þ¤Ë "Lan Manager" ¤È¸Æ¤Ð¤ì¤ë)
177 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Í¥Ã¥È¥ï¡¼¥¯ ¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë SMB
178 ¥µ¡¼¥Ð¤òÄ󶡤·¤Þ¤¹¡£Samba ¤Ï NetBIOS over TCP/IP (NetBT)
179 ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¡¢ NetBEUI(Microsoft Raw NetBIOS frame)
180 ¥×¥í¥È¥³¥ë¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£
182 Samba ¤Û¤È¤ó¤ÉÆ°ºî¤¹¤ë NT ¥É¥á¥¤¥ó¥³¥ó¥È¥í¡¼¥ë¤Îµ¡Ç½¤òÆÃħ¤È¤·¡¢
183 ¹¥¤¤Ê¥Ö¥é¥¦¥¶¤ò»È¤Ã¤Æ samba ¤Î smb.conf ¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È´ÉÍý¤¹¤ë
184 ¿·¤·¤¤ SWAT (Samba Web Administration Tool) ¤ò´Þ¤ß¤Þ¤¹¡£
185 Ìܲ¼¤Î¤È¤³¤í¤³¤ì¤Ï inetd ¤òÄ̤·¤Æ TCP ¥Ý¡¼¥È 901 ¤Ç͸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
188 »ï¹Ù´Â MS Windows, OS/2, ȤÀº ´Ù¸¥ ¸®´ª½º ¸Ó½ÅÀ» Æ÷ÇÔÇÏ´Â SMB(ȤÀº
189 "Lan Manager"¶ó°íµµ ºÒ¸²) Ŭ¶óÀ̾ðÆ®¸¦ ³×Æ®¿öÅ© ¼ºñ½º À§ÇØ »ç¿ëÇÒ ¼ö
190 ÀÖ´Â SMB ¼¹ö¸¦ Á¦°øÇÑ´Ù. »ï¹Ù´Â TCP/IP ÇÁ·ÎÅäÄÝÀ» ÅëÇØ NetBIOS¸¦
191 »ç¿ëÇÏ°í NetBEUI (Microsoft Raw NetBIOS ÇÁ·¹ÀÓ) ÇÁ·ÎÅäÄÝÀº ÇÊ¿äÇÏÁö
194 »ï¹Ù-2.2 ÀÇ Æ¯Â¡Àº NT µµ¸ÞÀÎ ÄÁÆ®·ÑÀÇ ¼º´ÉÀ¸·Î ÀÛ¾÷À» ÇÏ°í, »õ·Î¿î
195 SWAT(Samba Web Administration Tool)·Î À¥ºê¶ó¿ìÀú¸¦ »ç¿ëÇÏ¿© ¿ø°ÝÁö¿¡¼
196 »ï¹ÙÀÇ smb.conf ÆÄÀÏÀ» °ü¸®Çϵµ·Ï ÇÑ´Ù. ÀÌ·¯ÇÑ °æ¿ì inetd µ¥¸óÀ» ÅëÇØ
197 TCP 901 Æ÷Æ®¸¦ »ç¿ëÇÏ°Ô µÈ´Ù.
199 ÃÖ±Ù Á¤º¸·Î WHATSNEW.txt ÆÄÀÏÀÇ ¹®¼¸¦ Âü°íÇϵµ·Ï ÇÑ´Ù. ¹ÙÀ̳ʸ®ÀÇ
200 ¸±¸®Áî´Â ¾ÏÈ£ÈµÈ Æнº¿öµå¸¦ Á¦°øÇÑ´Ù. ±¸Çö¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾ò±â
201 À§ÇØ docs µð·ºÅ丮³»¿¡ ÀÖ´Â smb.conf ÆÄÀÏ°ú ENCRYPTION.txt ÆÄÀÏÀ»
205 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
206 us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
207 takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. W pakiecie
208 znajduje siê równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u
209 NetBIOS po TCP/IP (NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma
210 pe³ne wsparcie dla blokowania plików, a tak¿e wsparcie dla kodowania
211 hase³ w standardzie MS i zarz±dzania baz± WINS.
213 %description -l pt_BR
214 O Samba provê um servidor SMB que pode ser usado para oferecer
215 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
216 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
217 máquinas Linux. O Samba também fornece alguns clientes SMB, que
218 complementam o sistema de arquivos SMB do Linux. O Samba usa o
219 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
220 NetBEUI (Microsoft Raw NetBIOS frame).
222 O Samba inclui a maioria das características de um servidor de
223 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
224 permite que o arquivo smb.conf seja gerenciado remotamente através de
225 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
229 Samba ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ÓÅÒ×ÅÒ, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ
230 ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ× SMB (ÉÎÏÇÄÁ ÎÁÚÙ×ÁÅÍÙÍ "Lan Manager")
231 ËÌÉÅÎÔÁÍ, ×ËÌÀÞÁÑ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ×ÅÒÓÉÉ MS Windows, OS/2, É ÄÒÕÇÉÅ
232 Linux-ÍÁÛÉÎÙ. Samba ÔÁËÖÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ËÌÉÅÎÔÏ×, ËÏÔÏÒÙÅ ÒÁÂÏÔÁÀÔ
233 ÓÏ ×ÓÔÒÏÅÎÎÏÊ × Linux ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB.
235 Samba ÉÓÐÏÌØÚÕÅÔ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) É ÎÅ ÎÕÖÄÁÅÔÓÑ ×
236 ÐÒÏÔÏËÏÌÅ NetBEUI (Microsoft Raw NetBIOS frame).
238 Samba ÓÏÄÅÒÖÉÔ ÐÒÁËÔÉÞÅÓËÉ ÒÁÂÏÔÁÀÝÕÀ ÒÅÁÌÉÚÁÃÉÀ NT Domain Control É
239 ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool), ËÏÔÏÒÙÊ ÐÏÚ×ÏÌÑÅÔ
240 ÕÄÁÌÅÎÎÏ ÕÐÒÁ×ÌÑÔØ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÍ ÆÁÊÌÏÍ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
241 ÌÀÂÉÍÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÁ ÞÔÏ ÏÎ ÒÁÚÒÅÛÅÎ ÞÅÒÅÚ inetd ÎÁ TCP-ÐÏÒÔÕ
245 Samba ÎÁÄÁ¤ SMB-ÓÅÒ×ÅÒ, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ ÎÁÄÁÎÎÑ
246 ÍÅÒÅÖÅ×ÉÈ ÓÅÒ×¦Ó¦× SMB (ÝÏ §È ¦ÎÏĦ ÎÁÚÉ×ÁÀÔØ "Lan Manager") Ë̦¤ÎÔÁÍ,
247 ×ËÌÀÞÁÀÞÉ Ò¦ÚÎÏÍÁΦÔΦ ×ÅÒÓ¦§ MS Windows, OS/2, ÔÁ ¦ÎÛ¦ Linux-ÍÁÛÉÎÉ.
248 Samba ÔÁËÏÖ ÎÁÄÁ¤ SMB-Ë̦¤ÎÔ¦×, ÝÏ ÐÒÁÃÀÀÔØ Ú ×ÂÕÄÏ×ÁÎÏÀ × Linux
249 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB.
251 Samba ×ÉËÏÒÉÓÔÏ×Õ¤ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) ÔÁ ÎÅ ÐÏÔÒÅÂÕ¤
252 ÐÒÏÔÏËÏÌÕ NetBEUI (Microsoft Raw NetBIOS frame).
254 Samba ͦÓÔÉÔØ ÍÁÊÖÅ ÐÒÁÃÀÀÞÕ ÒÅÁÌÉÚÁæÀ NT Domain Control ÔÁ ÎÏ×ÙÊ
255 SWAT (Samba Web Administration Tool), ËÏÔÒÉÊ ÄÏÚ×ÏÌѤ צÄÄÁÌÅÎÏ
256 ËÅÒÕ×ÁÔÉ ËÏÎƦÇÕÒÁæÊÎÉÍ ÆÁÊÌÏÍ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
257 ÕÌÀÂÌÅÎÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÉ ÝÏ ×¦Î ÄÏÚ×ÏÌÅÎÉÊ ÞÅÒÅÚ inetd ÎÁ
261 Summary: Samba Web Administration Tool
262 Summary(es): Samba SWAT and Web documentation
263 Summary(pl): Narzêdzie administracyjne serwisu Samba
264 Summary(pt_BR): Samba SWAT e documentação Web
265 Summary(ru): ðÒÏÇÒÁÍÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ SMB-ÓÅÒ×ÅÒÁ Samba
266 Summary(uk): ðÒÏÇÒÁÍÁ ËÏÎÆÉÇÕÒÁæ§ SMB-ÓÅÒ×ÅÒÁ Samba
267 Group: Networking/Admin
268 Requires: %{name} = %{epoch}:%{version}-%{release}
270 Requires: rc-inetd >= 0.8.2
274 swat allows a Samba administrator to configure the complex smb.conf
275 file via a Web browser. In addition, a swat configuration page has
276 help links to all the configurable options in the smb.conf file
277 allowing an administrator to easily look up the effects of any change.
279 %description swat -l pl
280 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
283 %description swat -l pt_BR
284 SWAT - ferramentada Web de configuração do Samba.
286 %description swat -l ru
287 ðÁËÅÔ samba-swat ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool),
288 ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ ÆÁÊÌÁ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
289 ÌÀÂÉÍÏÇÏ Web-ÂÒÁÕÚÅÒÁ.
291 %description swat -l uk
292 ðÁËÅÔ samba-swat ͦÓÔÉÔØ ÎÏ×ÉÊ SWAT (Samba Web Administration Tool),
293 ÄÌÑ ÄÉÓÔÁÎæÊÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ ÆÁÊÌÕ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
294 ÕÌÀÂÌÅÎÏÇÏ Web-ÂÒÁÕÚÅÒÕ.
297 Summary: Samba MySQL password database plugin
298 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie MySQL
299 Group: Networking/Daemons
300 Requires: %{name} = %{epoch}:%{version}-%{release}
302 %description pdb-mysql
303 Samba MySQL password database plugin.
305 %description pdb-mysql -l pl
306 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
309 Summary: Samba PostgreSQL password database plugin
310 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie PostgreSQL
311 Group: Networking/Daemons
312 Requires: %{name} = %{epoch}:%{version}-%{release}
314 %description pdb-pgsql
315 Samba MySQL password database plugin.
317 %description pdb-pgsql -l pl
318 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
321 Summary: Samba XML password database plugin
322 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie XML
323 Group: Networking/Daemons
324 Requires: %{name} = %{epoch}:%{version}-%{release}
327 Samba XML password database plugin.
329 %description pdb-xml -l pl
330 Wtyczka Samby do przechowywania hase³ w bazie XML.
333 Summary: Samba client programs
334 Summary(es): Cliente SMB de Samba
335 Summary(ja): Samba (SMB) ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
336 Summary(pl): Klienci serwera Samba
337 Summary(pt_BR): Cliente SMB do samba
338 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ Samba (SMB)
339 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ Samba (SMB)
340 Group: Applications/Networking
341 Requires: %{name}-common = %{epoch}:%{version}-%{release}
342 Obsoletes: mount-cifs
346 Samba-client provides some SMB clients, which complement the build-in
347 SMB filesystem in Linux. These allow accessing of SMB shares and
348 printing to SMB printers.
350 %description client -l pt_BR
351 O pacote samba-clientes prove alguns clientes SMB, que complementam o
352 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
353 e também, à impressoras SMB.
355 %description client -l es
356 Cliente SMB de Samba.
358 %description client -l ja
359 Samba-client ¤Ï Linux ¾å¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë SMB ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÊ䤦 SMB
360 ¥¯¥é¥¤¥¢¥ó¥È¤òÄ󶡤·¤Þ¤¹¡£¤³¤ì¤é¤Ï SMB ¶¦Í¤Î¥¢¥¯¥»¥¹¤È SMB
361 ¥×¥ê¥ó¥¿¤Ø¤Î°õºþ¤òµö²Ä¤·¤Þ¤¹¡£
363 %description client -l pl
364 Samba-client dostarcza programy uzupe³niaj±ce obs³ugê systemu plików
365 SMB zawart± w j±drze. Pozwalaj± one na wspó³dzielenie zasobów SMB i
366 drukowanie w sieci SMB.
368 %description client -l pt_BR
369 O pacote samba-clientes prove alguns clientes SMB, que complementam o
370 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
371 e também, à impressoras SMB.
373 %description client -l ru
374 ðÁËÅÔ samba-client ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÅËÏÔÏÒÙÅ ËÌÉÅÎÔÙ SMB ÄÌÑ ÒÁÂÏÔÙ ÓÏ
375 ×ÓÔÒÏÅÎÎÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB × Linux. üÔÉ ËÌÉÅÎÔÙ ÐÏÚ×ÏÌÑÀÔ
376 ÐÏÌÕÞÁÔØ ÄÏÓÔÕÐ Ë ÒÁÚÄÅÌÑÅÍÙÍ ËÁÔÁÌÏÇÁÍ SMB É ÐÅÞÁÔØ ÎÁ SMB-ÐÒÉÎÔÅÒÙ.
378 %description client -l uk
379 ðÁËÅÔ samba-client ÎÁÄÁ¤ ÄÅÑ˦ Ë̦¤ÎÔÉ SMB ÄÌÑ ÒÏÂÏÔÉ Ú¦ ×ÂÕÄÏ×ÁÎÏÀ
380 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB × Linux. 㦠Ë̦¤ÎÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÕ×ÁÔÉ ÄÏÓÔÕÐ
381 ÄÏ ËÁÔÁÌÏÇ¦× ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ SMB ÔÁ ÄÒÕË ÎÁ SMB-ÐÒ¦ÎÔÅÒÉ.
384 Summary: Files used by both Samba servers and clients
385 Summary(es): Common files between samba and samba-clients
386 Summary(ja): Samba ¥µ¡¼¥Ð¡¼¤È¥¯¥é¥¤¥¢¥ó¥È¤Ç»ÈÍѤµ¤ì¤ë¥×¥í¥°¥é¥à
387 Summary(pl): Pliki u¿ywane przez serwer i klientów Samba
388 Summary(pt_BR): Arquivos em comum entre samba e samba-clients
389 Summary(ru): æÁÊÌÙ, ÉÓÐÏÌØÚÕÅÍÙÅ ËÁË ÓÅÒ×ÅÒÏÍ, ÔÁË É ËÌÉÅÎÔÏÍ Samba
390 Summary(uk): æÁÊÌÉ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÑË ÓÅÒ×ÅÒÏÍ, ÔÁË ¦ Ë̦¤ÎÔÏÍ Samba
391 Group: Networking/Daemons
394 Samba-common provides files necessary for both the server and client
397 %description common -l ja
398 Samba-common ¤Ï Samba ¤Î¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤ÎξÊý¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç
399 »ÈÍѤµ¤ì¤ë¥Õ¥¡¥¤¥ë¤òÄ󶡤·¤Þ¤¹¡£
401 %description common -l pl
402 Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
405 %description common -l pt_BR
406 Arquivos em comum entre os pacotes samba e samba-clients.
408 %description common -l ru
409 Samba-common ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ ËÁË ËÌÉÅÎÔÁ, ÔÁË É
412 %description common -l uk
413 Samba-common ͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ ÑË Ë̦¤ÎÔÁ, ÔÁË ¦
417 Summary: Samba-winbind daemon, utilities and documentation
418 Summary(pl): Demon samba-winbind, narzêdzia i dokumentacja
419 Group: Networking/Daemons
420 Requires(post,preun): /sbin/chkconfig
421 Requires: %{name}-common = %{epoch}:%{version}-%{release}
424 Provides the winbind daemon and testing tools to allow authentication
425 and group/user enumeration from a Windows or Samba domain controller.
427 %description winbind -l pl
428 Pakiet zawiera demona winbind oraz narzêdzia testowe. Umo¿liwia
429 uwierzytelnianie i wyliczanie grup/u¿ytkowników z kontrolera domeny
433 Summary: Name Service Switch service for WINS
434 Summary(pl): Us³uga Name Service Switch dla WINS
436 Requires: %{name}-common = %{epoch}:%{version}-%{release}
438 %description -n nss_wins
439 Provides the libnss_wins shared library which resolves NetBIOS names
442 %description -n nss_wins -l pl
443 Biblioteka dzielona libnss_wins rozwi±zuj±ca nazwy NetBIOS na adresy
446 %package -n pam-pam_smbpass
447 Summary: PAM Samba Password Module
448 Summary(pl): Modu³ PAM smbpass
450 Obsoletes: pam_smbpass
452 %description -n pam-pam_smbpass
453 PAM module which can be used on conforming systems to keep the
454 smbpasswd (Samba password) database in sync with the unix password
457 %description -n pam-pam_smbpass -l pl
458 Modu³ PAM, który mo¿e byæ u¿ywany do trzymania pliku smbpasswd (has³a
459 Samby) zsynchronizowanego z has³ami uniksowymi.
461 %package -n libsmbclient
462 Summary: libsmbclient - samba client library
463 Summary(pl): libsmbclient - biblioteka klienta samby
466 %description -n libsmbclient
467 libsmbclient - library that allows to use samba clients functions.
469 %description -n libsmbclient -l pl
470 libsmbclient - biblioteka pozwalaj±ca korzystaæ z funcji klienta
473 %package -n libsmbclient-devel
474 Summary: libsmbclient - samba client library
475 Summary(pl): libsmbclient - biblioteka klienta samby
476 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
477 Group: Development/Libraries
478 Requires: libsmbclient = %{epoch}:%{version}-%{release}
480 %description -n libsmbclient-devel
481 Header files for libsmbclient.
483 %description -n libsmbclient-devel -l pl
484 Pliki nag³ówkowe dla libsmbclient.
486 %description -n libsmbclient-devel -l pt_BR
487 Arquivos de inclusão, bibliotecas e documentação necessários para
488 desenvolver aplicativos clientes para o samba.
490 %package -n libsmbclient-static
491 Summary: Static version of libsmbclient - samba client library
492 Summary(pl): Statyczna wersja libsmbclient - biblioteki klienta samby
493 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
494 Group: Development/Libraries
495 Requires: libsmbclient = %{epoch}:%{version}-%{release}
497 %description -n libsmbclient-static
498 Static libsmbclient library.
500 %description -n libsmbclient-static -l pl
501 Statyczna biblioteka libsmbclient.
504 Summary: A utility for retrieving files using the SMB protocol
505 Summary(pl): Narzêdzie do pobierania plików protoko³em SMB
506 Group: Applications/Networking
508 %description -n smbget
509 wget-like utility for download files over SMB.
511 %description -n smbget -l pl
512 Narzêdzie podobne do wgeta do pobierania plików protoko³em SMB
513 u¿ywanym w sieciach MS Windows.
515 %package -n cups-backend-smb
516 Summary: CUPS backend for printing to SMB printers
517 Summary(pl): Backend CUPS-a drukuj±cy na drukarkach SMB
518 Group: Applications/Printing
519 Requires: %{name}-client = %{epoch}:%{version}-%{release}
522 %description -n cups-backend-smb
523 CUPS backend for printing to SMB printers.
525 %description -n cups-backend-smb -l pl
526 Backend CUPS-a drukuj±cy na drukarkach SMB.
528 %package -n python-samba
529 Summary: Samba python tools and libraries
530 Summary(pl): Narzêdzia i biblioteki pythona do samby
531 Group: Applications/Networking
533 %description -n python-samba
534 Samba python tools and libraries.
536 %description -n python-samba -l pl
537 Narzêdzia i biblioteki pythona do samby.
540 Summary: VFS module to audit file access
541 Summary(pl): Modu³ VFS do monitorowania operacji na plikach
542 Group: Networking/Daemons
543 Requires: %{name} = %{epoch}:%{version}-%{release}
545 %description vfs-audit
546 A simple module to audit file access to the syslog facility. The
547 following operations are logged: share connect/disconnect, directory
548 opens/create/remove, file open/close/rename/unlink/chmod.
550 %description vfs-audit -l pl
551 Prosty modu³ do monitorowania dostêpu do plików do sysloga.
552 Monitorowane s± nastêpuj±ce operacje: pod³±czone/od³±czenie do zasobu,
553 otwarcie/utworzenie/zmiana nazwy katalogu, otwarcie/zamknêcie/zmiana
554 nazwy/skasowania/zmiana praw plików.
557 Summary: VFS module for CAP and samba compatibility
558 Summary(pl): Modu³ VFS zgodno¶ci z CAP (Columbia AppleTalk Program)
559 Group: Networking/Daemons
560 Requires: %{name} = %{epoch}:%{version}-%{release}
563 Convert an incoming Shift-JIS character to the 3 byte hex
564 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
565 This is used for compatibility between Samba and CAP.
567 %description vfs-cap -l pl
568 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
569 reprezentacji u¿ywanej przez program Columbia AppleTalk Program (CAP).
571 %package vfs-default_quota
572 Summary: VFS module to store default quotas in a specified quota record
573 Summary(pl): Modu³ VFS do zapisywania domy¶lnych limitów w okre¶lonym rekordzie
574 Group: Networking/Daemons
575 Requires: %{name} = %{epoch}:%{version}-%{release}
577 %description vfs-default_quota
578 This VFS modules stores default quotas in a specified quota record.
580 %description vfs-default_quota -l pl
581 Ten modu³ VFS zapisuje domy¶lne limity (quoty) w okre¶lonym rekordzie
584 %package vfs-expand_msdfs
585 Summary: VFS module for hosting a Microsoft Distributed File System Tree
586 Summary(pl): Modu³ VFS obs³ugi Microsoft Distributed File System
587 Group: Networking/Daemons
588 Requires: %{name} = %{epoch}:%{version}-%{release}
590 %description vfs-expand_msdfs
591 A VFS module for hosting a Microsoft Distributed File System Tree.
593 The Distributed File System (DFS) provides a means of separating the
594 logical view of files and directories that users see from the actual
595 physical locations of these resources on the network. It allows for
596 higher availability, smoother storage expansion, load balancing, and
599 %description vfs-expand_msdfs -l pl
600 Modu³ VFS do udostêpniania drzewa systemu plików Microsoft Distributed
603 Distributed File System (DFS) umo¿liwia rozdzielanie logicznego widoku
604 plików i katalogów widocznych przez u¿ytkowników z fizycznego
605 umiejscowienia tych zasobów w sieci. Pozwala to na wy¿sz± dostêpno¶æ,
606 p³ynniejsze powiêkszanie przestrzeni, rozdzielanie obci±¿enia itp.
608 %package vfs-fake_perms
609 Summary: VFS module to report read-only fires as writable
610 Summary(pl): Modu³ VFS udaj±cy, ¿e pliki tylko do odczytu s± zapisywalne
611 Group: Networking/Daemons
612 Requires: %{name} = %{epoch}:%{version}-%{release}
614 %description vfs-fake_perms
615 This module allow Roaming Profile files and directories to be set (on
616 the Samba server under UNIX) as read only. This module will, if
617 installed on the Profiles share, report to the client that the Profile
618 files and directories are writeable. This satisfies the client even
619 though the files will never be overwritten as the client logs out or
622 %description vfs-fake_perms -l pl
623 Ten modu³ pozwala na ustawienie plików i katalogów z wêdruj±cych
624 profili (Roaming Profiles) jako tylko do odczytu. Modu³ ten w
625 przypadku zainstalowania na udziale z profilami bêdzie zg³asza³
626 klientom, ¿e pliki i katalogi z profilu s± zapisywane. To wystarczy
627 klientom pomimo, ¿e pliki nie zostan± nigdy nadpisane przy logowaniu
628 lub wylogowywaniu klienta.
630 %package vfs-netatalk
631 Summary: VFS module for ease co-existence of samba and netatalk
632 Summary(pl): Modu³ VFS u³atwiaj±cy wspó³pracê serwisów samba i netatalk
633 Group: Networking/Daemons
634 Requires: %{name} = %{epoch}:%{version}-%{release}
636 %description vfs-netatalk
637 Package contains a netatalk VFS module for ease co-existence of Samba
638 and netatalk file sharing services.
640 %description vfs-netatalk -l pl
641 Pakiet zawiera modu³ VFS netatalk umo¿liwiaj±cy wspó³pracê us³ug samba
642 i netatalk przy udostêpnianiu zasobów.
645 Summary: VFS module to add recycle bin facility to a samba share
646 Summary(pl): Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby
647 Group: Networking/Daemons
648 Requires: %{name} = %{epoch}:%{version}-%{release}
650 %description vfs-recycle
651 VFS module to add recycle bin facility to a samba share.
653 %description vfs-recycle -l pl
654 Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby.
656 %package vfs-readonly
657 Summary: VFS module for read-only limitation for specified share
658 Summary(pl): Modu³ VFS do ograniczania okre¶lonego udzia³u tylko do odczytu
659 Group: Networking/Daemons
660 Requires: %{name} = %{epoch}:%{version}-%{release}
662 %description vfs-readonly
663 This module performs a read-only limitation for specified share (or
664 all of them if it is loaded in a [global] section) based on period
665 definition in smb.conf.
667 %description vfs-readonly -l pl
668 Ten modu³ wprowadza ograniczenie tylko do odczytu dla okre¶lonego
669 udzia³u (lub wszystkich, je¶li jest wczytywany w sekcji [global]) w
670 oparciu o definicje okresów w smb.conf.
672 %package vfs-shadow_copy
673 Summary: VFS module to make automatic copy of data in samba share
674 Summary(pl): Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby
675 Group: Networking/Daemons
676 Requires: %{name} = %{epoch}:%{version}-%{release}
678 %description vfs-shadow_copy
679 VFS module to make automatic copy of data in samba share.
681 %description vfs-shadow_copy -l pl
682 Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby.
684 %package vfs-vscan-clamav
685 Summary: On-access virus scanning for samba using ClamAV
686 Summary(pl): Skaner antywirusowy online wykorzystuj±cy ClamAV
687 Group: Networking/Daemons
688 Requires: %{name} = %{epoch}:%{version}-%{release}
690 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
692 %description vfs-vscan-clamav
693 A vfs-module for samba to implement on-access scanning using the
694 ClamAV antivirus software (which must be installed to use this).
696 %description vfs-vscan-clamav -l pl
697 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
698 dostêpu do plików korzystaj±c z oprogramowania antywirusowego ClamAV
699 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
701 %package vfs-vscan-fprot
702 Summary: On-access virus scanning for samba using FPROT
703 Summary(pl): Skaner antywirusowy online wykorzystuj±cy FPROT
704 Group: Networking/Daemons
705 Requires: %{name} = %{epoch}:%{version}-%{release}
706 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
707 Obsoletes: vscan-fprot
709 %description vfs-vscan-fprot
710 A vfs-module for samba to implement on-access scanning using the FPROT
711 antivirus software (which must be installed to use this).
713 %description vfs-vscan-fprot -l pl
714 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
715 dostêpu do plików korzystaj±c z oprogramowania antywirusowego FPROT
716 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
718 %package vfs-vscan-fsav
719 Summary: On-access virus scanning for samba using F-Secure AntiVirus
720 Summary(pl): Skaner antywirusowy online wykorzystuj±cy F-Secure AntiVirus
721 Group: Networking/Daemons
722 Requires: %{name} = %{epoch}:%{version}-%{release}
723 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
724 Obsoletes: vscan-fsav
726 %description vfs-vscan-fsav
727 A vfs-module for samba to implement on-access scanning using the
728 F-Secure AntiVirus antivirus software (which must be installed to use
731 %description vfs-vscan-fsav -l pl
732 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
733 dostêpu do plików korzystaj±c z oprogramowania antywirusowego F-Secure
734 AntiVirus (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
736 %package vfs-vscan-kavp
737 Summary: On-access virus scanning for samba using Kaspersky AVP
738 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Kaspersky AVP
739 Group: Networking/Daemons
740 Requires: %{name} = %{epoch}:%{version}-%{release}
741 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
742 Obsoletes: vscan-kavp
744 %description vfs-vscan-kavp
745 A vfs-module for samba to implement on-access scanning using the
746 Kaspersky AVP antivirus software (which must be installed to use
749 %description vfs-vscan-kavp -l pl
750 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
751 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
752 Kaspersky AVP (które musi byæ zainstalowane, aby wykorzystaæ ten
755 %package vfs-vscan-mcafee
756 Summary: On-access virus scanning for samba using mcafee
757 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mcafee
758 Group: Networking/Daemons
759 Requires: %{name} = %{epoch}:%{version}-%{release}
761 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
762 Obsoletes: vscan-mcafee
764 %description vfs-vscan-mcafee
765 A vfs-module for samba to implement on-access scanning using the mcafee
766 antivirus software (which must be installed to use this).
768 %description vfs-vscan-mcafee -l pl
769 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
770 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mcafee
771 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
773 %package vfs-vscan-mks
774 Summary: On-access virus scanning for samba using mks
775 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mks
776 Group: Networking/Daemons
777 Requires: %{name} = %{epoch}:%{version}-%{release}
779 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
782 %description vfs-vscan-mks
783 A vfs-module for samba to implement on-access scanning using the mks
784 antivirus software (which must be installed to use this).
786 %description vfs-vscan-mks -l pl
787 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
788 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mks
789 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
791 %package vfs-vscan-openantivirus
792 Summary: On-access virus scanning for samba using OpenAntivirus
793 Summary(pl): Skaner antywirusowy online wykorzystuj±cy OpenAntiVirus
794 Group: Networking/Daemons
795 Requires: %{name} = %{epoch}:%{version}-%{release}
796 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
797 Obsoletes: vscan-openantivirus
799 %description vfs-vscan-openantivirus
800 A vfs-module for samba to implement on-access scanning using the
801 OpenAntivirus antivirus software (which must be installed to use
804 %description vfs-vscan-openantivirus -l pl
805 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
806 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
807 OpenAntiVirus.org (które musi byæ zainstalowane, aby wykorzystaæ ten
810 %package vfs-vscan-sophos
811 Summary: On-access virus scanning for samba using Sophos
812 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Sophos
813 Group: Networking/Daemons
814 Requires: %{name} = %{epoch}:%{version}-%{release}
815 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
816 Obsoletes: vscan-sophos
818 %description vfs-vscan-sophos
819 A vfs-module for samba to implement on-access scanning using the
820 Sophos antivirus software (which must be installed to use this).
822 %description vfs-vscan-sophos -l pl
823 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
824 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Sophos
825 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
827 %package vfs-vscan-symantec
828 Summary: On-access virus scanning for samba using Symantec
829 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Symantec
830 Group: Networking/Daemons
831 Requires: %{name} = %{epoch}:%{version}-%{release}
832 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
833 Obsoletes: vscan-symantec
835 %description vfs-vscan-symantec
836 A vfs-module for samba to implement on-access scanning using the
837 Symantec antivirus software (which must be installed to use this).
839 %description vfs-vscan-symantec -l pl
840 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
841 dostêpu do plików korzystaj±c z oprogramowania antywirusowego firmy
842 Symantec (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
844 %package vfs-vscan-trend
845 Summary: On-access virus scanning for samba using Trend
846 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Trend
847 Group: Networking/Daemons
848 Requires: %{name} = %{epoch}:%{version}-%{release}
849 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
850 Obsoletes: vscan-trend
852 %description vfs-vscan-trend
853 A vfs-module for samba to implement on-access scanning using the Trend
854 antivirus software (which must be installed to use this).
856 %description vfs-vscan-trend -l pl
857 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
858 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Trend
859 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
871 #%{?with_ipv6:%patch5 -p1}
881 # Removed options (default or not supported by configure script)
884 # --without-smbwrapper \
885 # --with-sslinc=%{_prefix} \
888 # %{?with_ipv6:--with-ipv6} \
893 --with-libsmbclient \
896 --with%{!?with_ads:out}-ads \
897 --with-privatedir=%{_sysconfdir}/samba \
901 --with-swatdir=%{_datadir}/swat \
905 %{?with_python:--with-python} \
906 --with-expsam=xml,%{?with_mysql:mysql}%{?with_pgsql:,pgsql} \
907 %{?with_ldapsam:--with-ldapsam} \
908 --with%{!?with_ldap:out}-ldap \
909 --with%{!?with_krb5:out}-krb5
912 %{__make} everything pam_smbpass bin/smbget client/mount.cifs
917 CFLAGS="%{rpmcflags} -fPIC"
921 cd samba-vscan-%{vscan_version}
922 cp -f /usr/share/automake/config.sub .
927 rm -rf $RPM_BUILD_ROOT
928 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
929 $RPM_BUILD_ROOT/var/{lock,log,log/archiv,spool}/samba \
930 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome}}
934 DESTDIR=$RPM_BUILD_ROOT \
935 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
937 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
940 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
942 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
943 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
944 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
945 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
946 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
947 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
948 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
949 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
951 install source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
952 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
953 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
954 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
955 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
956 install source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security
957 install source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security
958 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
959 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
961 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
962 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
963 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
965 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
968 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
969 install examples/VFS/samba-vscan-%{vscan_version}/{clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
971 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
973 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
976 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
977 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
980 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
981 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
983 rm -f docs/faq/*.{sgml,txt}
984 rm -f docs/htmldocs/*.[0-9].html
986 # we have this utility in tdb package
987 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
991 install -d $RPM_BUILD_ROOT%{py_sitedir}
992 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
995 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
998 rm -rf $RPM_BUILD_ROOT
1001 /sbin/chkconfig --add smb
1002 if [ -r /var/lock/subsys/smb ]; then
1003 /etc/rc.d/init.d/smb restart >&2
1005 echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
1009 if [ "$1" = "0" ]; then
1010 if [ -r /var/lock/subsys/smb ]; then
1011 /etc/rc.d/init.d/smb stop >&2
1013 /sbin/chkconfig --del smb
1017 /sbin/chkconfig --add winbind
1018 if [ -r /var/lock/subsys/winbind ]; then
1019 /etc/rc.d/init.d/winbind restart >&2
1021 echo "Run \"/etc/rc.d/init.d/winbind start\" to start Winbind daemon."
1025 if [ "$1" = "0" ]; then
1026 if [ -r /var/lock/subsys/winbind ]; then
1027 /etc/rc.d/init.d/winbind stop >&2
1029 /sbin/chkconfig --del winbind
1033 if [ -f /var/lock/subsys/rc-inetd ]; then
1034 /etc/rc.d/init.d/rc-inetd reload 1>&2
1036 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
1040 if [ -f /var/lock/subsys/rc-inetd ]; then
1041 /etc/rc.d/init.d/rc-inetd reload
1044 %triggerpostun -- samba < 1.9.18p7
1045 if [ "$1" != "0" ]; then
1046 /sbin/chkconfig --add smb
1049 %triggerpostun -- samba < 2.0.5a-3
1050 if [ "$1" != "0" ]; then
1051 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
1052 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
1056 %defattr(644,root,root,755)
1057 %attr(755,root,root) %{_sbindir}/nmbd
1058 %attr(755,root,root) %{_sbindir}/smbd
1059 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1060 %attr(755,root,root) %{_bindir}/smbstatus
1061 %attr(755,root,root) %{_bindir}/smbpasswd
1062 %attr(755,root,root) %{_bindir}/smbcontrol
1063 %attr(755,root,root) %{_bindir}/tdbbackup
1064 %attr(755,root,root) %{_bindir}/tdbtool_samba
1066 %dir %{_libdir}/%{name}/pdb
1069 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smbusers
1070 %attr(754,root,root) /etc/rc.d/init.d/smb
1071 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
1072 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/samba
1073 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/samba
1074 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
1075 %{_mandir}/man1/smbstatus.1*
1076 %{_mandir}/man1/smbcontrol.1*
1077 %{_mandir}/man5/smbpasswd.5*
1078 %{_mandir}/man7/samba.7*
1079 %{_mandir}/man8/nmbd.8*
1080 %{_mandir}/man8/smbd.8*
1081 %{_mandir}/man8/smbpasswd.8*
1082 %{_mandir}/man8/pdbedit.8*
1083 %{_mandir}/man8/tdbbackup.8*
1086 %dir /var/lock/samba
1087 %ghost /var/lock/samba/*
1089 %attr(750,root,root) %dir /var/log/samba
1090 %attr(750,root,root) %dir /var/log/archiv/samba
1091 %attr(1777,root,root) %dir /var/spool/samba
1098 %defattr(644,root,root,755)
1099 %attr(755,root,root) %{_libdir}/%{name}/pdb/mysql.so
1104 %defattr(644,root,root,755)
1105 %attr(755,root,root) %{_libdir}/%{name}/pdb/pgsql.so
1109 %defattr(644,root,root,755)
1110 %attr(755,root,root) %{_libdir}/%{name}/pdb/xml.so
1113 %defattr(644,root,root,755)
1114 %attr(755,root,root) %{_sbindir}/winbindd
1115 %attr(755,root,root) %{_bindir}/wbinfo
1116 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1117 %attr(755,root,root) /%{_lib}/libnss_winbind*
1118 %attr(754,root,root) /etc/rc.d/init.d/winbind
1119 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/winbind
1120 %{_mandir}/man8/winbindd*.8*
1121 %{_mandir}/man1/wbinfo*.1*
1124 %defattr(644,root,root,755)
1125 %attr(755,root,root) /%{_lib}/libnss_wins*
1128 %defattr(644,root,root,755)
1129 %attr(755,root,root) /sbin/mount.smbfs
1130 %attr(755,root,root) /sbin/mount.cifs
1131 %attr(755,root,root) %{_bindir}/smbmount
1132 %attr(755,root,root) %{_bindir}/smbmnt
1133 %attr(755,root,root) %{_bindir}/smbumount
1134 %attr(755,root,root) %{_bindir}/net
1135 %attr(755,root,root) %{_bindir}/smbtree
1136 %{_mandir}/man8/net.8*
1137 %{_mandir}/man8/smbmnt.8*
1138 %{_mandir}/man8/smbmount.8*
1139 %{_mandir}/man8/smbumount.8*
1140 %{_mandir}/man8/mount.cifs.8*
1141 %attr(755,root,root) %{_bindir}/nmblookup
1142 %attr(755,root,root) %{_bindir}/smbclient
1143 %attr(755,root,root) %{_bindir}/smbtar
1144 %attr(755,root,root) %{_bindir}/smbcacls
1145 %{_mandir}/man1/smbtar.1*
1146 %{_mandir}/man1/smbtree.1*
1147 %{_mandir}/man1/smbclient.1*
1148 %{_mandir}/man1/nmblookup.1*
1149 %{_mandir}/man1/smbcacls.1*
1150 %{_mandir}/man1/smbsh.1*
1151 %attr(755,root,root) %{_bindir}/rpcclient
1152 %{_mandir}/man1/rpcclient.1*
1153 %attr(755,root,root) %{_bindir}/findsmb
1154 %{_mandir}/man1/findsmb.1*
1157 %defattr(644,root,root,755)
1158 %doc README Manifest WHATSNEW.txt
1159 %doc Roadmap docs/*.pdf docs/registry/*
1160 %doc docs/htmldocs/*.* docs/{history,THANKS}
1161 %dir %{_sysconfdir}/samba
1162 %attr(664,root,fileshare) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smb.conf
1163 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/lmhosts
1164 %dir %{_libdir}/%{name}
1165 %{_libdir}/%{name}/*.dat
1166 %attr(755,root,root) %{_bindir}/testparm
1167 %attr(755,root,root) %{_bindir}/testprns
1168 %attr(755,root,root) %{_bindir}/ntlm_auth
1169 %attr(755,root,root) %{_bindir}/smbcquotas
1170 %attr(755,root,root) %{_bindir}/profiles
1171 %attr(755,root,root) %{_bindir}/pdbedit
1172 %dir %{_libdir}/%{name}/charset
1173 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1174 %{_mandir}/man1/editreg.1*
1175 %{_mandir}/man1/testparm.1*
1176 %{_mandir}/man1/testprns.1*
1177 %{_mandir}/man1/ntlm_auth.1*
1178 %{_mandir}/man1/smbcquotas.1*
1179 %{_mandir}/man1/profiles.1*
1180 %{_mandir}/man1/vfstest.1*
1182 %{_mandir}/man1/log2pcap.1*
1184 %{_mandir}/man5/smb.conf.5*
1185 %{_mandir}/man5/lmhosts.5*
1188 %defattr(644,root,root,755)
1189 #%doc swat/README* swat/help/*
1191 %attr(755,root,root) %{_sbindir}/swat
1192 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat
1193 %dir %{_datadir}/swat
1194 %{_datadir}/swat/help
1195 %{_datadir}/swat/images
1196 %{_datadir}/swat/include
1197 %dir %{_datadir}/swat/lang
1198 %lang(ja) %{_datadir}/swat/lang/ja
1199 %lang(tr) %{_datadir}/swat/lang/tr
1200 %{_datadir}/swat/using_samba
1201 %lang(de) %{_libdir}/%{name}/de.msg
1202 %{_libdir}/%{name}/en.msg
1203 %lang(fr) %{_libdir}/%{name}/fr.msg
1204 %lang(it) %{_libdir}/%{name}/it.msg
1205 %lang(ja) %{_libdir}/%{name}/ja.msg
1206 %lang(nl) %{_libdir}/%{name}/nl.msg
1207 %lang(pl) %{_libdir}/%{name}/pl.msg
1208 %lang(tr) %{_libdir}/%{name}/tr.msg
1209 %{_mandir}/man8/swat.8*
1212 %files -n python-samba
1213 %defattr(644,root,root,755)
1214 %dir %{py_sitedir}/samba
1215 %attr(755,root,root) %{py_sitedir}/samba/*.so
1216 %{py_sitedir}/samba/*.py
1217 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1218 %doc source/python/examples
1221 %files -n pam-pam_smbpass
1222 %defattr(644,root,root,755)
1223 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1224 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1226 %files -n libsmbclient
1227 %defattr(644,root,root,755)
1228 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1230 %files -n libsmbclient-devel
1231 %defattr(644,root,root,755)
1232 %attr(755,root,root) %{_libdir}/libsmbclient.so
1233 %{_includedir}/libsmbclient.h
1235 %files -n libsmbclient-static
1236 %defattr(644,root,root,755)
1237 %{_libdir}/libsmbclient.a
1240 %defattr(644,root,root,755)
1241 %attr(755,root,root) %{_bindir}/smbget
1242 %{_mandir}/man1/smbget.1*
1243 %{_mandir}/man5/smbgetrc.5*
1246 %files -n cups-backend-smb
1247 %defattr(644,root,root,755)
1248 %attr(755,root,root) %{_bindir}/smbspool
1249 %attr(755,root,root) %{cups_serverbin}/backend/smb
1250 %{_mandir}/man8/smbspool.8*
1254 %defattr(644,root,root,755)
1255 %attr(755,root,root) %{_vfsdir}/audit.so
1256 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1257 %attr(755,root,root) %{_vfsdir}/full_audit.so
1260 %defattr(644,root,root,755)
1261 %attr(755,root,root) %{_vfsdir}/cap.so
1263 %files vfs-default_quota
1264 %defattr(644,root,root,755)
1265 %attr(755,root,root) %{_vfsdir}/default_quota.so
1267 %files vfs-expand_msdfs
1268 %defattr(644,root,root,755)
1269 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1271 %files vfs-fake_perms
1272 %defattr(644,root,root,755)
1273 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1276 %defattr(644,root,root,755)
1277 %attr(755,root,root) %{_vfsdir}/netatalk.so
1280 %defattr(644,root,root,755)
1281 %attr(755,root,root) %{_vfsdir}/readonly.so
1284 %defattr(644,root,root,755)
1285 %attr(755,root,root) %{_vfsdir}/recycle.so
1287 %files vfs-shadow_copy
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1291 %files vfs-vscan-clamav
1292 %defattr(644,root,root,755)
1293 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1294 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-clamav.conf
1295 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1297 %files vfs-vscan-fprot
1298 %defattr(644,root,root,755)
1299 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1300 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fprotd.conf
1301 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1303 %files vfs-vscan-fsav
1304 %defattr(644,root,root,755)
1305 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1306 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fsav.conf
1307 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1309 %files vfs-vscan-kavp
1310 %defattr(644,root,root,755)
1311 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1312 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-kavp.conf
1313 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1315 %files vfs-vscan-mcafee
1316 %defattr(644,root,root,755)
1317 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1318 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1319 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1322 %files vfs-vscan-mks
1323 %defattr(644,root,root,755)
1324 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1325 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mks32.conf
1326 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1329 %files vfs-vscan-openantivirus
1330 %defattr(644,root,root,755)
1331 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1332 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-oav.conf
1333 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1335 %files vfs-vscan-sophos
1336 %defattr(644,root,root,755)
1337 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1338 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-sophos.conf
1339 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1341 %files vfs-vscan-symantec
1342 %defattr(644,root,root,755)
1343 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1344 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-icap.conf
1345 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1347 %files vfs-vscan-trend
1348 %defattr(644,root,root,755)
1349 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1350 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-trend.conf
1351 %attr(755,root,root) %{_vfsdir}/vscan-trend.so