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