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