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