]> git.pld-linux.org Git - packages/samba.git/blob - samba.spec
- up to 3.0.20 (sql patch is controversial; not updated+disabled)
[packages/samba.git] / samba.spec
1 #
2 # TODO:
3 # - look into other distro specs for valid %descriptions for samba 3
4 #
5 # Conditional build:
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)
14
15 # ADS requires krb5 and LDAP
16 %if %{without krb5} || %{without ldap}
17 %undefine       with_ads
18 %endif
19 %define         vscan_version 0.3.6
20 Summary:        SMB server
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 ¿Í»§¶ËºÍ·þÎñÆ÷
36 Name:           samba
37 Version:        3.0.20
38 Release:        0.1
39 Epoch:          1
40 License:        GPL v2
41 Group:          Networking/Daemons
42 Source0:        http://us1.samba.org/samba/ftp/%{name}-%{version}.tar.gz
43 # Source0-md5:  68e72ab16334c329901816febc43217a
44 Source1:        smb.init
45 Source2:        %{name}.pamd
46 Source3:        swat.inetd
47 Source4:        %{name}.sysconfig
48 Source5:        %{name}.logrotate
49 Source6:        smb.conf
50 Source7:        http://dl.sourceforge.net/openantivirus/%{name}-vscan-%{vscan_version}.tar.bz2
51 # Source7-md5:  68c9d099d942d85e68d96804b26ac788
52 Source8:        winbind.init
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 Patch5:         %{name}-c++-nofail.patch
60 URL:            http://www.samba.org/
61 BuildRequires:  acl-devel
62 BuildRequires:  autoconf
63 BuildRequires:  automake
64 %{?with_cups:BuildRequires:     cups-devel}
65 %{?with_krb5:BuildRequires:     heimdal-devel >= 0.7}
66 BuildRequires:  libmagic-devel
67 BuildRequires:  libtool >= 2:1.4d
68 BuildRequires:  libxml2-devel
69 %if %{with mysql}
70 BuildRequires:  mysql-devel
71 BuildRequires:  mysql-extras
72 %endif
73 %if %{with pgsql}
74 BuildRequires:  postgresql-devel
75 %endif
76 BuildRequires:  ncurses-devel >= 5.2
77 %{?with_ldap:BuildRequires:     openldap-devel}
78 BuildRequires:  openssl-devel >= 0.9.7d
79 BuildRequires:  pam-devel > 0.66
80 BuildRequires:  popt-devel
81 BuildRequires:  readline-devel >= 4.2
82 BuildRequires:  xfsprogs-devel
83 %{?with_python:BuildRequires:   python-devel}
84 PreReq:         rc-scripts
85 PreReq:         setup >= 2.4.6-7
86 Requires(post,preun):   /sbin/chkconfig
87 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
88 Requires:       logrotate
89 Requires:       pam >= 0.66
90 Obsoletes:      samba-vfs-block
91 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
92
93 %define         _vfsdir         %{_libdir}/%{name}/vfs
94 %define         _sambahome      /home/services/samba
95 %if %{with cups}
96 %define         cups_serverbin  %{_prefix}/lib/cups
97 %endif
98 %define         schemadir       /usr/share/openldap/schema
99
100 %description
101 Samba provides an SMB server which can be used to provide network
102 services to SMB (sometimes called "Lan Manager") clients, including
103 various versions of MS Windows, OS/2, and other Linux machines. Samba
104 also provides some SMB clients, which complement the built-in SMB
105 filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols
106 and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol.
107
108 This release is known as the "Locking Update" and has full support for
109 Opportunistic File Locking. In addition this update includes native
110 support for Microsoft encrypted passwords, improved browse list and
111 WINS database management.
112
113 Please refer to the WHATSNEW.txt document for fixup information. This
114 binary release includes encrypted password support. Please read the
115 smb.conf file for implementation details.
116
117 %description -l cs
118 Samba poskytuje server SMB, který lze pou¾ít pro poskytování sí»ových
119 slu¾eb klientùm SMB (nìkdy nazývaných klienti "LAN mana¾er") vèetnì
120 klientù rùzných verzí MS Windows, OS/2 a dal¹ích linuxových strojù.
121 Samba té¾ poskytuje nìkteré klienty SMB, kteøí komplementují vestavìný
122 souborový systém SMB v Linuxu. Samba pou¾ívá protokoly NetBIOS pøes
123 TCP/IP (NetBT) a NEpotøebuje protokol NetBEUI (neformátovaný rámec
124 NetBIOS od spoleènosti Microsoft.
125
126 %description -l da
127 Samba tilbyder en SMB server som kan bruges til at tilbyde netværk
128 services til SMB (også kaldet "Lan Manager") klienter, incl.
129 forskellige versioner af MS Windows, OS/2, og andre Linux maskiner.
130 Samba tilbyder også SMB klienter, som udbygger det indbyggede SMB
131 filsystem i Linux. Samba benytter NetBIOS over TCP/IP (NetBT)
132 protocolen og kræver ikke NetBEUI (Microsoft Raw NetBIOS frame)
133 protokollen.
134
135 %description -l de
136 Samba stellt einen SMB-Server zum Anbieten von Netzwerkdiensten für
137 SMB-Clients (auch "Lan Manager" genannt) zur Verfügung, darunter
138 verschiedenen Versionen von MS Windows-, OS/2- und anderen
139 Linux-Rechnern. Samba enthält außerdem einige SMB-Clients, die das in
140 Linux integrierte SMB-Dateisystem ergänzen. Samba benutzt
141 NetBIOS-über-TCP/IP (NetBT)-Protokolle und benötigt KEIN NetBEUI
142 (Microsoft Raw NetBIOS frame)-Protokoll.
143
144 %description -l es
145 Samba provee un servidor SMB que se puede usar para ofrecer servicios
146 de red a clientes SMB (algunas veces se le llama de "Lan Manager"),
147 incluyendo varias versiones de MS Windows, OS/2, y otras máquinas
148 Linux. Samba también ofrece algunos clientes SMB, que complementan el
149 sistema de archivos SMB de Linux. Samba usa el protocolo NetBIOS sobre
150 TCP/IP (NetBT) y no necesita del protocolo NetBEUI (Microsoft Raw
151 NetBIOS frame).
152
153 %description -l fi
154 Samba on SMB-palvelin, jota voidaan käyttää SMB-asiakasohjelmien
155 verkkopalvelujen tarjoajana. SMB-protokollaa kutsutaan joskus "Lan
156 Manager" protokollaksi ja asiakasohjelmat toimivat dosissa,
157 Windowseissa, OS/2:ssa ja toisissa Linux-koneissa. Samban mukana on
158 myös joitakin SMB-asiakasohjelmia, jotka täydentävät Linuxin
159 kernelissä olevaa SMB-tiedostojärjestelmän tukea. Samba vaatii NetBIOS
160 over TCP/IP (NetBT) protokollaa eikä tarvitse tai pysty käyttämään
161 NetBEUI-protokollaa.
162
163 %description -l it
164 Samba fornisce un server SMB che puo` essere usato per fornire servizi
165 di rete ai client SMB, incluse le versioni MS Windows, OS/2 e per
166 altre macchine Linux. Samba fornisce anche i client SMB. Samba usa
167 NetBIOS sopra TCP/IP e non ha bisogno del protocollo NetBEUI.
168
169 %description -l ja
170 Samba ¤Ï MS Windows ¤ÎÍÍ¡¹¤Ê¥Ð¡¼¥¸¥ç¥ó¡¢OS/2 ¤½¤·¤Æ¾¤Î Linux ¥Þ¥·¥ó
171 ¤ò´Þ¤à SMB (¤¿¤Þ¤Ë "Lan Manager" ¤È¸Æ¤Ð¤ì¤ë)
172 ¥¯¥é¥¤¥¢¥ó¥È¤Ë¥Í¥Ã¥È¥ï¡¼¥¯ ¥µ¡¼¥Ó¥¹¤òÄ󶡤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë SMB
173 ¥µ¡¼¥Ð¤òÄ󶡤·¤Þ¤¹¡£Samba ¤Ï NetBIOS over TCP/IP (NetBT)
174 ¥×¥í¥È¥³¥ë¤ò»ÈÍѤ·¡¢ NetBEUI(Microsoft Raw NetBIOS frame)
175 ¥×¥í¥È¥³¥ë¤ÏɬÍפ¢¤ê¤Þ¤»¤ó¡£
176
177 Samba ¤Û¤È¤ó¤ÉÆ°ºî¤¹¤ë NT ¥É¥á¥¤¥ó¥³¥ó¥È¥í¡¼¥ë¤Îµ¡Ç½¤òÆÃħ¤È¤·¡¢
178 ¹¥¤­¤Ê¥Ö¥é¥¦¥¶¤ò»È¤Ã¤Æ samba ¤Î smb.conf ¥Õ¥¡¥¤¥ë¤ò¥ê¥â¡¼¥È´ÉÍý¤¹¤ë
179 ¿·¤·¤¤ SWAT (Samba Web Administration Tool) ¤ò´Þ¤ß¤Þ¤¹¡£
180 Ìܲ¼¤Î¤È¤³¤í¤³¤ì¤Ï inetd ¤òÄ̤·¤Æ TCP ¥Ý¡¼¥È 901 ¤ÇÍ­¸ú¤Ë¤Ê¤ê¤Þ¤¹¡£
181
182 %description -l ko
183 »ï¹Ù´Â MS Windows, OS/2, È¤Àº ´Ù¸¥ ¸®´ª½º ¸Ó½ÅÀ» Æ÷ÇÔÇϴ SMB(ȤÀº
184 "Lan Manager"¶ó°íµµ ºÒ¸²) Å¬¶óÀ̾ðÆ®¸¦ ³×Æ®¿öÅ© ¼­ºñ½º À§ÇØ »ç¿ëÇÒ ¼ö
185 Àִ SMB ¼­¹ö¸¦ Á¦°øÇÑ´Ù. »ï¹Ù´Â TCP/IP ÇÁ·ÎÅäÄÝÀ» ÅëÇØ NetBIOS¸¦
186 »ç¿ëÇÏ°í NetBEUI (Microsoft Raw NetBIOS ÇÁ·¹ÀÓ) ÇÁ·ÎÅäÄÝÀº ÇÊ¿äÇÏÁö
187 ¾Ê´Ù.
188
189 »ï¹Ù-2.2 ÀǠƯ¡Àº NT µµ¸ÞÀΠÄÁÆ®·ÑÀÇ ¼º´ÉÀ¸·Î ÀÛ¾÷À» ÇÏ°í, »õ·Î¿î
190 SWAT(Samba Web Administration Tool)·Î À¥ºê¶ó¿ìÀú¸¦ »ç¿ëÇÏ¿© ¿ø°ÝÁö¿¡¼­
191 »ï¹ÙÀÇ smb.conf ÆÄÀÏÀ» °ü¸®Çϵµ·Ï ÇÑ´Ù. ÀÌ·¯ÇÑ °æ¿ì inetd µ¥¸óÀ» ÅëÇØ
192 TCP 901 Æ÷Æ®¸¦ »ç¿ëÇÏ°Ô µÈ´Ù.
193
194 ÃÖ±Ù Á¤º¸·Î WHATSNEW.txt ÆÄÀÏÀÇ ¹®¼­¸¦ Âü°íÇϵµ·Ï ÇÑ´Ù. ¹ÙÀ̳ʸ®ÀÇ
195 ¸±¸®Áî´Â ¾ÏȣȭµÈ Æнº¿öµå¸¦ Á¦°øÇÑ´Ù.
196
197 %description -l pl
198 Samba udostêpnia serwer SMB, który mo¿e byæ u¿yty w celu dostarczenia
199 us³ug sieciowych (potocznie zwanych "Lan Manager"), dla klientów
200 takich jak MS Windows, OS/2 a tak¿e maszyn linuksowych. W pakiecie
201 znajduje siê równie¿ oprogramowanie klienckie. Samba u¿ywa protoko³u
202 NetBIOS po TCP/IP (NetBT) i nie wymaga protoko³u NetBEUI. Ta wersja ma
203 pe³ne wsparcie dla blokowania plików, a tak¿e wsparcie dla kodowania
204 hase³ w standardzie MS i zarz±dzania baz± WINS.
205
206 %description -l pt_BR
207 O Samba provê um servidor SMB que pode ser usado para oferecer
208 serviços de rede a clientes SMB (algumas vezes chamado de "Lan
209 Manager"), incluindo várias versões de MS Windows, OS/2, e outras
210 máquinas Linux. O Samba também fornece alguns clientes SMB, que
211 complementam o sistema de arquivos SMB do Linux. O Samba usa o
212 protocolo NetBIOS sobre TCP/IP (NetBT) e não necessita do protocolo
213 NetBEUI (Microsoft Raw NetBIOS frame).
214
215 O Samba inclui a maioria das características de um servidor de
216 Controle de Domínios NT e o SWAT (Samba Web Administration Tool), que
217 permite que o arquivo smb.conf seja gerenciado remotamente através de
218 um navegador. Atualmente isto está sendo habilitado na porta TCP 901
219 via inetd.
220
221 %description -l ru
222 Samba ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ÓÅÒ×ÅÒ, ËÏÔÏÒÙÊ ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁΠÄÌÑ
223 ÐÒÅÄÏÓÔÁ×ÌÅÎÉÑ ÓÅÔÅ×ÙÈ ÓÅÒ×ÉÓÏ× SMB (ÉÎÏÇÄÁ ÎÁÚÙ×ÁÅÍÙÍ "Lan Manager")
224 ËÌÉÅÎÔÁÍ, ×ËÌÀÞÁÑ ÒÁÚÎÏÏÂÒÁÚÎÙÅ ×ÅÒÓÉÉ MS Windows, OS/2, É ÄÒÕÇÉÅ
225 Linux-ÍÁÛÉÎÙ. Samba ÔÁËÖÅ ÐÒÅÄÏÓÔÁ×ÌÑÅÔ SMB-ËÌÉÅÎÔÏ×, ËÏÔÏÒÙÅ ÒÁÂÏÔÁÀÔ
226 ÓÏ ×ÓÔÒÏÅÎÎÏÊ × Linux ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB.
227
228 Samba ÉÓÐÏÌØÚÕÅÔ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) É ÎÅ ÎÕÖÄÁÅÔÓÑ ×
229 ÐÒÏÔÏËÏÌÅ NetBEUI (Microsoft Raw NetBIOS frame).
230
231 Samba ÓÏÄÅÒÖÉÔ ÐÒÁËÔÉÞÅÓËÉ ÒÁÂÏÔÁÀÝÕÀ ÒÅÁÌÉÚÁÃÉÀ NT Domain Control É
232 ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool), ËÏÔÏÒÙÊ ÐÏÚ×ÏÌÑÅÔ
233 ÕÄÁÌÅÎÎÏ ÕÐÒÁ×ÌÑÔØ ËÏÎÆÉÇÕÒÁÃÉÏÎÎÙÍ ÆÁÊÌÏÍ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
234 ÌÀÂÉÍÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÁ ÞÔÏ ÏΠÒÁÚÒÅÛÅΠÞÅÒÅÚ inetd ÎÁ TCP-ÐÏÒÔÕ
235 901.
236
237 %description -l uk
238 Samba ÎÁÄÁ¤ SMB-ÓÅÒ×ÅÒ, ÝÏ ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÄÌÑ ÎÁÄÁÎÎÑ
239 ÍÅÒÅÖÅ×ÉÈ ÓÅÒצӦנSMB (ÝÏ §È ¦ÎÏĦ ÎÁÚÉ×ÁÀÔØ "Lan Manager") Ë̦¤ÎÔÁÍ,
240 ×ËÌÀÞÁÀÞÉ Ò¦ÚÎÏÍÁΦÔΦ ×ÅÒÓ¦§ MS Windows, OS/2, ÔÁ ¦ÎÛ¦ Linux-ÍÁÛÉÎÉ.
241 Samba ÔÁËÏÖ ÎÁÄÁ¤ SMB-Ë̦¤ÎÔ¦×, ÝÏ ÐÒÁÃÀÀÔØ Ú ×ÂÕÄÏ×ÁÎÏÀ × Linux
242 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB.
243
244 Samba ×ÉËÏÒÉÓÔÏ×Õ¤ ÐÒÏÔÏËÏÌ NetBIOS over TCP/IP (NetBT) ÔÁ ÎÅ ÐÏÔÒÅÂÕ¤
245 ÐÒÏÔÏËÏÌÕ NetBEUI (Microsoft Raw NetBIOS frame).
246
247 Samba Í¦ÓÔÉÔØ ÍÁÊÖÅ ÐÒÁÃÀÀÞÕ ÒÅÁÌÉÚÁæÀ NT Domain Control ÔÁ ÎÏ×ÙÊ
248 SWAT (Samba Web Administration Tool), ËÏÔÒÉÊ ÄÏÚ×ÏÌѤ ×¦ÄÄÁÌÅÎÏ
249 ËÅÒÕ×ÁÔÉ ËÏÎƦÇÕÒÁæÊÎÉÍ ÆÁÊÌÏÍ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
250 ÕÌÀÂÌÅÎÏÇÏ WEB-ÂÒÏÕÚÅÒÁ. ðÏËÉ ÝϠצΠÄÏÚ×ÏÌÅÎÉÊ ÞÅÒÅÚ inetd ÎÁ
251 TCP-ÐÏÒÔÕ 901.
252
253 %package swat
254 Summary:        Samba Web Administration Tool
255 Summary(es):    Samba SWAT and Web documentation
256 Summary(pl):    Narzêdzie administracyjne serwisu Samba
257 Summary(pt_BR): Samba SWAT e documentação Web
258 Summary(ru):    ðÒÏÇÒÁÍÍÁ ËÏÎÆÉÇÕÒÁÃÉÉ SMB-ÓÅÒ×ÅÒÁ Samba
259 Summary(uk):    ðÒÏÇÒÁÍÁ ËÏÎÆÉÇÕÒÁ槠SMB-ÓÅÒ×ÅÒÁ Samba
260 Group:          Networking/Admin
261 Requires:       %{name} = %{epoch}:%{version}-%{release}
262 Requires:       inetdaemon
263 Requires:       rc-inetd >= 0.8.2
264 Obsoletes:      swat
265
266 %description swat
267 swat allows a Samba administrator to configure the complex smb.conf
268 file via a Web browser. In addition, a swat configuration page has
269 help links to all the configurable options in the smb.conf file
270 allowing an administrator to easily look up the effects of any change.
271
272 %description swat -l pl
273 swat pozwala na kompleksow± konfiguracjê smb.conf przy pomocy
274 przegl±darki WWW.
275
276 %description swat -l pt_BR
277 SWAT - ferramentada Web de configuração do Samba.
278
279 %description swat -l ru
280 ðÁËÅÔ samba-swat ×ËÌÀÞÁÅÔ ÎÏ×ÙÊ SWAT (Samba Web Administration Tool),
281 ÄÌÑ ÕÄÁÌÅÎÎÏÇÏ ÁÄÍÉÎÉÓÔÒÉÒÏ×ÁÎÉÑ ÆÁÊÌÁ smb.conf ÐÒÉ ÐÏÍÏÝÉ ×ÁÛÅÇÏ
282 ÌÀÂÉÍÏÇÏ Web-ÂÒÁÕÚÅÒÁ.
283
284 %description swat -l uk
285 ðÁËÅÔ samba-swat Í¦ÓÔÉÔØ ÎÏ×ÉÊ SWAT (Samba Web Administration Tool),
286 ÄÌÑ ÄÉÓÔÁÎæÊÎÏÇÏ ÁÄͦΦÓÔÒÕ×ÁÎÎÑ ÆÁÊÌÕ smb.conf ÚÁ ÄÏÐÏÍÏÇÏÀ ×ÁÛÏÇÏ
287 ÕÌÀÂÌÅÎÏÇÏ Web-ÂÒÁÕÚÅÒÕ.
288
289 %package pdb-mysql
290 Summary:        Samba MySQL password database plugin
291 Summary(pl):    Wtyczka Samby do przechowywania hase³ w bazie MySQL
292 Group:          Networking/Daemons
293 Requires:       %{name} = %{epoch}:%{version}-%{release}
294
295 %description pdb-mysql
296 Samba MySQL password database plugin.
297
298 %description pdb-mysql -l pl
299 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
300
301 %package pdb-pgsql
302 Summary:        Samba PostgreSQL password database plugin
303 Summary(pl):    Wtyczka Samby do przechowywania hase³ w bazie PostgreSQL
304 Group:          Networking/Daemons
305 Requires:       %{name} = %{epoch}:%{version}-%{release}
306
307 %description pdb-pgsql
308 Samba MySQL password database plugin.
309
310 %description pdb-pgsql -l pl
311 Wtyczka Samby do przechowywania hase³ w bazie MySQL.
312
313 %package pdb-xml
314 Summary:        Samba XML password database plugin
315 Summary(pl):    Wtyczka Samby do przechowywania hase³ w bazie XML
316 Group:          Networking/Daemons
317 Requires:       %{name} = %{epoch}:%{version}-%{release}
318
319 %description pdb-xml
320 Samba XML password database plugin.
321
322 %description pdb-xml -l pl
323 Wtyczka Samby do przechowywania hase³ w bazie XML.
324
325 %package client
326 Summary:        Samba client programs
327 Summary(es):    Cliente SMB de Samba
328 Summary(ja):    Samba (SMB) ¥¯¥é¥¤¥¢¥ó¥È¥×¥í¥°¥é¥à
329 Summary(pl):    Klienci serwera Samba
330 Summary(pt_BR): Cliente SMB do samba
331 Summary(ru):    ëÌÉÅÎÔÓËÉÅ ÐÒÏÇÒÁÍÍÙ Samba (SMB)
332 Summary(uk):    ë̦¤ÎÔÓØ˦ ÐÒÏÇÒÁÍÉ Samba (SMB)
333 Group:          Applications/Networking
334 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
335 Requires:       heimdal-libs >= 0.7
336 Obsoletes:      mount-cifs
337 Obsoletes:      smbfs
338
339 %description client
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.
343
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.
348
349 %description client -l es
350 Cliente SMB de Samba.
351
352 %description client -l ja
353 Samba-client ¤Ï Linux ¾å¤Ë´Þ¤Þ¤ì¤Æ¤¤¤ë SMB ¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤òÊ䤦 SMB
354 ¥¯¥é¥¤¥¢¥ó¥È¤òÄ󶡤·¤Þ¤¹¡£¤³¤ì¤é¤Ï SMB ¶¦Í­¤Î¥¢¥¯¥»¥¹¤È SMB
355 ¥×¥ê¥ó¥¿¤Ø¤Î°õºþ¤òµö²Ä¤·¤Þ¤¹¡£
356
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.
361
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.
366
367 %description client -l ru
368 ðÁËÅÔ samba-client ÐÒÅÄÏÓÔÁ×ÌÑÅÔ ÎÅËÏÔÏÒÙÅ ËÌÉÅÎÔÙ SMB ÄÌÑ ÒÁÂÏÔÙ ÓÏ
369 ×ÓÔÒÏÅÎÎÏÊ ÆÁÊÌÏ×ÏÊ ÓÉÓÔÅÍÏÊ SMB × Linux. üÔÉ ËÌÉÅÎÔÙ ÐÏÚ×ÏÌÑÀÔ
370 ÐÏÌÕÞÁÔØ ÄÏÓÔÕРˠÒÁÚÄÅÌÑÅÍÙÍ ËÁÔÁÌÏÇÁÍ SMB É ÐÅÞÁÔØ ÎÁ SMB-ÐÒÉÎÔÅÒÙ.
371
372 %description client -l uk
373 ðÁËÅÔ samba-client ÎÁÄÁ¤ ÄÅÑ˦ Ë̦¤ÎÔÉ SMB ÄÌÑ ÒÏÂÏÔÉ Ú¦ ×ÂÕÄÏ×ÁÎÏÀ
374 ÆÁÊÌÏ×ÏÀ ÓÉÓÔÅÍÏÀ SMB × Linux. ã¦ Ë̦¤ÎÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÕ×ÁÔÉ ÄÏÓÔÕÐ
375 ÄÏ ËÁÔÁÌÏǦנÓЦÌØÎÏÇÏ ×ÉËÏÒÉÓÔÁÎÎÑ SMB ÔÁ ÄÒÕË ÎÁ SMB-ÐÒ¦ÎÔÅÒÉ.
376
377 %package common
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
386
387 %description common
388 Samba-common provides files necessary for both the server and client
389 packages of Samba.
390
391 %description common -l ja
392 Samba-common ¤Ï Samba ¤Î¥µ¡¼¥Ð¤È¥¯¥é¥¤¥¢¥ó¥È¤ÎξÊý¤Î¥Ñ¥Ã¥±¡¼¥¸¤Ç
393 »ÈÍѤµ¤ì¤ë¥Õ¥¡¥¤¥ë¤òÄ󶡤·¤Þ¤¹¡£
394
395 %description common -l pl
396 Samba-common dostarcza pliki niezbêdne zarówno dla serwera jak i
397 klientów Samba.
398
399 %description common -l pt_BR
400 Arquivos em comum entre os pacotes samba e samba-clients.
401
402 %description common -l ru
403 Samba-common ÓÏÄÅÒÖÉÔ ÆÁÊÌÙ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ ËÁË ËÌÉÅÎÔÁ, ÔÁË É
404 ÓÅÒ×ÅÒÁ Samba.
405
406 %description common -l uk
407 Samba-common Í¦ÓÔÉÔØ ÆÁÊÌÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ ÑË Ë̦¤ÎÔÁ, ÔÁË ¦
408 ÓÅÒ×ÅÒÁ Samba.
409
410 %package winbind
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}
416
417 %description winbind
418 Provides the winbind daemon and testing tools to allow authentication
419 and group/user enumeration from a Windows or Samba domain controller.
420
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
424 Windows lub Samba.
425
426 %package -n nss_wins
427 Summary:        Name Service Switch service for WINS
428 Summary(pl):    Us³uga Name Service Switch dla WINS
429 Group:          Base
430 Requires:       %{name}-common = %{epoch}:%{version}-%{release}
431
432 %description -n nss_wins
433 Provides the libnss_wins shared library which resolves NetBIOS names
434 to IP addresses.
435
436 %description -n nss_wins -l pl
437 Biblioteka dzielona libnss_wins rozwi±zuj±ca nazwy NetBIOS na adresy
438 IP.
439
440 %package -n pam-pam_smbpass
441 Summary:        PAM Samba Password Module
442 Summary(pl):    Modu³ PAM smbpass
443 Group:          Base
444 Obsoletes:      pam_smbpass
445
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
449 file.
450
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.
454
455 %package -n libsmbclient
456 Summary:        libsmbclient - samba client library
457 Summary(pl):    libsmbclient - biblioteka klienta samby
458 Group:          Libraries
459
460 %description -n libsmbclient
461 libsmbclient - library that allows to use samba clients functions.
462
463 %description -n libsmbclient -l pl
464 libsmbclient - biblioteka pozwalaj±ca korzystaæ z funcji klienta
465 samby.
466
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}
473
474 %description -n libsmbclient-devel
475 Header files for libsmbclient.
476
477 %description -n libsmbclient-devel -l pl
478 Pliki nag³ówkowe dla libsmbclient.
479
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.
483
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}
490
491 %description -n libsmbclient-static
492 Static libsmbclient library.
493
494 %description -n libsmbclient-static -l pl
495 Statyczna biblioteka libsmbclient.
496
497 %package -n smbget
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
501
502 %description -n smbget
503 wget-like utility for download files over SMB.
504
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.
508
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}
514 Requires:       cups
515
516 %description -n cups-backend-smb
517 CUPS backend for printing to SMB printers.
518
519 %description -n cups-backend-smb -l pl
520 Backend CUPS-a drukuj±cy na drukarkach SMB.
521
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
527
528 %description -n python-samba
529 Samba python tools and libraries.
530
531 %description -n python-samba -l pl
532 Narzêdzia i biblioteki pythona do samby.
533
534 %package vfs-audit
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}
539
540 %description vfs-audit
541 A simple module to audit file access to the syslog facility. The
542 following operations are logged:
543  - share connect/disconnect,
544  - directory opens/create/remove,
545  - file open/close/rename/unlink/chmod.
546
547 %description vfs-audit -l pl
548 Proste modu³y do monitorowania dostêpu do plików na serwerze samba do
549 do sysloga. Monitorowane s± nastêpuj±ce operacje:
550  - pod³±czenie do/od³±czenie od zasobu,
551  - otwarcie/utworzenie/zmiana nazwy katalogu,
552  - otwarcie/zamkniêcie/zmiana nazwy/skasowanie/zmiana praw plików.
553 Zawiera modu³y audit, extd_audit i full_audit.
554
555 %package vfs-cap
556 Summary:        VFS module for CAP and samba compatibility
557 Summary(pl):    Modu³ VFS zgodno¶ci z CAP (Columbia AppleTalk Program)
558 Group:          Networking/Daemons
559 Requires:       %{name} = %{epoch}:%{version}-%{release}
560
561 %description vfs-cap
562 Convert an incoming Shift-JIS character to the 3 byte hex
563 representation used by the Columbia AppleTalk Program (CAP), i.e. :AB.
564 This is used for compatibility between Samba and CAP.
565
566 %description vfs-cap -l pl
567 Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej
568 reprezentacji u¿ywanej przez program Columbia AppleTalk Program (CAP).
569
570 %package vfs-default_quota
571 Summary:        VFS module to store default quotas in a specified quota record
572 Summary(pl):    Modu³ VFS do zapisywania domy¶lnych limitów w okre¶lonym rekordzie
573 Group:          Networking/Daemons
574 Requires:       %{name} = %{epoch}:%{version}-%{release}
575
576 %description vfs-default_quota
577 This VFS modules stores default quotas in a specified quota record.
578
579 %description vfs-default_quota -l pl
580 Ten modu³ VFS zapisuje domy¶lne limity (quoty) w okre¶lonym rekordzie
581 limitów.
582
583 %package vfs-expand_msdfs
584 Summary:        VFS module for hosting a Microsoft Distributed File System Tree
585 Summary(pl):    Modu³ VFS obs³ugi Microsoft Distributed File System
586 Group:          Networking/Daemons
587 Requires:       %{name} = %{epoch}:%{version}-%{release}
588
589 %description vfs-expand_msdfs
590 A VFS module for hosting a Microsoft Distributed File System Tree.
591
592 The Distributed File System (DFS) provides a means of separating the
593 logical view of files and directories that users see from the actual
594 physical locations of these resources on the network. It allows for
595 higher availability, smoother storage expansion, load balancing, and
596 so on.
597
598 %description vfs-expand_msdfs -l pl
599 Modu³ VFS do udostêpniania drzewa systemu plików Microsoft Distributed
600 File System.
601
602 Distributed File System (DFS) umo¿liwia rozdzielanie logicznego widoku
603 plików i katalogów widocznych przez u¿ytkowników z fizycznego
604 umiejscowienia tych zasobów w sieci. Pozwala to na wy¿sz± dostêpno¶æ,
605 p³ynniejsze powiêkszanie przestrzeni, rozdzielanie obci±¿enia itp.
606
607 %package vfs-fake_perms
608 Summary:        VFS module to report read-only fires as writable
609 Summary(pl):    Modu³ VFS udaj±cy, ¿e pliki tylko do odczytu s± zapisywalne
610 Group:          Networking/Daemons
611 Requires:       %{name} = %{epoch}:%{version}-%{release}
612
613 %description vfs-fake_perms
614 This module allow Roaming Profile files and directories to be set (on
615 the Samba server under UNIX) as read only. This module will, if
616 installed on the Profiles share, report to the client that the Profile
617 files and directories are writeable. This satisfies the client even
618 though the files will never be overwritten as the client logs out or
619 shuts down.
620
621 %description vfs-fake_perms -l pl
622 Ten modu³ pozwala na ustawienie plików i katalogów z wêdruj±cych
623 profili (Roaming Profiles) jako tylko do odczytu. Modu³ ten w
624 przypadku zainstalowania na udziale z profilami bêdzie zg³asza³
625 klientom, ¿e pliki i katalogi z profilu s± zapisywane. To wystarczy
626 klientom pomimo, ¿e pliki nie zostan± nigdy nadpisane przy logowaniu
627 lub wylogowywaniu klienta.
628
629 %package vfs-netatalk
630 Summary:        VFS module for ease co-existence of samba and netatalk
631 Summary(pl):    Modu³ VFS u³atwiaj±cy wspó³pracê serwisów samba i netatalk
632 Group:          Networking/Daemons
633 Requires:       %{name} = %{epoch}:%{version}-%{release}
634
635 %description vfs-netatalk
636 Package contains a netatalk VFS module for ease co-existence of Samba
637 and netatalk file sharing services.
638
639 %description vfs-netatalk -l pl
640 Pakiet zawiera modu³ VFS netatalk umo¿liwiaj±cy wspó³pracê us³ug samba
641 i netatalk przy udostêpnianiu zasobów.
642
643 %package vfs-recycle
644 Summary:        VFS module to add recycle bin facility to a samba share
645 Summary(pl):    Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby
646 Group:          Networking/Daemons
647 Requires:       %{name} = %{epoch}:%{version}-%{release}
648
649 %description vfs-recycle
650 VFS module to add recycle bin facility to a samba share.
651
652 %description vfs-recycle -l pl
653 Modu³ VFS dodaj±cy mo¿liwo¶æ kosza do zasobu samby.
654
655 %package vfs-readonly
656 Summary:        VFS module for read-only limitation for specified share
657 Summary(pl):    Modu³ VFS do ograniczania okre¶lonego udzia³u tylko do odczytu
658 Group:          Networking/Daemons
659 Requires:       %{name} = %{epoch}:%{version}-%{release}
660
661 %description vfs-readonly
662 This module performs a read-only limitation for specified share (or
663 all of them if it is loaded in a [global] section) based on period
664 definition in smb.conf.
665
666 %description vfs-readonly -l pl
667 Ten modu³ wprowadza ograniczenie tylko do odczytu dla okre¶lonego
668 udzia³u (lub wszystkich, je¶li jest wczytywany w sekcji [global]) w
669 oparciu o definicje okresów w smb.conf.
670
671 %package vfs-shadow_copy
672 Summary:        VFS module to make automatic copy of data in samba share
673 Summary(pl):    Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby
674 Group:          Networking/Daemons
675 Requires:       %{name} = %{epoch}:%{version}-%{release}
676
677 %description vfs-shadow_copy
678 VFS module to make automatic copy of data in samba share.
679
680 %description vfs-shadow_copy -l pl
681 Modu³ VFS do tworzenia automatycznych kopii danych w zasobach samby.
682
683 %package vfs-vscan-antivir
684 Summary:        On-access virus scanning for samba using AntiVir
685 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy AntiVir
686 Group:          Networking/Daemons
687 Requires:       %{name} = %{epoch}:%{version}-%{release}
688 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
689
690 %description vfs-vscan-antivir
691 A vfs-module for samba to implement on-access scanning using the
692 AntiVir antivirus software (which must be installed to use this).
693
694 %description vfs-vscan-antivir -l pl
695 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
696 dostêpu do plików korzystaj±c z oprogramowania antywirusowego AntiVir
697 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
698
699 %package vfs-vscan-clamav
700 Summary:        On-access virus scanning for samba using ClamAV
701 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy ClamAV
702 Group:          Networking/Daemons
703 Requires:       %{name} = %{epoch}:%{version}-%{release}
704 Requires:       clamav
705 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
706
707 %description vfs-vscan-clamav
708 A vfs-module for samba to implement on-access scanning using the
709 ClamAV antivirus software (which must be installed to use this).
710
711 %description vfs-vscan-clamav -l pl
712 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
713 dostêpu do plików korzystaj±c z oprogramowania antywirusowego ClamAV
714 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
715
716 %package vfs-vscan-fprot
717 Summary:        On-access virus scanning for samba using FPROT
718 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy FPROT
719 Group:          Networking/Daemons
720 Requires:       %{name} = %{epoch}:%{version}-%{release}
721 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
722 Obsoletes:      vscan-fprot
723
724 %description vfs-vscan-fprot
725 A vfs-module for samba to implement on-access scanning using the FPROT
726 antivirus software (which must be installed to use this).
727
728 %description vfs-vscan-fprot -l pl
729 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
730 dostêpu do plików korzystaj±c z oprogramowania antywirusowego FPROT
731 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
732
733 %package vfs-vscan-fsav
734 Summary:        On-access virus scanning for samba using F-Secure AntiVirus
735 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy F-Secure AntiVirus
736 Group:          Networking/Daemons
737 Requires:       %{name} = %{epoch}:%{version}-%{release}
738 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
739 Obsoletes:      vscan-fsav
740
741 %description vfs-vscan-fsav
742 A vfs-module for samba to implement on-access scanning using the
743 F-Secure AntiVirus antivirus software (which must be installed to use
744 this).
745
746 %description vfs-vscan-fsav -l pl
747 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
748 dostêpu do plików korzystaj±c z oprogramowania antywirusowego F-Secure
749 AntiVirus (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
750
751 %package vfs-vscan-kavp
752 Summary:        On-access virus scanning for samba using Kaspersky AVP
753 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy Kaspersky AVP
754 Group:          Networking/Daemons
755 Requires:       %{name} = %{epoch}:%{version}-%{release}
756 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
757 Obsoletes:      vscan-kavp
758
759 %description vfs-vscan-kavp
760 A vfs-module for samba to implement on-access scanning using the
761 Kaspersky AVP antivirus software (which must be installed to use
762 this).
763
764 %description vfs-vscan-kavp -l pl
765 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
766 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
767 Kaspersky AVP (które musi byæ zainstalowane, aby wykorzystaæ ten
768 modu³).
769
770 %package vfs-vscan-mcafee
771 Summary:        On-access virus scanning for samba using mcafee
772 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy mcafee
773 Group:          Networking/Daemons
774 Requires:       %{name} = %{epoch}:%{version}-%{release}
775 #Requires:      mcafee
776 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
777 Obsoletes:      vscan-mcafee
778
779 %description vfs-vscan-mcafee
780 A vfs-module for samba to implement on-access scanning using the
781 mcafee antivirus software (which must be installed to use this).
782
783 %description vfs-vscan-mcafee -l pl
784 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
785 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mcafee
786 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
787
788 %package vfs-vscan-mks
789 Summary:        On-access virus scanning for samba using mks
790 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy mks
791 Group:          Networking/Daemons
792 Requires:       %{name} = %{epoch}:%{version}-%{release}
793 Requires:       mksd
794 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
795 Obsoletes:      vscan-mks
796
797 %description vfs-vscan-mks
798 A vfs-module for samba to implement on-access scanning using the mks
799 antivirus software (which must be installed to use this).
800
801 %description vfs-vscan-mks -l pl
802 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
803 dostêpu do plików korzystaj±c z oprogramowania antywirusowego mks
804 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
805
806 %package vfs-vscan-openantivirus
807 Summary:        On-access virus scanning for samba using OpenAntivirus
808 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy OpenAntiVirus
809 Group:          Networking/Daemons
810 Requires:       %{name} = %{epoch}:%{version}-%{release}
811 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
812 Obsoletes:      vscan-openantivirus
813
814 %description vfs-vscan-openantivirus
815 A vfs-module for samba to implement on-access scanning using the
816 OpenAntivirus antivirus software (which must be installed to use
817 this).
818
819 %description vfs-vscan-openantivirus -l pl
820 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
821 dostêpu do plików korzystaj±c z oprogramowania antywirusowego
822 OpenAntiVirus.org (które musi byæ zainstalowane, aby wykorzystaæ ten
823 modu³).
824
825 %package vfs-vscan-sophos
826 Summary:        On-access virus scanning for samba using Sophos
827 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy Sophos
828 Group:          Networking/Daemons
829 Requires:       %{name} = %{epoch}:%{version}-%{release}
830 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
831 Obsoletes:      vscan-sophos
832
833 %description vfs-vscan-sophos
834 A vfs-module for samba to implement on-access scanning using the
835 Sophos antivirus software (which must be installed to use this).
836
837 %description vfs-vscan-sophos -l pl
838 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
839 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Sophos
840 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
841
842 %package vfs-vscan-symantec
843 Summary:        On-access virus scanning for samba using Symantec
844 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy Symantec
845 Group:          Networking/Daemons
846 Requires:       %{name} = %{epoch}:%{version}-%{release}
847 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
848 Obsoletes:      vscan-symantec
849
850 %description vfs-vscan-symantec
851 A vfs-module for samba to implement on-access scanning using the
852 Symantec antivirus software (which must be installed to use this).
853
854 %description vfs-vscan-symantec -l pl
855 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
856 dostêpu do plików korzystaj±c z oprogramowania antywirusowego firmy
857 Symantec (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
858
859 %package vfs-vscan-trend
860 Summary:        On-access virus scanning for samba using Trend
861 Summary(pl):    Skaner antywirusowy online wykorzystuj±cy Trend
862 Group:          Networking/Daemons
863 Requires:       %{name} = %{epoch}:%{version}-%{release}
864 Provides:       %{name}-vscan = %{epoch}:%{version}-%{release}
865 Obsoletes:      vscan-trend
866
867 %description vfs-vscan-trend
868 A vfs-module for samba to implement on-access scanning using the Trend
869 antivirus software (which must be installed to use this).
870
871 %description vfs-vscan-trend -l pl
872 Modu³ vfs do samby implementuj±cy skaning antywirusowy w czasie
873 dostêpu do plików korzystaj±c z oprogramowania antywirusowego Trend
874 (które musi byæ zainstalowane, aby wykorzystaæ ten modu³).
875
876 %package -n openldap-schema-samba
877 Summary:        Samba LDAP schema
878 Summary(pl):    Schemat LDAP dla samby
879 Group:          Networking/Daemons
880 Requires(post,postun):  sed >= 4.0
881 Requires:       openldap-servers
882
883 %description -n openldap-schema-samba
884 This package contains samba.schema for openldap.
885
886 %description -n openldap-schema-samba -l pl
887 Ten pakiet zawiera schemat samby dla openldap-a.
888
889 %package doc-html
890 Summary:        Samba HTML documentation
891 Summary(pl):    Documentacja samby w formacie HTML
892 Group:          Documentation
893
894 %description doc-html
895 Samba HTML documentation, consists of:
896
897 1. SAMBA Developers Guide
898 This book is a collection of documents that might be useful for
899 people developing samba or those interested in doing so. It's nothing
900 more than a collection of documents written by samba developers about
901 the internals of various parts of samba and the SMB protocol. It's
902 still (and will always be) incomplete.
903
904 2. Samba-3 by Example
905 Practical Exercises in Successful Samba Deployment.
906
907 3. The Official Samba-3 HOWTO and Reference Guide
908 This book provides example configurations, it documents key aspects
909 of Microsoft Windows networking, provides in-depth insight into the
910 important configuration of Samba-3, and helps to put all of these
911 into a useful framework.
912
913 4. Using Samba, 2nd Edition
914 Using Samba, Second Edition is a comprehensive guide to Samba
915 administration. It covers all versions of Samba from 2.0 to 2.2,
916 including selected features from an alpha version of 3.0, as well as
917 the SWAT graphical configuration tool. Updated for Windows 2000, ME,
918 and XP, the book also explores Samba's new role as a primary domain
919 controller and domain member server, its support for the use of
920 Windows NT/2000/XP authentication and filesystem security on the host
921 Unix system, and accessing shared files and printers from Unix
922 clients.
923
924 5. Man pages The Samba man pages in HTML.
925
926 %description doc-html -l pl
927 Documentacja samby w formacie HTML.
928
929 %package doc-pdf
930 Summary:        Samba documentation - PDF format
931 Summary(pl):    Documentacja samby w formacie PDF
932 Group:          Documentation
933
934 %description doc-pdf
935 Samba PDF documentation, consists of:
936
937 1. SAMBA Developers Guide
938 This book is a collection of documents that might be useful for
939 people developing samba or those interested in doing so. It's nothing
940 more than a collection of documents written by samba developers about
941 the internals of various parts of samba and the SMB protocol. It's
942 still (and will always be) incomplete.
943
944 2. Samba-3 by Example
945 Practical Exercises in Successful Samba Deployment.
946
947 3. The Official Samba-3 HOWTO and Reference Guide
948 This book provides example configurations, it documents key aspects
949 of Microsoft Windows networking, provides in-depth insight into the
950 important configuration of Samba-3, and helps to put all of these
951 into a useful framework.
952
953 %description doc-pdf -l pl
954 Documentacja samby w formacie PDF.
955
956 %prep
957 %setup -q
958 %patch0 -p1
959 %if "%{_lib}" == "lib64"
960 %patch1 -p1
961 %endif
962 %patch2 -p1
963 %patch3 -p1
964 # fixme or better drop me, it changes behaviour!
965 # %patch4 -p1
966 %patch5 -p1
967
968 cd examples/VFS
969 tar xjf %{SOURCE7}
970
971 %build
972 cd source
973 %{__libtoolize}
974 %{__autoconf}
975
976 # Removed options (default or not supported by configure script)
977 #       --with-mmap \
978 #       --with-netatalk \
979 #       --without-smbwrapper \
980 #       --with-sslinc=%{_prefix} \
981 #       --with-vfs \
982 #       --with-tdbsam \
983 #       %{?with_ipv6:--with-ipv6} \
984
985 %configure \
986         --with-acl-support \
987         --with-automount \
988         --with-libsmbclient \
989         --with-pam \
990         --with-pam_smbpass \
991         --with%{!?with_ads:out}-ads \
992         --with-privatedir=%{_sysconfdir}/samba \
993         --with-quotas \
994         --with-readline \
995         --with-smbmount \
996         --with-swatdir=%{_datadir}/swat \
997         --with-syslog \
998         --with-utmp \
999         --with-fhs \
1000         %{?with_python:--with-python} \
1001         --with-expsam=xml,%{?with_mysql:mysql}%{?with_pgsql:,pgsql} \
1002         %{?with_ldapsam:--with-ldapsam} \
1003         --with%{!?with_ldap:out}-ldap \
1004         --with%{!?with_krb5:out}-krb5
1005
1006 %{__make} proto
1007 %{__make} everything pam_smbpass bin/smbget client/mount.cifs bin/vfstest
1008
1009 cd ../examples/VFS
1010 %{__autoconf}
1011 %configure \
1012         CFLAGS="%{rpmcflags} -fPIC"
1013 %{__make}
1014 mv README{,.vfs}
1015
1016 cd samba-vscan-%{vscan_version}
1017 cp -f /usr/share/automake/config.sub .
1018 %configure
1019
1020 # Ugly workaround for release containing character, for samba major version > 3
1021 # release is ignored (according to include/vscan-global.h)
1022 sed -i -e 's/SAMBA_VERSION_RELEASE 14a/SAMBA_VERSION_RELEASE 14/' ../../../source/include/version.h
1023
1024 %{__make} -j1 all
1025
1026 %install
1027 rm -rf $RPM_BUILD_ROOT
1028 install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \
1029         $RPM_BUILD_ROOT/var/{lock,log,log/archiv,spool}/samba \
1030         $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_vfsdir},%{_includedir},%{_sambahome},%{schemadir}}
1031
1032 cd source
1033 %{__make} install \
1034         DESTDIR=$RPM_BUILD_ROOT \
1035         CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba
1036
1037 install script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir}
1038 cd ..
1039
1040 ln -sf %{_bindir}/smbmount $RPM_BUILD_ROOT/sbin/mount.smbfs
1041
1042 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb
1043 install %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba
1044 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat
1045 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba
1046 install %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba
1047 install %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf
1048 install %{SOURCE8} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind
1049 install %{SOURCE9} $RPM_BUILD_ROOT/etc/sysconfig/winbind
1050
1051 install source/client/mount.cifs        $RPM_BUILD_ROOT/sbin/mount.cifs
1052 install source/nsswitch/libnss_winbind.so $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so.2
1053 ln -s libnss_winbind.so.2               $RPM_BUILD_ROOT/%{_lib}/libnss_winbind.so
1054 install source/nsswitch/libnss_wins.so  $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so.2
1055 ln -s libnss_wins.so.2                  $RPM_BUILD_ROOT/%{_lib}/libnss_wins.so
1056 install source/nsswitch/pam_winbind.so  $RPM_BUILD_ROOT/%{_lib}/security
1057 install source/bin/pam_smbpass.so       $RPM_BUILD_ROOT/%{_lib}/security
1058 install source/bin/wbinfo               $RPM_BUILD_ROOT%{_bindir}
1059 install source/bin/smbget               $RPM_BUILD_ROOT%{_bindir}
1060 install source/bin/vfstest              $RPM_BUILD_ROOT%{_bindir}
1061
1062 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so.0
1063 mv $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.a $RPM_BUILD_ROOT%{_libdir}/libsmbclient.a
1064 ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so
1065
1066 install source/include/libsmbclient.h $RPM_BUILD_ROOT%{_includedir}
1067
1068 # vscan modules
1069 install examples/VFS/samba-vscan-%{vscan_version}/*.so $RPM_BUILD_ROOT%{_vfsdir}
1070 install examples/VFS/samba-vscan-%{vscan_version}/{antivir,clamav,fprot,icap,kaspersky,mks,openantivirus,sophos,trend,f-secure,nai}/*.conf $RPM_BUILD_ROOT%{_sysconfdir}/samba
1071
1072 touch $RPM_BUILD_ROOT/var/lock/samba/{STATUS..LCK,wins.dat,browse.dat}
1073
1074 echo 127.0.0.1 localhost > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts
1075
1076 %if %{with cups}
1077 install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend
1078 ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb
1079 %endif
1080
1081 > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers
1082 > $RPM_BUILD_ROOT/etc/security/blacklist.samba
1083
1084 # we have this utility in tdb package
1085 rm -f $RPM_BUILD_ROOT{%{_bindir}/tdbdump,%{_mandir}/man8/tdbdump.8*}
1086
1087 # python stuff
1088 %if %{with python}
1089 install -d $RPM_BUILD_ROOT%{py_sitedir}
1090 cp -R source/build/lib.*/samba $RPM_BUILD_ROOT%{py_sitedir}
1091 %endif
1092
1093 mv $RPM_BUILD_ROOT%{_bindir}/tdbtool $RPM_BUILD_ROOT%{_bindir}/tdbtool_samba
1094
1095 %if %{with ldap}
1096 install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir}
1097 %endif
1098
1099 %clean
1100 rm -rf $RPM_BUILD_ROOT
1101
1102 %post
1103 /sbin/chkconfig --add smb
1104 if [ -r /var/lock/subsys/smb ]; then
1105         /etc/rc.d/init.d/smb restart >&2
1106 else
1107         echo "Run \"/etc/rc.d/init.d/smb start\" to start Samba daemons."
1108 fi
1109
1110 %preun
1111 if [ "$1" = "0" ]; then
1112         if [ -r /var/lock/subsys/smb ]; then
1113                 /etc/rc.d/init.d/smb stop >&2
1114         fi
1115         /sbin/chkconfig --del smb
1116 fi
1117
1118 %post winbind
1119 /sbin/chkconfig --add winbind
1120 if [ -r /var/lock/subsys/winbind ]; then
1121         /etc/rc.d/init.d/winbind restart >&2
1122 else
1123         echo "Run \"/etc/rc.d/init.d/winbind start\" to start Winbind daemon."
1124 fi
1125
1126 %preun winbind
1127 if [ "$1" = "0" ]; then
1128         if [ -r /var/lock/subsys/winbind ]; then
1129                 /etc/rc.d/init.d/winbind stop >&2
1130         fi
1131         /sbin/chkconfig --del winbind
1132 fi
1133
1134 %post swat
1135 if [ -f /var/lock/subsys/rc-inetd ]; then
1136         /etc/rc.d/init.d/rc-inetd reload 1>&2
1137 else
1138         echo "Type \"/etc/rc.d/init.d/rc-inetd start\" to start inet server" 1>&2
1139 fi
1140
1141 %postun swat
1142 if [ -f /var/lock/subsys/rc-inetd ]; then
1143         /etc/rc.d/init.d/rc-inetd reload
1144 fi
1145
1146 %post -n openldap-schema-samba
1147 if ! grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1148         sed -i -e '
1149                 /^include.*local.schema/{
1150                         i\
1151 include         %{schemadir}/samba.schema
1152                 }
1153
1154                 # enable dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber)
1155                 /^#include.*\(cosine\|inetorgperson\|nis\)\.schema/{
1156                         s/^#//
1157                 }
1158         ' /etc/openldap/slapd.conf
1159 fi
1160
1161 if [ -f /var/lock/subsys/ldap ]; then
1162         /etc/rc.d/init.d/ldap restart >&2
1163 fi
1164
1165 %postun -n openldap-schema-samba
1166 if [ "$1" = "0" ]; then
1167         if grep -q %{schemadir}/samba.schema /etc/openldap/slapd.conf; then
1168                 sed -i -e '
1169                 /^include.*\/usr\/share\/openldap\/schema\/samba.schema/d
1170
1171                 # for symmetry it would be nice if we disable enabled schemas in post,
1172                 # but we really can not do that, it would break something else.
1173                 ' /etc/openldap/slapd.conf
1174         fi
1175
1176         if [ -f /var/lock/subsys/ldap ]; then
1177                 /etc/rc.d/init.d/ldap restart >&2 || :
1178         fi
1179 fi
1180
1181 %triggerpostun -- samba < 1.9.18p7
1182 if [ "$1" != "0" ]; then
1183         /sbin/chkconfig --add smb
1184 fi
1185
1186 %triggerpostun -- samba < 2.0.5a-3
1187 if [ "$1" != "0" ]; then
1188         [ ! -d /var/lock/samba ] && mkdir -m 0755 /var/lock/samba
1189         [ ! -d /var/spool/samba ] && mkdir -m 1777 /var/spool/samba
1190 fi
1191
1192 %files
1193 %defattr(644,root,root,755)
1194 %attr(755,root,root) %{_sbindir}/nmbd
1195 %attr(755,root,root) %{_sbindir}/smbd
1196 %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh
1197 %attr(755,root,root) %{_bindir}/smbstatus
1198 %attr(755,root,root) %{_bindir}/smbpasswd
1199 %attr(755,root,root) %{_bindir}/smbcontrol
1200 %attr(755,root,root) %{_bindir}/tdbbackup
1201 %attr(755,root,root) %{_bindir}/tdbtool_samba
1202
1203 %dir %{_libdir}/%{name}/pdb
1204 %dir %{_vfsdir}
1205
1206 %attr(600,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smbusers
1207 %attr(754,root,root) /etc/rc.d/init.d/smb
1208 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/samba
1209 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/samba
1210 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/samba
1211 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/security/blacklist.samba
1212 %{_mandir}/man1/smbstatus.1*
1213 %{_mandir}/man1/smbcontrol.1*
1214 %{_mandir}/man5/smbpasswd.5*
1215 %{_mandir}/man7/samba.7*
1216 %{_mandir}/man8/nmbd.8*
1217 %{_mandir}/man8/smbd.8*
1218 %{_mandir}/man8/smbpasswd.8*
1219 %{_mandir}/man8/pdbedit.8*
1220 %{_mandir}/man8/tdbbackup.8*
1221
1222 %dir %{_sambahome}
1223 %dir /var/lock/samba
1224 %ghost /var/lock/samba/*
1225
1226 %attr(750,root,root) %dir /var/log/samba
1227 %attr(750,root,root) %dir /var/log/archiv/samba
1228 %attr(1777,root,root) %dir /var/spool/samba
1229 %if %{with ldap}
1230 %doc examples/LDAP
1231 %endif
1232
1233 %if %{with mysql}
1234 %files pdb-mysql
1235 %defattr(644,root,root,755)
1236 %attr(755,root,root) %{_libdir}/%{name}/pdb/mysql.so
1237 %endif
1238
1239 %if %{with pgsql}
1240 %files pdb-pgsql
1241 %defattr(644,root,root,755)
1242 %attr(755,root,root) %{_libdir}/%{name}/pdb/pgsql.so
1243 %endif
1244
1245 %files pdb-xml
1246 %defattr(644,root,root,755)
1247 %attr(755,root,root) %{_libdir}/%{name}/pdb/xml.so
1248
1249 %files winbind
1250 %defattr(644,root,root,755)
1251 %attr(755,root,root) %{_sbindir}/winbindd
1252 %attr(755,root,root) %{_bindir}/wbinfo
1253 %attr(755,root,root) /%{_lib}/security/pam_winbind*
1254 %attr(755,root,root) /%{_lib}/libnss_winbind*
1255 %attr(754,root,root) /etc/rc.d/init.d/winbind
1256 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/winbind
1257 %{_mandir}/man8/winbindd*.8*
1258 %{_mandir}/man8/pam_winbind.8*
1259 %{_mandir}/man1/wbinfo*.1*
1260
1261 %files -n nss_wins
1262 %defattr(644,root,root,755)
1263 %attr(755,root,root) /%{_lib}/libnss_wins*
1264
1265 %files client
1266 %defattr(644,root,root,755)
1267 %attr(755,root,root) /sbin/mount.smbfs
1268 %attr(755,root,root) /sbin/mount.cifs
1269 %attr(755,root,root) %{_bindir}/smbmount
1270 %attr(755,root,root) %{_bindir}/smbmnt
1271 %attr(755,root,root) %{_bindir}/smbumount
1272 %attr(755,root,root) %{_bindir}/net
1273 %attr(755,root,root) %{_bindir}/smbtree
1274 %{_mandir}/man8/net.8*
1275 %{_mandir}/man8/smbmnt.8*
1276 %{_mandir}/man8/smbmount.8*
1277 %{_mandir}/man8/smbumount.8*
1278 %{_mandir}/man8/*mount.cifs.8*
1279 %attr(755,root,root) %{_bindir}/nmblookup
1280 %attr(755,root,root) %{_bindir}/smbclient
1281 %attr(755,root,root) %{_bindir}/smbtar
1282 %attr(755,root,root) %{_bindir}/smbcacls
1283 %{_mandir}/man1/smbtar.1*
1284 %{_mandir}/man1/smbtree.1*
1285 %{_mandir}/man1/smbclient.1*
1286 %{_mandir}/man1/nmblookup.1*
1287 %{_mandir}/man1/smbcacls.1*
1288 %{_mandir}/man1/smbsh.1*
1289 %attr(755,root,root) %{_bindir}/rpcclient
1290 %{_mandir}/man1/rpcclient.1*
1291 %attr(755,root,root) %{_bindir}/findsmb
1292 %{_mandir}/man1/findsmb.1*
1293
1294 %files common
1295 %defattr(644,root,root,755)
1296 %doc README Manifest WHATSNEW.txt
1297 %doc Roadmap docs/registry/*
1298 %doc docs/{history,THANKS}
1299 %dir %{_sysconfdir}/samba
1300 %attr(664,root,fileshare) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/smb.conf
1301 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/lmhosts
1302 %dir %{_libdir}/%{name}
1303 %{_libdir}/%{name}/*.dat
1304 %attr(755,root,root) %{_bindir}/testparm
1305 %attr(755,root,root) %{_bindir}/ntlm_auth
1306 %attr(755,root,root) %{_bindir}/smbcquotas
1307 %attr(755,root,root) %{_bindir}/profiles
1308 %attr(755,root,root) %{_bindir}/pdbedit
1309 %attr(755,root,root) %{_bindir}/vfstest
1310 %dir %{_libdir}/%{name}/charset
1311 %attr(755,root,root) %{_libdir}/%{name}/charset/*.so
1312 %{_mandir}/man1/editreg.1*
1313 %{_mandir}/man1/testparm.1*
1314 %{_mandir}/man1/ntlm_auth.1*
1315 %{_mandir}/man1/smbcquotas.1*
1316 %{_mandir}/man1/profiles.1*
1317 %{_mandir}/man1/vfstest.1*
1318
1319 %{_mandir}/man1/log2pcap.1*
1320
1321 %{_mandir}/man5/smb.conf.5*
1322 %{_mandir}/man5/lmhosts.5*
1323
1324 %files swat
1325 %defattr(644,root,root,755)
1326 #%doc swat/README* swat/help/*
1327 %doc swat/help/*
1328 %attr(755,root,root) %{_sbindir}/swat
1329 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/rc-inetd/swat
1330 %dir %{_datadir}/swat
1331 %{_datadir}/swat/help
1332 %{_datadir}/swat/images
1333 %{_datadir}/swat/include
1334 %dir %{_datadir}/swat/lang
1335 %lang(ja) %{_datadir}/swat/lang/ja
1336 %lang(tr) %{_datadir}/swat/lang/tr
1337 %lang(de) %{_libdir}/%{name}/de.msg
1338 %{_libdir}/%{name}/en.msg
1339 %lang(fr) %{_libdir}/%{name}/fr.msg
1340 %lang(it) %{_libdir}/%{name}/it.msg
1341 %lang(ja) %{_libdir}/%{name}/ja.msg
1342 %lang(nl) %{_libdir}/%{name}/nl.msg
1343 %lang(pl) %{_libdir}/%{name}/pl.msg
1344 %lang(tr) %{_libdir}/%{name}/tr.msg
1345 %{_mandir}/man8/swat.8*
1346
1347 %if %{with python}
1348 %files -n python-samba
1349 %defattr(644,root,root,755)
1350 %dir %{py_sitedir}/samba
1351 %attr(755,root,root) %{py_sitedir}/samba/*.so
1352 %{py_sitedir}/samba/*.py
1353 %doc source/python/{README,gprinterdata,gtdbtool,gtkdictbrowser.py}
1354 %doc source/python/examples
1355 %endif
1356
1357 %files -n pam-pam_smbpass
1358 %defattr(644,root,root,755)
1359 %doc source/pam_smbpass/{CHAN*,README,TODO} source/pam_smbpass/samples
1360 %attr(755,root,root) /%{_lib}/security/pam_smbpass.so
1361
1362 %files -n libsmbclient
1363 %defattr(644,root,root,755)
1364 %attr(755,root,root) %{_libdir}/libsmbclient.so.*
1365 %{_mandir}/man8/libsmbclient.8*
1366
1367 %files -n libsmbclient-devel
1368 %defattr(644,root,root,755)
1369 %attr(755,root,root) %{_libdir}/libsmbclient.so
1370 %{_includedir}/libsmbclient.h
1371
1372 %files -n libsmbclient-static
1373 %defattr(644,root,root,755)
1374 %{_libdir}/libsmbclient.a
1375
1376 %files -n smbget
1377 %defattr(644,root,root,755)
1378 %attr(755,root,root) %{_bindir}/smbget
1379 %{_mandir}/man1/smbget.1*
1380 %{_mandir}/man5/smbgetrc.5*
1381
1382 %if %{with cups}
1383 %files -n cups-backend-smb
1384 %defattr(644,root,root,755)
1385 %attr(755,root,root) %{_bindir}/smbspool
1386 %attr(755,root,root) %{cups_serverbin}/backend/smb
1387 %{_mandir}/man8/smbspool.8*
1388 %endif
1389
1390 %files vfs-audit
1391 %defattr(644,root,root,755)
1392 %attr(755,root,root) %{_vfsdir}/audit.so
1393 %attr(755,root,root) %{_vfsdir}/extd_audit.so
1394 %attr(755,root,root) %{_vfsdir}/full_audit.so
1395
1396 %files vfs-cap
1397 %defattr(644,root,root,755)
1398 %attr(755,root,root) %{_vfsdir}/cap.so
1399
1400 %files vfs-default_quota
1401 %defattr(644,root,root,755)
1402 %attr(755,root,root) %{_vfsdir}/default_quota.so
1403
1404 %files vfs-expand_msdfs
1405 %defattr(644,root,root,755)
1406 %attr(755,root,root) %{_vfsdir}/expand_msdfs.so
1407
1408 %files vfs-fake_perms
1409 %defattr(644,root,root,755)
1410 %attr(755,root,root) %{_vfsdir}/fake_perms.so
1411
1412 %files vfs-netatalk
1413 %defattr(644,root,root,755)
1414 %attr(755,root,root) %{_vfsdir}/netatalk.so
1415
1416 %files vfs-readonly
1417 %defattr(644,root,root,755)
1418 %attr(755,root,root) %{_vfsdir}/readonly.so
1419
1420 %files vfs-recycle
1421 %defattr(644,root,root,755)
1422 %attr(755,root,root) %{_vfsdir}/recycle.so
1423
1424 %files vfs-shadow_copy
1425 %defattr(644,root,root,755)
1426 %attr(755,root,root) %{_vfsdir}/shadow_copy.so
1427
1428 %files vfs-vscan-antivir
1429 %defattr(644,root,root,755)
1430 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1431 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-antivir.conf
1432 %attr(755,root,root) %{_vfsdir}/vscan-antivir.so
1433
1434 %files vfs-vscan-clamav
1435 %defattr(644,root,root,755)
1436 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1437 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-clamav.conf
1438 %attr(755,root,root) %{_vfsdir}/vscan-clamav.so
1439
1440 %files vfs-vscan-fprot
1441 %defattr(644,root,root,755)
1442 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1443 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fprotd.conf
1444 %attr(755,root,root) %{_vfsdir}/vscan-fprotd.so
1445
1446 %files vfs-vscan-fsav
1447 %defattr(644,root,root,755)
1448 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1449 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-fsav.conf
1450 %attr(755,root,root) %{_vfsdir}/vscan-fsav.so
1451
1452 %files vfs-vscan-kavp
1453 %defattr(644,root,root,755)
1454 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1455 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-kavp.conf
1456 %attr(755,root,root) %{_vfsdir}/vscan-kavp.so
1457
1458 %files vfs-vscan-mcafee
1459 %defattr(644,root,root,755)
1460 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1461 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mcdaemon.conf
1462 %attr(755,root,root) %{_vfsdir}/vscan-mcdaemon.so
1463
1464 %ifarch %{ix86} %{x8664}
1465 %files vfs-vscan-mks
1466 %defattr(644,root,root,755)
1467 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1468 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-mks32.conf
1469 %attr(755,root,root) %{_vfsdir}/vscan-mksd.so
1470 %endif
1471
1472 %files vfs-vscan-openantivirus
1473 %defattr(644,root,root,755)
1474 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1475 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-oav.conf
1476 %attr(755,root,root) %{_vfsdir}/vscan-oav.so
1477
1478 %files vfs-vscan-sophos
1479 %defattr(644,root,root,755)
1480 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1481 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-sophos.conf
1482 %attr(755,root,root) %{_vfsdir}/vscan-sophos.so
1483
1484 %files vfs-vscan-symantec
1485 %defattr(644,root,root,755)
1486 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1487 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-icap.conf
1488 %attr(755,root,root) %{_vfsdir}/vscan-icap.so
1489
1490 %files vfs-vscan-trend
1491 %defattr(644,root,root,755)
1492 #%doc examples/VFS/%{name}-vscan-%{vscan_version}/{INSTALL,FAQ}
1493 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/samba/vscan-trend.conf
1494 %attr(755,root,root) %{_vfsdir}/vscan-trend.so
1495
1496 %if %{with ldap}
1497 %files -n openldap-schema-samba
1498 %defattr(644,root,root,755)
1499 %{schemadir}/*.schema
1500 %endif
1501
1502 %files doc-html
1503 %defattr(644,root,root,755)
1504 %doc docs/htmldocs/*
1505
1506 %files doc-pdf
1507 %defattr(644,root,root,755)
1508 %doc docs/*.pdf
This page took 0.129419 seconds and 4 git commands to generate.