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