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