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