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