3 # - look into other distro specs for valid %descriptions for samba 3
6 %bcond_without ads # without ActiveDirectory support
7 %bcond_without cups # without CUPS support
8 %bcond_without krb5 # without Kerberos5/Heimdal support
9 %bcond_without ldap # without LDAP support
10 %bcond_without mysql # without MySQL support
11 %bcond_without pgsql # without PostgreSQL support
12 %bcond_without python # without python libs/utils
13 %bcond_with ldapsam # with LDAP SAM 2.2 based auth (instead of smbpasswd)
15 # ADS requires krb5 and LDAP
16 %if %{without krb5} || %{without ldap}
19 %define vscan_version 0.3.5
21 Summary(cs): Server SMB
22 Summary(da): SMB server
23 Summary(de): SMB-Server
24 Summary(es): El servidor SMB
25 Summary(fi): SMB-palvelin
26 Summary(fr): Serveur SMB
27 Summary(it): Server SMB
28 Summary(ja): Samba SMB ¥µ¡¼¥Ð¡¼
29 Summary(ko): »ï¹Ù SMB ¼¹ö
30 Summary(pl): Serwer SMB
31 Summary(pt_BR): Cliente e servidor SMB
32 Summary(ru): SMB ËÌÉÅÎÔ É ÓÅÒ×ÅÒ
33 Summary(tr): SMB sunucusu
34 Summary(uk): SMB Ë̦¤ÎÔ ÔÁ ÓÅÒ×ÅÒ
35 Summary(zh_CN): Samba ¿Í»§¶ËºÍ·þÎñÆ÷
41 Group: Networking/Daemons
42 Source0: http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
43 # Source0-md5: 217e489646a474b4fb69d5802c14bc6e
47 Source4: %{name}.sysconfig
48 Source5: %{name}.logrotate
50 Source7: http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
51 # Source7-md5: 5f173d549014985d681478897135915b
53 Source9: winbind.sysconfig
54 Patch0: %{name}-statfs-workaround.patch
55 Patch1: %{name}-lib64.patch
56 Patch2: %{name}-setup-python.patch
57 Patch3: %{name}-FHS.patch
58 Patch4: %{name}-case_insensitive_sql_operator.patch
59 URL: http://www.samba.org/
60 BuildRequires: acl-devel
61 BuildRequires: autoconf
62 BuildRequires: automake
63 %{?with_cups:BuildRequires: cups-devel}
64 %{?with_krb5:BuildRequires: heimdal-devel}
65 BuildRequires: libtool >= 2:1.4d
66 BuildRequires: libxml2-devel
68 BuildRequires: mysql-devel
69 BuildRequires: mysql-extras
72 BuildRequires: postgresql-devel
74 BuildRequires: ncurses-devel >= 5.2
75 %{?with_ldap:BuildRequires: openldap-devel}
76 BuildRequires: openssl-devel >= 0.9.7d
77 BuildRequires: pam-devel > 0.66
78 BuildRequires: popt-devel
79 BuildRequires: readline-devel >= 4.2
80 BuildRequires: xfsprogs-devel
81 %{?with_python:BuildRequires: python-devel}
83 PreReq: setup >= 2.4.6-7
84 Requires(post,preun): /sbin/chkconfig
85 Requires: %{name}-common = %{epoch}:%{version}-%{release}
88 Obsoletes: samba-vfs-block
89 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
91 %define _vfsdir %{_libdir}/%{name}/vfs
92 %define _sambahome /home/services/samba
94 %define cups_serverbin %{_libdir}/cups
96 %define schemadir /usr/share/openldap/schema
99 Samba provides an SMB server which can be used to provide network
100 services to SMB (sometimes called "Lan Manager") clients, including
101 various versions of MS Windows, OS/2, and other Linux machines. Samba
102 also provides some SMB clients, which complement the built-in SMB
103 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
104 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
106 This release is known as the "Locking Update" and has full support for
107 Opportunistic File Locking. In addition this update includes native
108 support for Microsoft encrypted passwords, improved browse list and
109 WINS database management.
111 Please refer to the WHATSNEW.txt document for fixup information. This
112 binary release includes encrypted password support. Please read the
113 smb.conf file and ENCRYPTION.txt in the docs directory for
114 implementation details.
117 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
118 slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
119 klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
120 Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
121 souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
122 TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
123 NetBIOS od spoleènosti Microsoft.
126 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
127 services til SMB (også kaldet "Lan Manager") klienter, incl.
128 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
129 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
130 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
131 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
135 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
136 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
137 verschiedenen Versionen von MS Windows-, OS/2- und anderen
138 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
139 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
140 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
141 (Microsoft Raw NetBIOS frame)-Protokoll.
144 Samba provee un servidor SMB que se puede usar para ofrecer servicios
145 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
146 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
147 Linux. Samba también ofrece algunos clientes SMB, que complementan el
148 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
149 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
153 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
154 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
155 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
156 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
157 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
158 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
159 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
163 Samba fornisce un server SMB che puo` essere usato per fornire servizi
164 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
165 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
166 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
169 Samba ¤Ï MS Windows ¤ÎÍÍ¡¹¤Ê¥Ð¡¼¥¸¥ç¥ó¡¢OS/2 ¤½¤·¤Æ¾¤Î Linux ¥Þ¥·¥ó
170 ¤ò´Þ¤à SMB (¤¿¤Þ¤Ë "Lan Manager" ¤È¸Æ¤Ð¤ì¤ë)
171 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Í¥Ã¥È¥ï¡¼¥¯ ¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë SMB
172 ¥µ¡¼¥Ð¤òÄ󶡤·¤Þ¤¹¡£Samba ¤Ï NetBIOS over TCP/IP (NetBT)
173 ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¡¢ NetBEUI(Microsoft Raw NetBIOS frame)
174 ¥×¥í¥È¥³¥ë¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£
176 Samba ¤Û¤È¤ó¤ÉÆ°ºî¤¹¤ë NT ¥É¥á¥¤¥ó¥³¥ó¥È¥í¡¼¥ë¤Îµ¡Ç½¤òÆÃħ¤È¤·¡¢
177 ¹¥¤¤Ê¥Ö¥é¥¦¥¶¤ò»È¤Ã¤Æ samba ¤Î smb.conf ¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È´ÉÍý¤¹¤ë
178 ¿·¤·¤¤ SWAT (Samba Web Administration Tool) ¤ò´Þ¤ß¤Þ¤¹¡£
179 Ìܲ¼¤Î¤È¤³¤í¤³¤ì¤Ï inetd ¤òÄ̤·¤Æ TCP ¥Ý¡¼¥È 901 ¤Ç͸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
182 »ï¹Ù´Â MS Windows, OS/2, ȤÀº ´Ù¸¥ ¸®´ª½º ¸Ó½ÅÀ» Æ÷ÇÔÇÏ´Â SMB(ȤÀº
183 "Lan Manager"¶ó°íµµ ºÒ¸²) Ŭ¶óÀ̾ðÆ®¸¦ ³×Æ®¿öÅ© ¼ºñ½º À§ÇØ »ç¿ëÇÒ ¼ö
184 ÀÖ´Â SMB ¼¹ö¸¦ Á¦°øÇÑ´Ù. »ï¹Ù´Â TCP/IP ÇÁ·ÎÅäÄÝÀ» ÅëÇØ NetBIOS¸¦
185 »ç¿ëÇÏ°í NetBEUI (Microsoft Raw NetBIOS ÇÁ·¹ÀÓ) ÇÁ·ÎÅäÄÝÀº ÇÊ¿äÇÏÁö
188 »ï¹Ù-2.2 ÀÇ Æ¯Â¡Àº NT µµ¸ÞÀÎ ÄÁÆ®·ÑÀÇ ¼º´ÉÀ¸·Î ÀÛ¾÷À» ÇÏ°í, »õ·Î¿î
189 SWAT(Samba Web Administration Tool)·Î À¥ºê¶ó¿ìÀú¸¦ »ç¿ëÇÏ¿© ¿ø°ÝÁö¿¡¼
190 »ï¹ÙÀÇ smb.conf ÆÄÀÏÀ» °ü¸®Çϵµ·Ï ÇÑ´Ù. ÀÌ·¯ÇÑ °æ¿ì inetd µ¥¸óÀ» ÅëÇØ
191 TCP 901 Æ÷Æ®¸¦ »ç¿ëÇÏ°Ô µÈ´Ù.
193 ÃÖ±Ù Á¤º¸·Î WHATSNEW.txt ÆÄÀÏÀÇ ¹®¼¸¦ Âü°íÇϵµ·Ï ÇÑ´Ù. ¹ÙÀ̳ʸ®ÀÇ
194 ¸±¸®Áî´Â ¾ÏÈ£ÈµÈ Æнº¿öµå¸¦ Á¦°øÇÑ´Ù. ±¸Çö¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ Á¤º¸¸¦ ¾ò±â
195 À§ÇØ docs µð·ºÅ丮³»¿¡ ÀÖ´Â smb.conf ÆÄÀÏ°ú ENCRYPTION.txt ÆÄÀÏÀ»
199 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
200 us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
201 takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. W pakiecie
202 znajduje siê równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u
203 NetBIOS po TCP/IP (NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma
204 pe³ne wsparcie dla blokowania plików, a tak¿e wsparcie dla kodowania
205 hase³ w standardzie MS i zarz±dzania baz± WINS.
207 %description -l pt_BR
208 O Samba provê um servidor SMB que pode ser usado para oferecer
209 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
210 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
211 máquinas Linux. O Samba também fornece alguns clientes SMB, que
212 complementam o sistema de arquivos SMB do Linux. O Samba usa o
213 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
214 NetBEUI (Microsoft Raw NetBIOS frame).
216 O Samba inclui a maioria das características de um servidor de
217 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
218 permite que o arquivo smb.conf seja gerenciado remotamente através de
219 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
223 Samba ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ÓÅÒ×ÅÒ, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ ÄÌÑ
224 ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ× SMB (ÉÎÏÇÄÁ ÎÁÚÙ×ÁÅÍÙÍ "Lan Manager")
225 ËÌÉÅÎÔÁÍ, ×ËÌÀÞÁÑ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ×ÅÒÓÉÉ MS Windows, OS/2, É ÄÒÕÇÉÅ
226 Linux-ÍÁÛÉÎÙ. Samba ÔÁËÖÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ËÌÉÅÎÔÏ×, ËÏÔÏÒÙÅ ÒÁÂÏÔÁÀÔ
227 ÓÏ ×ÓÔÒÏÅÎÎÏÊ × Linux ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB.
229 Samba ÉÓÐÏÌØÚÕÅÔ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) É ÎÅ ÎÕÖÄÁÅÔÓÑ ×
230 ÐÒÏÔÏËÏÌÅ NetBEUI (Microsoft Raw NetBIOS frame).
232 Samba ÓÏÄÅÒÖÉÔ ÐÒÁËÔÉÞÅÓËÉ ÒÁÂÏÔÁÀÝÕÀ ÒÅÁÌÉÚÁÃÉÀ NT Domain Control É
233 ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool), ËÏÔÏÒÙÊ ÐÏÚ×ÏÌÑÅÔ
234 ÕÄÁÌÅÎÎÏ ÕÐÒÁ×ÌÑÔØ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÍ ÆÁÊÌÏÍ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
235 ÌÀÂÉÍÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÁ ÞÔÏ ÏÎ ÒÁÚÒÅÛÅÎ ÞÅÒÅÚ inetd ÎÁ TCP-ÐÏÒÔÕ
239 Samba ÎÁÄÁ¤ SMB-ÓÅÒ×ÅÒ, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ ÎÁÄÁÎÎÑ
240 ÍÅÒÅÖÅ×ÉÈ ÓÅÒ×¦Ó¦× SMB (ÝÏ §È ¦ÎÏĦ ÎÁÚÉ×ÁÀÔØ "Lan Manager") Ë̦¤ÎÔÁÍ,
241 ×ËÌÀÞÁÀÞÉ Ò¦ÚÎÏÍÁΦÔΦ ×ÅÒÓ¦§ MS Windows, OS/2, ÔÁ ¦ÎÛ¦ Linux-ÍÁÛÉÎÉ.
242 Samba ÔÁËÏÖ ÎÁÄÁ¤ SMB-Ë̦¤ÎÔ¦×, ÝÏ ÐÒÁÃÀÀÔØ Ú ×ÂÕÄÏ×ÁÎÏÀ × Linux
243 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB.
245 Samba ×ÉËÏÒÉÓÔÏ×Õ¤ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) ÔÁ ÎÅ ÐÏÔÒÅÂÕ¤
246 ÐÒÏÔÏËÏÌÕ NetBEUI (Microsoft Raw NetBIOS frame).
248 Samba ͦÓÔÉÔØ ÍÁÊÖÅ ÐÒÁÃÀÀÞÕ ÒÅÁÌÉÚÁæÀ NT Domain Control ÔÁ ÎÏ×ÙÊ
249 SWAT (Samba Web Administration Tool), ËÏÔÒÉÊ ÄÏÚ×ÏÌѤ צÄÄÁÌÅÎÏ
250 ËÅÒÕ×ÁÔÉ ËÏÎƦÇÕÒÁæÊÎÉÍ ÆÁÊÌÏÍ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
251 ÕÌÀÂÌÅÎÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÉ ÝÏ ×¦Î ÄÏÚ×ÏÌÅÎÉÊ ÞÅÒÅÚ inetd ÎÁ
255 Summary: Samba Web Administration Tool
256 Summary(es): Samba SWAT and Web documentation
257 Summary(pl): Narzêdzie administracyjne serwisu Samba
258 Summary(pt_BR): Samba SWAT e documentação Web
259 Summary(ru): ðÒÏÇÒÁÍÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ SMB-ÓÅÒ×ÅÒÁ Samba
260 Summary(uk): ðÒÏÇÒÁÍÁ ËÏÎÆÉÇÕÒÁæ§ SMB-ÓÅÒ×ÅÒÁ Samba
261 Group: Networking/Admin
262 Requires: %{name} = %{epoch}:%{version}-%{release}
264 Requires: rc-inetd >= 0.8.2
268 swat allows a Samba administrator to configure the complex smb.conf
269 file via a Web browser. In addition, a swat configuration page has
270 help links to all the configurable options in the smb.conf file
271 allowing an administrator to easily look up the effects of any change.
273 %description swat -l pl
274 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
277 %description swat -l pt_BR
278 SWAT - ferramentada Web de configuração do Samba.
280 %description swat -l ru
281 ðÁËÅÔ samba-swat ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool),
282 ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ ÆÁÊÌÁ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
283 ÌÀÂÉÍÏÇÏ Web-ÂÒÁÕÚÅÒÁ.
285 %description swat -l uk
286 ðÁËÅÔ samba-swat ͦÓÔÉÔØ ÎÏ×ÉÊ SWAT (Samba Web Administration Tool),
287 ÄÌÑ ÄÉÓÔÁÎæÊÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ ÆÁÊÌÕ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
288 ÕÌÀÂÌÅÎÏÇÏ Web-ÂÒÁÕÚÅÒÕ.
291 Summary: Samba MySQL password database plugin
292 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie MySQL
293 Group: Networking/Daemons
294 Requires: %{name} = %{epoch}:%{version}-%{release}
296 %description pdb-mysql
297 Samba MySQL password database plugin.
299 %description pdb-mysql -l pl
300 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
303 Summary: Samba PostgreSQL password database plugin
304 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie PostgreSQL
305 Group: Networking/Daemons
306 Requires: %{name} = %{epoch}:%{version}-%{release}
308 %description pdb-pgsql
309 Samba MySQL password database plugin.
311 %description pdb-pgsql -l pl
312 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
315 Summary: Samba XML password database plugin
316 Summary(pl): Wtyczka Samby do przechowywania hase³ w bazie XML
317 Group: Networking/Daemons
318 Requires: %{name} = %{epoch}:%{version}-%{release}
321 Samba XML password database plugin.
323 %description pdb-xml -l pl
324 Wtyczka Samby do przechowywania hase³ w bazie XML.
327 Summary: Samba client programs
328 Summary(es): Cliente SMB de Samba
329 Summary(ja): Samba (SMB) ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
330 Summary(pl): Klienci serwera Samba
331 Summary(pt_BR): Cliente SMB do samba
332 Summary(ru): ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ Samba (SMB)
333 Summary(uk): ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ Samba (SMB)
334 Group: Applications/Networking
335 Requires: %{name}-common = %{epoch}:%{version}-%{release}
336 Obsoletes: mount-cifs
340 Samba-client provides some SMB clients, which complement the build-in
341 SMB filesystem in Linux. These allow accessing of SMB shares and
342 printing to SMB printers.
344 %description client -l pt_BR
345 O pacote samba-clientes prove alguns clientes SMB, que complementam o
346 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
347 e também, à impressoras SMB.
349 %description client -l es
350 Cliente SMB de Samba.
352 %description client -l ja
353 Samba-client ¤Ï Linux ¾å¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë SMB ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÊ䤦 SMB
354 ¥¯¥é¥¤¥¢¥ó¥È¤òÄ󶡤·¤Þ¤¹¡£¤³¤ì¤é¤Ï SMB ¶¦Í¤Î¥¢¥¯¥»¥¹¤È SMB
355 ¥×¥ê¥ó¥¿¤Ø¤Î°õºþ¤òµö²Ä¤·¤Þ¤¹¡£
357 %description client -l pl
358 Samba-client dostarcza programy uzupe³niaj±ce obs³ugê systemu plików
359 SMB zawart± w j±drze. Pozwalaj± one na wspó³dzielenie zasobów SMB i
360 drukowanie w sieci SMB.
362 %description client -l pt_BR
363 O pacote samba-clientes prove alguns clientes SMB, que complementam o
364 sistema de arquivos SMB do Linux. Eles permitem o acesso a shares SMB,
365 e também, à impressoras SMB.
367 %description client -l ru
368 ðÁËÅÔ samba-client ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÅËÏÔÏÒÙÅ ËÌÉÅÎÔÙ SMB ÄÌÑ ÒÁÂÏÔÙ ÓÏ
369 ×ÓÔÒÏÅÎÎÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB × Linux. üÔÉ ËÌÉÅÎÔÙ ÐÏÚ×ÏÌÑÀÔ
370 ÐÏÌÕÞÁÔØ ÄÏÓÔÕÐ Ë ÒÁÚÄÅÌÑÅÍÙÍ ËÁÔÁÌÏÇÁÍ SMB É ÐÅÞÁÔØ ÎÁ SMB-ÐÒÉÎÔÅÒÙ.
372 %description client -l uk
373 ðÁËÅÔ samba-client ÎÁÄÁ¤ ÄÅÑ˦ Ë̦¤ÎÔÉ SMB ÄÌÑ ÒÏÂÏÔÉ Ú¦ ×ÂÕÄÏ×ÁÎÏÀ
374 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB × Linux. 㦠Ë̦¤ÎÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÕ×ÁÔÉ ÄÏÓÔÕÐ
375 ÄÏ ËÁÔÁÌÏÇ¦× ÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ SMB ÔÁ ÄÒÕË ÎÁ SMB-ÐÒ¦ÎÔÅÒÉ.
378 Summary: Files used by both Samba servers and clients
379 Summary(es): Common files between samba and samba-clients
380 Summary(ja): Samba ¥µ¡¼¥Ð¡¼¤È¥¯¥é¥¤¥¢¥ó¥È¤Ç»ÈÍѤµ¤ì¤ë¥×¥í¥°¥é¥à
381 Summary(pl): Pliki u¿ywane przez serwer i klientów Samba
382 Summary(pt_BR): Arquivos em comum entre samba e samba-clients
383 Summary(ru): æÁÊÌÙ, ÉÓÐÏÌØÚÕÅÍÙÅ ËÁË ÓÅÒ×ÅÒÏÍ, ÔÁË É ËÌÉÅÎÔÏÍ Samba
384 Summary(uk): æÁÊÌÉ, ÝÏ ×ÉËÏÒÉÓÔÏ×ÕÀÔØÓÑ ÑË ÓÅÒ×ÅÒÏÍ, ÔÁË ¦ Ë̦¤ÎÔÏÍ Samba
385 Group: Networking/Daemons
388 Samba-common provides files necessary for both the server and client
391 %description common -l ja
392 Samba-common ¤Ï Samba ¤Î¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤ÎξÊý¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç
393 »ÈÍѤµ¤ì¤ë¥Õ¥¡¥¤¥ë¤òÄ󶡤·¤Þ¤¹¡£
395 %description common -l pl
396 Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
399 %description common -l pt_BR
400 Arquivos em comum entre os pacotes samba e samba-clients.
402 %description common -l ru
403 Samba-common ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ ËÁË ËÌÉÅÎÔÁ, ÔÁË É
406 %description common -l uk
407 Samba-common ͦÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ ÑË Ë̦¤ÎÔÁ, ÔÁË ¦
411 Summary: Samba-winbind daemon, utilities and documentation
412 Summary(pl): Demon samba-winbind, narzêdzia i dokumentacja
413 Group: Networking/Daemons
414 Requires(post,preun): /sbin/chkconfig
415 Requires: %{name}-common = %{epoch}:%{version}-%{release}
418 Provides the winbind daemon and testing tools to allow authentication
419 and group/user enumeration from a Windows or Samba domain controller.
421 %description winbind -l pl
422 Pakiet zawiera demona winbind oraz narzêdzia testowe. Umo¿liwia
423 uwierzytelnianie i wyliczanie grup/u¿ytkowników z kontrolera domeny
427 Summary: Name Service Switch service for WINS
428 Summary(pl): Us³uga Name Service Switch dla WINS
430 Requires: %{name}-common = %{epoch}:%{version}-%{release}
432 %description -n nss_wins
433 Provides the libnss_wins shared library which resolves NetBIOS names
436 %description -n nss_wins -l pl
437 Biblioteka dzielona libnss_wins rozwi±zuj±ca nazwy NetBIOS na adresy
440 %package -n pam-pam_smbpass
441 Summary: PAM Samba Password Module
442 Summary(pl): Modu³ PAM smbpass
444 Obsoletes: pam_smbpass
446 %description -n pam-pam_smbpass
447 PAM module which can be used on conforming systems to keep the
448 smbpasswd (Samba password) database in sync with the unix password
451 %description -n pam-pam_smbpass -l pl
452 Modu³ PAM, który mo¿e byæ u¿ywany do trzymania pliku smbpasswd (has³a
453 Samby) zsynchronizowanego z has³ami uniksowymi.
455 %package -n libsmbclient
456 Summary: libsmbclient - samba client library
457 Summary(pl): libsmbclient - biblioteka klienta samby
460 %description -n libsmbclient
461 libsmbclient - library that allows to use samba clients functions.
463 %description -n libsmbclient -l pl
464 libsmbclient - biblioteka pozwalaj±ca korzystaæ z funcji klienta
467 %package -n libsmbclient-devel
468 Summary: libsmbclient - samba client library
469 Summary(pl): libsmbclient - biblioteka klienta samby
470 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
471 Group: Development/Libraries
472 Requires: libsmbclient = %{epoch}:%{version}-%{release}
474 %description -n libsmbclient-devel
475 Header files for libsmbclient.
477 %description -n libsmbclient-devel -l pl
478 Pliki nag³ówkowe dla libsmbclient.
480 %description -n libsmbclient-devel -l pt_BR
481 Arquivos de inclusão, bibliotecas e documentação necessários para
482 desenvolver aplicativos clientes para o samba.
484 %package -n libsmbclient-static
485 Summary: Static version of libsmbclient - samba client library
486 Summary(pl): Statyczna wersja libsmbclient - biblioteki klienta samby
487 Summary(pt_BR): Ferramentas de desenvolvimento para clientes samba
488 Group: Development/Libraries
489 Requires: libsmbclient = %{epoch}:%{version}-%{release}
491 %description -n libsmbclient-static
492 Static libsmbclient library.
494 %description -n libsmbclient-static -l pl
495 Statyczna biblioteka libsmbclient.
498 Summary: A utility for retrieving files using the SMB protocol
499 Summary(pl): Narzêdzie do pobierania plików protoko³em SMB
500 Group: Applications/Networking
502 %description -n smbget
503 wget-like utility for download files over SMB.
505 %description -n smbget -l pl
506 Narzêdzie podobne do wgeta do pobierania plików protoko³em SMB
507 u¿ywanym w sieciach MS Windows.
509 %package -n cups-backend-smb
510 Summary: CUPS backend for printing to SMB printers
511 Summary(pl): Backend CUPS-a drukuj±cy na drukarkach SMB
512 Group: Applications/Printing
513 Requires: %{name}-client = %{epoch}:%{version}-%{release}
516 %description -n cups-backend-smb
517 CUPS backend for printing to SMB printers.
519 %description -n cups-backend-smb -l pl
520 Backend CUPS-a drukuj±cy na drukarkach SMB.
522 %package -n python-samba
523 Summary: Samba python tools and libraries
524 Summary(pl): Narzêdzia i biblioteki pythona do samby
525 Group: Applications/Networking
526 %pyrequires_eq python-libs
528 %description -n python-samba
529 Samba python tools and libraries.
531 %description -n python-samba -l pl
532 Narzêdzia i biblioteki pythona do samby.
535 Summary: VFS module to audit file access
536 Summary(pl): Modu³ VFS do monitorowania operacji na plikach
537 Group: Networking/Daemons
538 Requires: %{name} = %{epoch}:%{version}-%{release}
540 %description vfs-audit
541 A simple module to audit file access to the syslog facility. The
542 following operations are logged: share connect/disconnect, directory
543 opens/create/remove, file open/close/rename/unlink/chmod.
545 %description vfs-audit -l pl
546 Prosty modu³ do monitorowania dostêpu do plików do sysloga.
547 Monitorowane s± nastêpuj±ce operacje: pod³±czone/od³±czenie do zasobu,
548 otwarcie/utworzenie/zmiana nazwy katalogu, otwarcie/zamknêcie/zmiana
549 nazwy/skasowania/zmiana praw plików.
552 Summary: VFS module for CAP and samba compatibility
553 Summary(pl): Modu³ VFS zgodno¶ci z CAP (Columbia AppleTalk Program)
554 Group: Networking/Daemons
555 Requires: %{name} = %{epoch}:%{version}-%{release}
558 Convert an incoming Shift-JIS character to the 3 byte hex
559 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
560 This is used for compatibility between Samba and CAP.
562 %description vfs-cap -l pl
563 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
564 reprezentacji u¿ywanej przez program Columbia AppleTalk Program (CAP).
566 %package vfs-default_quota
567 Summary: VFS module to store default quotas in a specified quota record
568 Summary(pl): Modu³ VFS do zapisywania domy¶lnych limitów w okre¶lonym rekordzie
569 Group: Networking/Daemons
570 Requires: %{name} = %{epoch}:%{version}-%{release}
572 %description vfs-default_quota
573 This VFS modules stores default quotas in a specified quota record.
575 %description vfs-default_quota -l pl
576 Ten modu³ VFS zapisuje domy¶lne limity (quoty) w okre¶lonym rekordzie
579 %package vfs-expand_msdfs
580 Summary: VFS module for hosting a Microsoft Distributed File System Tree
581 Summary(pl): Modu³ VFS obs³ugi Microsoft Distributed File System
582 Group: Networking/Daemons
583 Requires: %{name} = %{epoch}:%{version}-%{release}
585 %description vfs-expand_msdfs
586 A VFS module for hosting a Microsoft Distributed File System Tree.
588 The Distributed File System (DFS) provides a means of separating the
589 logical view of files and directories that users see from the actual
590 physical locations of these resources on the network. It allows for
591 higher availability, smoother storage expansion, load balancing, and
594 %description vfs-expand_msdfs -l pl
595 Modu³ VFS do udostêpniania drzewa systemu plików Microsoft Distributed
598 Distributed File System (DFS) umo¿liwia rozdzielanie logicznego widoku
599 plików i katalogów widocznych przez u¿ytkowników z fizycznego
600 umiejscowienia tych zasobów w sieci. Pozwala to na wy¿sz± dostêpno¶æ,
601 p³ynniejsze powiêkszanie przestrzeni, rozdzielanie obci±¿enia itp.
603 %package vfs-fake_perms
604 Summary: VFS module to report read-only fires as writable
605 Summary(pl): Modu³ VFS udaj±cy, ¿e pliki tylko do odczytu s± zapisywalne
606 Group: Networking/Daemons
607 Requires: %{name} = %{epoch}:%{version}-%{release}
609 %description vfs-fake_perms
610 This module allow Roaming Profile files and directories to be set (on
611 the Samba server under UNIX) as read only. This module will, if
612 installed on the Profiles share, report to the client that the Profile
613 files and directories are writeable. This satisfies the client even
614 though the files will never be overwritten as the client logs out or
617 %description vfs-fake_perms -l pl
618 Ten modu³ pozwala na ustawienie plików i katalogów z wêdruj±cych
619 profili (Roaming Profiles) jako tylko do odczytu. Modu³ ten w
620 przypadku zainstalowania na udziale z profilami bêdzie zg³asza³
621 klientom, ¿e pliki i katalogi z profilu s± zapisywane. To wystarczy
622 klientom pomimo, ¿e pliki nie zostan± nigdy nadpisane przy logowaniu
623 lub wylogowywaniu klienta.
625 %package vfs-netatalk
626 Summary: VFS module for ease co-existence of samba and netatalk
627 Summary(pl): Modu³ VFS u³atwiaj±cy wspó³pracê serwisów samba i netatalk
628 Group: Networking/Daemons
629 Requires: %{name} = %{epoch}:%{version}-%{release}
631 %description vfs-netatalk
632 Package contains a netatalk VFS module for ease co-existence of Samba
633 and netatalk file sharing services.
635 %description vfs-netatalk -l pl
636 Pakiet zawiera modu³ VFS netatalk umo¿liwiaj±cy wspó³pracê us³ug samba
637 i netatalk przy udostêpnianiu zasobów.
640 Summary: VFS module to add recycle bin facility to a samba share
641 Summary(pl): Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby
642 Group: Networking/Daemons
643 Requires: %{name} = %{epoch}:%{version}-%{release}
645 %description vfs-recycle
646 VFS module to add recycle bin facility to a samba share.
648 %description vfs-recycle -l pl
649 Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby.
651 %package vfs-readonly
652 Summary: VFS module for read-only limitation for specified share
653 Summary(pl): Modu³ VFS do ograniczania okre¶lonego udzia³u tylko do odczytu
654 Group: Networking/Daemons
655 Requires: %{name} = %{epoch}:%{version}-%{release}
657 %description vfs-readonly
658 This module performs a read-only limitation for specified share (or
659 all of them if it is loaded in a [global] section) based on period
660 definition in smb.conf.
662 %description vfs-readonly -l pl
663 Ten modu³ wprowadza ograniczenie tylko do odczytu dla okre¶lonego
664 udzia³u (lub wszystkich, je¶li jest wczytywany w sekcji [global]) w
665 oparciu o definicje okresów w smb.conf.
667 %package vfs-shadow_copy
668 Summary: VFS module to make automatic copy of data in samba share
669 Summary(pl): Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby
670 Group: Networking/Daemons
671 Requires: %{name} = %{epoch}:%{version}-%{release}
673 %description vfs-shadow_copy
674 VFS module to make automatic copy of data in samba share.
676 %description vfs-shadow_copy -l pl
677 Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby.
679 %package vfs-vscan-clamav
680 Summary: On-access virus scanning for samba using ClamAV
681 Summary(pl): Skaner antywirusowy online wykorzystuj±cy ClamAV
682 Group: Networking/Daemons
683 Requires: %{name} = %{epoch}:%{version}-%{release}
685 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
687 %description vfs-vscan-clamav
688 A vfs-module for samba to implement on-access scanning using the
689 ClamAV antivirus software (which must be installed to use this).
691 %description vfs-vscan-clamav -l pl
692 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
693 dostêpu do plików korzystaj±c z oprogramowania antywirusowego ClamAV
694 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
696 %package vfs-vscan-fprot
697 Summary: On-access virus scanning for samba using FPROT
698 Summary(pl): Skaner antywirusowy online wykorzystuj±cy FPROT
699 Group: Networking/Daemons
700 Requires: %{name} = %{epoch}:%{version}-%{release}
701 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
702 Obsoletes: vscan-fprot
704 %description vfs-vscan-fprot
705 A vfs-module for samba to implement on-access scanning using the FPROT
706 antivirus software (which must be installed to use this).
708 %description vfs-vscan-fprot -l pl
709 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
710 dostêpu do plików korzystaj±c z oprogramowania antywirusowego FPROT
711 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
713 %package vfs-vscan-fsav
714 Summary: On-access virus scanning for samba using F-Secure AntiVirus
715 Summary(pl): Skaner antywirusowy online wykorzystuj±cy F-Secure AntiVirus
716 Group: Networking/Daemons
717 Requires: %{name} = %{epoch}:%{version}-%{release}
718 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
719 Obsoletes: vscan-fsav
721 %description vfs-vscan-fsav
722 A vfs-module for samba to implement on-access scanning using the
723 F-Secure AntiVirus antivirus software (which must be installed to use
726 %description vfs-vscan-fsav -l pl
727 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
728 dostêpu do plików korzystaj±c z oprogramowania antywirusowego F-Secure
729 AntiVirus (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
731 %package vfs-vscan-kavp
732 Summary: On-access virus scanning for samba using Kaspersky AVP
733 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Kaspersky AVP
734 Group: Networking/Daemons
735 Requires: %{name} = %{epoch}:%{version}-%{release}
736 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
737 Obsoletes: vscan-kavp
739 %description vfs-vscan-kavp
740 A vfs-module for samba to implement on-access scanning using the
741 Kaspersky AVP antivirus software (which must be installed to use
744 %description vfs-vscan-kavp -l pl
745 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
746 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
747 Kaspersky AVP (które musi byæ zainstalowane, aby wykorzystaæ ten
750 %package vfs-vscan-mcafee
751 Summary: On-access virus scanning for samba using mcafee
752 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mcafee
753 Group: Networking/Daemons
754 Requires: %{name} = %{epoch}:%{version}-%{release}
756 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
757 Obsoletes: vscan-mcafee
759 %description vfs-vscan-mcafee
760 A vfs-module for samba to implement on-access scanning using the mcafee
761 antivirus software (which must be installed to use this).
763 %description vfs-vscan-mcafee -l pl
764 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
765 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mcafee
766 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
768 %package vfs-vscan-mks
769 Summary: On-access virus scanning for samba using mks
770 Summary(pl): Skaner antywirusowy online wykorzystuj±cy mks
771 Group: Networking/Daemons
772 Requires: %{name} = %{epoch}:%{version}-%{release}
774 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
777 %description vfs-vscan-mks
778 A vfs-module for samba to implement on-access scanning using the mks
779 antivirus software (which must be installed to use this).
781 %description vfs-vscan-mks -l pl
782 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
783 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mks
784 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
786 %package vfs-vscan-openantivirus
787 Summary: On-access virus scanning for samba using OpenAntivirus
788 Summary(pl): Skaner antywirusowy online wykorzystuj±cy OpenAntiVirus
789 Group: Networking/Daemons
790 Requires: %{name} = %{epoch}:%{version}-%{release}
791 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
792 Obsoletes: vscan-openantivirus
794 %description vfs-vscan-openantivirus
795 A vfs-module for samba to implement on-access scanning using the
796 OpenAntivirus antivirus software (which must be installed to use
799 %description vfs-vscan-openantivirus -l pl
800 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
801 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
802 OpenAntiVirus.org (które musi byæ zainstalowane, aby wykorzystaæ ten
805 %package vfs-vscan-sophos
806 Summary: On-access virus scanning for samba using Sophos
807 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Sophos
808 Group: Networking/Daemons
809 Requires: %{name} = %{epoch}:%{version}-%{release}
810 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
811 Obsoletes: vscan-sophos
813 %description vfs-vscan-sophos
814 A vfs-module for samba to implement on-access scanning using the
815 Sophos antivirus software (which must be installed to use this).
817 %description vfs-vscan-sophos -l pl
818 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
819 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Sophos
820 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
822 %package vfs-vscan-symantec
823 Summary: On-access virus scanning for samba using Symantec
824 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Symantec
825 Group: Networking/Daemons
826 Requires: %{name} = %{epoch}:%{version}-%{release}
827 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
828 Obsoletes: vscan-symantec
830 %description vfs-vscan-symantec
831 A vfs-module for samba to implement on-access scanning using the
832 Symantec antivirus software (which must be installed to use this).
834 %description vfs-vscan-symantec -l pl
835 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
836 dostêpu do plików korzystaj±c z oprogramowania antywirusowego firmy
837 Symantec (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
839 %package vfs-vscan-trend
840 Summary: On-access virus scanning for samba using Trend
841 Summary(pl): Skaner antywirusowy online wykorzystuj±cy Trend
842 Group: Networking/Daemons
843 Requires: %{name} = %{epoch}:%{version}-%{release}
844 Provides: %{name}-vscan = %{epoch}:%{version}-%{release}
845 Obsoletes: vscan-trend
847 %description vfs-vscan-trend
848 A vfs-module for samba to implement on-access scanning using the Trend
849 antivirus software (which must be installed to use this).
851 %description vfs-vscan-trend -l pl
852 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
853 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Trend
854 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
856 %package -n openldap-schema-samba
857 Summary: Samba LDAP schema
858 Summary(pl): Schemat LDAP dla samby
859 Group: Networking/Daemons
860 Requires(post,postun): sed >= 4.0
861 Requires: openldap-servers
863 %description -n openldap-schema-samba
864 This package contains samba.schema for openldap.
866 %description -n openldap-schema-samba -l pl
867 Ten pakiet zawiera schemat samby dla openldap-a.
872 %if "%{_lib}" == "lib64"
887 # Removed options (default or not supported by configure script)
890 # --without-smbwrapper \
891 # --with-sslinc=%{_prefix} \
894 # %{?with_ipv6:--with-ipv6} \
899 --with-libsmbclient \
902 --with%{!?with_ads:out}-ads \
903 --with-privatedir=%{_sysconfdir}/samba \
907 --with-swatdir=%{_datadir}/swat \
911 %{?with_python:--with-python} \
912 --with-expsam=xml,%{?with_mysql:mysql}%{?with_pgsql:,pgsql} \
913 %{?with_ldapsam:--with-ldapsam} \
914 --with%{!?with_ldap:out}-ldap \
915 --with%{!?with_krb5:out}-krb5
918 %{__make} everything pam_smbpass bin/smbget client/mount.cifs bin/vfstest
923 CFLAGS="%{rpmcflags} -fPIC"
927 cd samba-vscan-%{vscan_version}
928 cp -f /usr/share/automake/config.sub .
933 rm -rf $RPM_BUILD_ROOT
934 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
935 $RPM_BUILD_ROOT/var/{lock,log,log/archiv,spool}/samba \
936 $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
940 DESTDIR=$RPM_BUILD_ROOT \
941 CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
943 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
946 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
948 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
949 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
950 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
951 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
952 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
953 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
954 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
955 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
957 install source/client/mount.cifs $RPM_BUILD_ROOT/sbin/mount.cifs
958 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
959 ln -s libnss_winbind.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
960 install source/nsswitch/libnss_wins.so $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
961 ln -s libnss_wins.so.2 $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
962 install source/nsswitch/pam_winbind.so $RPM_BUILD_ROOT/%{_lib}/security
963 install source/bin/pam_smbpass.so $RPM_BUILD_ROOT/%{_lib}/security
964 install source/bin/wbinfo $RPM_BUILD_ROOT%{_bindir}
965 install source/bin/smbget $RPM_BUILD_ROOT%{_bindir}
966 install source/bin/vfstest $RPM_BUILD_ROOT%{_bindir}
968 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
969 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
970 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
972 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
975 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
976 install examples/VFS/samba-vscan-%{vscan_version}/{clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
978 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
980 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
983 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
984 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
987 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
988 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
990 rm -f docs/faq/*.{sgml,txt}
991 rm -f docs/htmldocs/*.[0-9].html
993 # we have this utility in tdb package
994 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
998 install -d $RPM_BUILD_ROOT%{py_sitedir}
999 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1002 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1005 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1009 rm -rf $RPM_BUILD_ROOT
1012 /sbin/chkconfig --add smb
1013 if [ -r /var/lock/subsys/smb ]; then
1014 /etc/rc.d/init.d/smb restart >&2
1016 echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
1020 if [ "$1" = "0" ]; then
1021 if [ -r /var/lock/subsys/smb ]; then
1022 /etc/rc.d/init.d/smb stop >&2
1024 /sbin/chkconfig --del smb
1028 /sbin/chkconfig --add winbind
1029 if [ -r /var/lock/subsys/winbind ]; then
1030 /etc/rc.d/init.d/winbind restart >&2
1032 echo "Run \"/etc/rc.d/init.d/winbind start\" to start Winbind daemon."
1036 if [ "$1" = "0" ]; then
1037 if [ -r /var/lock/subsys/winbind ]; then
1038 /etc/rc.d/init.d/winbind stop >&2
1040 /sbin/chkconfig --del winbind
1044 if [ -f /var/lock/subsys/rc-inetd ]; then
1045 /etc/rc.d/init.d/rc-inetd reload 1>&2
1047 echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
1051 if [ -f /var/lock/subsys/rc-inetd ]; then
1052 /etc/rc.d/init.d/rc-inetd reload
1055 %post -n openldap-schema-samba
1056 if ! grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1058 /^include.*local.schema/{
1060 include %{schemadir}/samba.schema
1063 # enable dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1064 /^#include.*\(cosine\|inetorgperson\|nis\)\.schema/{
1067 ' /etc/openldap/slapd.conf
1070 if [ -f /var/lock/subsys/ldap ]; then
1071 /etc/rc.d/init.d/ldap restart >&2
1074 %postun -n openldap-schema-samba
1075 if [ "$1" = "0" ]; then
1076 if grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1078 /^include.*\/usr\/share\/openldap\/schema\/samba.schema/d
1080 # for symmetry it would be nice if we disable enabled schemas in post,
1081 # but we really can not do that, it would break something else.
1082 ' /etc/openldap/slapd.conf
1085 if [ -f /var/lock/subsys/ldap ]; then
1086 /etc/rc.d/init.d/ldap restart >&2 || :
1090 %triggerpostun -- samba < 1.9.18p7
1091 if [ "$1" != "0" ]; then
1092 /sbin/chkconfig --add smb
1095 %triggerpostun -- samba < 2.0.5a-3
1096 if [ "$1" != "0" ]; then
1097 [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
1098 [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
1102 %defattr(644,root,root,755)
1103 %attr(755,root,root) %{_sbindir}/nmbd
1104 %attr(755,root,root) %{_sbindir}/smbd
1105 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1106 %attr(755,root,root) %{_bindir}/smbstatus
1107 %attr(755,root,root) %{_bindir}/smbpasswd
1108 %attr(755,root,root) %{_bindir}/smbcontrol
1109 %attr(755,root,root) %{_bindir}/tdbbackup
1110 %attr(755,root,root) %{_bindir}/tdbtool_samba
1112 %dir %{_libdir}/%{name}/pdb
1115 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smbusers
1116 %attr(754,root,root) /etc/rc.d/init.d/smb
1117 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
1118 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/samba
1119 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/samba
1120 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
1121 %{_mandir}/man1/smbstatus.1*
1122 %{_mandir}/man1/smbcontrol.1*
1123 %{_mandir}/man5/smbpasswd.5*
1124 %{_mandir}/man7/samba.7*
1125 %{_mandir}/man8/nmbd.8*
1126 %{_mandir}/man8/smbd.8*
1127 %{_mandir}/man8/smbpasswd.8*
1128 %{_mandir}/man8/pdbedit.8*
1129 %{_mandir}/man8/tdbbackup.8*
1132 %dir /var/lock/samba
1133 %ghost /var/lock/samba/*
1135 %attr(750,root,root) %dir /var/log/samba
1136 %attr(750,root,root) %dir /var/log/archiv/samba
1137 %attr(1777,root,root) %dir /var/spool/samba
1144 %defattr(644,root,root,755)
1145 %attr(755,root,root) %{_libdir}/%{name}/pdb/mysql.so
1150 %defattr(644,root,root,755)
1151 %attr(755,root,root) %{_libdir}/%{name}/pdb/pgsql.so
1155 %defattr(644,root,root,755)
1156 %attr(755,root,root) %{_libdir}/%{name}/pdb/xml.so
1159 %defattr(644,root,root,755)
1160 %attr(755,root,root) %{_sbindir}/winbindd
1161 %attr(755,root,root) %{_bindir}/wbinfo
1162 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1163 %attr(755,root,root) /%{_lib}/libnss_winbind*
1164 %attr(754,root,root) /etc/rc.d/init.d/winbind
1165 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/winbind
1166 %{_mandir}/man8/winbindd*.8*
1167 %{_mandir}/man8/pam_winbind.8.gz
1168 %{_mandir}/man1/wbinfo*.1*
1171 %defattr(644,root,root,755)
1172 %attr(755,root,root) /%{_lib}/libnss_wins*
1175 %defattr(644,root,root,755)
1176 %attr(755,root,root) /sbin/mount.smbfs
1177 %attr(755,root,root) /sbin/mount.cifs
1178 %attr(755,root,root) %{_bindir}/smbmount
1179 %attr(755,root,root) %{_bindir}/smbmnt
1180 %attr(755,root,root) %{_bindir}/smbumount
1181 %attr(755,root,root) %{_bindir}/net
1182 %attr(755,root,root) %{_bindir}/smbtree
1183 %{_mandir}/man8/net.8*
1184 %{_mandir}/man8/smbmnt.8*
1185 %{_mandir}/man8/smbmount.8*
1186 %{_mandir}/man8/smbumount.8*
1187 %{_mandir}/man8/mount.cifs.8*
1188 %attr(755,root,root) %{_bindir}/nmblookup
1189 %attr(755,root,root) %{_bindir}/smbclient
1190 %attr(755,root,root) %{_bindir}/smbtar
1191 %attr(755,root,root) %{_bindir}/smbcacls
1192 %{_mandir}/man1/smbtar.1*
1193 %{_mandir}/man1/smbtree.1*
1194 %{_mandir}/man1/smbclient.1*
1195 %{_mandir}/man1/nmblookup.1*
1196 %{_mandir}/man1/smbcacls.1*
1197 %{_mandir}/man1/smbsh.1*
1198 %attr(755,root,root) %{_bindir}/rpcclient
1199 %{_mandir}/man1/rpcclient.1*
1200 %attr(755,root,root) %{_bindir}/findsmb
1201 %{_mandir}/man1/findsmb.1*
1204 %defattr(644,root,root,755)
1205 %doc README Manifest WHATSNEW.txt
1206 %doc Roadmap docs/*.pdf docs/registry/*
1207 %doc docs/htmldocs/*.* docs/{history,THANKS}
1208 %dir %{_sysconfdir}/samba
1209 %attr(664,root,fileshare) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smb.conf
1210 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/lmhosts
1211 %dir %{_libdir}/%{name}
1212 %{_libdir}/%{name}/*.dat
1213 %attr(755,root,root) %{_bindir}/testparm
1214 %attr(755,root,root) %{_bindir}/testprns
1215 %attr(755,root,root) %{_bindir}/ntlm_auth
1216 %attr(755,root,root) %{_bindir}/smbcquotas
1217 %attr(755,root,root) %{_bindir}/profiles
1218 %attr(755,root,root) %{_bindir}/pdbedit
1219 %attr(755,root,root) %{_bindir}/vfstest
1220 %dir %{_libdir}/%{name}/charset
1221 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1222 %{_mandir}/man1/editreg.1*
1223 %{_mandir}/man1/testparm.1*
1224 %{_mandir}/man1/testprns.1*
1225 %{_mandir}/man1/ntlm_auth.1*
1226 %{_mandir}/man1/smbcquotas.1*
1227 %{_mandir}/man1/profiles.1*
1228 %{_mandir}/man1/vfstest.1*
1230 %{_mandir}/man1/log2pcap.1*
1232 %{_mandir}/man5/smb.conf.5*
1233 %{_mandir}/man5/lmhosts.5*
1236 %defattr(644,root,root,755)
1237 #%doc swat/README* swat/help/*
1239 %attr(755,root,root) %{_sbindir}/swat
1240 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat
1241 %dir %{_datadir}/swat
1242 %{_datadir}/swat/help
1243 %{_datadir}/swat/images
1244 %{_datadir}/swat/include
1245 %dir %{_datadir}/swat/lang
1246 %lang(ja) %{_datadir}/swat/lang/ja
1247 %lang(tr) %{_datadir}/swat/lang/tr
1248 %{_datadir}/swat/using_samba
1249 %lang(de) %{_libdir}/%{name}/de.msg
1250 %{_libdir}/%{name}/en.msg
1251 %lang(fr) %{_libdir}/%{name}/fr.msg
1252 %lang(it) %{_libdir}/%{name}/it.msg
1253 %lang(ja) %{_libdir}/%{name}/ja.msg
1254 %lang(nl) %{_libdir}/%{name}/nl.msg
1255 %lang(pl) %{_libdir}/%{name}/pl.msg
1256 %lang(tr) %{_libdir}/%{name}/tr.msg
1257 %{_mandir}/man8/swat.8*
1260 %files -n python-samba
1261 %defattr(644,root,root,755)
1262 %dir %{py_sitedir}/samba
1263 %attr(755,root,root) %{py_sitedir}/samba/*.so
1264 %{py_sitedir}/samba/*.py
1265 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1266 %doc source/python/examples
1269 %files -n pam-pam_smbpass
1270 %defattr(644,root,root,755)
1271 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1272 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1274 %files -n libsmbclient
1275 %defattr(644,root,root,755)
1276 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1278 %files -n libsmbclient-devel
1279 %defattr(644,root,root,755)
1280 %attr(755,root,root) %{_libdir}/libsmbclient.so
1281 %{_includedir}/libsmbclient.h
1283 %files -n libsmbclient-static
1284 %defattr(644,root,root,755)
1285 %{_libdir}/libsmbclient.a
1288 %defattr(644,root,root,755)
1289 %attr(755,root,root) %{_bindir}/smbget
1290 %{_mandir}/man1/smbget.1*
1291 %{_mandir}/man5/smbgetrc.5*
1294 %files -n cups-backend-smb
1295 %defattr(644,root,root,755)
1296 %attr(755,root,root) %{_bindir}/smbspool
1297 %attr(755,root,root) %{cups_serverbin}/backend/smb
1298 %{_mandir}/man8/smbspool.8*
1302 %defattr(644,root,root,755)
1303 %attr(755,root,root) %{_vfsdir}/audit.so
1304 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1305 %attr(755,root,root) %{_vfsdir}/full_audit.so
1308 %defattr(644,root,root,755)
1309 %attr(755,root,root) %{_vfsdir}/cap.so
1311 %files vfs-default_quota
1312 %defattr(644,root,root,755)
1313 %attr(755,root,root) %{_vfsdir}/default_quota.so
1315 %files vfs-expand_msdfs
1316 %defattr(644,root,root,755)
1317 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1319 %files vfs-fake_perms
1320 %defattr(644,root,root,755)
1321 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1324 %defattr(644,root,root,755)
1325 %attr(755,root,root) %{_vfsdir}/netatalk.so
1328 %defattr(644,root,root,755)
1329 %attr(755,root,root) %{_vfsdir}/readonly.so
1332 %defattr(644,root,root,755)
1333 %attr(755,root,root) %{_vfsdir}/recycle.so
1335 %files vfs-shadow_copy
1336 %defattr(644,root,root,755)
1337 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1339 %files vfs-vscan-clamav
1340 %defattr(644,root,root,755)
1341 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1342 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-clamav.conf
1343 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1345 %files vfs-vscan-fprot
1346 %defattr(644,root,root,755)
1347 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1348 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fprotd.conf
1349 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1351 %files vfs-vscan-fsav
1352 %defattr(644,root,root,755)
1353 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1354 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fsav.conf
1355 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1357 %files vfs-vscan-kavp
1358 %defattr(644,root,root,755)
1359 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1360 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-kavp.conf
1361 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1363 %files vfs-vscan-mcafee
1364 %defattr(644,root,root,755)
1365 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1366 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1367 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1370 %files vfs-vscan-mks
1371 %defattr(644,root,root,755)
1372 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1373 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mks32.conf
1374 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1377 %files vfs-vscan-openantivirus
1378 %defattr(644,root,root,755)
1379 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1380 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-oav.conf
1381 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1383 %files vfs-vscan-sophos
1384 %defattr(644,root,root,755)
1385 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1386 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-sophos.conf
1387 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1389 %files vfs-vscan-symantec
1390 %defattr(644,root,root,755)
1391 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1392 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-icap.conf
1393 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1395 %files vfs-vscan-trend
1396 %defattr(644,root,root,755)
1397 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1398 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-trend.conf
1399 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1402 %files -n openldap-schema-samba
1403 %defattr(644,root,root,755)
1404 %{schemadir}/*.schema