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