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