]>
Commit | Line | Data |
---|---|---|
29511e6d | 1 | # |
e4bb74d8 | 2 | # Conditional build: |
34895621 JR |
3 | %bcond_without ads # without ActiveDirectory support |
4 | %bcond_without cups # without CUPS support | |
5 | %bcond_without kerberos5 # without Kerberos V support | |
6 | %bcond_without ldap # without LDAP support | |
7 | %bcond_without avahi | |
e71e0470 | 8 | %bcond_without system_libs |
105507bc | 9 | |
07069da4 | 10 | # ADS requires kerberos5 and LDAP |
aceac5ef | 11 | %if %{without kerberos5} || %{without ldap} |
1e2a5fcf JB |
12 | %undefine with_ads |
13 | %endif | |
aceac5ef | 14 | |
e71e0470 JR |
15 | %if %{with system_libs} |
16 | %define talloc_ver 2.0.7 | |
17 | %define tdb_ver 2:1.2.10 | |
c083eea8 | 18 | %define ldb_ver 1.1.15 |
e71e0470 | 19 | %define tevent_ver 0.9.17 |
4ecf4d28 JB |
20 | %endif |
21 | ||
7d14b7f3 | 22 | %define virusfilter_version 0.1.3 |
7a0e596a JR |
23 | Summary: Active Directory server |
24 | Summary(pl.UTF-8): Serwer Active Directory | |
670da5b0 | 25 | Name: samba4 |
c083eea8 | 26 | Version: 4.0.3 |
ed426448 | 27 | Release: 0.11 |
6646cd44 | 28 | Epoch: 1 |
6bef715a | 29 | License: GPL v3 |
11d2c190 | 30 | Group: Networking/Daemons |
670da5b0 | 31 | Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz |
c083eea8 | 32 | # Source0-md5: fdb093fb362109dae0ccadc314318da7 |
ba850b61 | 33 | Source1: smb.init |
46c25e95 | 34 | Source2: samba.pamd |
d7dadfd6 | 35 | Source3: swat.inetd |
46c25e95 JR |
36 | Source4: samba.sysconfig |
37 | Source5: samba.logrotate | |
138aecb0 | 38 | Source6: smb.conf |
68134596 | 39 | Source7: winbind.init |
40 | Source8: winbind.sysconfig | |
46c25e95 | 41 | Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2 |
7d14b7f3 | 42 | # Source10-md5: a3a30d5fbf309d356e8c5833db680c17 |
34895621 | 43 | Patch0: system-heimdal.patch |
46c25e95 JR |
44 | Patch1: samba-c++-nofail.patch |
45 | Patch3: samba-nscd.patch | |
46 | Patch4: samba-lprng-no-dot-printers.patch | |
450db13e | 47 | Patch5: samba-fam.patch |
7a52c5df | 48 | URL: http://www.samba.org/ |
bd658e80 | 49 | BuildRequires: acl-devel |
ea8d81e5 | 50 | BuildRequires: autoconf |
017136ce | 51 | BuildRequires: automake |
a0d23d1e | 52 | %{?with_avahi:BuildRequires: avahi-devel} |
aceac5ef | 53 | BuildRequires: ctdb-devel |
62dc8910 | 54 | %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0} |
51bcdd9a | 55 | BuildRequires: dmapi-devel |
5b010594 | 56 | BuildRequires: gamin-devel |
ff01b4ff | 57 | BuildRequires: gdbm-devel |
9f74dab7 | 58 | BuildRequires: gettext-devel |
34895621 | 59 | %{?with_kerberos5:BuildRequires: heimdal-devel >= 1.5.3-1} |
9f74dab7 | 60 | BuildRequires: iconv |
1125cc60 | 61 | BuildRequires: keyutils-devel |
34895621 | 62 | BuildRequires: libcom_err-devel |
53ce942a | 63 | BuildRequires: libmagic-devel |
4d8c5e20 | 64 | BuildRequires: libnscd-devel |
f092c096 | 65 | BuildRequires: libtool >= 2:1.4d |
40d90f9e | 66 | BuildRequires: make >= 3.81 |
0f00e211 | 67 | BuildRequires: ncurses-devel >= 5.2 |
78d04323 | 68 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
c951a08c | 69 | BuildRequires: openssl-devel >= 0.9.7d |
793ad0f8 | 70 | BuildRequires: pam-devel >= 0.99.8.1 |
6646cd44 JR |
71 | BuildRequires: perl(ExtUtils::MakeMaker) |
72 | BuildRequires: perl(Parse::Yapp) | |
9f74dab7 | 73 | BuildRequires: pkgconfig |
f092c096 | 74 | BuildRequires: popt-devel |
16c4fca4 | 75 | %{?with_pgsql:BuildRequires: postgresql-devel} |
190a259b JR |
76 | BuildRequires: python-devel |
77 | BuildRequires: python-dns | |
6bf53014 | 78 | BuildRequires: python-modules |
190a259b | 79 | BuildRequires: python-testtools |
f092c096 | 80 | BuildRequires: readline-devel >= 4.2 |
dce29ff7 | 81 | BuildRequires: rpmbuild(macros) >= 1.647 |
e155c475 | 82 | BuildRequires: sed >= 4.0 |
e71e0470 | 83 | %if %{with system_libs} |
e71e0470 JR |
84 | BuildRequires: ldb-devel >= %{ldb_ver} |
85 | BuildRequires: python-ldb-devel >= %{ldb_ver} | |
86 | BuildRequires: python-talloc-devel >= %{talloc_ver} | |
87 | BuildRequires: python-tevent >= %{tevent_ver} | |
05913998 JR |
88 | BuildRequires: talloc-devel >= %{talloc_ver} |
89 | BuildRequires: tdb-devel >= %{tdb_ver} | |
90 | BuildRequires: tevent-devel >= %{tevent_ver} | |
e71e0470 | 91 | %endif |
bd658e80 | 92 | BuildRequires: xfsprogs-devel |
34895621 | 93 | BuildConflicts: libbsd-devel |
656b05ab | 94 | Requires(post,preun): /sbin/chkconfig |
6646cd44 | 95 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
cd83be60 | 96 | Requires: logrotate >= 3.7-4 |
793ad0f8 | 97 | Requires: pam >= 0.99.8.1 |
8bf54aa6 | 98 | Requires: rc-scripts >= 0.4.0.12 |
27879fe9 | 99 | Requires: setup >= 2.4.6-7 |
dce29ff7 | 100 | Requires: systemd-units >= 38 |
62dc8910 | 101 | # smbd links with libcups |
ac083993 | 102 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} |
e765216e JR |
103 | Obsoletes: samba-doc-html |
104 | Obsoletes: samba-doc-pdf | |
05913998 JR |
105 | Obsoletes: samba-pdb-xml |
106 | Obsoletes: samba-vfs-block | |
da3dadf3 | 107 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1925a8b4 | 108 | |
c10bc67e | 109 | %define _sambahome /home/services/samba |
ddea14b0 | 110 | %if %{with cups} |
478e9eab | 111 | %define cups_serverbin %{_prefix}/lib/cups |
fd9d8b85 | 112 | %endif |
99795f36 | 113 | %define schemadir /usr/share/openldap/schema |
92c45d25 | 114 | |
01485082 ER |
115 | # CFLAGS modified (the second ./configure) |
116 | %undefine configure_cache | |
117 | ||
e11c6ca1 | 118 | %description |
cfa67cf6 | 119 | Samba provides an SMB server which can be used to provide network |
120 | services to SMB (sometimes called "Lan Manager") clients, including | |
121 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
122 | also provides some SMB clients, which complement the built-in SMB | |
123 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
124 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
e11c6ca1 | 125 | |
7a0e596a | 126 | This package contains main Active Directory server daemon. |
96088f7b JR |
127 | |
128 | %description -l pl.UTF-8 | |
129 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
130 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
131 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
132 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
133 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
134 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
135 | haseł w standardzie MS i zarządzania bazą WINS. | |
136 | ||
7a0e596a | 137 | Then pakiet dostarcza główny demon Active Directory. |
da957f7e | 138 | |
ac6f9d13 | 139 | %package client |
7a0e596a JR |
140 | Summary: Samba AD client programs |
141 | Summary(pl.UTF-8): Klienci serwera Samba AD | |
2eedd257 | 142 | Group: Applications/Networking |
6646cd44 | 143 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
34895621 | 144 | %{?with_kerberos5:Requires: heimdal-libs >= 1.5.3-1} |
c083eea8 | 145 | Requires: libsmbclient-raw = %{epoch}:%{version}-%{release} |
b0b9dc36 | 146 | Suggests: cifs-utils |
85d322d3 | 147 | Obsoletes: smbfs |
ac6f9d13 MC |
148 | |
149 | %description client | |
150 | Samba-client provides some SMB clients, which complement the build-in | |
151 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
152 | printing to SMB printers. | |
153 | ||
96088f7b JR |
154 | %description client -l pl.UTF-8 |
155 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
156 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
bd658e80 | 157 | drukowanie w sieci SMB. |
ac6f9d13 MC |
158 | |
159 | %package common | |
ea8d81e5 | 160 | Summary: Files used by both Samba servers and clients |
7a0e596a | 161 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba |
2eedd257 | 162 | Group: Networking/Daemons |
0b940f4e JR |
163 | Requires: talloc >= %{talloc_ver} |
164 | Requires: tdb >= %{tdb_ver} | |
ac6f9d13 MC |
165 | |
166 | %description common | |
167 | Samba-common provides files necessary for both the server and client | |
168 | packages of Samba. | |
169 | ||
96088f7b JR |
170 | %description common -l pl.UTF-8 |
171 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i | |
4ecf4d28 | 172 | klientów Samby. |
ac6f9d13 | 173 | |
29511e6d | 174 | %package winbind |
29511e6d | 175 | Summary: Samba-winbind daemon, utilities and documentation |
fa1faeca | 176 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja |
29511e6d | 177 | Group: Networking/Daemons |
29511e6d | 178 | Requires(post,preun): /sbin/chkconfig |
6646cd44 | 179 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
29511e6d | 180 | |
181 | %description winbind | |
182 | Provides the winbind daemon and testing tools to allow authentication | |
183 | and group/user enumeration from a Windows or Samba domain controller. | |
184 | ||
96088f7b JR |
185 | %description winbind -l pl.UTF-8 |
186 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
187 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
4d750758 JB |
188 | Windows lub Samba. |
189 | ||
c083eea8 JR |
190 | %package -n libsmbclient-raw |
191 | Summary: libsmbclient-raw - samba client library | |
192 | Summary(pl.UTF-8): libsmbclient-raw - biblioteka klienta samby | |
193 | Group: Libraries | |
194 | ||
195 | %description -n libsmbclient-raw | |
196 | libsmbclient-raw - library that allows to use samba clients functions. | |
197 | ||
198 | %description -n libsmbclient-raw -l pl.UTF-8 | |
199 | libsmbclient-raw - biblioteka pozwalająca korzystać z funcji klienta | |
200 | samby. | |
201 | ||
202 | %package -n libsmbclient-raw-devel | |
203 | Summary: libsmbclient-raw - samba client library | |
204 | Summary(pl.UTF-8): libsmbclient-raw - biblioteka klienta samby | |
205 | Summary(pt_BR.UTF-8): Ferramentas de desenvolvimento para clientes samba | |
206 | Group: Development/Libraries | |
207 | Requires: libsmbclient-raw = %{epoch}:%{version}-%{release} | |
208 | ||
209 | %description -n libsmbclient-raw-devel | |
210 | Header files for libsmbclient. | |
211 | ||
212 | %description -n libsmbclient-raw-devel -l pl.UTF-8 | |
213 | Pliki nagłówkowe dla libsmbclient-raw. | |
214 | ||
215 | %description -n libsmbclient-raw-devel -l pt_BR.UTF-8 | |
216 | Arquivos de inclusão, bibliotecas e documentação necessários para | |
217 | desenvolver aplicativos clientes para o samba. | |
218 | ||
f2b0247b ER |
219 | %package devel |
220 | Summary: Header files for Samba | |
fa1faeca | 221 | Summary(pl.UTF-8): Pliki nagłówkowe Samby |
f2b0247b ER |
222 | Group: Development/Libraries |
223 | ||
224 | %description devel | |
225 | Header files for Samba. | |
226 | ||
96088f7b JR |
227 | %description devel -l pl.UTF-8 |
228 | Pliki nagłówkowe Samby. | |
9c05ac07 | 229 | |
382a477a JR |
230 | %package -n pam-pam_smbpass |
231 | Summary: PAM Samba Password Module | |
232 | Summary(pl.UTF-8): Moduł PAM smbpass | |
233 | Group: Base | |
234 | Obsoletes: pam_smbpass | |
235 | ||
236 | %description -n pam-pam_smbpass | |
237 | PAM module which can be used on conforming systems to keep the | |
238 | smbpasswd (Samba password) database in sync with the Unix password | |
239 | file. | |
240 | ||
241 | %description -n pam-pam_smbpass -l pl.UTF-8 | |
242 | Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła | |
243 | Samby) zsynchronizowanego z hasłami uniksowymi. | |
244 | ||
245 | %package pidl | |
246 | Summary: Perl IDL compiler | |
247 | Group: Development/Tools | |
248 | Requires: perl(Parse::Yapp) | |
249 | ||
250 | %description pidl | |
251 | The samba4-pidl package contains the Perl IDL compiler used by Samba | |
252 | and Wireshark to parse IDL and similar protocols. | |
253 | ||
254 | %package -n python-samba4 | |
255 | Summary: Samba Module for Python | |
256 | Group: Development/Languages/Python | |
257 | %pyrequires_eq python | |
258 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
259 | ||
260 | %description -n python-samba4 | |
261 | Samba Module for Python. | |
262 | ||
263 | %package test | |
264 | Summary: Testing tools for Samba servers and clients | |
265 | Group: Applications/System | |
266 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
267 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
268 | Requires: %{name}-winbind = %{epoch}:%{version}-%{release} | |
269 | ||
270 | %description test | |
271 | samba4-test provides testing tools for both the server and client | |
272 | packages of Samba. | |
273 | ||
274 | %package test-devel | |
275 | Summary: Testing devel files for Samba servers and clients | |
276 | Group: Applications/System | |
277 | Requires: %{name}-test = %{epoch}:%{version}-%{release} | |
278 | ||
279 | %description test-devel | |
280 | samba-test-devel provides testing devel files for both the server and | |
281 | client packages of Samba. | |
282 | ||
283 | %package -n samba3 | |
7a0e596a JR |
284 | Summary: SMB server |
285 | Summary(pl.UTF-8): Serwer SMB | |
382a477a | 286 | Group: Networking/Daemons |
7a0e596a JR |
287 | Requires(post,preun): /sbin/chkconfig |
288 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
289 | Requires: logrotate >= 3.7-4 | |
290 | Requires: pam >= 0.99.8.1 | |
291 | Requires: rc-scripts >= 0.4.0.12 | |
292 | Requires: setup >= 2.4.6-7 | |
293 | # smbd links with libcups | |
294 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} | |
295 | Obsoletes: python-samba | |
296 | Obsoletes: samba-pdb-xml | |
297 | Obsoletes: samba-vfs-block | |
382a477a JR |
298 | |
299 | %description -n samba3 | |
7a0e596a JR |
300 | Samba provides an SMB server which can be used to provide network |
301 | services to SMB (sometimes called "Lan Manager") clients, including | |
302 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
303 | also provides some SMB clients, which complement the built-in SMB | |
304 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
305 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
306 | ||
307 | %description -l pl.UTF-8 | |
308 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
309 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
310 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
311 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
312 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
313 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
314 | haseł w standardzie MS i zarządzania bazą WINS. | |
382a477a JR |
315 | |
316 | %package -n samba3-client | |
7a0e596a JR |
317 | Summary: Samba client programs |
318 | Summary(pl.UTF-8): Klienci serwera Samba | |
319 | Group: Applications/Networking | |
320 | Requires: samba3-common = %{epoch}:%{version}-%{release} | |
321 | %{?with_kerberos5:Requires: heimdal-libs} | |
322 | Requires: samba3-libsmbclient = %{epoch}:%{version}-%{release} | |
323 | Obsoletes: smbfs | |
324 | Suggests: cifs-utils | |
382a477a JR |
325 | |
326 | %description -n samba3-client | |
7a0e596a JR |
327 | Samba-client provides some SMB clients, which complement the build-in |
328 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
329 | printing to SMB printers. | |
330 | ||
331 | %description client -l pl.UTF-8 | |
332 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
333 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
334 | drukowanie w sieci SMB. | |
382a477a JR |
335 | |
336 | %package -n samba3-common | |
7a0e596a JR |
337 | Summary: Files used by both Samba servers and clients |
338 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba | |
382a477a | 339 | Group: Networking/Daemons |
7a0e596a JR |
340 | Requires: talloc >= %{libtalloc_ver} |
341 | Requires: tdb >= %{libtdb_ver} | |
382a477a JR |
342 | |
343 | %description -n samba3-common | |
7a0e596a JR |
344 | Samba-common provides files necessary for both the server and client |
345 | packages of Samba. | |
346 | ||
347 | %description common -l pl.UTF-8 | |
348 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i | |
349 | klientów Samba. | |
382a477a | 350 | |
f1c7ad61 JR |
351 | %package -n samba3-devel |
352 | Summary: Header files for Samba | |
353 | Summary(pl.UTF-8): Pliki nagłówkowe Samby | |
354 | Group: Development/Libraries | |
355 | ||
356 | %description -n samba3-devel | |
357 | Header files for Samba. | |
358 | ||
359 | %description -n samba3-devel -l pl.UTF-8 | |
360 | Pliki nagłówkowe Samby. | |
361 | ||
c083eea8 JR |
362 | %package -n samba3-vfs-audit |
363 | Summary: VFS module to audit file access | |
364 | Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach | |
4c0ad0d2 | 365 | Group: Networking/Daemons |
17937b31 | 366 | Requires: samba3 = %{epoch}:%{version}-%{release} |
70ff6d03 | 367 | |
c083eea8 JR |
368 | %description -n samba3-vfs-audit |
369 | A simple module to audit file access to the syslog facility. The | |
370 | following operations are logged: | |
8d59ae13 | 371 | - share connect/disconnect, |
372 | - directory opens/create/remove, | |
373 | - file open/close/rename/unlink/chmod. | |
70ff6d03 | 374 | |
c083eea8 JR |
375 | %description -n samba3-vfs-audit -l pl.UTF-8 |
376 | Proste moduły do monitorowania dostępu do plików na serwerze samba do | |
377 | do sysloga. Monitorowane są następujące operacje: | |
96088f7b | 378 | - podłączenie do/odłączenie od zasobu, |
8d59ae13 | 379 | - otwarcie/utworzenie/zmiana nazwy katalogu, |
96088f7b | 380 | - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików. |
0719a8a7 | 381 | |
c083eea8 JR |
382 | Zawiera moduły audit, extd_audit i full_audit. |
383 | ||
384 | %package -n samba3-vfs-cap | |
cc6b68cd | 385 | Summary: VFS module for CAP and samba compatibility |
fa1faeca | 386 | Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program) |
d1f5710a | 387 | Group: Networking/Daemons |
17937b31 | 388 | Requires: samba3 = %{epoch}:%{version}-%{release} |
d1f5710a | 389 | |
c083eea8 | 390 | %description -n samba3-vfs-cap |
e1c0d47d | 391 | Convert an incoming Shift-JIS character to the 3 byte hex |
392 | representation used by the Columbia AppleTalk Program (CAP), i.e. :AB. | |
393 | This is used for compatibility between Samba and CAP. | |
d1f5710a | 394 | |
c083eea8 | 395 | %description -n samba3-vfs-cap -l pl.UTF-8 |
cc6b68cd | 396 | Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej |
96088f7b | 397 | reprezentacji używanej przez program Columbia AppleTalk Program (CAP). |
d1f5710a | 398 | |
c083eea8 | 399 | %package -n samba3-vfs-default_quota |
97334e11 | 400 | Summary: VFS module to store default quotas in a specified quota record |
fa1faeca | 401 | Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie |
d1f5710a | 402 | Group: Networking/Daemons |
17937b31 | 403 | Requires: samba3 = %{epoch}:%{version}-%{release} |
d1f5710a | 404 | |
c083eea8 | 405 | %description -n samba3-vfs-default_quota |
97334e11 | 406 | This VFS modules stores default quotas in a specified quota record. |
d1f5710a | 407 | |
c083eea8 | 408 | %description -n samba3-vfs-default_quota -l pl.UTF-8 |
96088f7b JR |
409 | Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie |
410 | limitów. | |
d1f5710a | 411 | |
c083eea8 | 412 | %package -n samba3-vfs-expand_msdfs |
cc6b68cd | 413 | Summary: VFS module for hosting a Microsoft Distributed File System Tree |
fa1faeca | 414 | Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System |
d1f5710a | 415 | Group: Networking/Daemons |
17937b31 | 416 | Requires: samba3 = %{epoch}:%{version}-%{release} |
d1f5710a | 417 | |
c083eea8 | 418 | %description -n samba3-vfs-expand_msdfs |
cc6b68cd | 419 | A VFS module for hosting a Microsoft Distributed File System Tree. |
d1f5710a | 420 | |
cc6b68cd | 421 | The Distributed File System (DFS) provides a means of separating the |
422 | logical view of files and directories that users see from the actual | |
e1c0d47d | 423 | physical locations of these resources on the network. It allows for |
424 | higher availability, smoother storage expansion, load balancing, and | |
425 | so on. | |
d1f5710a | 426 | |
c083eea8 | 427 | %description -n samba3-vfs-expand_msdfs -l pl.UTF-8 |
96088f7b | 428 | Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed |
727a2c6a JB |
429 | File System. |
430 | ||
96088f7b JR |
431 | Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku |
432 | plików i katalogów widocznych przez użytkowników z fizycznego | |
433 | umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność, | |
434 | płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp. | |
cc6b68cd | 435 | |
c083eea8 | 436 | %package -n samba3-vfs-fake_perms |
727a2c6a | 437 | Summary: VFS module to report read-only fires as writable |
fa1faeca | 438 | Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne |
d1f5710a | 439 | Group: Networking/Daemons |
17937b31 | 440 | Requires: samba3 = %{epoch}:%{version}-%{release} |
d1f5710a | 441 | |
c083eea8 | 442 | %description -n samba3-vfs-fake_perms |
e1c0d47d | 443 | This module allow Roaming Profile files and directories to be set (on |
444 | the Samba server under UNIX) as read only. This module will, if | |
445 | installed on the Profiles share, report to the client that the Profile | |
446 | files and directories are writeable. This satisfies the client even | |
447 | though the files will never be overwritten as the client logs out or | |
448 | shuts down. | |
d1f5710a | 449 | |
c083eea8 | 450 | %description -n samba3-vfs-fake_perms -l pl.UTF-8 |
96088f7b JR |
451 | Ten moduł pozwala na ustawienie plików i katalogów z wędrujących |
452 | profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w | |
453 | przypadku zainstalowania na udziale z profilami będzie zgłaszał | |
454 | klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy | |
455 | klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu | |
727a2c6a | 456 | lub wylogowywaniu klienta. |
d1f5710a | 457 | |
c083eea8 | 458 | %package -n samba3-vfs-notify_fam |
9f74dab7 | 459 | Summary: VFS module to implement file change notifications |
8ba454ef AM |
460 | Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach |
461 | Group: Networking/Daemons | |
17937b31 | 462 | Requires: samba3 = %{epoch}:%{version}-%{release} |
8ba454ef | 463 | |
c083eea8 | 464 | %description -n samba3-vfs-notify_fam |
8ba454ef AM |
465 | The vfs_notify_fam module makes use of the system FAM (File Alteration |
466 | Monitor) daemon to implement file change notifications for Windows | |
467 | clients. | |
468 | ||
c083eea8 | 469 | %description -n samba3-vfs-notify_fam -l pl.UTF-8 |
8ba454ef AM |
470 | Ten moduł używa demona FAM (File Alteration Monitor) do implementacji |
471 | informowania o zmianach w plikach dla klientów Windows. | |
472 | ||
c083eea8 JR |
473 | %package -n samba3-vfs-netatalk |
474 | Summary: VFS module for ease co-existence of samba and netatalk | |
475 | Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę serwisów samba i netatalk | |
d1f5710a | 476 | Group: Networking/Daemons |
17937b31 | 477 | Requires: samba3 = %{epoch}:%{version}-%{release} |
d1f5710a | 478 | |
c083eea8 | 479 | %description -n samba3-vfs-netatalk |
727a2c6a | 480 | Package contains a netatalk VFS module for ease co-existence of Samba |
e1c0d47d | 481 | and netatalk file sharing services. |
d1f5710a | 482 | |
c083eea8 JR |
483 | %description -n samba3-vfs-netatalk -l pl.UTF-8 |
484 | Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług samba | |
96088f7b | 485 | i netatalk przy udostępnianiu zasobów. |
d1f5710a | 486 | |
c083eea8 | 487 | %package -n samba3-vfs-recycle |
97334e11 | 488 | Summary: VFS module to add recycle bin facility to a samba share |
4ecf4d28 | 489 | Summary(pl.UTF-8): Moduł VFS dodający funkcję kosza do zasobu Samby |
97334e11 | 490 | Group: Networking/Daemons |
17937b31 | 491 | Requires: samba3 = %{epoch}:%{version}-%{release} |
97334e11 | 492 | |
c083eea8 | 493 | %description -n samba3-vfs-recycle |
97334e11 JB |
494 | VFS module to add recycle bin facility to a samba share. |
495 | ||
c083eea8 JR |
496 | %description -n samba3-vfs-recycle -l pl.UTF-8 |
497 | Moduł VFS dodający możliwość kosza do zasobu samby. | |
97334e11 | 498 | |
c083eea8 | 499 | %package -n samba3-vfs-readahead |
05756483 | 500 | Summary: VFS module for pre-loading the kernel buffer cache |
8134e830 | 501 | Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra |
05756483 | 502 | Group: Networking/Daemons |
17937b31 | 503 | Requires: samba3 = %{epoch}:%{version}-%{release} |
4d8c5e20 | 504 | |
c083eea8 | 505 | %description -n samba3-vfs-readahead |
4d8c5e20 JB |
506 | This VFS module detects read requests at multiples of a given offset |
507 | (hex 0x80000 by default) and then tells the kernel via either the | |
508 | readahead system call (on Linux) or the posix_fadvise system call to | |
509 | pre-fetch this data into the buffer cache. | |
510 | ||
511 | This module is useful for Windows Vista clients reading data using the | |
512 | Windows Explorer program, which asynchronously does multiple file read | |
513 | requests at offset boundaries of 0x80000 bytes. | |
514 | ||
c083eea8 | 515 | %description -n samba3-vfs-readahead -l pl.UTF-8 |
8134e830 JB |
516 | Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych |
517 | pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez | |
518 | wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do | |
519 | wczesnego odczytu tych danych do bufora cache. | |
4d8c5e20 | 520 | |
8134e830 JB |
521 | Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane |
522 | przy użyciu programu Windows Explorer, który asynchronicznie wykonuje | |
523 | wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000 | |
524 | bajtów. | |
4d8c5e20 | 525 | |
c083eea8 | 526 | %package -n samba3-vfs-readonly |
97334e11 | 527 | Summary: VFS module for read-only limitation for specified share |
fa1faeca | 528 | Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu |
97334e11 | 529 | Group: Networking/Daemons |
17937b31 | 530 | Requires: samba3 = %{epoch}:%{version}-%{release} |
97334e11 | 531 | |
c083eea8 | 532 | %description -n samba3-vfs-readonly |
97334e11 JB |
533 | This module performs a read-only limitation for specified share (or |
534 | all of them if it is loaded in a [global] section) based on period | |
535 | definition in smb.conf. | |
536 | ||
c083eea8 | 537 | %description -n samba3-vfs-readonly -l pl.UTF-8 |
96088f7b JR |
538 | Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego |
539 | udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w | |
540 | oparciu o definicje okresów w smb.conf. | |
97334e11 | 541 | |
c083eea8 | 542 | %package -n samba3-vfs-shadow_copy |
670da5b0 JR |
543 | Summary: VFS module to make automatic copy of data in samba share |
544 | Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby | |
545 | Group: Networking/Daemons | |
17937b31 | 546 | Requires: samba3 = %{epoch}:%{version}-%{release} |
670da5b0 | 547 | |
c083eea8 | 548 | %description -n samba3-vfs-shadow_copy |
670da5b0 JR |
549 | VFS module to make automatic copy of data in samba share. |
550 | ||
c083eea8 | 551 | %description -n samba3-vfs-shadow_copy -l pl.UTF-8 |
670da5b0 JR |
552 | Moduł VFS do tworzenia automatycznych kopii danych w zasobach samby. |
553 | ||
c083eea8 | 554 | %package -n samba3-vfs-catia |
670da5b0 JR |
555 | Summary: VFS module to fix Catia CAD filenames |
556 | Group: Networking/Daemons | |
17937b31 | 557 | Requires: samba3 = %{epoch}:%{version}-%{release} |
670da5b0 | 558 | |
c083eea8 | 559 | %description -n samba3-vfs-catia |
670da5b0 JR |
560 | The Catia CAD package commonly creates filenames that use characters |
561 | that are illegal in CIFS filenames. The vfs_catia VFS module | |
562 | implements a fixed character mapping so that these files can be shared | |
563 | with CIFS clients. | |
564 | ||
c083eea8 | 565 | %package -n samba3-vfs-scannedonly |
d718c2e1 | 566 | Summary: Anti-virus solution as VFS module |
4ecf4d28 | 567 | Summary(pl.UTF-8): Rozwiązanie antywirusowe jako moduł VFS |
d718c2e1 | 568 | Group: Networking/Daemons |
17937b31 | 569 | Requires: samba3 = %{epoch}:%{version}-%{release} |
d718c2e1 | 570 | |
c083eea8 | 571 | %description -n samba3-vfs-scannedonly |
aceac5ef ER |
572 | The vfs_scannedonly VFS module ensures that only files that have been |
573 | scanned for viruses are visible and accessible to the end user. If | |
574 | non-scanned files are found an anti-virus scanning daemon is notified. | |
d718c2e1 | 575 | |
382a477a JR |
576 | %package -n samba3-smbget |
577 | Summary: A utility for retrieving files using the SMB protocol | |
578 | Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB | |
579 | Group: Applications/Networking | |
4ecf4d28 | 580 | |
382a477a JR |
581 | %description -n samba3-smbget |
582 | wget-like utility for download files over SMB. | |
4ecf4d28 | 583 | |
382a477a JR |
584 | %description -n samba3-smbget -l pl.UTF-8 |
585 | Narzędzie podobne do wgeta do pobierania plików protokołem SMB | |
586 | używanym w sieciach MS Windows. | |
4ecf4d28 | 587 | |
382a477a JR |
588 | %package -n cups-backend-samba3-smb |
589 | Summary: CUPS backend for printing to SMB printers | |
590 | Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB | |
591 | Group: Applications/Printing | |
592 | Requires: samba3-client = %{epoch}:%{version}-%{release} | |
593 | Requires: cups >= 1:1.2.0 | |
4ecf4d28 | 594 | |
382a477a JR |
595 | %description -n cups-backend-samba3-smb |
596 | CUPS backend for printing to SMB printers. | |
99795f36 | 597 | |
382a477a JR |
598 | %description -n cups-backend-samba3-smb -l pl.UTF-8 |
599 | Backend CUPS-a drukujący na drukarkach SMB. | |
99795f36 | 600 | |
382a477a JR |
601 | %package -n samba3-swat |
602 | Summary: Samba Web Administration Tool | |
603 | Summary(pl.UTF-8): Narzędzie administracyjne serwisu Samba | |
382a477a JR |
604 | Group: Networking/Admin |
605 | Requires: %{name}-samba3 = %{epoch}:%{version}-%{release} | |
606 | Requires: inetdaemon | |
607 | Requires: rc-inetd >= 0.8.2 | |
608 | Obsoletes: swat | |
e611fed4 | 609 | |
382a477a JR |
610 | %description -n samba3-swat |
611 | swat allows a Samba administrator to configure the complex smb.conf | |
612 | file via a Web browser. In addition, a swat configuration page has | |
613 | help links to all the configurable options in the smb.conf file | |
614 | allowing an administrator to easily look up the effects of any change. | |
1a8c003b | 615 | |
382a477a JR |
616 | %description -n samba3-swat -l pl.UTF-8 |
617 | swat pozwala na kompleksową konfigurację smb.conf przy pomocy | |
618 | przeglądarki WWW. | |
1a8c003b | 619 | |
382a477a JR |
620 | %package -n samba3-winbind |
621 | Summary: Samba-winbind daemon, utilities and documentation | |
622 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja | |
623 | Group: Networking/Daemons | |
624 | Requires(post,preun): /sbin/chkconfig | |
625 | Requires: %{name}-samba3-common = %{epoch}:%{version}-%{release} | |
626 | Requires: systemd-units >= 38 | |
6646cd44 | 627 | |
382a477a JR |
628 | %description -n samba3-winbind |
629 | Provides the winbind daemon and testing tools to allow authentication | |
630 | and group/user enumeration from a Windows or Samba domain controller. | |
6646cd44 | 631 | |
382a477a JR |
632 | %description -n samba3-winbind -l pl.UTF-8 |
633 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
634 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
635 | Windows lub Samba. | |
6646cd44 | 636 | |
382a477a JR |
637 | %package -n nss_wins |
638 | Summary: Name Service Switch service for WINS | |
639 | Summary(pl.UTF-8): Usługa Name Service Switch dla WINS | |
640 | Group: Base | |
641 | Requires: samba3-common = %{epoch}:%{version}-%{release} | |
642 | ||
643 | %description -n nss_wins | |
644 | Provides the libnss_wins shared library which resolves NetBIOS names | |
645 | to IP addresses. | |
646 | ||
647 | %description -n nss_wins -l pl.UTF-8 | |
648 | Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy | |
649 | IP. | |
650 | ||
651 | %package -n samba3-libsmbclient | |
652 | Summary: libsmbclient - samba client library | |
653 | Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby | |
654 | Group: Libraries | |
655 | Obsoletes: libsmbclient < 1:4.0.0-1 | |
656 | ||
657 | %description -n samba3-libsmbclient | |
658 | libsmbclient - library that allows to use samba clients functions. | |
659 | ||
660 | %description -n samba3-libsmbclient -l pl.UTF-8 | |
661 | libsmbclient - biblioteka pozwalająca korzystać z funcji klienta | |
662 | samby. | |
663 | ||
664 | %package -n samba3-libsmbclient-devel | |
665 | Summary: libsmbclient - samba client library | |
666 | Summary(pl.UTF-8): libsmbclient - biblioteka klienta samby | |
382a477a JR |
667 | Group: Development/Libraries |
668 | Requires: samba3-libsmbclient = %{epoch}:%{version}-%{release} | |
669 | Obsoletes: libsmbclient-devel < 1:4.0.0-1 | |
6646cd44 | 670 | |
382a477a JR |
671 | %description -n samba3-libsmbclient-devel |
672 | Header files for libsmbclient. | |
6646cd44 | 673 | |
382a477a JR |
674 | %description -n samba3-libsmbclient-devel -l pl.UTF-8 |
675 | Pliki nagłówkowe dla libsmbclient. | |
c083eea8 | 676 | |
382a477a JR |
677 | %package -n python-samba3 |
678 | Summary: Samba Module for Python | |
679 | Group: Development/Languages/Python | |
680 | %pyrequires_eq python | |
681 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
ed426448 | 682 | |
382a477a JR |
683 | %description -n python-samba3 |
684 | Samba Module for Python. | |
ed426448 | 685 | |
382a477a JR |
686 | %package -n openldap-schema-samba |
687 | Summary: Samba LDAP schema | |
688 | Summary(pl.UTF-8): Schemat LDAP dla samby | |
ed426448 | 689 | Group: Networking/Daemons |
382a477a JR |
690 | Requires(post,postun): sed >= 4.0 |
691 | Requires: openldap-servers | |
ed426448 | 692 | |
382a477a JR |
693 | %description -n openldap-schema-samba |
694 | This package contains samba.schema for openldap. | |
695 | ||
696 | %description -n openldap-schema-samba -l pl.UTF-8 | |
697 | Ten pakiet zawiera schemat samby dla openldap-a. | |
ed426448 | 698 | |
c083eea8 JR |
699 | %package todo |
700 | Summary: todo | |
701 | Group: Networking/Daemons | |
702 | ||
703 | %description todo | |
704 | todo | |
705 | ||
1925a8b4 | 706 | %prep |
670da5b0 | 707 | %setup -q -n samba-%{version} |
34895621 | 708 | %patch0 -p1 |
8932759c | 709 | %patch1 -p1 |
f4ecaf8b | 710 | %patch3 -p1 |
ce9af3e2 | 711 | %patch4 -p1 |
450db13e | 712 | %patch5 -p1 |
6fb3721a | 713 | |
1925a8b4 | 714 | %build |
34895621 JR |
715 | LDFLAGS="${LDFLAGS:-%rpmldflags}" \ |
716 | CFLAGS="${CFLAGS:-%rpmcflags}" \ | |
717 | CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \ | |
718 | FFLAGS="${FFLAGS:-%rpmcflags}" \ | |
719 | FCFLAGS="${FCFLAGS:-%rpmcflags}" \ | |
720 | CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \ | |
721 | %{?__cc:CC="%{__cc}"} \ | |
722 | %{?__cxx:CXX="%{__cxx}"} \ | |
723 | ./configure \ | |
724 | --enable-fhs \ | |
725 | --prefix=%{_prefix} \ | |
726 | --exec-prefix=%{_exec_prefix} \ | |
727 | --bindir=%{_bindir} \ | |
728 | --sbindir=%{_sbindir} \ | |
729 | --sysconfdir=%{_sysconfdir} \ | |
730 | --datadir=%{_datadir} \ | |
731 | --includedir=%{_includedir} \ | |
732 | --libdir=%{_libdir} \ | |
733 | --libexecdir=%{_libexecdir} \ | |
734 | --localstatedir=%{_localstatedir} \ | |
735 | --sharedstatedir=%{_sharedstatedir} \ | |
736 | --mandir=%{_mandir} \ | |
737 | --infodir=%{_infodir} \ | |
2e711b12 JR |
738 | --with-privatelibdir=%{_libdir}/samba \ |
739 | --with-modulesdir=%{_libdir}/samba \ | |
01485082 | 740 | --with-pammodulesdir=/%{_lib}/security \ |
34895621 JR |
741 | --with-lockdir=/var/lib/samba \ |
742 | --with-privatedir=%{_sysconfdir}/samba \ | |
743 | --disable-gnutls \ | |
744 | --disable-rpath-install \ | |
5c9e395f | 745 | --builtin-libraries=replace,ccan \ |
e71e0470 | 746 | --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libs:talloc,tdb,ldb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util} \ |
34895621 JR |
747 | --private-libraries=smbclient,smbsharemodes,wbclient \ |
748 | --with-shared-modules=idmap_ad,idmap_rid,idmap_adex,idmap_hash,idmap_tdb2,pdb_tdbsam,pdb_ldap,pdb_ads,pdb_smbpasswd,pdb_wbc_sam,pdb_samba4,auth_unix,auth_wbc,auth_server,auth_netlogond,auth_script,auth_samba4 \ | |
f4f0ea2d | 749 | --with-acl-support \ |
34895621 | 750 | --with%{!?with_ads:out}-ads \ |
40d90f9e | 751 | --with-aio-support \ |
432ee34d | 752 | --with-automount \ |
34895621 JR |
753 | --with-dmapi \ |
754 | --with-dnsupdate \ | |
755 | --with-iconv \ | |
756 | --with%{!?with_ldap:out}-ldap \ | |
d1d64cbe | 757 | --with-pam \ |
29511e6d | 758 | --with-pam_smbpass \ |
4ef99dd8 | 759 | --with-quotas \ |
34895621 JR |
760 | --with-sendfile-support \ |
761 | --with-swat \ | |
4ef99dd8 | 762 | --with-syslog \ |
763 | --with-utmp \ | |
34895621 | 764 | --with-winbind \ |
66e5c63e | 765 | --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \ |
34895621 JR |
766 | --enable-cups \ |
767 | --enable-iprint | |
1925a8b4 | 768 | |
70ff6d03 | 769 | %{__make} |
192f48a8 | 770 | |
6646cd44 JR |
771 | # Build PIDL for installation into vendor directories before |
772 | # 'make proto' gets to it. | |
773 | cd pidl | |
774 | %{__perl} Makefile.PL \ | |
775 | INSTALLDIRS=vendor | |
776 | ||
1925a8b4 | 777 | %install |
778 | rm -rf $RPM_BUILD_ROOT | |
a60823b9 | 779 | install -d $RPM_BUILD_ROOT/etc/{logrotate.d,rc.d/init.d,pam.d,security,sysconfig/rc-inetd} \ |
2e711b12 | 780 | $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \ |
08bf002e | 781 | $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \ |
2e711b12 JR |
782 | $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \ |
783 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
ba850b61 | 784 | |
34895621 | 785 | %{__make} install \ |
bd658e80 | 786 | DESTDIR=$RPM_BUILD_ROOT \ |
29511e6d | 787 | CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba |
bd658e80 | 788 | |
6646cd44 JR |
789 | # Undo the PIDL install, we want to try again with the right options. |
790 | %{__rm} -r $RPM_BUILD_ROOT/%{_datadir}/perl5 | |
791 | ||
792 | # Install PIDL | |
793 | cd pidl | |
794 | %{__make} install \ | |
795 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | |
796 | cd .. | |
797 | ||
798 | # Clean out crap left behind by the PIDL install | |
799 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/wscript_build | |
800 | %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp | |
7a0e596a | 801 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Pidl/.packlist |
6646cd44 | 802 | |
42039dcb JR |
803 | # not ready for production, and no MIT kerberos in PLD |
804 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mit_samba.so | |
805 | ||
b25f7233 | 806 | install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir} |
1925a8b4 | 807 | |
2e711b12 JR |
808 | install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf |
809 | install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
810 | install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir} | |
811 | install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
812 | install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir} | |
813 | ||
b25f7233 ER |
814 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb |
815 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba | |
816 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/swat | |
817 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba | |
818 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba | |
819 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf | |
820 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind | |
821 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind | |
29511e6d | 822 | |
37a62870 JR |
823 | # move lib{smb,wb}client where they always were for compatibility |
824 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
825 | ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so | |
826 | ln -s libwbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libwbclient.so | |
827 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libwbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
828 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/libsmbclient.h $RPM_BUILD_ROOT%{_includedir} | |
829 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/wbclient.h $RPM_BUILD_ROOT%{_includedir} | |
830 | ||
34895621 JR |
831 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib} |
832 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib} | |
833 | install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir} | |
79d8a749 | 834 | |
6a2e83e0 | 835 | touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat} |
1925a8b4 | 836 | |
01485082 | 837 | echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts |
8b604b68 | 838 | |
ddea14b0 | 839 | %if %{with cups} |
fd9d8b85 JB |
840 | install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend |
841 | ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb | |
842 | %endif | |
9f6f5df1 | 843 | |
29511e6d | 844 | > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers |
8b604b68 | 845 | > $RPM_BUILD_ROOT/etc/security/blacklist.samba |
11d2c190 | 846 | |
105507bc | 847 | %if %{with ldap} |
99795f36 | 848 | install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir} |
105507bc | 849 | %endif |
99795f36 | 850 | |
b25f7233 ER |
851 | %if %{with system_libtdb} |
852 | # remove manuals of tdb if system lib used | |
853 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbbackup.8* | |
854 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbdump.8* | |
855 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/tdbtool.8* | |
856 | %endif | |
857 | ||
7a0e596a JR |
858 | # remove man pages for not installed commands |
859 | %{__rm} %{_mandir}/man1/log2pcap.1* | |
860 | %{__rm} %{_mandir}/man1/smbtar.1* | |
861 | %{__rm} %{_mandir}/man8/vfs_cacheprime.8* | |
862 | %{__rm} %{_mandir}/man8/vfs_gpfs.8* | |
863 | %{__rm} %{_mandir}/man8/vfs_prealloc.8* | |
864 | %{__rm} %{_mandir}/man8/vfs_tsmsm.8* | |
865 | ||
1a8c003b AM |
866 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
867 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
868 | find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f | |
869 | ||
ea8d81e5 JB |
870 | %clean |
871 | rm -rf $RPM_BUILD_ROOT | |
9661cd11 | 872 | |
1925a8b4 | 873 | %post |
382a477a JR |
874 | /sbin/chkconfig --add samba |
875 | %service samba restart "Samba AD daemon" | |
dce29ff7 | 876 | %systemd_post samba.service |
1925a8b4 | 877 | |
878 | %preun | |
9ac29548 | 879 | if [ "$1" = "0" ]; then |
382a477a JR |
880 | %service samba stop |
881 | /sbin/chkconfig --del samba | |
9ac29548 | 882 | fi |
dce29ff7 JR |
883 | %systemd_preun samba.service |
884 | ||
885 | %postun | |
886 | %systemd_reload | |
11d2c190 | 887 | |
0b940f4e JR |
888 | %post common -p /sbin/ldconfig |
889 | %postun common -p /sbin/ldconfig | |
70975be6 | 890 | |
382a477a JR |
891 | %post -n samba3 |
892 | /sbin/chkconfig --add smb | |
893 | %service smb restart "Samba3 daemons" | |
894 | systemd_post smb.service nmb.service | |
895 | ||
896 | %preun -n samba3 | |
897 | if [ "$1" = "0" ]; then | |
898 | %service smb stop | |
899 | /sbin/chkconfig --del samba | |
900 | fi | |
901 | %systemd_preun smb.service nmb.service | |
902 | ||
903 | %postun -n samba3 | |
904 | %systemd_reload | |
905 | ||
906 | %post -n samba3-winbind | |
29511e6d | 907 | /sbin/chkconfig --add winbind |
27879fe9 | 908 | %service winbind restart "Winbind daemon" |
dce29ff7 | 909 | %systemd_post winbind.service |
29511e6d | 910 | |
382a477a | 911 | %preun -n samba3-winbind |
29511e6d | 912 | if [ "$1" = "0" ]; then |
27879fe9 | 913 | %service winbind stop |
29511e6d | 914 | /sbin/chkconfig --del winbind |
915 | fi | |
dce29ff7 JR |
916 | %systemd_preun winbind.service |
917 | ||
382a477a | 918 | %postun -n samba3-winbind |
dce29ff7 | 919 | %systemd_reload |
29511e6d | 920 | |
c083eea8 | 921 | %post -n samba3-swat |
27879fe9 | 922 | %service -q rc-inetd reload |
d7dadfd6 | 923 | |
c083eea8 | 924 | %postun -n samba3-swat |
27879fe9 ER |
925 | if [ "$1" = 0 ]; then |
926 | %service -q rc-inetd reload | |
9ac29548 | 927 | fi |
d7dadfd6 | 928 | |
99795f36 | 929 | %post -n openldap-schema-samba |
c4db757c ER |
930 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
931 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
27879fe9 | 932 | %service -q ldap restart |
99795f36 ER |
933 | |
934 | %postun -n openldap-schema-samba | |
935 | if [ "$1" = "0" ]; then | |
c4db757c | 936 | %openldap_schema_unregister %{schemadir}/samba.schema |
27879fe9 | 937 | %service -q ldap restart |
99795f36 ER |
938 | fi |
939 | ||
1925a8b4 | 940 | %files |
941 | %defattr(644,root,root,755) | |
0b940f4e JR |
942 | %{systemdunitdir}/samba.service |
943 | %{systemdtmpfilesdir}/samba.conf | |
c083eea8 | 944 | %attr(755,root,root) %{_bindir}/oLschema2ldif |
0b940f4e JR |
945 | %attr(755,root,root) %{_sbindir}/samba |
946 | %attr(755,root,root) %{_sbindir}/samba_dnsupdate | |
947 | %attr(755,root,root) %{_sbindir}/samba_spnupdate | |
948 | %attr(755,root,root) %{_sbindir}/samba_upgradedns | |
949 | %attr(755,root,root) %{_sbindir}/samba_upgradeprovision | |
950 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.* | |
951 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0 | |
0b940f4e | 952 | %attr(755,root,root) %{_libdir}/samba/libdb-glue.so |
0b940f4e JR |
953 | %attr(755,root,root) %{_libdir}/samba/libdsdb-module.so |
954 | %attr(755,root,root) %{_libdir}/samba/libHDB_SAMBA4.so | |
c083eea8 JR |
955 | %attr(755,root,root) %{_libdir}/samba/libntvfs.so |
956 | %attr(755,root,root) %{_libdir}/samba/libpac.so | |
c083eea8 JR |
957 | %attr(755,root,root) %{_libdir}/samba/libprocess_model.so |
958 | %attr(755,root,root) %{_libdir}/samba/libservice.so | |
0b940f4e | 959 | %attr(755,root,root) %{_libdir}/samba/libshares.so |
0b940f4e JR |
960 | %dir %{_libdir}/samba/bind9 |
961 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so | |
962 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so | |
963 | %dir %{_libdir}/samba/hdb | |
964 | %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so | |
0b940f4e JR |
965 | %dir %{_libdir}/samba/gensec |
966 | %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so | |
e4310f27 | 967 | %dir %{_libdir}/samba/ldb |
e4310f27 | 968 | %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so |
0b940f4e | 969 | %attr(755,root,root) %{_libdir}/samba/ldb/acl.so |
e4310f27 JR |
970 | %attr(755,root,root) %{_libdir}/samba/ldb/anr.so |
971 | %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so | |
972 | %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so | |
973 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so | |
974 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so | |
975 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so | |
976 | %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so | |
977 | %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so | |
978 | %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so | |
979 | %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so | |
980 | %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so | |
981 | %attr(755,root,root) %{_libdir}/samba/ldb/local_password.so | |
982 | %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so | |
e4310f27 | 983 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so |
0b940f4e | 984 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so |
e4310f27 JR |
985 | %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so |
986 | %attr(755,root,root) %{_libdir}/samba/ldb/operational.so | |
987 | %attr(755,root,root) %{_libdir}/samba/ldb/partition.so | |
988 | %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so | |
989 | %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so | |
990 | %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so | |
991 | %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so | |
992 | %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so | |
993 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so | |
994 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so | |
995 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so | |
996 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so | |
997 | %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so | |
998 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so | |
999 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so | |
1000 | %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so | |
1001 | %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so | |
1002 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so | |
1003 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so | |
1004 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so | |
1005 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so | |
1006 | %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so | |
1007 | %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so | |
382a477a JR |
1008 | %dir %{_libdir}/samba/process_model |
1009 | %attr(755,root,root) %{_libdir}/samba/process_model/onefork.so | |
1010 | %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so | |
1011 | %attr(755,root,root) %{_libdir}/samba/process_model/standard.so | |
1012 | %dir %{_libdir}/samba/service | |
1013 | %attr(755,root,root) %{_libdir}/samba/service/cldap.so | |
1014 | %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so | |
1015 | %attr(755,root,root) %{_libdir}/samba/service/dns.so | |
1016 | %attr(755,root,root) %{_libdir}/samba/service/dns_update.so | |
1017 | %attr(755,root,root) %{_libdir}/samba/service/drepl.so | |
1018 | %attr(755,root,root) %{_libdir}/samba/service/kcc.so | |
1019 | %attr(755,root,root) %{_libdir}/samba/service/kdc.so | |
1020 | %attr(755,root,root) %{_libdir}/samba/service/ldap.so | |
1021 | %attr(755,root,root) %{_libdir}/samba/service/nbtd.so | |
1022 | %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so | |
1023 | %attr(755,root,root) %{_libdir}/samba/service/s3fs.so | |
1024 | %attr(755,root,root) %{_libdir}/samba/service/smb.so | |
1025 | %attr(755,root,root) %{_libdir}/samba/service/web.so | |
1026 | %attr(755,root,root) %{_libdir}/samba/service/winbind.so | |
1027 | %attr(755,root,root) %{_libdir}/samba/service/wrepl.so | |
0b940f4e JR |
1028 | %{_datadir}/samba/setup |
1029 | %{_mandir}/man1/oLschema2ldif.1* | |
1030 | %{_mandir}/man8/samba.8* | |
c9c921bd | 1031 | |
ac6f9d13 | 1032 | %files client |
2eedd257 | 1033 | %defattr(644,root,root,755) |
6646cd44 | 1034 | %attr(755,root,root) %{_bindir}/cifsdd |
6646cd44 | 1035 | %attr(755,root,root) %{_bindir}/nmblookup4 |
0b940f4e | 1036 | %attr(755,root,root) %{_bindir}/reg* |
6646cd44 | 1037 | %attr(755,root,root) %{_bindir}/smbclient4 |
6c886cab | 1038 | %{_mandir}/man1/findsmb.1* |
481bc0b7 | 1039 | %{_mandir}/man1/nmblookup4.1* |
0b940f4e | 1040 | %{_mandir}/man1/reg*.1* |
ac6f9d13 | 1041 | |
ac6f9d13 | 1042 | %files common |
2eedd257 | 1043 | %defattr(644,root,root,755) |
2e711b12 | 1044 | %doc README WHATSNEW.txt Roadmap |
c083eea8 | 1045 | %attr(755,root,root) %{_bindir}/samba-tool |
287950f2 | 1046 | %attr(755,root,root) %{_sbindir}/samba_kcc |
2f0e4f6e | 1047 | %dir %{_sysconfdir}/samba |
d0e87ba8 ER |
1048 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf |
1049 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts | |
70975be6 JR |
1050 | %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.* |
1051 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0 | |
e4310f27 JR |
1052 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so.*.*.* |
1053 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-atsvc.so.0 | |
70975be6 JR |
1054 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.* |
1055 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0 | |
0b940f4e JR |
1056 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.* |
1057 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0 | |
70975be6 JR |
1058 | %attr(755,root,root) %{_libdir}/libgensec.so.*.*.* |
1059 | %attr(755,root,root) %ghost %{_libdir}/libgensec.so.0 | |
1060 | %attr(755,root,root) %{_libdir}/libndr.so.*.*.* | |
1061 | %attr(755,root,root) %ghost %{_libdir}/libndr.so.0 | |
1062 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.* | |
1063 | %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0 | |
1064 | %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.* | |
1065 | %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0 | |
1066 | %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.* | |
1067 | %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0 | |
ed426448 JR |
1068 | %attr(755,root,root) %{_libdir}/libregistry.so.*.*.* |
1069 | %attr(755,root,root) %ghost %{_libdir}/libregistry.so.0 | |
70975be6 JR |
1070 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.* |
1071 | %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0 | |
1072 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.* | |
1073 | %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0 | |
1074 | %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.* | |
1075 | %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0 | |
1076 | %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.* | |
1077 | %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0 | |
1078 | %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.* | |
1079 | %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0 | |
e4310f27 JR |
1080 | %attr(755,root,root) %{_libdir}/libsamba-policy.so.*.*.* |
1081 | %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.so.0 | |
0b940f4e | 1082 | %dir %{_libdir}/samba |
287950f2 JR |
1083 | %attr(755,root,root) %{_libdir}/samba/libaddns.so |
1084 | %attr(755,root,root) %{_libdir}/samba/libasn1util.so | |
5c9e395f | 1085 | %attr(755,root,root) %{_libdir}/samba/libauth4.so |
287950f2 JR |
1086 | %attr(755,root,root) %{_libdir}/samba/libauthkrb5.so |
1087 | %attr(755,root,root) %{_libdir}/samba/libauth_sam_reply.so | |
1088 | %attr(755,root,root) %{_libdir}/samba/libauth_unix_token.so | |
5c9e395f | 1089 | %attr(755,root,root) %{_libdir}/samba/libcliauth.so |
287950f2 | 1090 | %attr(755,root,root) %{_libdir}/samba/libcli_cldap.so |
5c9e395f | 1091 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common.so |
287950f2 JR |
1092 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap.so |
1093 | %attr(755,root,root) %{_libdir}/samba/libcli-nbt.so | |
5c9e395f | 1094 | %attr(755,root,root) %{_libdir}/samba/libcli_smb_common.so |
287950f2 | 1095 | %attr(755,root,root) %{_libdir}/samba/libcluster.so |
5c9e395f | 1096 | %attr(755,root,root) %{_libdir}/samba/libcmdline-credentials.so |
0b940f4e | 1097 | %attr(755,root,root) %{_libdir}/samba/libdbwrap.so |
287950f2 | 1098 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so |
c083eea8 | 1099 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba.so |
287950f2 | 1100 | %attr(755,root,root) %{_libdir}/samba/libdfs_server_ad.so |
c083eea8 JR |
1101 | %attr(755,root,root) %{_libdir}/samba/liberrors.so |
1102 | %attr(755,root,root) %{_libdir}/samba/libevents.so | |
1103 | %attr(755,root,root) %{_libdir}/samba/libflag_mapping.so | |
c083eea8 | 1104 | %attr(755,root,root) %{_libdir}/samba/libiniparser.so |
287950f2 | 1105 | %attr(755,root,root) %{_libdir}/samba/libinterfaces.so |
0b940f4e | 1106 | %attr(755,root,root) %{_libdir}/samba/libkrb5samba.so |
e4310f27 | 1107 | %attr(755,root,root) %{_libdir}/samba/libldb-cmdline.so |
0b940f4e | 1108 | %attr(755,root,root) %{_libdir}/samba/libldbsamba.so |
287950f2 JR |
1109 | %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT_OLD.so |
1110 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING.so | |
1111 | %attr(755,root,root) %{_libdir}/samba/libndr-samba4.so | |
0b940f4e JR |
1112 | %attr(755,root,root) %{_libdir}/samba/libndr-samba.so |
1113 | %attr(755,root,root) %{_libdir}/samba/libnetif.so | |
1114 | %attr(755,root,root) %{_libdir}/samba/libnpa_tstream.so | |
287950f2 JR |
1115 | %attr(755,root,root) %{_libdir}/samba/libposix_eadb.so |
1116 | %attr(755,root,root) %{_libdir}/samba/libsamba3-util.so | |
0b940f4e | 1117 | %attr(755,root,root) %{_libdir}/samba/libsamba-modules.so |
287950f2 JR |
1118 | %attr(755,root,root) %{_libdir}/samba/libsamba-net.so |
1119 | %attr(755,root,root) %{_libdir}/samba/libsamba_python.so | |
0b940f4e JR |
1120 | %attr(755,root,root) %{_libdir}/samba/libsamba-security.so |
1121 | %attr(755,root,root) %{_libdir}/samba/libsamba-sockets.so | |
1122 | %attr(755,root,root) %{_libdir}/samba/libsamdb-common.so | |
1123 | %attr(755,root,root) %{_libdir}/samba/libserver-role.so | |
287950f2 JR |
1124 | %attr(755,root,root) %{_libdir}/samba/libsmbd_shim.so |
1125 | %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser.so | |
0b940f4e JR |
1126 | %attr(755,root,root) %{_libdir}/samba/libsmb_transport.so |
1127 | %attr(755,root,root) %{_libdir}/samba/libtdb-wrap.so | |
287950f2 | 1128 | %attr(755,root,root) %{_libdir}/samba/libutil_reg.so |
0b940f4e JR |
1129 | %attr(755,root,root) %{_libdir}/samba/libutil_setid.so |
1130 | %attr(755,root,root) %{_libdir}/samba/libutil_tdb.so | |
1131 | %attr(755,root,root) %{_libdir}/samba/libwinbind-client.so | |
287950f2 JR |
1132 | %dir %{_datadir}/samba |
1133 | %dir %{_datadir}/samba/codepages | |
1134 | %{_datadir}/samba/codepages/lowcase.dat | |
1135 | %{_datadir}/samba/codepages/upcase.dat | |
1136 | %{_datadir}/samba/codepages/valid.dat | |
1137 | %{_mandir}/man5/lmhosts.5* | |
1138 | %{_mandir}/man5/smb.conf.5* | |
1139 | %{_mandir}/man7/samba.7* | |
1140 | %{_mandir}/man8/samba-tool.8* | |
e71e0470 | 1141 | %if %{without system_libs} |
287950f2 JR |
1142 | %attr(755,root,root) %{_bindir}/tdbbackup |
1143 | %attr(755,root,root) %{_bindir}/tdbdump | |
1144 | %attr(755,root,root) %{_bindir}/tdbtool | |
e71e0470 JR |
1145 | %attr(755,root,root) %{_libdir}/samba/libtalloc.so.* |
1146 | %attr(755,root,root) %{_libdir}/samba/libtdb.so.* | |
287950f2 JR |
1147 | %{_mandir}/man8/tdbbackup.8* |
1148 | %{_mandir}/man8/tdbdump.8* | |
1149 | %{_mandir}/man8/tdbtool.8* | |
e71e0470 JR |
1150 | %endif |
1151 | ||
382a477a | 1152 | %files winbind |
b36aa9d5 | 1153 | %defattr(644,root,root,755) |
382a477a JR |
1154 | %attr(755,root,root) %{_bindir}/wbinfo |
1155 | %attr(755,root,root) /%{_lib}/security/pam_winbind* | |
1156 | %attr(755,root,root) /%{_lib}/libnss_winbind* | |
1157 | %attr(755,root,root) %{_libdir}/winbind_krb5_locator.so | |
1158 | %{_mandir}/man1/wbinfo*.1* | |
1159 | %{_mandir}/man5/pam_winbind.conf.5* | |
1160 | %{_mandir}/man7/winbind_krb5_locator.7* | |
1161 | %{_mandir}/man8/pam_winbind.8* | |
79d8a749 | 1162 | |
c083eea8 | 1163 | %files -n libsmbclient-raw |
79d8a749 | 1164 | %defattr(644,root,root,755) |
6646cd44 JR |
1165 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so.*.*.* |
1166 | %attr(755,root,root) %ghost %{_libdir}/libsmbclient-raw.so.0 | |
c083eea8 JR |
1167 | |
1168 | %files -n libsmbclient-raw-devel | |
1169 | %defattr(644,root,root,755) | |
f1c7ad61 JR |
1170 | %{_includedir}/samba-4.0/gen_ndr/drsblobs.h |
1171 | %{_includedir}/samba-4.0/gen_ndr/drsuapi.h | |
1172 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h | |
1173 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h | |
1174 | %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h | |
1175 | %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h | |
1176 | %{_includedir}/samba-4.0/read_smb.h | |
f1c7ad61 JR |
1177 | %{_includedir}/samba-4.0/smb2_constants.h |
1178 | %{_includedir}/samba-4.0/smb2_create_blob.h | |
287950f2 | 1179 | %{_includedir}/samba-4.0/smb2.h |
f1c7ad61 JR |
1180 | %{_includedir}/samba-4.0/smb2_signing.h |
1181 | %{_includedir}/samba-4.0/smb_cli.h | |
1182 | %{_includedir}/samba-4.0/smb_cliraw.h | |
1183 | %{_includedir}/samba-4.0/smb_common.h | |
1184 | %{_includedir}/samba-4.0/smb_composite.h | |
1185 | %{_includedir}/samba-4.0/smb_constants.h | |
1186 | %{_includedir}/samba-4.0/smb_raw.h | |
1187 | %{_includedir}/samba-4.0/smb_raw_interfaces.h | |
1188 | %{_includedir}/samba-4.0/smb_raw_signing.h | |
1189 | %{_includedir}/samba-4.0/smb_raw_trans2.h | |
1190 | %{_includedir}/samba-4.0/smb_request.h | |
1191 | %{_includedir}/samba-4.0/smb_seal.h | |
1192 | %{_includedir}/samba-4.0/smb_signing.h | |
1193 | %{_includedir}/samba-4.0/smb_unix_ext.h | |
1194 | %{_includedir}/samba-4.0/smb_util.h | |
c083eea8 JR |
1195 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so |
1196 | %{_pkgconfigdir}/smbclient-raw.pc | |
1197 | ||
f2b0247b ER |
1198 | %files devel |
1199 | %defattr(644,root,root,755) | |
f1c7ad61 JR |
1200 | %dir %{_includedir}/samba-4.0 |
1201 | %{_includedir}/samba-4.0/charset.h | |
1202 | %dir %{_includedir}/samba-4.0/core | |
1203 | %{_includedir}/samba-4.0/core/doserr.h | |
1204 | %{_includedir}/samba-4.0/core/error.h | |
1205 | %{_includedir}/samba-4.0/core/ntstatus.h | |
1206 | %{_includedir}/samba-4.0/core/werror.h | |
1207 | %{_includedir}/samba-4.0/credentials.h | |
1208 | %{_includedir}/samba-4.0/dcerpc.h | |
1209 | %{_includedir}/samba-4.0/dcerpc_server.h | |
1210 | %{_includedir}/samba-4.0/dlinklist.h | |
1211 | %{_includedir}/samba-4.0/domain_credentials.h | |
1212 | %dir %{_includedir}/samba-4.0/gen_ndr | |
1213 | %{_includedir}/samba-4.0/gen_ndr/atsvc.h | |
1214 | %{_includedir}/samba-4.0/gen_ndr/auth.h | |
1215 | %{_includedir}/samba-4.0/gen_ndr/dcerpc.h | |
1216 | %{_includedir}/samba-4.0/gen_ndr/epmapper.h | |
1217 | %{_includedir}/samba-4.0/gen_ndr/krb5pac.h | |
1218 | %{_includedir}/samba-4.0/gen_ndr/lsa.h | |
1219 | %{_includedir}/samba-4.0/gen_ndr/mgmt.h | |
1220 | %{_includedir}/samba-4.0/gen_ndr/misc.h | |
1221 | %{_includedir}/samba-4.0/gen_ndr/nbt.h | |
1222 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h | |
1223 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h | |
1224 | %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h | |
1225 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h | |
1226 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h | |
1227 | %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h | |
1228 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h | |
1229 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h | |
1230 | %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h | |
1231 | %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h | |
1232 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h | |
1233 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h | |
1234 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h | |
1235 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h | |
1236 | %{_includedir}/samba-4.0/gen_ndr/netlogon.h | |
1237 | %{_includedir}/samba-4.0/gen_ndr/samr.h | |
1238 | %{_includedir}/samba-4.0/gen_ndr/security.h | |
1239 | %{_includedir}/samba-4.0/gen_ndr/server_id.h | |
1240 | %{_includedir}/samba-4.0/gen_ndr/svcctl.h | |
1241 | %{_includedir}/samba-4.0/gensec.h | |
1242 | %{_includedir}/samba-4.0/ldap_errors.h | |
1243 | %{_includedir}/samba-4.0/ldap_message.h | |
1244 | %{_includedir}/samba-4.0/ldap_ndr.h | |
1245 | %{_includedir}/samba-4.0/ldap-util.h | |
1246 | %{_includedir}/samba-4.0/ldb_wrap.h | |
1247 | %{_includedir}/samba-4.0/ndr.h | |
1248 | %dir %{_includedir}/samba-4.0/ndr | |
1249 | %{_includedir}/samba-4.0/ndr/ndr_nbt.h | |
1250 | %{_includedir}/samba-4.0/ndr/ndr_svcctl.h | |
1251 | %{_includedir}/samba-4.0/param.h | |
1252 | %{_includedir}/samba-4.0/policy.h | |
1253 | %{_includedir}/samba-4.0/registry.h | |
1254 | %{_includedir}/samba-4.0/roles.h | |
1255 | %{_includedir}/samba-4.0/rpc_common.h | |
1256 | %dir %{_includedir}/samba-4.0/samba | |
1257 | %{_includedir}/samba-4.0/samba/session.h | |
1258 | %{_includedir}/samba-4.0/samba_util.h | |
1259 | %{_includedir}/samba-4.0/samba/version.h | |
1260 | %{_includedir}/samba-4.0/share.h | |
1261 | %{_includedir}/samba-4.0/tdr.h | |
1262 | %{_includedir}/samba-4.0/tsocket.h | |
1263 | %{_includedir}/samba-4.0/tsocket_internal.h | |
1264 | %dir %{_includedir}/samba-4.0/util | |
1265 | %{_includedir}/samba-4.0/util/attr.h | |
1266 | %{_includedir}/samba-4.0/util/byteorder.h | |
1267 | %{_includedir}/samba-4.0/util/data_blob.h | |
1268 | %{_includedir}/samba-4.0/util/debug.h | |
1269 | %{_includedir}/samba-4.0/util_ldb.h | |
1270 | %{_includedir}/samba-4.0/util/memory.h | |
1271 | %{_includedir}/samba-4.0/util/safe_string.h | |
1272 | %{_includedir}/samba-4.0/util/string_wrappers.h | |
1273 | %{_includedir}/samba-4.0/util/talloc_stack.h | |
1274 | %{_includedir}/samba-4.0/util/tevent_ntstatus.h | |
1275 | %{_includedir}/samba-4.0/util/tevent_unix.h | |
1276 | %{_includedir}/samba-4.0/util/tevent_werror.h | |
1277 | %{_includedir}/samba-4.0/util/time.h | |
1278 | %{_includedir}/samba-4.0/util/xfile.h | |
1279 | %{_libdir}/libdcerpc-atsvc.so | |
1280 | %{_libdir}/libdcerpc-binding.so | |
1281 | %{_libdir}/libdcerpc-samr.so | |
1282 | %{_libdir}/libdcerpc-server.so | |
1283 | %{_libdir}/libdcerpc.so | |
1284 | %{_libdir}/libgensec.so | |
1285 | %{_libdir}/libndr-krb5pac.so | |
1286 | %{_libdir}/libndr-nbt.so | |
1287 | %{_libdir}/libndr.so | |
1288 | %{_libdir}/libndr-standard.so | |
1289 | %{_libdir}/libregistry.so | |
1290 | %{_libdir}/libsamba-credentials.so | |
1291 | %{_libdir}/libsamba-hostconfig.so | |
1292 | %{_libdir}/libsamba-policy.so | |
1293 | %{_libdir}/libsamba-util.so | |
1294 | %{_libdir}/libsamdb.so | |
1295 | %{_libdir}/libtevent-util.so | |
05913998 | 1296 | %{_pkgconfigdir}/dcerpc_atsvc.pc |
f1c7ad61 | 1297 | %{_pkgconfigdir}/dcerpc.pc |
05913998 JR |
1298 | %{_pkgconfigdir}/dcerpc_samr.pc |
1299 | %{_pkgconfigdir}/dcerpc_server.pc | |
1300 | %{_pkgconfigdir}/gensec.pc | |
05913998 JR |
1301 | %{_pkgconfigdir}/ndr_krb5pac.pc |
1302 | %{_pkgconfigdir}/ndr_nbt.pc | |
f1c7ad61 | 1303 | %{_pkgconfigdir}/ndr.pc |
05913998 | 1304 | %{_pkgconfigdir}/ndr_standard.pc |
05913998 JR |
1305 | %{_pkgconfigdir}/registry.pc |
1306 | %{_pkgconfigdir}/samba-credentials.pc | |
1307 | %{_pkgconfigdir}/samba-hostconfig.pc | |
1308 | %{_pkgconfigdir}/samba-policy.pc | |
1309 | %{_pkgconfigdir}/samba-util.pc | |
1310 | %{_pkgconfigdir}/samdb.pc | |
9f6f5df1 | 1311 | |
382a477a | 1312 | %files -n pam-pam_smbpass |
29511e6d | 1313 | %defattr(644,root,root,755) |
382a477a JR |
1314 | %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples |
1315 | %attr(755,root,root) /%{_lib}/security/pam_smbpass.so | |
1316 | ||
1317 | %files pidl | |
1318 | %defattr(644,root,root,755) | |
1319 | %attr(755,root,root) %{_bindir}/pidl | |
1320 | %{_mandir}/man1/pidl.1* | |
1321 | %{_mandir}/man3/Parse::Pidl*.3* | |
1322 | %{perl_vendorlib}/Parse/Pidl* | |
29511e6d | 1323 | |
c083eea8 | 1324 | %files -n python-samba4 |
9f6f5df1 | 1325 | %defattr(644,root,root,755) |
c083eea8 JR |
1326 | %dir %{py_sitedir}/samba |
1327 | %attr(755,root,root) %{py_sitedir}/samba/*.so | |
1328 | %{py_sitedir}/samba/*.py[co] | |
1329 | %dir %{py_sitedir}/samba/dcerpc | |
1330 | %{py_sitedir}/samba/dcerpc/*.py[co] | |
1331 | %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so | |
1332 | %dir %{py_sitedir}/samba/external | |
1333 | %{py_sitedir}/samba/external/*.py[co] | |
1334 | %dir %{py_sitedir}/samba/external/subunit | |
1335 | %{py_sitedir}/samba/external/subunit/*.py[co] | |
1336 | %dir %{py_sitedir}/samba/external/subunit/tests | |
1337 | %{py_sitedir}/samba/external/subunit/tests/*.py[co] | |
1338 | %dir %{py_sitedir}/samba/netcmd | |
1339 | %{py_sitedir}/samba/netcmd/*.py[co] | |
1340 | %dir %{py_sitedir}/samba/provision | |
1341 | %{py_sitedir}/samba/provision/*.py[co] | |
1342 | %dir %{py_sitedir}/samba/tests | |
1343 | %{py_sitedir}/samba/tests/*.py[co] | |
1344 | %dir %{py_sitedir}/samba/tests/blackbox | |
1345 | %{py_sitedir}/samba/tests/blackbox/*.py[co] | |
1346 | %dir %{py_sitedir}/samba/tests/samba_tool | |
1347 | %{py_sitedir}/samba/tests/samba_tool/*.py[co] | |
1348 | %dir %{py_sitedir}/samba/tests/dcerpc | |
1349 | %{py_sitedir}/samba/tests/dcerpc/*.py[co] | |
1350 | %dir %{py_sitedir}/samba/web_server | |
1351 | %{py_sitedir}/samba/web_server/*.py[co] | |
1352 | %if %{without system_libs} | |
1353 | %attr(755,root,root) %{py_sitedir}/*.so | |
1354 | %{py_sitedir}/tevent.py[co] | |
fd9d8b85 | 1355 | %endif |
70ff6d03 | 1356 | |
c083eea8 | 1357 | %files test |
d1f5710a | 1358 | %defattr(644,root,root,755) |
c083eea8 JR |
1359 | %attr(755,root,root) %{_bindir}/gentest |
1360 | %attr(755,root,root) %{_bindir}/locktest | |
1361 | %attr(755,root,root) %{_bindir}/masktest | |
1362 | %attr(755,root,root) %{_bindir}/ndrdump | |
1363 | %attr(755,root,root) %{_bindir}/smbtorture | |
1364 | %attr(755,root,root) %{_libdir}/libtorture.so.*.*.* | |
1365 | %attr(755,root,root) %ghost %{_libdir}/libtorture.so.0 | |
1366 | %attr(755,root,root) %{_libdir}/samba/libsubunit.so | |
1367 | %attr(755,root,root) %{_libdir}/samba/libdlz_bind9_for_torture.so | |
c083eea8 JR |
1368 | %{_mandir}/man1/gentest.1* |
1369 | %{_mandir}/man1/locktest.1* | |
1370 | %{_mandir}/man1/masktest.1* | |
1371 | %{_mandir}/man1/ndrdump.1* | |
1372 | %{_mandir}/man1/smbtorture.1* | |
d1f5710a | 1373 | |
c083eea8 | 1374 | %files test-devel |
4ecf4d28 | 1375 | %defattr(644,root,root,755) |
c083eea8 JR |
1376 | %attr(755,root,root) %{_libdir}/libtorture.so |
1377 | %{_includedir}/samba-4.0/torture.h | |
1378 | %{_pkgconfigdir}/torture.pc | |
4ecf4d28 | 1379 | |
17937b31 | 1380 | %files -n samba3 |
c083eea8 | 1381 | %defattr(644,root,root,755) |
0b940f4e | 1382 | %attr(754,root,root) /etc/rc.d/init.d/smb |
c083eea8 JR |
1383 | %{systemdunitdir}/nmb.service |
1384 | %{systemdunitdir}/smb.service | |
c083eea8 | 1385 | %attr(755,root,root) %{_bindir}/dbwrap_tool |
c083eea8 | 1386 | %attr(755,root,root) %{_bindir}/smbcontrol |
c083eea8 | 1387 | %attr(755,root,root) %{_bindir}/smbpasswd |
c083eea8 | 1388 | %attr(755,root,root) %{_bindir}/smbstatus |
c083eea8 | 1389 | %attr(755,root,root) %{_bindir}/smbta-util |
450db13e | 1390 | %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh |
c083eea8 JR |
1391 | %attr(755,root,root) %{_sbindir}/nmbd |
1392 | %attr(755,root,root) %{_sbindir}/smbd | |
0b940f4e | 1393 | %attr(755,root,root) %{_libdir}/libnetapi.so.0 |
0b940f4e | 1394 | %attr(755,root,root) %{_libdir}/libpdb.so.0 |
0b940f4e | 1395 | %attr(755,root,root) %{_libdir}/libsmbldap.so.0 |
287950f2 JR |
1396 | %attr(755,root,root) %{_libdir}/samba/auth/samba4.so |
1397 | %attr(755,root,root) %{_libdir}/samba/auth/unix.so | |
1398 | %attr(755,root,root) %{_libdir}/samba/auth/wbc.so | |
0b940f4e JR |
1399 | %attr(755,root,root) %{_libdir}/samba/libads.so |
1400 | %attr(755,root,root) %{_libdir}/samba/libauth.so | |
0b940f4e JR |
1401 | %attr(755,root,root) %{_libdir}/samba/libcli_spoolss.so |
1402 | %attr(755,root,root) %{_libdir}/samba/libgpo.so | |
450db13e | 1403 | %attr(755,root,root) %{_libdir}/samba/libidmap.so |
0b940f4e JR |
1404 | %attr(755,root,root) %{_libdir}/samba/liblibcli_netlogon3.so |
1405 | %attr(755,root,root) %{_libdir}/samba/libnet_keytab.so | |
1406 | %attr(755,root,root) %{_libdir}/samba/libnss_info.so | |
1407 | %attr(755,root,root) %{_libdir}/samba/libpopt_samba3.so | |
1408 | %attr(755,root,root) %{_libdir}/samba/libprinting_migrate.so | |
0b940f4e JR |
1409 | %attr(755,root,root) %{_libdir}/samba/libsmbd_base.so |
1410 | %attr(755,root,root) %{_libdir}/samba/libsmbd_conn.so | |
0b940f4e | 1411 | %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper.so |
f1c7ad61 | 1412 | %attr(755,root,root) %{_libdir}/samba/libsmbsharemodes.so.0 |
287950f2 | 1413 | %attr(755,root,root) %{_libdir}/samba/libtdb_compat.so |
0b940f4e | 1414 | %attr(755,root,root) %{_libdir}/samba/libtrusts_util.so |
0b940f4e | 1415 | %attr(755,root,root) %{_libdir}/samba/libxattr_tdb.so |
c083eea8 | 1416 | %dir %{_libdir}/samba/idmap |
c083eea8 | 1417 | %attr(755,root,root) %{_libdir}/samba/idmap/ad.so |
0b940f4e | 1418 | %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so |
c083eea8 JR |
1419 | %attr(755,root,root) %{_libdir}/samba/idmap/hash.so |
1420 | %attr(755,root,root) %{_libdir}/samba/idmap/rid.so | |
1421 | %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so | |
c083eea8 | 1422 | %dir %{_libdir}/samba/vfs |
c083eea8 JR |
1423 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so |
1424 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so | |
1425 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so | |
450db13e JR |
1426 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_linux.so |
1427 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_posix.so | |
1428 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so | |
1429 | %attr(755,root,root) %{_libdir}/samba/vfs/commit.so | |
c083eea8 JR |
1430 | %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so |
1431 | %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so | |
1432 | %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so | |
1433 | %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so | |
450db13e JR |
1434 | %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so |
1435 | %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so | |
c083eea8 JR |
1436 | %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so |
1437 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so | |
1438 | %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so | |
1439 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so | |
1440 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so | |
1441 | %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so | |
1442 | %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so | |
1443 | %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so | |
0b940f4e JR |
1444 | %dir %{_libdir}/samba/pdb |
1445 | %attr(755,root,root) %{_libdir}/samba/pdb/ldap.so | |
1446 | %attr(755,root,root) %{_libdir}/samba/pdb/smbpasswd.so | |
1447 | %attr(755,root,root) %{_libdir}/samba/pdb/tdbsam.so | |
1448 | %attr(755,root,root) %{_libdir}/samba/pdb/wbc_sam.so | |
1449 | %dir %{_libdir}/samba/nss_info | |
1450 | %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so | |
1451 | %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so | |
0b940f4e | 1452 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so |
450db13e | 1453 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so |
0b940f4e | 1454 | %{_mandir}/man1/dbwrap_tool.1* |
0b940f4e | 1455 | %{_mandir}/man1/smbcontrol.1* |
0b940f4e | 1456 | %{_mandir}/man1/smbstatus.1* |
0b940f4e | 1457 | %{_mandir}/man5/smbpasswd.5* |
0b940f4e JR |
1458 | %{_mandir}/man8/idmap_ad.8* |
1459 | %{_mandir}/man8/idmap_autorid.8* | |
1460 | %{_mandir}/man8/idmap_hash.8* | |
1461 | %{_mandir}/man8/idmap_ldap.8* | |
1462 | %{_mandir}/man8/idmap_nss.8* | |
1463 | %{_mandir}/man8/idmap_rid.8* | |
1464 | %{_mandir}/man8/idmap_tdb2.8* | |
1465 | %{_mandir}/man8/idmap_tdb.8* | |
0b940f4e | 1466 | %{_mandir}/man8/nmbd.8* |
0b940f4e JR |
1467 | %{_mandir}/man8/smbd.8* |
1468 | %{_mandir}/man8/smbpasswd.8* | |
1469 | %{_mandir}/man8/smbta-util.8* | |
c083eea8 JR |
1470 | %{_mandir}/man8/vfs_acl_tdb.8* |
1471 | %{_mandir}/man8/vfs_acl_xattr.8* | |
0b940f4e JR |
1472 | %{_mandir}/man8/vfs_aio_fork.8* |
1473 | %{_mandir}/man8/vfs_aio_linux.8* | |
1474 | %{_mandir}/man8/vfs_aio_pthread.8* | |
450db13e | 1475 | %{_mandir}/man8/vfs_commit.8* |
c083eea8 JR |
1476 | %{_mandir}/man8/vfs_crossrename.8* |
1477 | %{_mandir}/man8/vfs_dirsort.8* | |
1478 | %{_mandir}/man8/vfs_fileid.8* | |
0b940f4e | 1479 | %{_mandir}/man8/vfs_media_harmony.8* |
c083eea8 JR |
1480 | %{_mandir}/man8/vfs_preopen.8* |
1481 | %{_mandir}/man8/vfs_shadow_copy2.8* | |
1482 | %{_mandir}/man8/vfs_smb_traffic_analyzer.8* | |
c083eea8 | 1483 | %{_mandir}/man8/vfs_streams_depot.8* |
0b940f4e | 1484 | %{_mandir}/man8/vfs_streams_xattr.8* |
c083eea8 JR |
1485 | %{_mandir}/man8/vfs_time_audit.8* |
1486 | %{_mandir}/man8/vfs_xattr_tdb.8* | |
c083eea8 | 1487 | |
382a477a JR |
1488 | %files -n samba3-client |
1489 | %defattr(644,root,root,755) | |
1490 | %attr(755,root,root) %{_bindir}/net | |
1491 | %attr(755,root,root) %{_bindir}/nmblookup | |
1492 | %attr(755,root,root) %{_bindir}/rpcclient | |
1493 | %attr(755,root,root) %{_bindir}/sharesec | |
1494 | %attr(755,root,root) %{_bindir}/smbcacls | |
1495 | %attr(755,root,root) %{_bindir}/smbclient | |
1496 | %attr(755,root,root) %{_bindir}/smbtree | |
382a477a JR |
1497 | %{_mandir}/man1/nmblookup.1* |
1498 | %{_mandir}/man1/rpcclient.1* | |
1499 | %{_mandir}/man1/sharesec.1* | |
1500 | %{_mandir}/man1/smbcacls.1* | |
1501 | %{_mandir}/man1/smbclient.1* | |
1502 | %{_mandir}/man1/smbtree.1* | |
287950f2 | 1503 | %{_mandir}/man8/net.8* |
382a477a | 1504 | |
17937b31 | 1505 | %files -n samba3-common |
ed426448 JR |
1506 | %defattr(644,root,root,755) |
1507 | %attr(755,root,root) %{_bindir}/eventlogadm | |
1508 | %attr(755,root,root) %{_bindir}/ntlm_auth | |
1509 | %attr(755,root,root) %{_bindir}/pdbedit | |
1510 | %attr(755,root,root) %{_bindir}/profiles | |
1511 | %attr(755,root,root) %{_bindir}/smbcquotas | |
1512 | %attr(755,root,root) %{_bindir}/testparm | |
1513 | %attr(755,root,root) %{_bindir}/vfstest | |
1514 | %dir %{_libdir}/samba/auth | |
1515 | %attr(755,root,root) %{_libdir}/samba/auth/script.so | |
1516 | %{_mandir}/man1/ntlm_auth.1* | |
1517 | %{_mandir}/man1/profiles.1* | |
1518 | %{_mandir}/man1/smbcquotas.1* | |
1519 | %{_mandir}/man1/testparm.1* | |
1520 | %{_mandir}/man1/vfstest.1* | |
1521 | %{_mandir}/man8/eventlogadm.8* | |
1522 | %{_mandir}/man8/pdbedit.8* | |
1523 | ||
f1c7ad61 JR |
1524 | %files -n samba3-devel |
1525 | %defattr(644,root,root,755) | |
450db13e JR |
1526 | %attr(755,root,root) %{_libdir}/libnetapi.so |
1527 | %attr(755,root,root) %{_libdir}/libpdb.so | |
1528 | %attr(755,root,root) %{_libdir}/libsmbldap.so | |
f1c7ad61 | 1529 | %{_includedir}/samba-4.0/lookup_sid.h |
287950f2 JR |
1530 | %{_includedir}/samba-4.0/machine_sid.h |
1531 | %{_includedir}/samba-4.0/netapi.h | |
f1c7ad61 | 1532 | %{_includedir}/samba-4.0/passdb.h |
287950f2 | 1533 | %{_includedir}/samba-4.0/smbconf.h |
f1c7ad61 JR |
1534 | %{_includedir}/samba-4.0/smb_ldap.h |
1535 | %{_includedir}/samba-4.0/smbldap.h | |
287950f2 | 1536 | %{_includedir}/samba-4.0/smb_share_modes.h |
f1c7ad61 JR |
1537 | %{_pkgconfigdir}/netapi.pc |
1538 | ||
c083eea8 JR |
1539 | %files -n samba3-vfs-audit |
1540 | %defattr(644,root,root,755) | |
1541 | %attr(755,root,root) %{_libdir}/samba/vfs/audit.so | |
1542 | %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so | |
1543 | %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so | |
1544 | %{_mandir}/man8/vfs_audit.8* | |
1545 | %{_mandir}/man8/vfs_extd_audit.8* | |
1546 | %{_mandir}/man8/vfs_full_audit.8* | |
1547 | ||
1548 | %files -n samba3-vfs-cap | |
1549 | %defattr(644,root,root,755) | |
1550 | %attr(755,root,root) %{_libdir}/samba/vfs/cap.so | |
1551 | %{_mandir}/man8/vfs_cap.8* | |
1552 | ||
1553 | %files -n samba3-vfs-default_quota | |
d1f5710a | 1554 | %defattr(644,root,root,755) |
2e711b12 | 1555 | %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so |
4d8c5e20 | 1556 | %{_mandir}/man8/vfs_default_quota.8* |
d1f5710a | 1557 | |
c083eea8 | 1558 | %files -n samba3-vfs-expand_msdfs |
d1f5710a | 1559 | %defattr(644,root,root,755) |
2e711b12 | 1560 | %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so |
d1f5710a | 1561 | |
c083eea8 | 1562 | %files -n samba3-vfs-fake_perms |
d1f5710a | 1563 | %defattr(644,root,root,755) |
2e711b12 | 1564 | %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so |
4d8c5e20 | 1565 | %{_mandir}/man8/vfs_fake_perms.8* |
d1f5710a | 1566 | |
450db13e JR |
1567 | %files -n samba3-vfs-notify_fam |
1568 | %defattr(644,root,root,755) | |
1569 | %attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so | |
1570 | %{_mandir}/man8/vfs_notify_fam.8* | |
8ba454ef | 1571 | |
c083eea8 | 1572 | %files -n samba3-vfs-netatalk |
d1f5710a | 1573 | %defattr(644,root,root,755) |
2e711b12 | 1574 | %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so |
4d8c5e20 JB |
1575 | %{_mandir}/man8/vfs_netatalk.8* |
1576 | ||
c083eea8 | 1577 | %files -n samba3-vfs-readahead |
4d8c5e20 | 1578 | %defattr(644,root,root,755) |
2e711b12 | 1579 | %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so |
4d8c5e20 | 1580 | %{_mandir}/man8/vfs_readahead.8* |
d1f5710a | 1581 | |
c083eea8 | 1582 | %files -n samba3-vfs-readonly |
97334e11 | 1583 | %defattr(644,root,root,755) |
2e711b12 | 1584 | %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so |
4d8c5e20 | 1585 | %{_mandir}/man8/vfs_readonly.8* |
97334e11 | 1586 | |
c083eea8 | 1587 | %files -n samba3-vfs-recycle |
97334e11 | 1588 | %defattr(644,root,root,755) |
2e711b12 | 1589 | %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so |
4d8c5e20 | 1590 | %{_mandir}/man8/vfs_recycle.8* |
97334e11 | 1591 | |
c083eea8 | 1592 | %files -n samba3-vfs-shadow_copy |
2e711b12 JR |
1593 | %defattr(644,root,root,755) |
1594 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so | |
1595 | %{_mandir}/man8/vfs_shadow_copy.8* | |
1596 | ||
c083eea8 | 1597 | %files -n samba3-vfs-catia |
2e711b12 JR |
1598 | %defattr(644,root,root,755) |
1599 | %attr(755,root,root) %{_libdir}/samba/vfs/catia.so | |
1600 | %{_mandir}/man8/vfs_catia.8* | |
1601 | ||
c083eea8 | 1602 | %files -n samba3-vfs-scannedonly |
d718c2e1 | 1603 | %defattr(644,root,root,755) |
2e711b12 | 1604 | %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so |
d718c2e1 AF |
1605 | %{_mandir}/man8/vfs_scannedonly.8* |
1606 | ||
c083eea8 | 1607 | %files -n samba3-smbget |
4ecf4d28 | 1608 | %defattr(644,root,root,755) |
c083eea8 JR |
1609 | %attr(755,root,root) %{_bindir}/smbget |
1610 | %{_mandir}/man1/smbget.1* | |
1611 | %{_mandir}/man5/smbgetrc.5* | |
4ecf4d28 | 1612 | |
c083eea8 JR |
1613 | %if %{with cups} |
1614 | %files -n cups-backend-samba3-smb | |
99795f36 | 1615 | %defattr(644,root,root,755) |
c083eea8 JR |
1616 | %attr(755,root,root) %{cups_serverbin}/backend/smb |
1617 | %attr(755,root,root) %{_bindir}/smbspool | |
1618 | %{_mandir}/man8/smbspool.8* | |
105507bc | 1619 | %endif |
8d59ae13 | 1620 | |
c083eea8 | 1621 | %files -n samba3-swat |
1a8c003b | 1622 | %defattr(644,root,root,755) |
c083eea8 JR |
1623 | #%doc swat/README* swat/help/* |
1624 | %doc swat/help/* | |
1625 | %attr(755,root,root) %{_sbindir}/swat | |
1626 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/swat | |
1627 | %dir %{_datadir}/samba/swat | |
1628 | %{_datadir}/samba/swat/help | |
1629 | %{_datadir}/samba/swat/images | |
1630 | %{_datadir}/samba/swat/include | |
1631 | %dir %{_datadir}/samba/swat/lang | |
1632 | %lang(ja) %{_datadir}/samba/swat/lang/ja | |
450db13e | 1633 | %lang(ru) %{_datadir}/samba/swat/lang/ru |
c083eea8 JR |
1634 | %lang(tr) %{_datadir}/samba/swat/lang/tr |
1635 | %{_mandir}/man8/swat.8* | |
1636 | %lang(de) %{_datadir}/samba/codepages/de.msg | |
1637 | %{_datadir}/samba/codepages/en.msg | |
1638 | %lang(fi) %{_datadir}/samba/codepages/fi.msg | |
1639 | %lang(fr) %{_datadir}/samba/codepages/fr.msg | |
1640 | %lang(it) %{_datadir}/samba/codepages/it.msg | |
1641 | %lang(ja) %{_datadir}/samba/codepages/ja.msg | |
1642 | %lang(nl) %{_datadir}/samba/codepages/nl.msg | |
1643 | %lang(pl) %{_datadir}/samba/codepages/pl.msg | |
1644 | %lang(ru) %{_datadir}/samba/codepages/ru* | |
1645 | %lang(tr) %{_datadir}/samba/codepages/tr.msg | |
6646cd44 | 1646 | |
382a477a JR |
1647 | %files -n samba3-winbind |
1648 | %attr(755,root,root) %{_sbindir}/winbindd | |
1649 | %attr(754,root,root) /etc/rc.d/init.d/winbind | |
1650 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind | |
1651 | %{systemdunitdir}/winbind.service | |
1652 | %{_mandir}/man8/winbindd*.8* | |
1653 | ||
1654 | %files -n nss_wins | |
1655 | %defattr(644,root,root,755) | |
1656 | %attr(755,root,root) /%{_lib}/libnss_wins* | |
1657 | ||
1658 | %files -n samba3-libsmbclient | |
1659 | %defattr(644,root,root,755) | |
1660 | %attr(755,root,root) %{_libdir}/libsmbclient.so.* | |
1661 | %attr(755,root,root) %{_libdir}/libsmbconf.so.0 | |
1662 | %attr(755,root,root) %{_libdir}/libwbclient.so.* | |
382a477a JR |
1663 | %attr(755,root,root) %{_libdir}/samba/libCHARSET3.so |
1664 | %attr(755,root,root) %{_libdir}/samba/libgse.so | |
1665 | %attr(755,root,root) %{_libdir}/samba/liblibcli_lsa3.so | |
1666 | %attr(755,root,root) %{_libdir}/samba/liblibsmb.so | |
1667 | %attr(755,root,root) %{_libdir}/samba/libmsrpc3.so | |
1668 | %attr(755,root,root) %{_libdir}/samba/libsecrets3.so | |
1669 | %attr(755,root,root) %{_libdir}/samba/libsmbregistry.so | |
1670 | %attr(755,root,root) %{_libdir}/samba/libutil_cmdline.so | |
287950f2 | 1671 | %{_mandir}/man7/libsmbclient.7* |
382a477a JR |
1672 | |
1673 | %files -n samba3-libsmbclient-devel | |
1674 | %defattr(644,root,root,755) | |
1675 | %attr(755,root,root) %{_libdir}/libsmbclient.so | |
1676 | %attr(755,root,root) %{_libdir}/libsmbconf.so | |
1677 | %attr(755,root,root) %{_libdir}/libwbclient.so | |
1678 | %{_includedir}/libsmbclient.h | |
1679 | %{_includedir}/wbclient.h | |
1680 | ||
1681 | %files -n python-samba3 | |
1682 | %defattr(644,root,root,755) | |
1683 | %dir %{py_sitedir}/samba | |
1684 | %dir %{py_sitedir}/samba/samba3 | |
1685 | %attr(755,root,root) %{py_sitedir}/samba/samba3/*.so | |
1686 | %{py_sitedir}/samba/samba3/*.py[co] | |
1687 | ||
1688 | %if %{with ldap} | |
1689 | %files -n openldap-schema-samba | |
1690 | %defattr(644,root,root,755) | |
1691 | %{schemadir}/*.schema | |
1692 | %endif | |
1693 | ||
c083eea8 | 1694 | %files todo |
6646cd44 | 1695 | %defattr(644,root,root,755) |
c083eea8 | 1696 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers |
c083eea8 JR |
1697 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba |
1698 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba | |
1699 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba | |
1700 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba | |
c083eea8 JR |
1701 | |
1702 | %dir %{_sambahome} | |
1703 | %dir /var/lib/samba | |
1704 | %ghost /var/lib/samba/*.dat | |
1705 | %dir /var/lib/samba/printing | |
1706 | ||
1707 | %attr(750,root,root) %dir /var/log/samba | |
1708 | %attr(750,root,root) %dir /var/log/samba/cores | |
1709 | %attr(750,root,root) %dir /var/log/samba/cores/smbd | |
1710 | %attr(750,root,root) %dir /var/log/samba/cores/nmbd | |
1711 | %attr(750,root,root) %dir /var/log/archive/samba | |
1712 | %attr(1777,root,root) %dir /var/spool/samba | |
1713 | %if %{with ldap} | |
1714 | %doc examples/LDAP | |
1715 | %endif |