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