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