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