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