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