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