]>
Commit | Line | Data |
---|---|---|
29511e6d | 1 | # |
e4bb74d8 | 2 | # Conditional build: |
a3c4e78e JB |
3 | %bcond_without ads # ActiveDirectory support |
4 | %bcond_without cups # CUPS support | |
5 | %bcond_without ldap # LDAP support | |
6 | %bcond_without avahi # Avahi support | |
a9009cd3 | 7 | %bcond_without system_libs # system libraries (talloc,tdb,tevent,ldb,ntdb) |
105507bc | 8 | |
e71e0470 JR |
9 | %if %{with system_libs} |
10 | %define talloc_ver 2.0.7 | |
cd86127c JR |
11 | %define tdb_ver 2:1.2.11 |
12 | %define ldb_ver 1.1.16 | |
f6857f17 | 13 | %define tevent_ver 0.9.18 |
c04968c4 | 14 | %define ntdb_ver 0.9 |
4ecf4d28 JB |
15 | %endif |
16 | ||
a3c4e78e JB |
17 | %include /usr/lib/rpm/macros.perl |
18 | ||
7d14b7f3 | 19 | %define virusfilter_version 0.1.3 |
c6a4fcd1 JR |
20 | Summary: Samba Active Directory and SMB server |
21 | Summary(pl.UTF-8): Serwer Samba Active Directory i SMB | |
c48f10a7 | 22 | Name: samba |
a9009cd3 | 23 | Version: 4.1.4 |
cb0715af | 24 | Release: 3 |
6646cd44 | 25 | Epoch: 1 |
6bef715a | 26 | License: GPL v3 |
11d2c190 | 27 | Group: Networking/Daemons |
670da5b0 | 28 | Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz |
a9009cd3 | 29 | # Source0-md5: c7871012ac40b8c74afff42bbd873bd7 |
ba850b61 | 30 | Source1: smb.init |
46c25e95 | 31 | Source2: samba.pamd |
46c25e95 JR |
32 | Source4: samba.sysconfig |
33 | Source5: samba.logrotate | |
138aecb0 | 34 | Source6: smb.conf |
68134596 | 35 | Source7: winbind.init |
36 | Source8: winbind.sysconfig | |
cd86127c | 37 | Source9: samba.init |
46c25e95 | 38 | Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2 |
7d14b7f3 | 39 | # Source10-md5: a3a30d5fbf309d356e8c5833db680c17 |
34895621 | 40 | Patch0: system-heimdal.patch |
46c25e95 | 41 | Patch1: samba-c++-nofail.patch |
0d6de682 JR |
42 | Patch2: samba-lprng-no-dot-printers.patch |
43 | Patch3: systemd-pid-dir.patch | |
44 | Patch4: unicodePwd-nthash-values-over-LDAP.patch | |
45 | Patch5: link.patch | |
46 | Patch6: server-role.patch | |
7a52c5df | 47 | URL: http://www.samba.org/ |
bd658e80 | 48 | BuildRequires: acl-devel |
ea8d81e5 | 49 | BuildRequires: autoconf |
017136ce | 50 | BuildRequires: automake |
a0d23d1e | 51 | %{?with_avahi:BuildRequires: avahi-devel} |
95229e05 | 52 | BuildRequires: ceph-devel >= 0.73 |
aceac5ef | 53 | BuildRequires: ctdb-devel |
62dc8910 | 54 | %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0} |
51bcdd9a | 55 | BuildRequires: dmapi-devel |
a3c759b7 | 56 | BuildRequires: docbook-style-xsl |
5b010594 | 57 | BuildRequires: gamin-devel |
ff01b4ff | 58 | BuildRequires: gdbm-devel |
9f74dab7 | 59 | BuildRequires: gettext-devel |
1ae9cf92 | 60 | BuildRequires: glusterfs-devel |
3dbf1ce9 | 61 | BuildRequires: gnutls-devel |
8e43bad6 | 62 | BuildRequires: heimdal-devel >= 1.5.3-1 |
9f74dab7 | 63 | BuildRequires: iconv |
1125cc60 | 64 | BuildRequires: keyutils-devel |
a3c759b7 | 65 | BuildRequires: libaio-devel |
34895621 | 66 | BuildRequires: libcom_err-devel |
53ce942a | 67 | BuildRequires: libmagic-devel |
4d8c5e20 | 68 | BuildRequires: libnscd-devel |
f092c096 | 69 | BuildRequires: libtool >= 2:1.4d |
40d90f9e | 70 | BuildRequires: make >= 3.81 |
0f00e211 | 71 | BuildRequires: ncurses-devel >= 5.2 |
e9c7865a | 72 | BuildRequires: ncurses-ext-devel >= 5.2 |
78d04323 | 73 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
793ad0f8 | 74 | BuildRequires: pam-devel >= 0.99.8.1 |
a3c4e78e JB |
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 |
a3c4e78e | 85 | BuildRequires: rpm-perlprov |
a3c759b7 | 86 | BuildRequires: rpm-pythonprov |
6a43f27b | 87 | BuildRequires: rpmbuild(macros) >= 1.647 |
e155c475 | 88 | BuildRequires: sed >= 4.0 |
e71e0470 | 89 | %if %{with system_libs} |
e71e0470 | 90 | BuildRequires: ldb-devel >= %{ldb_ver} |
a9009cd3 | 91 | BuildRequires: ntdb-devel >= %{ntdb_ver} |
2fe4d181 | 92 | BuildRequires: python-ntdb >= %{ntdb_ver} |
e71e0470 JR |
93 | BuildRequires: python-ldb-devel >= %{ldb_ver} |
94 | BuildRequires: python-talloc-devel >= %{talloc_ver} | |
95 | BuildRequires: python-tevent >= %{tevent_ver} | |
05913998 JR |
96 | BuildRequires: talloc-devel >= %{talloc_ver} |
97 | BuildRequires: tdb-devel >= %{tdb_ver} | |
98 | BuildRequires: tevent-devel >= %{tevent_ver} | |
e71e0470 | 99 | %endif |
bd658e80 | 100 | BuildRequires: xfsprogs-devel |
34895621 | 101 | BuildConflicts: libbsd-devel |
656b05ab | 102 | Requires(post,preun): /sbin/chkconfig |
6646cd44 | 103 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 JR |
104 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
105 | Requires: python-samba = %{epoch}:%{version}-%{release} | |
cd83be60 | 106 | Requires: logrotate >= 3.7-4 |
793ad0f8 | 107 | Requires: pam >= 0.99.8.1 |
8bf54aa6 | 108 | Requires: rc-scripts >= 0.4.0.12 |
27879fe9 | 109 | Requires: setup >= 2.4.6-7 |
dce29ff7 | 110 | Requires: systemd-units >= 38 |
62dc8910 | 111 | # smbd links with libcups |
ac083993 | 112 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} |
e765216e JR |
113 | Obsoletes: samba-doc-html |
114 | Obsoletes: samba-doc-pdf | |
05913998 | 115 | Obsoletes: samba-pdb-xml |
c6a4fcd1 JR |
116 | Obsoletes: samba-vfs-block |
117 | Obsoletes: samba-vfs-audit | |
118 | Obsoletes: samba-vfs-cap | |
119 | Obsoletes: samba-vfs-catia | |
120 | Obsoletes: samba-vfs-default_quota | |
121 | Obsoletes: samba-vfs-expand_msdfs | |
122 | Obsoletes: samba-vfs-fake_perms | |
123 | Obsoletes: samba-vfs-netatalk | |
124 | Obsoletes: samba-vfs-recycle | |
125 | Obsoletes: samba-vfs-readahead | |
126 | Obsoletes: samba-vfs-readonly | |
127 | Obsoletes: samba-vfs-scannedonly | |
128 | Obsoletes: samba-vfs-shadow_copy | |
c93984f5 | 129 | Obsoletes: samba3 |
c6a4fcd1 JR |
130 | Obsoletes: samba3-server |
131 | Obsoletes: samba3-vfs-audit | |
132 | Obsoletes: samba3-vfs-cap | |
133 | Obsoletes: samba3-vfs-catia | |
134 | Obsoletes: samba3-vfs-default_quota | |
135 | Obsoletes: samba3-vfs-expand_msdfs | |
136 | Obsoletes: samba3-vfs-fake_perms | |
137 | Obsoletes: samba3-vfs-netatalk | |
138 | Obsoletes: samba3-vfs-recycle | |
139 | Obsoletes: samba3-vfs-readahead | |
140 | Obsoletes: samba3-vfs-readonly | |
141 | Obsoletes: samba3-vfs-scannedonly | |
142 | Obsoletes: samba3-vfs-shadow_copy | |
c93984f5 | 143 | Obsoletes: samba4 |
c6a4fcd1 | 144 | Obsoletes: samba4-common-server |
da3dadf3 | 145 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1925a8b4 | 146 | |
c10bc67e | 147 | %define _sambahome /home/services/samba |
ddea14b0 | 148 | %if %{with cups} |
478e9eab | 149 | %define cups_serverbin %{_prefix}/lib/cups |
fd9d8b85 | 150 | %endif |
99795f36 | 151 | %define schemadir /usr/share/openldap/schema |
92c45d25 | 152 | |
01485082 ER |
153 | # CFLAGS modified (the second ./configure) |
154 | %undefine configure_cache | |
155 | ||
e11c6ca1 | 156 | %description |
cfa67cf6 | 157 | Samba provides an SMB server which can be used to provide network |
158 | services to SMB (sometimes called "Lan Manager") clients, including | |
159 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
160 | also provides some SMB clients, which complement the built-in SMB | |
161 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
162 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
e11c6ca1 | 163 | |
96088f7b JR |
164 | %description -l pl.UTF-8 |
165 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
166 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
167 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
168 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
169 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
170 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
171 | haseł w standardzie MS i zarządzania bazą WINS. | |
172 | ||
ac6f9d13 | 173 | %package client |
aef2ec68 JR |
174 | Summary: Samba client programs |
175 | Summary(pl.UTF-8): Klienci serwera Samba | |
2eedd257 | 176 | Group: Applications/Networking |
6646cd44 | 177 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 178 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
fe5b5b93 | 179 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
17dffdb7 | 180 | Requires: heimdal-libs >= 1.5.3-1 |
b0b9dc36 | 181 | Suggests: cifs-utils |
aef2ec68 | 182 | Obsoletes: samba3-client |
c93984f5 | 183 | Obsoletes: samba4-client |
85d322d3 | 184 | Obsoletes: smbfs |
ac6f9d13 MC |
185 | |
186 | %description client | |
187 | Samba-client provides some SMB clients, which complement the build-in | |
188 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
189 | printing to SMB printers. | |
190 | ||
96088f7b JR |
191 | %description client -l pl.UTF-8 |
192 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
193 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
bd658e80 | 194 | drukowanie w sieci SMB. |
ac6f9d13 MC |
195 | |
196 | %package common | |
ea8d81e5 | 197 | Summary: Files used by both Samba servers and clients |
a3c4e78e | 198 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samby |
2eedd257 | 199 | Group: Networking/Daemons |
17dffdb7 | 200 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
5a89b1cc | 201 | Requires: python-samba = %{epoch}:%{version}-%{release} |
4f12cc62 | 202 | Obsoletes: samba3-common |
c93984f5 | 203 | Obsoletes: samba4-common |
ac6f9d13 MC |
204 | |
205 | %description common | |
206 | Samba-common provides files necessary for both the server and client | |
207 | packages of Samba. | |
208 | ||
96088f7b JR |
209 | %description common -l pl.UTF-8 |
210 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i | |
4ecf4d28 | 211 | klientów Samby. |
ac6f9d13 | 212 | |
d7a7a298 | 213 | %package libs |
17dffdb7 | 214 | Summary: Samba shared libraries |
9a90ed45 | 215 | Summary(pl.UTF-8): Biblioteki współdzielone Samby |
17dffdb7 | 216 | Group: Libraries |
d7a7a298 JR |
217 | %if %{with system_libs} |
218 | Requires: ldb >= %{ldb_ver} | |
219 | Requires: ntdb >= %{ntdb_ver} | |
220 | Requires: talloc >= %{talloc_ver} | |
221 | Requires: tdb >= %{tdb_ver} | |
222 | Requires: tevent >= %{tevent_ver} | |
223 | %endif | |
224 | ||
225 | %description libs | |
17dffdb7 | 226 | Samba shared libraries. |
d7a7a298 JR |
227 | |
228 | %description libs -l pl.UTF-8 | |
9a90ed45 | 229 | Biblioteki współdzielone Samby. |
d7a7a298 | 230 | |
29511e6d | 231 | %package winbind |
29511e6d | 232 | Summary: Samba-winbind daemon, utilities and documentation |
fa1faeca | 233 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja |
29511e6d | 234 | Group: Networking/Daemons |
29511e6d | 235 | Requires(post,preun): /sbin/chkconfig |
8ef2303e | 236 | Requires(post,preun,postun): systemd-units >= 38 |
6646cd44 | 237 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 238 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
8ef2303e JR |
239 | Requires: systemd-units >= 38 |
240 | Obsoletes: samba3-winbind | |
c93984f5 | 241 | Obsoletes: samba4-winbind |
29511e6d | 242 | |
243 | %description winbind | |
244 | Provides the winbind daemon and testing tools to allow authentication | |
245 | and group/user enumeration from a Windows or Samba domain controller. | |
246 | ||
96088f7b JR |
247 | %description winbind -l pl.UTF-8 |
248 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
249 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
4d750758 JB |
250 | Windows lub Samba. |
251 | ||
f2b0247b ER |
252 | %package devel |
253 | Summary: Header files for Samba | |
fa1faeca | 254 | Summary(pl.UTF-8): Pliki nagłówkowe Samby |
f2b0247b | 255 | Group: Development/Libraries |
17dffdb7 | 256 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
31de16f4 | 257 | Obsoletes: samba3-devel |
c93984f5 | 258 | Obsoletes: samba4-devel |
f2b0247b ER |
259 | |
260 | %description devel | |
261 | Header files for Samba. | |
262 | ||
96088f7b JR |
263 | %description devel -l pl.UTF-8 |
264 | Pliki nagłówkowe Samby. | |
9c05ac07 | 265 | |
c48f10a7 | 266 | %package -n pam-pam_smbpass |
382a477a JR |
267 | Summary: PAM Samba Password Module |
268 | Summary(pl.UTF-8): Moduł PAM smbpass | |
269 | Group: Base | |
17dffdb7 | 270 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
5a89b1cc JR |
271 | Obsoletes: pam_smbpass |
272 | Obsoletes: pam-pam_smbpass3 | |
382a477a | 273 | |
c48f10a7 | 274 | %description -n pam-pam_smbpass |
382a477a JR |
275 | PAM module which can be used on conforming systems to keep the |
276 | smbpasswd (Samba password) database in sync with the Unix password | |
277 | file. | |
278 | ||
c48f10a7 | 279 | %description -n pam-pam_smbpass -l pl.UTF-8 |
382a477a JR |
280 | Moduł PAM, który może być używany do trzymania pliku smbpasswd (hasła |
281 | Samby) zsynchronizowanego z hasłami uniksowymi. | |
282 | ||
283 | %package pidl | |
284 | Summary: Perl IDL compiler | |
a3c4e78e | 285 | Summary(pl.UTF-8): Kompilator IDL w Perlu |
382a477a | 286 | Group: Development/Tools |
c93984f5 | 287 | Obsoletes: samba4-pidl |
382a477a JR |
288 | |
289 | %description pidl | |
c48f10a7 | 290 | The samba-pidl package contains the Perl IDL compiler used by Samba |
382a477a JR |
291 | and Wireshark to parse IDL and similar protocols. |
292 | ||
a3c4e78e JB |
293 | %description pidl -l pl.UTF-8 |
294 | Ten pakiet zawiera kompilator IDL napisany w Perlu, używany przez | |
295 | Sambę oraz Wiresharka to analizy IDL i podobnych protokołów. | |
296 | ||
025a78ca | 297 | %package -n python-samba |
382a477a | 298 | Summary: Samba Module for Python |
a3c4e78e | 299 | Summary(pl.UTF-8): Moduł Samba dla Pythona |
382a477a | 300 | Group: Development/Languages/Python |
382a477a | 301 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 302 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
6a43f27b | 303 | Requires: python |
b069341b JR |
304 | Requires: python-dns |
305 | Requires: python-modules | |
8e43bad6 JR |
306 | %if %{with system_libs} |
307 | Requires: python-ldb >= %{ldb_ver} | |
a9009cd3 | 308 | Requires: python-ntdb >= %{ntdb_ver} |
8e43bad6 JR |
309 | Requires: python-talloc >= %{talloc_ver} |
310 | Requires: python-tevent >= %{tevent_ver} | |
311 | %endif | |
025a78ca | 312 | Obsoletes: python-samba4 |
382a477a | 313 | |
025a78ca | 314 | %description -n python-samba |
382a477a JR |
315 | Samba Module for Python. |
316 | ||
025a78ca | 317 | %description -n python-samba -l pl.UTF-8 |
a3c4e78e JB |
318 | Moduł Samba dla Pythona. |
319 | ||
382a477a JR |
320 | %package test |
321 | Summary: Testing tools for Samba servers and clients | |
a3c4e78e | 322 | Summary(pl.UTF-8): Narzędzia testowe dla serwerów i klientów Samby |
382a477a JR |
323 | Group: Applications/System |
324 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
325 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
17dffdb7 | 326 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
382a477a | 327 | Requires: %{name}-winbind = %{epoch}:%{version}-%{release} |
c93984f5 | 328 | Obsoletes: samba4-test |
382a477a JR |
329 | |
330 | %description test | |
c48f10a7 | 331 | samba-test provides testing tools for both the server and client |
382a477a JR |
332 | packages of Samba. |
333 | ||
a3c4e78e JB |
334 | %description test -l pl.UTF-8 |
335 | Narzędzia testowe dla serwerów i klientów Samby. | |
336 | ||
382a477a | 337 | %package test-devel |
a3c4e78e JB |
338 | Summary: Testing development files for Samba servers and clients |
339 | Summary(pl.UTF-8): Pliki programistyczne narzędzi testowych dla serwerów i klientów Samby | |
382a477a JR |
340 | Group: Applications/System |
341 | Requires: %{name}-test = %{epoch}:%{version}-%{release} | |
c93984f5 | 342 | Obsoletes: samba4-test-devel |
382a477a JR |
343 | |
344 | %description test-devel | |
a3c4e78e JB |
345 | samba-test-devel provides development files for the library used by |
346 | testing tools for both the server and client packages of Samba. | |
347 | ||
348 | %description test-devel -l pl.UTF-8 | |
349 | Ten pakiet zawiera pliki programistyczne biblioteki wykorzystywanej | |
350 | przez narzędzia testowe dla serwerów i klientów Samby. | |
382a477a | 351 | |
025a78ca | 352 | %package -n samba-vfs-ceph |
9a90ed45 | 353 | Summary: VFS module to host shares on Ceph file system |
01d12910 JR |
354 | Summary(pl.UTF-8): Moduł VFS do serwowania zasobów z systemu plików Ceph |
355 | Group: Networking/Daemons | |
025a78ca | 356 | Requires: %{name} = %{epoch}:%{version}-%{release} |
01d12910 | 357 | |
025a78ca | 358 | %description -n samba-vfs-ceph |
9a90ed45 | 359 | VFS module to host shares on Ceph file system. |
01d12910 JR |
360 | |
361 | This module only works with the libceph.so user-space client. It is | |
362 | not needed if you are using the kernel client or the FUSE client. | |
363 | ||
025a78ca | 364 | %description -n samba-vfs-ceph -l pl.UTF-8 |
01d12910 JR |
365 | Moduł VFS do serwowania zasobów z systemu plików Ceph |
366 | ||
9a90ed45 JB |
367 | Ten moduł działa jedynie z klientem przestrzeni użytkownika |
368 | libceph.so. Jest zbędny w przypadku używania klienta dostarczanego | |
369 | przez jądro lub FUSE. | |
01d12910 | 370 | |
025a78ca | 371 | %package -n samba-vfs-glusterfs |
01d12910 JR |
372 | Summary: VFS module to host shares on GlusterFS file system |
373 | Summary(pl.UTF-8): Moduł VFS do serwowania zasobów z systemu plików GlusterFS | |
374 | Group: Networking/Daemons | |
025a78ca | 375 | Requires: %{name} = %{epoch}:%{version}-%{release} |
01d12910 | 376 | |
025a78ca | 377 | %description -n samba-vfs-glusterfs |
01d12910 JR |
378 | VFS module to host shares on GlusterFS file system. |
379 | ||
025a78ca | 380 | %description -n samba-vfs-glusterfs -l pl.UTF-8 |
01d12910 JR |
381 | Moduł VFS do serwowania zasobów z systemu plików GlusterFS. |
382 | ||
025a78ca | 383 | %package -n samba-vfs-notify_fam |
9f74dab7 | 384 | Summary: VFS module to implement file change notifications |
8ba454ef AM |
385 | Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach |
386 | Group: Networking/Daemons | |
025a78ca JR |
387 | Requires: %{name} = %{epoch}:%{version}-%{release} |
388 | Obsoletes: samba3-vfs-notify_fam | |
8ba454ef | 389 | |
025a78ca | 390 | %description -n samba-vfs-notify_fam |
8ba454ef AM |
391 | The vfs_notify_fam module makes use of the system FAM (File Alteration |
392 | Monitor) daemon to implement file change notifications for Windows | |
393 | clients. | |
394 | ||
025a78ca | 395 | %description -n samba-vfs-notify_fam -l pl.UTF-8 |
8ba454ef AM |
396 | Ten moduł używa demona FAM (File Alteration Monitor) do implementacji |
397 | informowania o zmianach w plikach dla klientów Windows. | |
398 | ||
025a78ca | 399 | %package -n smbget |
382a477a JR |
400 | Summary: A utility for retrieving files using the SMB protocol |
401 | Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB | |
402 | Group: Applications/Networking | |
17dffdb7 | 403 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
025a78ca | 404 | Obsoletes: smbget3 |
4ecf4d28 | 405 | |
025a78ca | 406 | %description -n smbget |
a3c4e78e | 407 | wget-like utility for downloading files over SMB. |
4ecf4d28 | 408 | |
025a78ca | 409 | %description -n smbget -l pl.UTF-8 |
382a477a JR |
410 | Narzędzie podobne do wgeta do pobierania plików protokołem SMB |
411 | używanym w sieciach MS Windows. | |
4ecf4d28 | 412 | |
025a78ca | 413 | %package -n cups-backend-smb |
382a477a JR |
414 | Summary: CUPS backend for printing to SMB printers |
415 | Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB | |
416 | Group: Applications/Printing | |
aef2ec68 | 417 | Requires: %{name}-client = %{epoch}:%{version}-%{release} |
5a89b1cc | 418 | Requires: cups >= 1:1.2.0 |
025a78ca | 419 | Obsoletes: cups-backend-smb3 |
4ecf4d28 | 420 | |
025a78ca | 421 | %description -n cups-backend-smb |
382a477a | 422 | CUPS backend for printing to SMB printers. |
99795f36 | 423 | |
025a78ca | 424 | %description -n cups-backend-smb -l pl.UTF-8 |
382a477a | 425 | Backend CUPS-a drukujący na drukarkach SMB. |
99795f36 | 426 | |
025a78ca | 427 | %package -n nss_wins |
382a477a JR |
428 | Summary: Name Service Switch service for WINS |
429 | Summary(pl.UTF-8): Usługa Name Service Switch dla WINS | |
430 | Group: Base | |
8e43bad6 | 431 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
17dffdb7 | 432 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
025a78ca | 433 | Obsoletes: nss_wins3 |
382a477a | 434 | |
025a78ca | 435 | %description -n nss_wins |
382a477a JR |
436 | Provides the libnss_wins shared library which resolves NetBIOS names |
437 | to IP addresses. | |
438 | ||
025a78ca | 439 | %description -n nss_wins -l pl.UTF-8 |
382a477a JR |
440 | Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy |
441 | IP. | |
442 | ||
fe5b5b93 | 443 | %package -n libsmbclient |
a3c4e78e JB |
444 | Summary: libsmbclient and libwbclient - Samba client libraries |
445 | Summary(pl.UTF-8): libsmbclient i libwbclient - biblioteki klienckie Samby | |
382a477a | 446 | Group: Libraries |
17dffdb7 | 447 | Requires: %{name}-libs = %{epoch}:%{version}-%{release} |
fe5b5b93 | 448 | Obsoletes: samba3-libsmbclient |
382a477a | 449 | |
fe5b5b93 | 450 | %description -n libsmbclient |
a3c4e78e JB |
451 | libsmbclient and libwbclient - libraries that allow to use Samba |
452 | client functions. | |
382a477a | 453 | |
fe5b5b93 | 454 | %description -n libsmbclient -l pl.UTF-8 |
a3c4e78e JB |
455 | libsmbclient i libwbclient - biblioteki pozwalające korzystać z funcji |
456 | klienta Samby. | |
382a477a | 457 | |
fe5b5b93 | 458 | %package -n libsmbclient-devel |
a3c4e78e JB |
459 | Summary: Development files for Samba client libraries |
460 | Summary(pl.UTF-8): Pliki programistyczne bibliotek klienta Samby | |
382a477a | 461 | Group: Development/Libraries |
fe5b5b93 | 462 | Requires: libsmbclient = %{epoch}:%{version}-%{release} |
277b5368 | 463 | Obsoletes: libsmbclient-static |
fe5b5b93 | 464 | Obsoletes: samba3-libsmbclient-devel |
6646cd44 | 465 | |
fe5b5b93 | 466 | %description -n libsmbclient-devel |
a3c4e78e | 467 | Header files for libsmbclient and libwbclient libraries. |
6646cd44 | 468 | |
fe5b5b93 | 469 | %description -n libsmbclient-devel -l pl.UTF-8 |
a3c4e78e | 470 | Pliki nagłówkowe bibliotek libsmbclient i libwbclient. |
c083eea8 | 471 | |
025a78ca | 472 | %package -n openldap-schema-samba |
382a477a | 473 | Summary: Samba LDAP schema |
a3c4e78e | 474 | Summary(pl.UTF-8): Schemat LDAP dla Samby |
ed426448 | 475 | Group: Networking/Daemons |
382a477a JR |
476 | Requires(post,postun): sed >= 4.0 |
477 | Requires: openldap-servers | |
025a78ca | 478 | Obsoletes: openldap-schema-samba3 |
ed426448 | 479 | |
025a78ca | 480 | %description -n openldap-schema-samba |
a3c4e78e | 481 | This package contains samba.schema for OpenLDAP. |
382a477a | 482 | |
025a78ca | 483 | %description -n openldap-schema-samba -l pl.UTF-8 |
a3c4e78e | 484 | Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a. |
ed426448 | 485 | |
1925a8b4 | 486 | %prep |
670da5b0 | 487 | %setup -q -n samba-%{version} |
34895621 | 488 | %patch0 -p1 |
8932759c | 489 | %patch1 -p1 |
0d6de682 JR |
490 | %patch2 -p1 |
491 | %patch3 -p1 | |
ce9af3e2 | 492 | %patch4 -p1 |
450db13e | 493 | %patch5 -p1 |
2aa9f2b6 | 494 | %patch6 -p1 |
6fb3721a | 495 | |
7f7b5c36 JR |
496 | sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python|' source4/scripting/bin/samba* |
497 | sed -i -e 's|#!/usr/bin/env perl|#!/usr/bin/perl|' pidl/pidl | |
498 | ||
1925a8b4 | 499 | %build |
34895621 JR |
500 | LDFLAGS="${LDFLAGS:-%rpmldflags}" \ |
501 | CFLAGS="${CFLAGS:-%rpmcflags}" \ | |
502 | CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \ | |
503 | FFLAGS="${FFLAGS:-%rpmcflags}" \ | |
504 | FCFLAGS="${FCFLAGS:-%rpmcflags}" \ | |
505 | CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \ | |
506 | %{?__cc:CC="%{__cc}"} \ | |
507 | %{?__cxx:CXX="%{__cxx}"} \ | |
508 | ./configure \ | |
509 | --enable-fhs \ | |
510 | --prefix=%{_prefix} \ | |
511 | --exec-prefix=%{_exec_prefix} \ | |
512 | --bindir=%{_bindir} \ | |
513 | --sbindir=%{_sbindir} \ | |
514 | --sysconfdir=%{_sysconfdir} \ | |
515 | --datadir=%{_datadir} \ | |
516 | --includedir=%{_includedir} \ | |
517 | --libdir=%{_libdir} \ | |
518 | --libexecdir=%{_libexecdir} \ | |
519 | --localstatedir=%{_localstatedir} \ | |
520 | --sharedstatedir=%{_sharedstatedir} \ | |
521 | --mandir=%{_mandir} \ | |
522 | --infodir=%{_infodir} \ | |
2e711b12 JR |
523 | --with-privatelibdir=%{_libdir}/samba \ |
524 | --with-modulesdir=%{_libdir}/samba \ | |
01485082 | 525 | --with-pammodulesdir=/%{_lib}/security \ |
34895621 JR |
526 | --with-lockdir=/var/lib/samba \ |
527 | --with-privatedir=%{_sysconfdir}/samba \ | |
34895621 | 528 | --disable-rpath-install \ |
5c9e395f | 529 | --builtin-libraries=replace,ccan \ |
a9009cd3 | 530 | --bundled-libraries=NONE,subunit,iniparser,%{!?with_system_libs:talloc,tdb,ldb,ntdb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util} \ |
d7a7a298 | 531 | --with-shared-modules=idmap_ad,idmap_adex,idmap_hash,idmap_ldap,idmap_rid,idmap_tdb2,auth_samba4,vfs_dfs_samba4 \ |
f4f0ea2d | 532 | --with-acl-support \ |
34895621 | 533 | --with%{!?with_ads:out}-ads \ |
40d90f9e | 534 | --with-aio-support \ |
432ee34d | 535 | --with-automount \ |
34895621 JR |
536 | --with-dmapi \ |
537 | --with-dnsupdate \ | |
538 | --with-iconv \ | |
539 | --with%{!?with_ldap:out}-ldap \ | |
d1d64cbe | 540 | --with-pam \ |
29511e6d | 541 | --with-pam_smbpass \ |
4ef99dd8 | 542 | --with-quotas \ |
e9c7865a | 543 | --with-regedit \ |
34895621 | 544 | --with-sendfile-support \ |
4ef99dd8 | 545 | --with-syslog \ |
546 | --with-utmp \ | |
34895621 | 547 | --with-winbind \ |
66e5c63e | 548 | --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \ |
34895621 JR |
549 | --enable-cups \ |
550 | --enable-iprint | |
1925a8b4 | 551 | |
70ff6d03 | 552 | %{__make} |
192f48a8 | 553 | |
6646cd44 JR |
554 | # Build PIDL for installation into vendor directories before |
555 | # 'make proto' gets to it. | |
556 | cd pidl | |
557 | %{__perl} Makefile.PL \ | |
558 | INSTALLDIRS=vendor | |
559 | ||
1925a8b4 | 560 | %install |
561 | rm -rf $RPM_BUILD_ROOT | |
cd86127c | 562 | 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 | 563 | $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \ |
08bf002e | 564 | $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \ |
2e711b12 JR |
565 | $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \ |
566 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
ba850b61 | 567 | |
34895621 | 568 | %{__make} install \ |
bd658e80 | 569 | DESTDIR=$RPM_BUILD_ROOT \ |
29511e6d | 570 | CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba |
bd658e80 | 571 | |
6646cd44 | 572 | # Undo the PIDL install, we want to try again with the right options. |
9a90ed45 | 573 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/perl5 |
6646cd44 JR |
574 | |
575 | # Install PIDL | |
9a90ed45 | 576 | %{__make} -C pidl install \ |
6646cd44 | 577 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT |
6646cd44 JR |
578 | |
579 | # Clean out crap left behind by the PIDL install | |
580 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/wscript_build | |
581 | %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp | |
fbf926f3 | 582 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Parse/Pidl/.packlist |
6646cd44 | 583 | |
42039dcb JR |
584 | # not ready for production, and no MIT kerberos in PLD |
585 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mit_samba.so | |
586 | ||
b25f7233 | 587 | install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir} |
1925a8b4 | 588 | |
2e711b12 JR |
589 | install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf |
590 | install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
591 | install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir} | |
592 | install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
593 | install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir} | |
594 | ||
b25f7233 ER |
595 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb |
596 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba | |
b25f7233 ER |
597 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba |
598 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba | |
3dbf1ce9 | 599 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf |
b25f7233 ER |
600 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind |
601 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind | |
cd86127c JR |
602 | install -p %{SOURCE9} $RPM_BUILD_ROOT/etc/rc.d/init.d/samba |
603 | ||
604 | echo "LDB_MODULES_PATH=%{_libdir}/samba/ldb" > $RPM_BUILD_ROOT/etc/env.d/LDB_MODULES_PATH | |
29511e6d | 605 | |
34895621 JR |
606 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib} |
607 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib} | |
608 | install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir} | |
79d8a749 | 609 | |
6a2e83e0 | 610 | touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat} |
1925a8b4 | 611 | |
01485082 | 612 | echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts |
8b604b68 | 613 | |
b0c1c6a5 | 614 | %if "%{_lib}" == "lib64" |
17dffdb7 JR |
615 | echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba64.conf |
616 | %else | |
b069341b | 617 | echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba.conf |
17dffdb7 | 618 | %endif |
b069341b | 619 | |
ddea14b0 | 620 | %if %{with cups} |
fd9d8b85 JB |
621 | install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend |
622 | ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb | |
623 | %endif | |
9f6f5df1 | 624 | |
29511e6d | 625 | > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers |
8b604b68 | 626 | > $RPM_BUILD_ROOT/etc/security/blacklist.samba |
11d2c190 | 627 | |
105507bc | 628 | %if %{with ldap} |
99795f36 | 629 | install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir} |
105507bc | 630 | %endif |
99795f36 | 631 | |
7a0e596a | 632 | # remove man pages for not installed commands |
fbf926f3 | 633 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1* |
fbf926f3 JR |
634 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_cacheprime.8* |
635 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_gpfs.8* | |
636 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_prealloc.8* | |
637 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_tsmsm.8* | |
7a0e596a | 638 | |
1a8c003b AM |
639 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
640 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
f6857f17 | 641 | %py_postclean |
1a8c003b | 642 | |
ea8d81e5 JB |
643 | %clean |
644 | rm -rf $RPM_BUILD_ROOT | |
9661cd11 | 645 | |
1925a8b4 | 646 | %post |
cd86127c | 647 | /sbin/chkconfig --add samba |
c6a4fcd1 | 648 | /sbin/chkconfig --add smb |
cd86127c | 649 | %service samba restart "Samba AD daemon" |
c48f10a7 | 650 | %service smb restart "Samba SMB daemons" |
dce29ff7 | 651 | %systemd_post samba.service |
c6a4fcd1 | 652 | %systemd_post smb.service nmb.service |
1925a8b4 | 653 | |
654 | %preun | |
cd86127c JR |
655 | if [ "$1" = "0" ]; then |
656 | %service samba stop | |
c6a4fcd1 | 657 | %service smb stop |
cd86127c | 658 | /sbin/chkconfig --del samba |
c6a4fcd1 | 659 | /sbin/chkconfig --del smb |
cd86127c | 660 | fi |
dce29ff7 | 661 | %systemd_preun samba.service |
c6a4fcd1 | 662 | %systemd_preun smb.service nmb.service |
dce29ff7 JR |
663 | |
664 | %postun | |
665 | %systemd_reload | |
11d2c190 | 666 | |
c48f10a7 | 667 | %triggerpostun -- samba3 |
382a477a | 668 | /sbin/chkconfig --add smb |
c48f10a7 | 669 | %service smb restart "Samba SMB daemons" |
1a90c755 | 670 | %systemd_post smb.service nmb.service |
382a477a | 671 | |
c48f10a7 JR |
672 | %triggerpostun -- samba4 |
673 | /sbin/chkconfig --add samba | |
674 | %service samba restart "Samba AD daemons" | |
675 | %systemd_post samba.service | |
676 | ||
30cb0b6f JR |
677 | %triggerpostun -- samba4 < 1:4.1.1-1 |
678 | # CVE-2013-4476 | |
679 | [ -e %{_sysconfdir}/samba/tls/key.pem ] || exit 0 | |
680 | PERMS=$(stat -c %a %{_sysconfdir}/samba/tls/key.pem) | |
681 | if [ "$PERMS" != "600" ]; then | |
682 | chmod 600 %{_sysconfdir}/samba/tls/key.pem || : | |
683 | echo "Fixed permissions of private key file %{_sysconfdir}/samba/tls/key.pem from $PERMS to 600" | |
684 | echo "Consider regenerating TLS certificate" | |
685 | echo "Removing all tls .pem files will cause an auto-regeneration with the correct permissions" | |
686 | fi | |
687 | ||
c93984f5 JR |
688 | %triggerprein common -- samba4 |
689 | cp -a %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba4 | |
690 | ||
691 | %triggerpostun common -- samba4 | |
692 | %{__mv} -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.rpmnew | |
693 | %{__mv} %{_sysconfdir}/samba/smb.conf.samba4 %{_sysconfdir}/samba/smb.conf | |
694 | ||
695 | %triggerprein common -- samba3-server | |
696 | cp -a %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.samba4 | |
697 | ||
698 | %triggerpostun common -- samba3-server | |
699 | %{__mv} -f %{_sysconfdir}/samba/smb.conf %{_sysconfdir}/samba/smb.conf.rpmnew | |
700 | %{__mv} %{_sysconfdir}/samba/smb.conf.samba4 %{_sysconfdir}/samba/smb.conf | |
701 | ||
0673c853 JB |
702 | %post libs -p /sbin/ldconfig |
703 | %postun libs -p /sbin/ldconfig | |
382a477a | 704 | |
0673c853 JB |
705 | %post -n python-samba -p /sbin/ldconfig |
706 | %postun -n python-samba -p /sbin/ldconfig | |
00fd225e | 707 | |
8ef2303e | 708 | %post winbind |
a7067ae6 | 709 | /sbin/ldconfig |
29511e6d | 710 | /sbin/chkconfig --add winbind |
27879fe9 | 711 | %service winbind restart "Winbind daemon" |
dce29ff7 | 712 | %systemd_post winbind.service |
29511e6d | 713 | |
8ef2303e | 714 | %preun winbind |
29511e6d | 715 | if [ "$1" = "0" ]; then |
27879fe9 | 716 | %service winbind stop |
29511e6d | 717 | /sbin/chkconfig --del winbind |
718 | fi | |
dce29ff7 JR |
719 | %systemd_preun winbind.service |
720 | ||
8ef2303e | 721 | %postun winbind |
a7067ae6 | 722 | /sbin/ldconfig |
dce29ff7 | 723 | %systemd_reload |
29511e6d | 724 | |
c48f10a7 | 725 | %triggerpostun winbind -- samba3-winbind |
00fd225e JR |
726 | /sbin/chkconfig --add winbind |
727 | %service winbind restart "Winbind daemon" | |
728 | %systemd_post winbind.service | |
729 | ||
0673c853 JB |
730 | %post -n libsmbclient -p /sbin/ldconfig |
731 | %postun -n libsmbclient -p /sbin/ldconfig | |
a7067ae6 | 732 | |
025a78ca | 733 | %post -n openldap-schema-samba |
c4db757c ER |
734 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
735 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
27879fe9 | 736 | %service -q ldap restart |
99795f36 | 737 | |
025a78ca | 738 | %postun -n openldap-schema-samba |
99795f36 | 739 | if [ "$1" = "0" ]; then |
c4db757c | 740 | %openldap_schema_unregister %{schemadir}/samba.schema |
27879fe9 | 741 | %service -q ldap restart |
99795f36 ER |
742 | fi |
743 | ||
025a78ca | 744 | %triggerpostun -n openldap-schema-samba -- openldap-schema-samba3 < 1:4.1.4-3 |
00fd225e JR |
745 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
746 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
747 | %service -q ldap restart | |
748 | ||
1925a8b4 | 749 | %files |
750 | %defattr(644,root,root,755) | |
3999f3d9 JR |
751 | %{?with_ldap:%doc examples/LDAP} |
752 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers | |
753 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba | |
754 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba | |
755 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba | |
9ff647f7 | 756 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba |
99fdb0b6 | 757 | %config(noreplace) %verify(not md5 mtime size) /etc/env.d/LDB_MODULES_PATH |
cd86127c | 758 | %attr(754,root,root) /etc/rc.d/init.d/samba |
3999f3d9 JR |
759 | %attr(754,root,root) /etc/rc.d/init.d/smb |
760 | %{systemdunitdir}/nmb.service | |
761 | %{systemdunitdir}/smb.service | |
0b940f4e JR |
762 | %{systemdunitdir}/samba.service |
763 | %{systemdtmpfilesdir}/samba.conf | |
ee92e647 | 764 | %attr(755,root,root) %{_bindir}/eventlogadm |
c083eea8 | 765 | %attr(755,root,root) %{_bindir}/oLschema2ldif |
ee92e647 JR |
766 | %attr(755,root,root) %{_bindir}/pdbedit |
767 | %attr(755,root,root) %{_bindir}/profiles | |
3999f3d9 JR |
768 | %attr(755,root,root) %{_bindir}/sharesec |
769 | %attr(755,root,root) %{_bindir}/smbcontrol | |
770 | %attr(755,root,root) %{_bindir}/smbstatus | |
771 | %attr(755,root,root) %{_bindir}/smbta-util | |
772 | %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh | |
773 | %attr(755,root,root) %{_sbindir}/nmbd | |
0b940f4e JR |
774 | %attr(755,root,root) %{_sbindir}/samba |
775 | %attr(755,root,root) %{_sbindir}/samba_dnsupdate | |
7f7b5c36 | 776 | %attr(755,root,root) %{_sbindir}/samba_kcc |
0b940f4e JR |
777 | %attr(755,root,root) %{_sbindir}/samba_spnupdate |
778 | %attr(755,root,root) %{_sbindir}/samba_upgradedns | |
3999f3d9 | 779 | %attr(755,root,root) %{_sbindir}/smbd |
0b940f4e JR |
780 | %dir %{_libdir}/samba/bind9 |
781 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so | |
782 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so | |
783 | %dir %{_libdir}/samba/hdb | |
784 | %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so | |
0b940f4e JR |
785 | %dir %{_libdir}/samba/gensec |
786 | %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so | |
e4310f27 | 787 | %dir %{_libdir}/samba/ldb |
e4310f27 | 788 | %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so |
0b940f4e | 789 | %attr(755,root,root) %{_libdir}/samba/ldb/acl.so |
e4310f27 JR |
790 | %attr(755,root,root) %{_libdir}/samba/ldb/anr.so |
791 | %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so | |
792 | %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so | |
793 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so | |
794 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so | |
795 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so | |
796 | %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so | |
797 | %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so | |
798 | %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so | |
799 | %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so | |
800 | %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so | |
801 | %attr(755,root,root) %{_libdir}/samba/ldb/local_password.so | |
802 | %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so | |
e4310f27 | 803 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so |
0b940f4e | 804 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so |
e4310f27 JR |
805 | %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so |
806 | %attr(755,root,root) %{_libdir}/samba/ldb/operational.so | |
807 | %attr(755,root,root) %{_libdir}/samba/ldb/partition.so | |
808 | %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so | |
809 | %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so | |
810 | %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so | |
811 | %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so | |
812 | %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so | |
813 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so | |
814 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so | |
815 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so | |
816 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so | |
817 | %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so | |
818 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so | |
819 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so | |
820 | %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so | |
821 | %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so | |
822 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so | |
823 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so | |
824 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so | |
825 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so | |
826 | %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so | |
827 | %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so | |
382a477a JR |
828 | %dir %{_libdir}/samba/process_model |
829 | %attr(755,root,root) %{_libdir}/samba/process_model/onefork.so | |
830 | %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so | |
831 | %attr(755,root,root) %{_libdir}/samba/process_model/standard.so | |
832 | %dir %{_libdir}/samba/service | |
833 | %attr(755,root,root) %{_libdir}/samba/service/cldap.so | |
834 | %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so | |
835 | %attr(755,root,root) %{_libdir}/samba/service/dns.so | |
836 | %attr(755,root,root) %{_libdir}/samba/service/dns_update.so | |
837 | %attr(755,root,root) %{_libdir}/samba/service/drepl.so | |
838 | %attr(755,root,root) %{_libdir}/samba/service/kcc.so | |
839 | %attr(755,root,root) %{_libdir}/samba/service/kdc.so | |
840 | %attr(755,root,root) %{_libdir}/samba/service/ldap.so | |
841 | %attr(755,root,root) %{_libdir}/samba/service/nbtd.so | |
842 | %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so | |
843 | %attr(755,root,root) %{_libdir}/samba/service/s3fs.so | |
844 | %attr(755,root,root) %{_libdir}/samba/service/smb.so | |
845 | %attr(755,root,root) %{_libdir}/samba/service/web.so | |
846 | %attr(755,root,root) %{_libdir}/samba/service/winbind.so | |
847 | %attr(755,root,root) %{_libdir}/samba/service/wrepl.so | |
d7a7a298 | 848 | %dir %{_libdir}/samba/vfs |
c6a4fcd1 | 849 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so |
d7a7a298 | 850 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so |
c6a4fcd1 JR |
851 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so |
852 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_linux.so | |
853 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_posix.so | |
854 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so | |
855 | %attr(755,root,root) %{_libdir}/samba/vfs/audit.so | |
d7a7a298 | 856 | %attr(755,root,root) %{_libdir}/samba/vfs/btrfs.so |
c6a4fcd1 JR |
857 | %attr(755,root,root) %{_libdir}/samba/vfs/cap.so |
858 | %attr(755,root,root) %{_libdir}/samba/vfs/catia.so | |
859 | %attr(755,root,root) %{_libdir}/samba/vfs/commit.so | |
860 | %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so | |
861 | %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so | |
d7a7a298 | 862 | %attr(755,root,root) %{_libdir}/samba/vfs/dfs_samba4.so |
c6a4fcd1 JR |
863 | %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so |
864 | %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so | |
865 | %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so | |
866 | %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so | |
d7a7a298 | 867 | %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so |
c6a4fcd1 JR |
868 | %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so |
869 | %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so | |
870 | %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so | |
871 | %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so | |
d7a7a298 | 872 | %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so |
c6a4fcd1 JR |
873 | %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so |
874 | %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so | |
875 | %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so | |
876 | %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so | |
877 | %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so | |
878 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so | |
879 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so | |
880 | %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so | |
881 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so | |
882 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so | |
883 | %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so | |
884 | %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so | |
d7a7a298 | 885 | %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so |
3999f3d9 JR |
886 | %{_datadir}/samba/setup |
887 | %{_mandir}/man1/oLschema2ldif.1* | |
888 | %{_mandir}/man1/profiles.1* | |
ee92e647 | 889 | %{_mandir}/man1/sharesec.1* |
c6a4fcd1 JR |
890 | %{_mandir}/man1/smbcontrol.1* |
891 | %{_mandir}/man1/smbstatus.1* | |
3999f3d9 | 892 | %{_mandir}/man8/eventlogadm.8* |
c6a4fcd1 | 893 | %{_mandir}/man8/nmbd.8* |
3999f3d9 JR |
894 | %{_mandir}/man8/pdbedit.8* |
895 | %{_mandir}/man8/samba.8* | |
c6a4fcd1 JR |
896 | %{_mandir}/man8/smbd.8* |
897 | %{_mandir}/man8/smbpasswd.8* | |
898 | %{_mandir}/man8/smbta-util.8* | |
899 | %{_mandir}/man8/vfs_acl_tdb.8* | |
d7a7a298 | 900 | %{_mandir}/man8/vfs_acl_xattr.8* |
c6a4fcd1 JR |
901 | %{_mandir}/man8/vfs_aio_fork.8* |
902 | %{_mandir}/man8/vfs_aio_linux.8* | |
903 | %{_mandir}/man8/vfs_aio_pthread.8* | |
904 | %{_mandir}/man8/vfs_audit.8* | |
d7a7a298 | 905 | %{_mandir}/man8/vfs_btrfs.8* |
c6a4fcd1 JR |
906 | %{_mandir}/man8/vfs_cap.8* |
907 | %{_mandir}/man8/vfs_catia.8* | |
908 | %{_mandir}/man8/vfs_commit.8* | |
909 | %{_mandir}/man8/vfs_crossrename.8* | |
910 | %{_mandir}/man8/vfs_default_quota.8* | |
911 | %{_mandir}/man8/vfs_dirsort.8* | |
912 | %{_mandir}/man8/vfs_extd_audit.8* | |
913 | %{_mandir}/man8/vfs_fake_perms.8* | |
d7a7a298 | 914 | %{_mandir}/man8/vfs_fileid.8* |
c6a4fcd1 JR |
915 | %{_mandir}/man8/vfs_full_audit.8* |
916 | %{_mandir}/man8/vfs_linux_xfs_sgid.8* | |
917 | %{_mandir}/man8/vfs_media_harmony.8* | |
918 | %{_mandir}/man8/vfs_netatalk.8* | |
919 | %{_mandir}/man8/vfs_preopen.8* | |
920 | %{_mandir}/man8/vfs_readahead.8* | |
921 | %{_mandir}/man8/vfs_readonly.8* | |
922 | %{_mandir}/man8/vfs_recycle.8* | |
923 | %{_mandir}/man8/vfs_scannedonly.8* | |
924 | %{_mandir}/man8/vfs_shadow_copy2.8* | |
925 | %{_mandir}/man8/vfs_shadow_copy.8* | |
926 | %{_mandir}/man8/vfs_smb_traffic_analyzer.8* | |
927 | %{_mandir}/man8/vfs_streams_depot.8* | |
928 | %{_mandir}/man8/vfs_streams_xattr.8* | |
929 | %{_mandir}/man8/vfs_syncops.8* | |
930 | %{_mandir}/man8/vfs_time_audit.8* | |
d7a7a298 | 931 | %{_mandir}/man8/vfs_xattr_tdb.8* |
c6a4fcd1 | 932 | |
3999f3d9 JR |
933 | %dir %{_sambahome} |
934 | %dir /var/lib/samba | |
935 | %ghost /var/lib/samba/*.dat | |
936 | %dir /var/lib/samba/printing | |
937 | ||
938 | %attr(750,root,root) %dir /var/log/samba | |
939 | %attr(750,root,root) %dir /var/log/samba/cores | |
940 | %attr(750,root,root) %dir /var/log/samba/cores/smbd | |
941 | %attr(750,root,root) %dir /var/log/samba/cores/nmbd | |
942 | %attr(750,root,root) %dir /var/log/archive/samba | |
943 | %attr(1777,root,root) %dir /var/spool/samba | |
944 | ||
ac6f9d13 | 945 | %files client |
2eedd257 | 946 | %defattr(644,root,root,755) |
6646cd44 | 947 | %attr(755,root,root) %{_bindir}/cifsdd |
aef2ec68 | 948 | %attr(755,root,root) %{_bindir}/rpcclient |
aef2ec68 JR |
949 | %attr(755,root,root) %{_bindir}/smbcacls |
950 | %attr(755,root,root) %{_bindir}/smbclient | |
6646cd44 | 951 | %attr(755,root,root) %{_bindir}/smbclient4 |
ee92e647 | 952 | %attr(755,root,root) %{_bindir}/smbcquotas |
aef2ec68 JR |
953 | %attr(755,root,root) %{_bindir}/smbtar |
954 | %attr(755,root,root) %{_bindir}/smbtree | |
6c886cab | 955 | %{_mandir}/man1/findsmb.1* |
aef2ec68 | 956 | %{_mandir}/man1/rpcclient.1* |
aef2ec68 JR |
957 | %{_mandir}/man1/smbcacls.1* |
958 | %{_mandir}/man1/smbclient.1* | |
ee92e647 | 959 | %{_mandir}/man1/smbcquotas.1* |
aef2ec68 JR |
960 | %{_mandir}/man1/smbtar.1* |
961 | %{_mandir}/man1/smbtree.1* | |
ac6f9d13 | 962 | |
ac6f9d13 | 963 | %files common |
2eedd257 | 964 | %defattr(644,root,root,755) |
2e711b12 | 965 | %doc README WHATSNEW.txt Roadmap |
5a89b1cc JR |
966 | %dir %{_sysconfdir}/samba |
967 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf | |
968 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts | |
ee92e647 JR |
969 | %attr(755,root,root) %{_bindir}/dbwrap_tool |
970 | %attr(755,root,root) %{_bindir}/net | |
971 | %attr(755,root,root) %{_bindir}/nmblookup | |
972 | %attr(755,root,root) %{_bindir}/nmblookup4 | |
973 | %attr(755,root,root) %{_bindir}/reg* | |
89730013 | 974 | %attr(755,root,root) %{_bindir}/samba-regedit |
c083eea8 | 975 | %attr(755,root,root) %{_bindir}/samba-tool |
ee92e647 | 976 | %attr(755,root,root) %{_bindir}/smbpasswd |
4f12cc62 JR |
977 | %attr(755,root,root) %{_bindir}/testparm |
978 | %attr(755,root,root) %{_bindir}/vfstest | |
5a89b1cc JR |
979 | %dir %{_libdir}/samba/auth |
980 | %attr(755,root,root) %{_libdir}/samba/auth/script.so | |
981 | %attr(755,root,root) %{_libdir}/samba/auth/samba4.so | |
d7a7a298 JR |
982 | %dir %{_datadir}/samba |
983 | %dir %{_datadir}/samba/codepages | |
984 | %{_datadir}/samba/codepages/lowcase.dat | |
985 | %{_datadir}/samba/codepages/upcase.dat | |
986 | %{_datadir}/samba/codepages/valid.dat | |
987 | %{_mandir}/man1/dbwrap_tool.1* | |
988 | %{_mandir}/man1/nmblookup.1* | |
989 | %{_mandir}/man1/nmblookup4.1* | |
990 | %{_mandir}/man1/reg*.1* | |
991 | %{_mandir}/man1/testparm.1* | |
992 | %{_mandir}/man1/vfstest.1* | |
993 | %{_mandir}/man5/lmhosts.5* | |
994 | %{_mandir}/man5/smb.conf.5* | |
995 | %{_mandir}/man5/smbpasswd.5* | |
996 | %{_mandir}/man7/samba.7* | |
997 | %{_mandir}/man8/net.8* | |
998 | %{_mandir}/man8/samba-regedit.8* | |
999 | %{_mandir}/man8/samba-tool.8* | |
1000 | ||
1001 | %if %{without system_libs} | |
1002 | %attr(755,root,root) %{_bindir}/ntdbbackup | |
1003 | %attr(755,root,root) %{_bindir}/ntdbdump | |
1004 | %attr(755,root,root) %{_bindir}/ntdbrestore | |
1005 | %attr(755,root,root) %{_bindir}/ntdbtool | |
1006 | %attr(755,root,root) %{_bindir}/tdbbackup | |
1007 | %attr(755,root,root) %{_bindir}/tdbdump | |
1008 | %attr(755,root,root) %{_bindir}/tdbtool | |
1009 | %attr(755,root,root) %{_libdir}/samba/libntdb.so.* | |
1010 | %attr(755,root,root) %{_libdir}/samba/libtalloc.so.* | |
1011 | %attr(755,root,root) %{_libdir}/samba/libtdb.so.* | |
1012 | %{_mandir}/man8/ntdbbackup.8* | |
1013 | %{_mandir}/man8/ntdbdump.8* | |
1014 | %{_mandir}/man8/ntdbrestore.8* | |
1015 | %{_mandir}/man8/ntdbtool.8* | |
1016 | %{_mandir}/man8/tdbbackup.8* | |
1017 | %{_mandir}/man8/tdbdump.8* | |
1018 | %{_mandir}/man8/tdbtool.8* | |
1019 | %endif | |
1020 | ||
1021 | %files libs | |
1022 | %defattr(644,root,root,755) | |
17dffdb7 JR |
1023 | %if "%{_lib}" == "lib64" |
1024 | /etc/ld.so.conf.d/samba64.conf | |
1025 | %else | |
d7a7a298 | 1026 | /etc/ld.so.conf.d/samba.conf |
17dffdb7 | 1027 | %endif |
e4310f27 JR |
1028 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so.*.*.* |
1029 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-atsvc.so.0 | |
8e43bad6 JR |
1030 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.* |
1031 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0 | |
0b940f4e JR |
1032 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.* |
1033 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0 | |
8e43bad6 JR |
1034 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.* |
1035 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0 | |
d7a7a298 JR |
1036 | %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.* |
1037 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0 | |
8e43bad6 JR |
1038 | %attr(755,root,root) %{_libdir}/libgensec.so.*.*.* |
1039 | %attr(755,root,root) %ghost %{_libdir}/libgensec.so.0 | |
d7a7a298 JR |
1040 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.* |
1041 | %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0 | |
8e43bad6 JR |
1042 | %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.* |
1043 | %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0 | |
1044 | %attr(755,root,root) %{_libdir}/libndr.so.*.*.* | |
1045 | %attr(755,root,root) %ghost %{_libdir}/libndr.so.0 | |
8e43bad6 JR |
1046 | %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.* |
1047 | %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0 | |
d7a7a298 JR |
1048 | %attr(755,root,root) %{_libdir}/libregistry.so.*.*.* |
1049 | %attr(755,root,root) %ghost %{_libdir}/libregistry.so.0 | |
8e43bad6 JR |
1050 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.* |
1051 | %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0 | |
1052 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.* | |
1053 | %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0 | |
d7a7a298 JR |
1054 | %attr(755,root,root) %{_libdir}/libsamba-policy.so.*.*.* |
1055 | %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.so.0 | |
4d036a87 JR |
1056 | %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.* |
1057 | %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0 | |
8e43bad6 JR |
1058 | %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.* |
1059 | %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0 | |
4d036a87 JR |
1060 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so.*.*.* |
1061 | %attr(755,root,root) %ghost %{_libdir}/libsmbclient-raw.so.0 | |
8e43bad6 JR |
1062 | %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.* |
1063 | %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0 | |
1064 | %attr(755,root,root) %{_libdir}/libnetapi.so.0 | |
1065 | %attr(755,root,root) %{_libdir}/libpdb.so.0 | |
4d036a87 | 1066 | %attr(755,root,root) %{_libdir}/libsmbconf.so.0 |
8e43bad6 | 1067 | %attr(755,root,root) %{_libdir}/libsmbldap.so.0 |
d7a7a298 | 1068 | %attr(755,root,root) %{_libdir}/libsmbsharemodes.so.0 |
4d036a87 | 1069 | %dir %{_libdir}/samba |
4d036a87 | 1070 | %attr(755,root,root) %{_libdir}/samba/libaddns.so |
8e43bad6 | 1071 | %attr(755,root,root) %{_libdir}/samba/libads.so |
4d036a87 | 1072 | %attr(755,root,root) %{_libdir}/samba/libasn1util.so |
8e43bad6 | 1073 | %attr(755,root,root) %{_libdir}/samba/libauth4.so |
4f12cc62 | 1074 | %attr(755,root,root) %{_libdir}/samba/libauthkrb5.so |
4d036a87 | 1075 | %attr(755,root,root) %{_libdir}/samba/libauth_sam_reply.so |
4f12cc62 | 1076 | %attr(755,root,root) %{_libdir}/samba/libauth.so |
8e43bad6 | 1077 | %attr(755,root,root) %{_libdir}/samba/libauth_unix_token.so |
4f12cc62 JR |
1078 | %attr(755,root,root) %{_libdir}/samba/libCHARSET3.so |
1079 | %attr(755,root,root) %{_libdir}/samba/libcliauth.so | |
1080 | %attr(755,root,root) %{_libdir}/samba/libcli_cldap.so | |
8e43bad6 JR |
1081 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common.so |
1082 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap.so | |
4d036a87 | 1083 | %attr(755,root,root) %{_libdir}/samba/libcli-nbt.so |
8e43bad6 JR |
1084 | %attr(755,root,root) %{_libdir}/samba/libcli_smb_common.so |
1085 | %attr(755,root,root) %{_libdir}/samba/libcli_spoolss.so | |
8e43bad6 JR |
1086 | %attr(755,root,root) %{_libdir}/samba/libcluster.so |
1087 | %attr(755,root,root) %{_libdir}/samba/libcmdline-credentials.so | |
d7a7a298 | 1088 | %attr(755,root,root) %{_libdir}/samba/libdb-glue.so |
4d036a87 | 1089 | %attr(755,root,root) %{_libdir}/samba/libdbwrap.so |
8e43bad6 | 1090 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so |
4f12cc62 | 1091 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba.so |
8e43bad6 | 1092 | %attr(755,root,root) %{_libdir}/samba/libdfs_server_ad.so |
d7a7a298 | 1093 | %attr(755,root,root) %{_libdir}/samba/libdsdb-module.so |
4d036a87 | 1094 | %attr(755,root,root) %{_libdir}/samba/liberrors.so |
8e43bad6 JR |
1095 | %attr(755,root,root) %{_libdir}/samba/libevents.so |
1096 | %attr(755,root,root) %{_libdir}/samba/libflag_mapping.so | |
d7a7a298 | 1097 | %attr(755,root,root) %{_libdir}/samba/libgpo.so |
8e43bad6 | 1098 | %attr(755,root,root) %{_libdir}/samba/libgse.so |
d7a7a298 | 1099 | %attr(755,root,root) %{_libdir}/samba/libHDB_SAMBA4.so |
4d036a87 JR |
1100 | %attr(755,root,root) %{_libdir}/samba/libinterfaces.so |
1101 | %attr(755,root,root) %{_libdir}/samba/libkrb5samba.so | |
8e43bad6 | 1102 | %attr(755,root,root) %{_libdir}/samba/libldb-cmdline.so |
4d036a87 | 1103 | %attr(755,root,root) %{_libdir}/samba/libldbsamba.so |
8e43bad6 JR |
1104 | %attr(755,root,root) %{_libdir}/samba/liblibcli_lsa3.so |
1105 | %attr(755,root,root) %{_libdir}/samba/liblibcli_netlogon3.so | |
1106 | %attr(755,root,root) %{_libdir}/samba/liblibsmb.so | |
4f12cc62 JR |
1107 | %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT_OLD.so |
1108 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING.so | |
8e43bad6 | 1109 | %attr(755,root,root) %{_libdir}/samba/libmsrpc3.so |
8e43bad6 | 1110 | %attr(755,root,root) %{_libdir}/samba/libndr-samba4.so |
4f12cc62 | 1111 | %attr(755,root,root) %{_libdir}/samba/libndr-samba.so |
8e43bad6 | 1112 | %attr(755,root,root) %{_libdir}/samba/libnetif.so |
d7a7a298 | 1113 | %attr(755,root,root) %{_libdir}/samba/libnet_keytab.so |
89730013 | 1114 | %attr(755,root,root) %{_libdir}/samba/libnon_posix_acls.so |
8e43bad6 | 1115 | %attr(755,root,root) %{_libdir}/samba/libnpa_tstream.so |
7f7b5c36 | 1116 | %attr(755,root,root) %{_libdir}/samba/libntvfs.so |
d7a7a298 | 1117 | %attr(755,root,root) %{_libdir}/samba/libpac.so |
4f12cc62 | 1118 | %attr(755,root,root) %{_libdir}/samba/libpopt_samba3.so |
8e43bad6 JR |
1119 | %attr(755,root,root) %{_libdir}/samba/libposix_eadb.so |
1120 | %attr(755,root,root) %{_libdir}/samba/libprinting_migrate.so | |
7f7b5c36 | 1121 | %attr(755,root,root) %{_libdir}/samba/libprocess_model.so |
4f12cc62 | 1122 | %attr(755,root,root) %{_libdir}/samba/libsamba3-util.so |
4d036a87 | 1123 | %attr(755,root,root) %{_libdir}/samba/libsamba-modules.so |
d7a7a298 JR |
1124 | %attr(755,root,root) %{_libdir}/samba/libsamba-net.so |
1125 | %attr(755,root,root) %{_libdir}/samba/libsamba_python.so | |
4d036a87 JR |
1126 | %attr(755,root,root) %{_libdir}/samba/libsamba-security.so |
1127 | %attr(755,root,root) %{_libdir}/samba/libsamba-sockets.so | |
4d036a87 | 1128 | %attr(755,root,root) %{_libdir}/samba/libsamdb-common.so |
8e43bad6 | 1129 | %attr(755,root,root) %{_libdir}/samba/libsecrets3.so |
4d036a87 | 1130 | %attr(755,root,root) %{_libdir}/samba/libserver-role.so |
7f7b5c36 JR |
1131 | %attr(755,root,root) %{_libdir}/samba/libservice.so |
1132 | %attr(755,root,root) %{_libdir}/samba/libshares.so | |
4d036a87 | 1133 | %attr(755,root,root) %{_libdir}/samba/libsmbd_base.so |
4d036a87 JR |
1134 | %attr(755,root,root) %{_libdir}/samba/libsmbd_conn.so |
1135 | %attr(755,root,root) %{_libdir}/samba/libsmbd_shim.so | |
5a89b1cc | 1136 | %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper.so |
8e43bad6 JR |
1137 | %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser.so |
1138 | %attr(755,root,root) %{_libdir}/samba/libsmbregistry.so | |
4f12cc62 | 1139 | %attr(755,root,root) %{_libdir}/samba/libsmb_transport.so |
4d036a87 | 1140 | %attr(755,root,root) %{_libdir}/samba/libtdb_compat.so |
4f12cc62 JR |
1141 | %attr(755,root,root) %{_libdir}/samba/libtdb-wrap.so |
1142 | %attr(755,root,root) %{_libdir}/samba/libtrusts_util.so | |
8e43bad6 | 1143 | %attr(755,root,root) %{_libdir}/samba/libutil_cmdline.so |
89730013 | 1144 | %attr(755,root,root) %{_libdir}/samba/libutil_ntdb.so |
4d036a87 JR |
1145 | %attr(755,root,root) %{_libdir}/samba/libutil_reg.so |
1146 | %attr(755,root,root) %{_libdir}/samba/libutil_setid.so | |
1147 | %attr(755,root,root) %{_libdir}/samba/libutil_tdb.so | |
8e43bad6 | 1148 | %attr(755,root,root) %{_libdir}/samba/libxattr_tdb.so |
e71e0470 | 1149 | |
382a477a | 1150 | %files winbind |
b36aa9d5 | 1151 | %defattr(644,root,root,755) |
8ef2303e JR |
1152 | %attr(754,root,root) /etc/rc.d/init.d/winbind |
1153 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind | |
1154 | %{systemdunitdir}/winbind.service | |
ee92e647 | 1155 | %attr(755,root,root) %{_bindir}/ntlm_auth |
382a477a | 1156 | %attr(755,root,root) %{_bindir}/wbinfo |
8ef2303e | 1157 | %attr(755,root,root) %{_sbindir}/winbindd |
0673c853 JB |
1158 | %attr(755,root,root) /%{_lib}/security/pam_winbind.so |
1159 | %attr(755,root,root) /%{_lib}/libnss_winbind.so* | |
382a477a | 1160 | %attr(755,root,root) %{_libdir}/winbind_krb5_locator.so |
ee92e647 JR |
1161 | %attr(755,root,root) %{_libdir}/samba/libidmap.so |
1162 | %attr(755,root,root) %{_libdir}/samba/libnss_info.so | |
d7a7a298 | 1163 | %attr(755,root,root) %{_libdir}/samba/libiniparser.so |
ee92e647 JR |
1164 | %dir %{_libdir}/samba/idmap |
1165 | %attr(755,root,root) %{_libdir}/samba/idmap/ad.so | |
1166 | %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so | |
1167 | %attr(755,root,root) %{_libdir}/samba/idmap/hash.so | |
d7a7a298 | 1168 | %attr(755,root,root) %{_libdir}/samba/idmap/ldap.so |
ee92e647 JR |
1169 | %attr(755,root,root) %{_libdir}/samba/idmap/rfc2307.so |
1170 | %attr(755,root,root) %{_libdir}/samba/idmap/rid.so | |
1171 | %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so | |
1172 | %dir %{_libdir}/samba/nss_info | |
1173 | %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so | |
1174 | %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so | |
1175 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so | |
1176 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so | |
1177 | %{_mandir}/man1/ntlm_auth.1* | |
382a477a JR |
1178 | %{_mandir}/man1/wbinfo*.1* |
1179 | %{_mandir}/man5/pam_winbind.conf.5* | |
1180 | %{_mandir}/man7/winbind_krb5_locator.7* | |
ee92e647 JR |
1181 | %{_mandir}/man8/idmap_ad.8* |
1182 | %{_mandir}/man8/idmap_autorid.8* | |
1183 | %{_mandir}/man8/idmap_hash.8* | |
1184 | %{_mandir}/man8/idmap_ldap.8* | |
1185 | %{_mandir}/man8/idmap_nss.8* | |
1186 | %{_mandir}/man8/idmap_rfc2307.8* | |
1187 | %{_mandir}/man8/idmap_rid.8* | |
1188 | %{_mandir}/man8/idmap_tdb2.8* | |
1189 | %{_mandir}/man8/idmap_tdb.8* | |
382a477a | 1190 | %{_mandir}/man8/pam_winbind.8* |
8ef2303e | 1191 | %{_mandir}/man8/winbindd*.8* |
79d8a749 | 1192 | |
f2b0247b ER |
1193 | %files devel |
1194 | %defattr(644,root,root,755) | |
f1c7ad61 JR |
1195 | %{_includedir}/samba-4.0/charset.h |
1196 | %dir %{_includedir}/samba-4.0/core | |
1197 | %{_includedir}/samba-4.0/core/doserr.h | |
1198 | %{_includedir}/samba-4.0/core/error.h | |
1199 | %{_includedir}/samba-4.0/core/ntstatus.h | |
1200 | %{_includedir}/samba-4.0/core/werror.h | |
1201 | %{_includedir}/samba-4.0/credentials.h | |
1202 | %{_includedir}/samba-4.0/dcerpc.h | |
1203 | %{_includedir}/samba-4.0/dcerpc_server.h | |
1204 | %{_includedir}/samba-4.0/dlinklist.h | |
1205 | %{_includedir}/samba-4.0/domain_credentials.h | |
1206 | %dir %{_includedir}/samba-4.0/gen_ndr | |
1207 | %{_includedir}/samba-4.0/gen_ndr/atsvc.h | |
1208 | %{_includedir}/samba-4.0/gen_ndr/auth.h | |
1209 | %{_includedir}/samba-4.0/gen_ndr/dcerpc.h | |
8e43bad6 JR |
1210 | %{_includedir}/samba-4.0/gen_ndr/drsblobs.h |
1211 | %{_includedir}/samba-4.0/gen_ndr/drsuapi.h | |
f1c7ad61 JR |
1212 | %{_includedir}/samba-4.0/gen_ndr/epmapper.h |
1213 | %{_includedir}/samba-4.0/gen_ndr/krb5pac.h | |
1214 | %{_includedir}/samba-4.0/gen_ndr/lsa.h | |
1215 | %{_includedir}/samba-4.0/gen_ndr/mgmt.h | |
1216 | %{_includedir}/samba-4.0/gen_ndr/misc.h | |
1217 | %{_includedir}/samba-4.0/gen_ndr/nbt.h | |
f1c7ad61 | 1218 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h |
8e43bad6 | 1219 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h |
f1c7ad61 | 1220 | %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h |
8e43bad6 JR |
1221 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h |
1222 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h | |
f1c7ad61 | 1223 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h |
8e43bad6 | 1224 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h |
f1c7ad61 | 1225 | %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h |
f1c7ad61 | 1226 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h |
8e43bad6 | 1227 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h |
f1c7ad61 JR |
1228 | %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h |
1229 | %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h | |
f1c7ad61 | 1230 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h |
8e43bad6 | 1231 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h |
f1c7ad61 | 1232 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h |
8e43bad6 | 1233 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h |
f1c7ad61 JR |
1234 | %{_includedir}/samba-4.0/gen_ndr/netlogon.h |
1235 | %{_includedir}/samba-4.0/gen_ndr/samr.h | |
1236 | %{_includedir}/samba-4.0/gen_ndr/security.h | |
1237 | %{_includedir}/samba-4.0/gen_ndr/server_id.h | |
1238 | %{_includedir}/samba-4.0/gen_ndr/svcctl.h | |
1239 | %{_includedir}/samba-4.0/gensec.h | |
8e43bad6 | 1240 | %{_includedir}/samba-4.0/ldap-util.h |
f1c7ad61 JR |
1241 | %{_includedir}/samba-4.0/ldap_errors.h |
1242 | %{_includedir}/samba-4.0/ldap_message.h | |
1243 | %{_includedir}/samba-4.0/ldap_ndr.h | |
f1c7ad61 JR |
1244 | %{_includedir}/samba-4.0/ldb_wrap.h |
1245 | %{_includedir}/samba-4.0/ndr.h | |
1246 | %dir %{_includedir}/samba-4.0/ndr | |
8e43bad6 JR |
1247 | %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h |
1248 | %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h | |
f1c7ad61 JR |
1249 | %{_includedir}/samba-4.0/ndr/ndr_nbt.h |
1250 | %{_includedir}/samba-4.0/ndr/ndr_svcctl.h | |
1251 | %{_includedir}/samba-4.0/param.h | |
1252 | %{_includedir}/samba-4.0/policy.h | |
8e43bad6 | 1253 | %{_includedir}/samba-4.0/read_smb.h |
f1c7ad61 JR |
1254 | %{_includedir}/samba-4.0/registry.h |
1255 | %{_includedir}/samba-4.0/roles.h | |
1256 | %{_includedir}/samba-4.0/rpc_common.h | |
1257 | %dir %{_includedir}/samba-4.0/samba | |
1258 | %{_includedir}/samba-4.0/samba/session.h | |
f1c7ad61 | 1259 | %{_includedir}/samba-4.0/samba/version.h |
8e43bad6 | 1260 | %{_includedir}/samba-4.0/samba_util.h |
f1c7ad61 | 1261 | %{_includedir}/samba-4.0/share.h |
8e43bad6 JR |
1262 | %{_includedir}/samba-4.0/smb2.h |
1263 | %{_includedir}/samba-4.0/smb2_constants.h | |
1264 | %{_includedir}/samba-4.0/smb2_create_blob.h | |
89730013 | 1265 | %{_includedir}/samba-4.0/smb2_lease.h |
8e43bad6 JR |
1266 | %{_includedir}/samba-4.0/smb2_signing.h |
1267 | %{_includedir}/samba-4.0/smb_cli.h | |
1268 | %{_includedir}/samba-4.0/smb_cliraw.h | |
1269 | %{_includedir}/samba-4.0/smb_common.h | |
1270 | %{_includedir}/samba-4.0/smb_composite.h | |
1271 | %{_includedir}/samba-4.0/smb_constants.h | |
1272 | %{_includedir}/samba-4.0/smb_raw.h | |
1273 | %{_includedir}/samba-4.0/smb_raw_interfaces.h | |
1274 | %{_includedir}/samba-4.0/smb_raw_signing.h | |
1275 | %{_includedir}/samba-4.0/smb_raw_trans2.h | |
1276 | %{_includedir}/samba-4.0/smb_request.h | |
1277 | %{_includedir}/samba-4.0/smb_seal.h | |
1278 | %{_includedir}/samba-4.0/smb_signing.h | |
1279 | %{_includedir}/samba-4.0/smb_unix_ext.h | |
1280 | %{_includedir}/samba-4.0/smb_util.h | |
f1c7ad61 JR |
1281 | %{_includedir}/samba-4.0/tdr.h |
1282 | %{_includedir}/samba-4.0/tsocket.h | |
1283 | %{_includedir}/samba-4.0/tsocket_internal.h | |
1284 | %dir %{_includedir}/samba-4.0/util | |
1285 | %{_includedir}/samba-4.0/util/attr.h | |
1286 | %{_includedir}/samba-4.0/util/byteorder.h | |
1287 | %{_includedir}/samba-4.0/util/data_blob.h | |
1288 | %{_includedir}/samba-4.0/util/debug.h | |
f1c7ad61 JR |
1289 | %{_includedir}/samba-4.0/util/memory.h |
1290 | %{_includedir}/samba-4.0/util/safe_string.h | |
1291 | %{_includedir}/samba-4.0/util/string_wrappers.h | |
1292 | %{_includedir}/samba-4.0/util/talloc_stack.h | |
1293 | %{_includedir}/samba-4.0/util/tevent_ntstatus.h | |
1294 | %{_includedir}/samba-4.0/util/tevent_unix.h | |
1295 | %{_includedir}/samba-4.0/util/tevent_werror.h | |
1296 | %{_includedir}/samba-4.0/util/time.h | |
1297 | %{_includedir}/samba-4.0/util/xfile.h | |
8e43bad6 | 1298 | %{_includedir}/samba-4.0/util_ldb.h |
31de16f4 JR |
1299 | %{_includedir}/samba-4.0/lookup_sid.h |
1300 | %{_includedir}/samba-4.0/machine_sid.h | |
1301 | %{_includedir}/samba-4.0/netapi.h | |
1302 | %{_includedir}/samba-4.0/passdb.h | |
1303 | %{_includedir}/samba-4.0/smbconf.h | |
1304 | %{_includedir}/samba-4.0/smb_ldap.h | |
1305 | %{_includedir}/samba-4.0/smbldap.h | |
1306 | %{_includedir}/samba-4.0/smb_share_modes.h | |
8e43bad6 JR |
1307 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so |
1308 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so | |
1309 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so | |
1310 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so | |
1311 | %attr(755,root,root) %{_libdir}/libdcerpc.so | |
1312 | %attr(755,root,root) %{_libdir}/libgensec.so | |
1313 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so | |
1314 | %attr(755,root,root) %{_libdir}/libndr-nbt.so | |
8e43bad6 | 1315 | %attr(755,root,root) %{_libdir}/libndr.so |
31de16f4 JR |
1316 | %attr(755,root,root) %{_libdir}/libndr-standard.so |
1317 | %attr(755,root,root) %{_libdir}/libnetapi.so | |
1318 | %attr(755,root,root) %{_libdir}/libpdb.so | |
8e43bad6 JR |
1319 | %attr(755,root,root) %{_libdir}/libregistry.so |
1320 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so | |
1321 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so | |
1322 | %attr(755,root,root) %{_libdir}/libsamba-policy.so | |
1323 | %attr(755,root,root) %{_libdir}/libsamba-util.so | |
1324 | %attr(755,root,root) %{_libdir}/libsamdb.so | |
e98238cc | 1325 | %attr(755,root,root) %{_libdir}/libsmbsharemodes.so |
8e43bad6 JR |
1326 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so |
1327 | %attr(755,root,root) %{_libdir}/libsmbconf.so | |
31de16f4 | 1328 | %attr(755,root,root) %{_libdir}/libsmbldap.so |
8e43bad6 | 1329 | %attr(755,root,root) %{_libdir}/libtevent-util.so |
f1c7ad61 | 1330 | %{_pkgconfigdir}/dcerpc.pc |
8e43bad6 | 1331 | %{_pkgconfigdir}/dcerpc_atsvc.pc |
05913998 JR |
1332 | %{_pkgconfigdir}/dcerpc_samr.pc |
1333 | %{_pkgconfigdir}/dcerpc_server.pc | |
1334 | %{_pkgconfigdir}/gensec.pc | |
8e43bad6 | 1335 | %{_pkgconfigdir}/ndr.pc |
05913998 JR |
1336 | %{_pkgconfigdir}/ndr_krb5pac.pc |
1337 | %{_pkgconfigdir}/ndr_nbt.pc | |
1338 | %{_pkgconfigdir}/ndr_standard.pc | |
31de16f4 | 1339 | %{_pkgconfigdir}/netapi.pc |
05913998 JR |
1340 | %{_pkgconfigdir}/registry.pc |
1341 | %{_pkgconfigdir}/samba-credentials.pc | |
1342 | %{_pkgconfigdir}/samba-hostconfig.pc | |
1343 | %{_pkgconfigdir}/samba-policy.pc | |
1344 | %{_pkgconfigdir}/samba-util.pc | |
1345 | %{_pkgconfigdir}/samdb.pc | |
e98238cc | 1346 | %{_pkgconfigdir}/smbsharemodes.pc |
4d036a87 | 1347 | %{_pkgconfigdir}/smbclient-raw.pc |
a9009cd3 | 1348 | %if %{without system_libs} |
89730013 | 1349 | %{_mandir}/man3/ntdb.3* |
a9009cd3 | 1350 | %endif |
4d036a87 | 1351 | |
c48f10a7 | 1352 | %files -n pam-pam_smbpass |
29511e6d | 1353 | %defattr(644,root,root,755) |
382a477a JR |
1354 | %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples |
1355 | %attr(755,root,root) /%{_lib}/security/pam_smbpass.so | |
1356 | ||
1357 | %files pidl | |
1358 | %defattr(644,root,root,755) | |
1359 | %attr(755,root,root) %{_bindir}/pidl | |
1360 | %{_mandir}/man1/pidl.1* | |
1361 | %{_mandir}/man3/Parse::Pidl*.3* | |
1362 | %{perl_vendorlib}/Parse/Pidl* | |
29511e6d | 1363 | |
025a78ca | 1364 | %files -n python-samba |
9f6f5df1 | 1365 | %defattr(644,root,root,755) |
c083eea8 JR |
1366 | %dir %{py_sitedir}/samba |
1367 | %attr(755,root,root) %{py_sitedir}/samba/*.so | |
1368 | %{py_sitedir}/samba/*.py[co] | |
1369 | %dir %{py_sitedir}/samba/dcerpc | |
1370 | %{py_sitedir}/samba/dcerpc/*.py[co] | |
1371 | %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so | |
1372 | %dir %{py_sitedir}/samba/external | |
1373 | %{py_sitedir}/samba/external/*.py[co] | |
1374 | %dir %{py_sitedir}/samba/external/subunit | |
1375 | %{py_sitedir}/samba/external/subunit/*.py[co] | |
1376 | %dir %{py_sitedir}/samba/external/subunit/tests | |
1377 | %{py_sitedir}/samba/external/subunit/tests/*.py[co] | |
1378 | %dir %{py_sitedir}/samba/netcmd | |
1379 | %{py_sitedir}/samba/netcmd/*.py[co] | |
1380 | %dir %{py_sitedir}/samba/provision | |
1381 | %{py_sitedir}/samba/provision/*.py[co] | |
6ed8d415 JR |
1382 | %dir %{py_sitedir}/samba/samba3 |
1383 | %attr(755,root,root) %{py_sitedir}/samba/samba3/*.so | |
1384 | %{py_sitedir}/samba/samba3/*.py[co] | |
c083eea8 JR |
1385 | %dir %{py_sitedir}/samba/tests |
1386 | %{py_sitedir}/samba/tests/*.py[co] | |
1387 | %dir %{py_sitedir}/samba/tests/blackbox | |
1388 | %{py_sitedir}/samba/tests/blackbox/*.py[co] | |
1389 | %dir %{py_sitedir}/samba/tests/samba_tool | |
1390 | %{py_sitedir}/samba/tests/samba_tool/*.py[co] | |
1391 | %dir %{py_sitedir}/samba/tests/dcerpc | |
1392 | %{py_sitedir}/samba/tests/dcerpc/*.py[co] | |
1393 | %dir %{py_sitedir}/samba/web_server | |
1394 | %{py_sitedir}/samba/web_server/*.py[co] | |
1395 | %if %{without system_libs} | |
ef67314f | 1396 | %attr(755,root,root) %{py_sitedir}/ldb.so |
a9009cd3 | 1397 | %attr(755,root,root) %{py_sitedir}/ntdb.so |
ef67314f JB |
1398 | %attr(755,root,root) %{py_sitedir}/talloc.so |
1399 | %attr(755,root,root) %{py_sitedir}/tdb.so | |
1400 | %attr(755,root,root) %{py_sitedir}/_tevent.so | |
c083eea8 | 1401 | %{py_sitedir}/tevent.py[co] |
fd9d8b85 | 1402 | %endif |
70ff6d03 | 1403 | |
c083eea8 | 1404 | %files test |
d1f5710a | 1405 | %defattr(644,root,root,755) |
c083eea8 JR |
1406 | %attr(755,root,root) %{_bindir}/gentest |
1407 | %attr(755,root,root) %{_bindir}/locktest | |
1408 | %attr(755,root,root) %{_bindir}/masktest | |
1409 | %attr(755,root,root) %{_bindir}/ndrdump | |
1410 | %attr(755,root,root) %{_bindir}/smbtorture | |
1411 | %attr(755,root,root) %{_libdir}/libtorture.so.*.*.* | |
1412 | %attr(755,root,root) %ghost %{_libdir}/libtorture.so.0 | |
1413 | %attr(755,root,root) %{_libdir}/samba/libsubunit.so | |
1414 | %attr(755,root,root) %{_libdir}/samba/libdlz_bind9_for_torture.so | |
c083eea8 JR |
1415 | %{_mandir}/man1/gentest.1* |
1416 | %{_mandir}/man1/locktest.1* | |
1417 | %{_mandir}/man1/masktest.1* | |
1418 | %{_mandir}/man1/ndrdump.1* | |
1419 | %{_mandir}/man1/smbtorture.1* | |
d1f5710a | 1420 | |
c083eea8 | 1421 | %files test-devel |
4ecf4d28 | 1422 | %defattr(644,root,root,755) |
c083eea8 JR |
1423 | %attr(755,root,root) %{_libdir}/libtorture.so |
1424 | %{_includedir}/samba-4.0/torture.h | |
1425 | %{_pkgconfigdir}/torture.pc | |
4ecf4d28 | 1426 | |
025a78ca | 1427 | %files -n samba-vfs-ceph |
01d12910 JR |
1428 | %defattr(644,root,root,755) |
1429 | %attr(755,root,root) %{_libdir}/samba/vfs/ceph.so | |
1430 | ||
025a78ca | 1431 | %files -n samba-vfs-glusterfs |
01d12910 JR |
1432 | %defattr(644,root,root,755) |
1433 | %attr(755,root,root) %{_libdir}/samba/vfs/glusterfs.so | |
1434 | ||
025a78ca | 1435 | %files -n samba-vfs-notify_fam |
450db13e JR |
1436 | %defattr(644,root,root,755) |
1437 | %attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so | |
1438 | %{_mandir}/man8/vfs_notify_fam.8* | |
8ba454ef | 1439 | |
025a78ca | 1440 | %files -n smbget |
4ecf4d28 | 1441 | %defattr(644,root,root,755) |
c083eea8 JR |
1442 | %attr(755,root,root) %{_bindir}/smbget |
1443 | %{_mandir}/man1/smbget.1* | |
1444 | %{_mandir}/man5/smbgetrc.5* | |
4ecf4d28 | 1445 | |
c083eea8 | 1446 | %if %{with cups} |
025a78ca | 1447 | %files -n cups-backend-smb |
99795f36 | 1448 | %defattr(644,root,root,755) |
c083eea8 JR |
1449 | %attr(755,root,root) %{cups_serverbin}/backend/smb |
1450 | %attr(755,root,root) %{_bindir}/smbspool | |
1451 | %{_mandir}/man8/smbspool.8* | |
105507bc | 1452 | %endif |
8d59ae13 | 1453 | |
025a78ca | 1454 | %files -n nss_wins |
382a477a | 1455 | %defattr(644,root,root,755) |
0673c853 | 1456 | %attr(755,root,root) /%{_lib}/libnss_wins.so* |
382a477a | 1457 | |
fe5b5b93 | 1458 | %files -n libsmbclient |
382a477a JR |
1459 | %defattr(644,root,root,755) |
1460 | %attr(755,root,root) %{_libdir}/libsmbclient.so.* | |
382a477a | 1461 | %attr(755,root,root) %{_libdir}/libwbclient.so.* |
38ed5efa | 1462 | %attr(755,root,root) %{_libdir}/samba/libwinbind-client.so |
287950f2 | 1463 | %{_mandir}/man7/libsmbclient.7* |
382a477a | 1464 | |
fe5b5b93 | 1465 | %files -n libsmbclient-devel |
382a477a JR |
1466 | %defattr(644,root,root,755) |
1467 | %attr(755,root,root) %{_libdir}/libsmbclient.so | |
382a477a | 1468 | %attr(755,root,root) %{_libdir}/libwbclient.so |
5a89b1cc | 1469 | %dir %{_includedir}/samba-4.0 |
e98238cc JR |
1470 | %{_includedir}/samba-4.0/libsmbclient.h |
1471 | %{_includedir}/samba-4.0/wbclient.h | |
1472 | %{_pkgconfigdir}/smbclient.pc | |
1473 | %{_pkgconfigdir}/wbclient.pc | |
382a477a | 1474 | |
382a477a | 1475 | %if %{with ldap} |
025a78ca | 1476 | %files -n openldap-schema-samba |
382a477a | 1477 | %defattr(644,root,root,755) |
a3c4e78e | 1478 | %{schemadir}/samba.schema |
382a477a | 1479 | %endif |