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