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