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