]>
Commit | Line | Data |
---|---|---|
c04968c4 JR |
1 | # TODO: |
2 | # - unbundle ntdb (no external release as of 16.Oct.2013) | |
29511e6d | 3 | # |
e4bb74d8 | 4 | # Conditional build: |
a3c4e78e JB |
5 | %bcond_without ads # ActiveDirectory support |
6 | %bcond_without cups # CUPS support | |
7 | %bcond_without ldap # LDAP support | |
8 | %bcond_without avahi # Avahi support | |
9 | %bcond_without system_libs # system libraries (talloc,tdb,tevent,ldb) | |
105507bc | 10 | |
e71e0470 JR |
11 | %if %{with system_libs} |
12 | %define talloc_ver 2.0.7 | |
cd86127c JR |
13 | %define tdb_ver 2:1.2.11 |
14 | %define ldb_ver 1.1.16 | |
f6857f17 | 15 | %define tevent_ver 0.9.18 |
c04968c4 | 16 | %define ntdb_ver 0.9 |
4ecf4d28 JB |
17 | %endif |
18 | ||
a3c4e78e JB |
19 | %include /usr/lib/rpm/macros.perl |
20 | ||
7d14b7f3 | 21 | %define virusfilter_version 0.1.3 |
7a0e596a JR |
22 | Summary: Active Directory server |
23 | Summary(pl.UTF-8): Serwer Active Directory | |
670da5b0 | 24 | Name: samba4 |
e9c7865a | 25 | Version: 4.1.3 |
362c62d9 | 26 | Release: 2 |
6646cd44 | 27 | Epoch: 1 |
6bef715a | 28 | License: GPL v3 |
11d2c190 | 29 | Group: Networking/Daemons |
670da5b0 | 30 | Source0: http://www.samba.org/samba/ftp/stable/samba-%{version}.tar.gz |
e9c7865a | 31 | # Source0-md5: a5dbfe87f4cb3d9d91e15e5df99a59a1 |
ba850b61 | 32 | Source1: smb.init |
46c25e95 | 33 | Source2: samba.pamd |
46c25e95 JR |
34 | Source4: samba.sysconfig |
35 | Source5: samba.logrotate | |
138aecb0 | 36 | Source6: smb.conf |
68134596 | 37 | Source7: winbind.init |
38 | Source8: winbind.sysconfig | |
cd86127c | 39 | Source9: samba.init |
46c25e95 | 40 | Source10: https://github.com/downloads/fumiyas/samba-virusfilter/samba-virusfilter-%{virusfilter_version}.tar.bz2 |
7d14b7f3 | 41 | # Source10-md5: a3a30d5fbf309d356e8c5833db680c17 |
f5211db7 | 42 | Source11: samba3.logrotate |
34895621 | 43 | Patch0: system-heimdal.patch |
46c25e95 | 44 | Patch1: samba-c++-nofail.patch |
46c25e95 | 45 | Patch4: samba-lprng-no-dot-printers.patch |
cd86127c JR |
46 | Patch5: systemd-pid-dir.patch |
47 | Patch6: unicodePwd-nthash-values-over-LDAP.patch | |
c04968c4 | 48 | Patch7: link.patch |
7a52c5df | 49 | URL: http://www.samba.org/ |
bd658e80 | 50 | BuildRequires: acl-devel |
ea8d81e5 | 51 | BuildRequires: autoconf |
017136ce | 52 | BuildRequires: automake |
a0d23d1e | 53 | %{?with_avahi:BuildRequires: avahi-devel} |
1ae9cf92 | 54 | #BuildRequires: ceph-devel |
aceac5ef | 55 | BuildRequires: ctdb-devel |
62dc8910 | 56 | %{?with_cups:BuildRequires: cups-devel >= 1:1.2.0} |
51bcdd9a | 57 | BuildRequires: dmapi-devel |
a3c759b7 | 58 | BuildRequires: docbook-style-xsl |
5b010594 | 59 | BuildRequires: gamin-devel |
ff01b4ff | 60 | BuildRequires: gdbm-devel |
9f74dab7 | 61 | BuildRequires: gettext-devel |
1ae9cf92 | 62 | BuildRequires: glusterfs-devel |
3dbf1ce9 | 63 | BuildRequires: gnutls-devel |
8e43bad6 | 64 | BuildRequires: heimdal-devel >= 1.5.3-1 |
9f74dab7 | 65 | BuildRequires: iconv |
1125cc60 | 66 | BuildRequires: keyutils-devel |
a3c759b7 | 67 | BuildRequires: libaio-devel |
34895621 | 68 | BuildRequires: libcom_err-devel |
53ce942a | 69 | BuildRequires: libmagic-devel |
4d8c5e20 | 70 | BuildRequires: libnscd-devel |
f092c096 | 71 | BuildRequires: libtool >= 2:1.4d |
40d90f9e | 72 | BuildRequires: make >= 3.81 |
0f00e211 | 73 | BuildRequires: ncurses-devel >= 5.2 |
e9c7865a | 74 | BuildRequires: ncurses-ext-devel >= 5.2 |
78d04323 | 75 | %{?with_ldap:BuildRequires: openldap-devel >= 2.3.0} |
793ad0f8 | 76 | BuildRequires: pam-devel >= 0.99.8.1 |
a3c4e78e JB |
77 | BuildRequires: perl-ExtUtils-MakeMaker |
78 | BuildRequires: perl-Parse-Yapp | |
9f74dab7 | 79 | BuildRequires: pkgconfig |
f092c096 | 80 | BuildRequires: popt-devel |
16c4fca4 | 81 | %{?with_pgsql:BuildRequires: postgresql-devel} |
190a259b JR |
82 | BuildRequires: python-devel |
83 | BuildRequires: python-dns | |
6bf53014 | 84 | BuildRequires: python-modules |
190a259b | 85 | BuildRequires: python-testtools |
f092c096 | 86 | BuildRequires: readline-devel >= 4.2 |
dce29ff7 | 87 | BuildRequires: rpmbuild(macros) >= 1.647 |
a3c4e78e | 88 | BuildRequires: rpm-perlprov |
a3c759b7 | 89 | BuildRequires: rpm-pythonprov |
e155c475 | 90 | BuildRequires: sed >= 4.0 |
e71e0470 | 91 | %if %{with system_libs} |
e71e0470 | 92 | BuildRequires: ldb-devel >= %{ldb_ver} |
c04968c4 | 93 | #BuildRequires: ntdb-devel >= %{ntdb_ver} |
e71e0470 JR |
94 | BuildRequires: python-ldb-devel >= %{ldb_ver} |
95 | BuildRequires: python-talloc-devel >= %{talloc_ver} | |
96 | BuildRequires: python-tevent >= %{tevent_ver} | |
05913998 JR |
97 | BuildRequires: talloc-devel >= %{talloc_ver} |
98 | BuildRequires: tdb-devel >= %{tdb_ver} | |
99 | BuildRequires: tevent-devel >= %{tevent_ver} | |
e71e0470 | 100 | %endif |
bd658e80 | 101 | BuildRequires: xfsprogs-devel |
34895621 | 102 | BuildConflicts: libbsd-devel |
656b05ab | 103 | Requires(post,preun): /sbin/chkconfig |
6646cd44 | 104 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
29533586 | 105 | Requires: %{name}-common-server = %{epoch}:%{version}-%{release} |
7f7b5c36 | 106 | Requires: python-samba4 = %{epoch}:%{version}-%{release} |
cd83be60 | 107 | Requires: logrotate >= 3.7-4 |
793ad0f8 | 108 | Requires: pam >= 0.99.8.1 |
8bf54aa6 | 109 | Requires: rc-scripts >= 0.4.0.12 |
27879fe9 | 110 | Requires: setup >= 2.4.6-7 |
dce29ff7 | 111 | Requires: systemd-units >= 38 |
62dc8910 | 112 | # smbd links with libcups |
ac083993 | 113 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} |
e765216e JR |
114 | Obsoletes: samba-doc-html |
115 | Obsoletes: samba-doc-pdf | |
05913998 JR |
116 | Obsoletes: samba-pdb-xml |
117 | Obsoletes: samba-vfs-block | |
da3dadf3 | 118 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
1925a8b4 | 119 | |
c10bc67e | 120 | %define _sambahome /home/services/samba |
ddea14b0 | 121 | %if %{with cups} |
478e9eab | 122 | %define cups_serverbin %{_prefix}/lib/cups |
fd9d8b85 | 123 | %endif |
99795f36 | 124 | %define schemadir /usr/share/openldap/schema |
92c45d25 | 125 | |
01485082 ER |
126 | # CFLAGS modified (the second ./configure) |
127 | %undefine configure_cache | |
128 | ||
e11c6ca1 | 129 | %description |
cfa67cf6 | 130 | Samba provides an SMB server which can be used to provide network |
131 | services to SMB (sometimes called "Lan Manager") clients, including | |
132 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
133 | also provides some SMB clients, which complement the built-in SMB | |
134 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
135 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
e11c6ca1 | 136 | |
7a0e596a | 137 | This package contains main Active Directory server daemon. |
96088f7b JR |
138 | |
139 | %description -l pl.UTF-8 | |
140 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia | |
141 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
142 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
143 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
144 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
145 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
146 | haseł w standardzie MS i zarządzania bazą WINS. | |
147 | ||
a3c4e78e | 148 | Ten pakiet dostarcza główny demon Active Directory. |
da957f7e | 149 | |
ac6f9d13 | 150 | %package client |
7a0e596a JR |
151 | Summary: Samba AD client programs |
152 | Summary(pl.UTF-8): Klienci serwera Samba AD | |
2eedd257 | 153 | Group: Applications/Networking |
6646cd44 | 154 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
7f7b5c36 | 155 | Requires: python-samba4 = %{epoch}:%{version}-%{release} |
8e43bad6 | 156 | Requires: heimdal-libs >= 1.5.3-1 |
b0b9dc36 | 157 | Suggests: cifs-utils |
85d322d3 | 158 | Obsoletes: smbfs |
ac6f9d13 MC |
159 | |
160 | %description client | |
161 | Samba-client provides some SMB clients, which complement the build-in | |
162 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
163 | printing to SMB printers. | |
164 | ||
96088f7b JR |
165 | %description client -l pl.UTF-8 |
166 | Samba-client dostarcza programy uzupełniające obsługę systemu plików | |
167 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
bd658e80 | 168 | drukowanie w sieci SMB. |
ac6f9d13 MC |
169 | |
170 | %package common | |
ea8d81e5 | 171 | Summary: Files used by both Samba servers and clients |
a3c4e78e | 172 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samby |
2eedd257 | 173 | Group: Networking/Daemons |
d39cef87 | 174 | Requires: python-samba4 = %{epoch}:%{version}-%{release} |
8e43bad6 JR |
175 | %if %{with system_libs} |
176 | Requires: ldb >= %{ldb_ver} | |
c04968c4 | 177 | #Requires: ntdb >= %{ntdb_ver} |
0b940f4e JR |
178 | Requires: talloc >= %{talloc_ver} |
179 | Requires: tdb >= %{tdb_ver} | |
8e43bad6 JR |
180 | Requires: tevent >= %{tevent_ver} |
181 | %endif | |
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 | |
234 | Obsoletes: pam_smbpass | |
5ddfdd70 | 235 | Obsoletes: pam-pam_smbpass < 1:4.0.8-3 |
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 JR |
263 | Group: Development/Languages/Python |
264 | %pyrequires_eq python | |
265 | Requires: %{name}-common = %{epoch}:%{version}-%{release} | |
b069341b JR |
266 | Requires: python-dns |
267 | Requires: python-modules | |
8e43bad6 JR |
268 | %if %{with system_libs} |
269 | Requires: python-ldb >= %{ldb_ver} | |
c04968c4 | 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 JR |
315 | Requires: samba3-common = %{epoch}:%{version}-%{release} |
316 | Requires: %{name}-common-server = %{epoch}:%{version}-%{release} | |
7a0e596a JR |
317 | # smbd links with libcups |
318 | %{?with_cups:Requires: cups-lib >= 1:1.2.0} | |
7a0e596a JR |
319 | Obsoletes: samba-pdb-xml |
320 | Obsoletes: samba-vfs-block | |
382a477a JR |
321 | |
322 | %description -n samba3 | |
7a0e596a JR |
323 | Samba provides an SMB server which can be used to provide network |
324 | services to SMB (sometimes called "Lan Manager") clients, including | |
325 | various versions of MS Windows, OS/2, and other Linux machines. Samba | |
326 | also provides some SMB clients, which complement the built-in SMB | |
327 | filesystem in Linux. Samba uses NetBIOS over TCP/IP (NetBT) protocols | |
328 | and does NOT need NetBEUI (Microsoft Raw NetBIOS frame) protocol. | |
329 | ||
3dbf1ce9 | 330 | %description -n samba3 -l pl.UTF-8 |
7a0e596a JR |
331 | Samba udostępnia serwer SMB, który może być użyty w celu dostarczenia |
332 | usług sieciowych (potocznie zwanych "Lan Manager"), dla klientów | |
333 | takich jak MS Windows, OS/2 a także maszyn linuksowych. W pakiecie | |
334 | znajduje się również oprogramowanie klienckie. Samba używa protokołu | |
335 | NetBIOS po TCP/IP (NetBT) i nie wymaga protokołu NetBEUI. Ta wersja ma | |
336 | pełne wsparcie dla blokowania plików, a także wsparcie dla kodowania | |
337 | haseł w standardzie MS i zarządzania bazą WINS. | |
382a477a | 338 | |
3dbf1ce9 JR |
339 | %package -n samba3-server |
340 | Summary: SMB server initscripts | |
341 | Summary(pl.UTF-8): Skrypty startowe serwera SMB | |
342 | Group: Networking/Daemons | |
343 | Requires(post,preun): /sbin/chkconfig | |
344 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
345 | Requires: logrotate >= 3.7-4 | |
346 | Requires: rc-scripts >= 0.4.0.12 | |
347 | Requires: setup >= 2.4.6-7 | |
d210f559 | 348 | Obsoletes: samba < 1:4.0.0-1 |
3dbf1ce9 JR |
349 | |
350 | %description -n samba3-server | |
351 | This package contains startup scripts and services for old SMB server | |
352 | daemons (smbd, nmbd). | |
353 | ||
354 | %description -n samba3-server -l pl.UTF-8 | |
355 | Ten pakiet zawiera skrypty startowe dla starych usług serwera SMB | |
356 | (smbd, nmbd). | |
357 | ||
382a477a | 358 | %package -n samba3-client |
7a0e596a JR |
359 | Summary: Samba client programs |
360 | Summary(pl.UTF-8): Klienci serwera Samba | |
361 | Group: Applications/Networking | |
362 | Requires: samba3-common = %{epoch}:%{version}-%{release} | |
664cf74c | 363 | Requires: samba3-libsmbclient = %{epoch}:%{version}-%{release} |
8e43bad6 | 364 | Requires: heimdal-libs |
7a0e596a | 365 | Obsoletes: smbfs |
1b1289b5 | 366 | Obsoletes: samba-client < 1:4.0.0-1 |
7a0e596a | 367 | Suggests: cifs-utils |
382a477a JR |
368 | |
369 | %description -n samba3-client | |
7a0e596a JR |
370 | Samba-client provides some SMB clients, which complement the build-in |
371 | SMB filesystem in Linux. These allow accessing of SMB shares and | |
372 | printing to SMB printers. | |
373 | ||
3dbf1ce9 | 374 | %description -n samba3-client -l pl.UTF-8 |
7a0e596a JR |
375 | Samba-client dostarcza programy uzupełniające obsługę systemu plików |
376 | SMB zawartą w jądrze. Pozwalają one na współdzielenie zasobów SMB i | |
377 | drukowanie w sieci SMB. | |
382a477a JR |
378 | |
379 | %package -n samba3-common | |
7a0e596a JR |
380 | Summary: Files used by both Samba servers and clients |
381 | Summary(pl.UTF-8): Pliki używane przez serwer i klientów Samba | |
382a477a | 382 | Group: Networking/Daemons |
7a0e596a JR |
383 | Requires: talloc >= %{libtalloc_ver} |
384 | Requires: tdb >= %{libtdb_ver} | |
1b1289b5 | 385 | Obsoletes: samba-common < 1:4.0.0-1 |
382a477a JR |
386 | |
387 | %description -n samba3-common | |
7a0e596a JR |
388 | Samba-common provides files necessary for both the server and client |
389 | packages of Samba. | |
390 | ||
3dbf1ce9 | 391 | %description -n samba3-common -l pl.UTF-8 |
7a0e596a JR |
392 | Samba-common dostarcza pliki niezbędne zarówno dla serwera jak i |
393 | klientów Samba. | |
382a477a | 394 | |
f1c7ad61 JR |
395 | %package -n samba3-devel |
396 | Summary: Header files for Samba | |
397 | Summary(pl.UTF-8): Pliki nagłówkowe Samby | |
398 | Group: Development/Libraries | |
8e43bad6 | 399 | Requires: samba3-common = %{epoch}:%{version}-%{release} |
a3c4e78e | 400 | Obsoletes: samba-devel < 1:4.0.0-1 |
f1c7ad61 JR |
401 | |
402 | %description -n samba3-devel | |
403 | Header files for Samba. | |
404 | ||
405 | %description -n samba3-devel -l pl.UTF-8 | |
406 | Pliki nagłówkowe Samby. | |
407 | ||
c083eea8 JR |
408 | %package -n samba3-vfs-audit |
409 | Summary: VFS module to audit file access | |
410 | Summary(pl.UTF-8): Moduł VFS do monitorowania operacji na plikach | |
4c0ad0d2 | 411 | Group: Networking/Daemons |
17937b31 | 412 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 413 | Obsoletes: samba-vfs-audit < 1:4.0.0-1 |
70ff6d03 | 414 | |
c083eea8 | 415 | %description -n samba3-vfs-audit |
a3c4e78e JB |
416 | A simple modules (audit, extd_audit, full_audit) to audit file access |
417 | to the syslog facility. The following operations are logged: | |
8d59ae13 | 418 | - share connect/disconnect, |
419 | - directory opens/create/remove, | |
420 | - file open/close/rename/unlink/chmod. | |
70ff6d03 | 421 | |
c083eea8 | 422 | %description -n samba3-vfs-audit -l pl.UTF-8 |
a3c4e78e | 423 | Proste moduły (audit, extd_audit, full_audit) do monitorowania dostępu |
924da4cf | 424 | do plików na serwerze Samba do sysloga. Monitorowane są następujące |
a3c4e78e | 425 | operacje: |
96088f7b | 426 | - podłączenie do/odłączenie od zasobu, |
8d59ae13 | 427 | - otwarcie/utworzenie/zmiana nazwy katalogu, |
96088f7b | 428 | - otwarcie/zamknięcie/zmiana nazwy/skasowanie/zmiana praw plików. |
0719a8a7 | 429 | |
c083eea8 | 430 | %package -n samba3-vfs-cap |
cc6b68cd | 431 | Summary: VFS module for CAP and samba compatibility |
fa1faeca | 432 | Summary(pl.UTF-8): Moduł VFS zgodności z CAP (Columbia AppleTalk Program) |
d1f5710a | 433 | Group: Networking/Daemons |
17937b31 | 434 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 435 | Obsoletes: samba-vfs-cap < 1:4.0.0-1 |
d1f5710a | 436 | |
c083eea8 | 437 | %description -n samba3-vfs-cap |
e1c0d47d | 438 | Convert an incoming Shift-JIS character to the 3 byte hex |
439 | representation used by the Columbia AppleTalk Program (CAP), i.e. :AB. | |
440 | This is used for compatibility between Samba and CAP. | |
d1f5710a | 441 | |
c083eea8 | 442 | %description -n samba3-vfs-cap -l pl.UTF-8 |
cc6b68cd | 443 | Zamienia znaki kodowane Shift-JIS do trzybajowej szestnastkowej |
96088f7b | 444 | reprezentacji używanej przez program Columbia AppleTalk Program (CAP). |
d1f5710a | 445 | |
a3c4e78e JB |
446 | %package -n samba3-vfs-catia |
447 | Summary: VFS module to fix Catia CAD filenames | |
448 | Summary(pl.UTF-8): Moduł VFS poprawiający nazwy plików z pakietu CAD Catia | |
449 | Group: Networking/Daemons | |
450 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
451 | Obsoletes: samba-vfs-catia < 1:4.0.0-1 | |
452 | ||
453 | %description -n samba3-vfs-catia | |
454 | The Catia CAD package commonly creates filenames that use characters | |
455 | that are illegal in CIFS filenames. The vfs_catia VFS module | |
456 | implements a fixed character mapping so that these files can be shared | |
457 | with CIFS clients. | |
458 | ||
459 | %description -n samba3-vfs-catia -l pl.UTF-8 | |
460 | Pakiet CAD Catia często tworzy nazwy plików, wykorzystujące znaki, | |
461 | które nie są dozwolone w nazwach plików CIFS. Moduł VFS vfs_catia | |
462 | implementuje stałe odwzorowanie znaków, pozwalające na współdzielenie | |
463 | plików z innymi klientami CIFS. | |
464 | ||
c083eea8 | 465 | %package -n samba3-vfs-default_quota |
97334e11 | 466 | Summary: VFS module to store default quotas in a specified quota record |
fa1faeca | 467 | Summary(pl.UTF-8): Moduł VFS do zapisywania domyślnych limitów w określonym rekordzie |
d1f5710a | 468 | Group: Networking/Daemons |
17937b31 | 469 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 470 | Obsoletes: samba-vfs-default_quota < 1:4.0.0-1 |
d1f5710a | 471 | |
c083eea8 | 472 | %description -n samba3-vfs-default_quota |
97334e11 | 473 | This VFS modules stores default quotas in a specified quota record. |
d1f5710a | 474 | |
c083eea8 | 475 | %description -n samba3-vfs-default_quota -l pl.UTF-8 |
96088f7b JR |
476 | Ten moduł VFS zapisuje domyślne limity (quoty) w określonym rekordzie |
477 | limitów. | |
d1f5710a | 478 | |
c083eea8 | 479 | %package -n samba3-vfs-expand_msdfs |
cc6b68cd | 480 | Summary: VFS module for hosting a Microsoft Distributed File System Tree |
fa1faeca | 481 | Summary(pl.UTF-8): Moduł VFS obsługi Microsoft Distributed File System |
d1f5710a | 482 | Group: Networking/Daemons |
17937b31 | 483 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 484 | Obsoletes: samba-vfs-expand_msdfs < 1:4.0.0-1 |
d1f5710a | 485 | |
c083eea8 | 486 | %description -n samba3-vfs-expand_msdfs |
cc6b68cd | 487 | A VFS module for hosting a Microsoft Distributed File System Tree. |
d1f5710a | 488 | |
cc6b68cd | 489 | The Distributed File System (DFS) provides a means of separating the |
490 | logical view of files and directories that users see from the actual | |
e1c0d47d | 491 | physical locations of these resources on the network. It allows for |
492 | higher availability, smoother storage expansion, load balancing, and | |
493 | so on. | |
d1f5710a | 494 | |
c083eea8 | 495 | %description -n samba3-vfs-expand_msdfs -l pl.UTF-8 |
96088f7b | 496 | Moduł VFS do udostępniania drzewa systemu plików Microsoft Distributed |
727a2c6a JB |
497 | File System. |
498 | ||
96088f7b JR |
499 | Distributed File System (DFS) umożliwia rozdzielanie logicznego widoku |
500 | plików i katalogów widocznych przez użytkowników z fizycznego | |
501 | umiejscowienia tych zasobów w sieci. Pozwala to na wyższą dostępność, | |
502 | płynniejsze powiększanie przestrzeni, rozdzielanie obciążenia itp. | |
cc6b68cd | 503 | |
c083eea8 | 504 | %package -n samba3-vfs-fake_perms |
727a2c6a | 505 | Summary: VFS module to report read-only fires as writable |
fa1faeca | 506 | Summary(pl.UTF-8): Moduł VFS udający, że pliki tylko do odczytu są zapisywalne |
d1f5710a | 507 | Group: Networking/Daemons |
17937b31 | 508 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 509 | Obsoletes: samba-vfs-fake_perms < 1:4.0.0-1 |
d1f5710a | 510 | |
c083eea8 | 511 | %description -n samba3-vfs-fake_perms |
e1c0d47d | 512 | This module allow Roaming Profile files and directories to be set (on |
513 | the Samba server under UNIX) as read only. This module will, if | |
514 | installed on the Profiles share, report to the client that the Profile | |
515 | files and directories are writeable. This satisfies the client even | |
516 | though the files will never be overwritten as the client logs out or | |
517 | shuts down. | |
d1f5710a | 518 | |
c083eea8 | 519 | %description -n samba3-vfs-fake_perms -l pl.UTF-8 |
96088f7b JR |
520 | Ten moduł pozwala na ustawienie plików i katalogów z wędrujących |
521 | profili (Roaming Profiles) jako tylko do odczytu. Moduł ten w | |
522 | przypadku zainstalowania na udziale z profilami będzie zgłaszał | |
523 | klientom, że pliki i katalogi z profilu są zapisywane. To wystarczy | |
524 | klientom pomimo, że pliki nie zostaną nigdy nadpisane przy logowaniu | |
727a2c6a | 525 | lub wylogowywaniu klienta. |
d1f5710a | 526 | |
c083eea8 | 527 | %package -n samba3-vfs-notify_fam |
9f74dab7 | 528 | Summary: VFS module to implement file change notifications |
8ba454ef AM |
529 | Summary(pl.UTF-8): Moduł VFS implementujący informowanie o zmianach w plikach |
530 | Group: Networking/Daemons | |
17937b31 | 531 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 532 | Obsoletes: samba-vfs-notify_fam < 1:4.0.0-1 |
8ba454ef | 533 | |
c083eea8 | 534 | %description -n samba3-vfs-notify_fam |
8ba454ef AM |
535 | The vfs_notify_fam module makes use of the system FAM (File Alteration |
536 | Monitor) daemon to implement file change notifications for Windows | |
537 | clients. | |
538 | ||
c083eea8 | 539 | %description -n samba3-vfs-notify_fam -l pl.UTF-8 |
8ba454ef AM |
540 | Ten moduł używa demona FAM (File Alteration Monitor) do implementacji |
541 | informowania o zmianach w plikach dla klientów Windows. | |
542 | ||
c083eea8 | 543 | %package -n samba3-vfs-netatalk |
a3c4e78e | 544 | Summary: VFS module for ease co-existence of Samba and netatalk |
924da4cf | 545 | Summary(pl.UTF-8): Moduł VFS ułatwiający współpracę usług Samba i netatalk |
d1f5710a | 546 | Group: Networking/Daemons |
17937b31 | 547 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 548 | Obsoletes: samba-vfs-netatalk < 1:4.0.0-1 |
d1f5710a | 549 | |
c083eea8 | 550 | %description -n samba3-vfs-netatalk |
727a2c6a | 551 | Package contains a netatalk VFS module for ease co-existence of Samba |
e1c0d47d | 552 | and netatalk file sharing services. |
d1f5710a | 553 | |
c083eea8 | 554 | %description -n samba3-vfs-netatalk -l pl.UTF-8 |
a3c4e78e | 555 | Pakiet zawiera moduł VFS netatalk umożliwiający współpracę usług Samba |
96088f7b | 556 | i netatalk przy udostępnianiu zasobów. |
d1f5710a | 557 | |
c083eea8 | 558 | %package -n samba3-vfs-recycle |
a3c4e78e | 559 | Summary: VFS module to add recycle bin facility to a Samba share |
924da4cf | 560 | Summary(pl.UTF-8): Moduł VFS dodający funkcję kosza do zasobu Samby |
97334e11 | 561 | Group: Networking/Daemons |
17937b31 | 562 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 563 | Obsoletes: samba-vfs-recycle < 1:4.0.0-1 |
97334e11 | 564 | |
c083eea8 | 565 | %description -n samba3-vfs-recycle |
a3c4e78e | 566 | VFS module to add recycle bin facility to a Samba share. |
97334e11 | 567 | |
c083eea8 | 568 | %description -n samba3-vfs-recycle -l pl.UTF-8 |
924da4cf | 569 | Moduł VFS dodający funkcję kosza do zasobu Samby. |
97334e11 | 570 | |
c083eea8 | 571 | %package -n samba3-vfs-readahead |
05756483 | 572 | Summary: VFS module for pre-loading the kernel buffer cache |
8134e830 | 573 | Summary(pl.UTF-8): Moduł VFS do wczesnego odczytu danych do bufora cache jądra |
05756483 | 574 | Group: Networking/Daemons |
17937b31 | 575 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 576 | Obsoletes: samba-vfs-readahead < 1:4.0.0-1 |
4d8c5e20 | 577 | |
c083eea8 | 578 | %description -n samba3-vfs-readahead |
4d8c5e20 JB |
579 | This VFS module detects read requests at multiples of a given offset |
580 | (hex 0x80000 by default) and then tells the kernel via either the | |
581 | readahead system call (on Linux) or the posix_fadvise system call to | |
582 | pre-fetch this data into the buffer cache. | |
583 | ||
584 | This module is useful for Windows Vista clients reading data using the | |
585 | Windows Explorer program, which asynchronously does multiple file read | |
586 | requests at offset boundaries of 0x80000 bytes. | |
587 | ||
c083eea8 | 588 | %description -n samba3-vfs-readahead -l pl.UTF-8 |
8134e830 JB |
589 | Ten moduł VFS wykrywa żądania odczytu spod wielokrotności podanych |
590 | pozycji (domyślnie 0x80000 szesnastkowo) i instruuje jądro poprzez | |
591 | wywołanie systemowe readahead (pod Linuksem) lub posix_fadvise do | |
592 | wczesnego odczytu tych danych do bufora cache. | |
4d8c5e20 | 593 | |
8134e830 JB |
594 | Ten moduł jest przydatny dla klientów Windows Vista odczytujących dane |
595 | przy użyciu programu Windows Explorer, który asynchronicznie wykonuje | |
596 | wiele żądań odczytu plików spod pozycji o wielokrotnościach 0x80000 | |
597 | bajtów. | |
4d8c5e20 | 598 | |
c083eea8 | 599 | %package -n samba3-vfs-readonly |
97334e11 | 600 | Summary: VFS module for read-only limitation for specified share |
fa1faeca | 601 | Summary(pl.UTF-8): Moduł VFS do ograniczania określonego udziału tylko do odczytu |
97334e11 | 602 | Group: Networking/Daemons |
17937b31 | 603 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 604 | Obsoletes: samba-vfs-readonly < 1:4.0.0-1 |
97334e11 | 605 | |
c083eea8 | 606 | %description -n samba3-vfs-readonly |
97334e11 JB |
607 | This module performs a read-only limitation for specified share (or |
608 | all of them if it is loaded in a [global] section) based on period | |
609 | definition in smb.conf. | |
610 | ||
c083eea8 | 611 | %description -n samba3-vfs-readonly -l pl.UTF-8 |
96088f7b JR |
612 | Ten moduł wprowadza ograniczenie tylko do odczytu dla określonego |
613 | udziału (lub wszystkich, jeśli jest wczytywany w sekcji [global]) w | |
614 | oparciu o definicje okresów w smb.conf. | |
97334e11 | 615 | |
c083eea8 | 616 | %package -n samba3-vfs-scannedonly |
d718c2e1 | 617 | Summary: Anti-virus solution as VFS module |
4ecf4d28 | 618 | Summary(pl.UTF-8): Rozwiązanie antywirusowe jako moduł VFS |
d718c2e1 | 619 | Group: Networking/Daemons |
17937b31 | 620 | Requires: samba3 = %{epoch}:%{version}-%{release} |
1b1289b5 | 621 | Obsoletes: samba-vfs-scannedonly < 1:4.0.0-1 |
d718c2e1 | 622 | |
c083eea8 | 623 | %description -n samba3-vfs-scannedonly |
aceac5ef ER |
624 | The vfs_scannedonly VFS module ensures that only files that have been |
625 | scanned for viruses are visible and accessible to the end user. If | |
626 | non-scanned files are found an anti-virus scanning daemon is notified. | |
d718c2e1 | 627 | |
a3c4e78e JB |
628 | %description -n samba3-vfs-scannedonly -l pl.UTF-8 |
629 | Moduł VFS vfs_scannedonly zapewnia, że tylko pliki, które zostały | |
630 | wcześniej przeskanowane pod kątem wirusów, są widoczne i dostępne dla | |
631 | użytkownika końcowego. Jeśli zostaną znalezione pliki nie | |
632 | przeskanowane, powiadamiany jest antywirusowy demon skanujący. | |
633 | ||
634 | %package -n samba3-vfs-shadow_copy | |
635 | Summary: VFS module to make automatic copy of data in Samba share | |
636 | Summary(pl.UTF-8): Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby | |
637 | Group: Networking/Daemons | |
638 | Requires: samba3 = %{epoch}:%{version}-%{release} | |
639 | Obsoletes: samba-vfs-shadow_copy < 1:4.0.0-1 | |
640 | ||
641 | %description -n samba3-vfs-shadow_copy | |
642 | VFS module to make automatic copy of data in Samba share. | |
643 | ||
644 | %description -n samba3-vfs-shadow_copy -l pl.UTF-8 | |
645 | Moduł VFS do tworzenia automatycznych kopii danych w zasobach Samby. | |
646 | ||
5ddfdd70 | 647 | %package -n smbget3 |
382a477a JR |
648 | Summary: A utility for retrieving files using the SMB protocol |
649 | Summary(pl.UTF-8): Narzędzie do pobierania plików protokołem SMB | |
650 | Group: Applications/Networking | |
5ddfdd70 | 651 | Obsoletes: smbget < 1:4.0.8-3 |
4ecf4d28 | 652 | |
5ddfdd70 | 653 | %description -n smbget3 |
a3c4e78e | 654 | wget-like utility for downloading files over SMB. |
4ecf4d28 | 655 | |
5ddfdd70 | 656 | %description -n smbget3 -l pl.UTF-8 |
382a477a JR |
657 | Narzędzie podobne do wgeta do pobierania plików protokołem SMB |
658 | używanym w sieciach MS Windows. | |
4ecf4d28 | 659 | |
5ddfdd70 | 660 | %package -n cups-backend-smb3 |
382a477a JR |
661 | Summary: CUPS backend for printing to SMB printers |
662 | Summary(pl.UTF-8): Backend CUPS-a drukujący na drukarkach SMB | |
663 | Group: Applications/Printing | |
664 | Requires: samba3-client = %{epoch}:%{version}-%{release} | |
665 | Requires: cups >= 1:1.2.0 | |
5ddfdd70 | 666 | Obsoletes: cups-backend-smb < 1:4.0.8-3 |
4ecf4d28 | 667 | |
5ddfdd70 | 668 | %description -n cups-backend-smb3 |
382a477a | 669 | CUPS backend for printing to SMB printers. |
99795f36 | 670 | |
5ddfdd70 | 671 | %description -n cups-backend-smb3 -l pl.UTF-8 |
382a477a | 672 | Backend CUPS-a drukujący na drukarkach SMB. |
99795f36 | 673 | |
382a477a JR |
674 | %package -n samba3-winbind |
675 | Summary: Samba-winbind daemon, utilities and documentation | |
676 | Summary(pl.UTF-8): Demon samba-winbind, narzędzia i dokumentacja | |
677 | Group: Networking/Daemons | |
678 | Requires(post,preun): /sbin/chkconfig | |
29533586 | 679 | Requires: samba3-common = %{epoch}:%{version}-%{release} |
382a477a | 680 | Requires: systemd-units >= 38 |
1b1289b5 | 681 | Obsoletes: samba-winbind < 1:4.0.0-1 |
6646cd44 | 682 | |
382a477a JR |
683 | %description -n samba3-winbind |
684 | Provides the winbind daemon and testing tools to allow authentication | |
685 | and group/user enumeration from a Windows or Samba domain controller. | |
6646cd44 | 686 | |
382a477a JR |
687 | %description -n samba3-winbind -l pl.UTF-8 |
688 | Pakiet zawiera demona winbind oraz narzędzia testowe. Umożliwia | |
689 | uwierzytelnianie i wyliczanie grup/użytkowników z kontrolera domeny | |
690 | Windows lub Samba. | |
6646cd44 | 691 | |
5ddfdd70 | 692 | %package -n nss_wins3 |
382a477a JR |
693 | Summary: Name Service Switch service for WINS |
694 | Summary(pl.UTF-8): Usługa Name Service Switch dla WINS | |
695 | Group: Base | |
8e43bad6 | 696 | Requires: %{name}-common = %{epoch}:%{version}-%{release} |
5ddfdd70 | 697 | Obsoletes: nss_wins < 1:4.0.8-3 |
382a477a | 698 | |
5ddfdd70 | 699 | %description -n nss_wins3 |
382a477a JR |
700 | Provides the libnss_wins shared library which resolves NetBIOS names |
701 | to IP addresses. | |
702 | ||
5ddfdd70 | 703 | %description -n nss_wins3 -l pl.UTF-8 |
382a477a JR |
704 | Biblioteka dzielona libnss_wins rozwiązująca nazwy NetBIOS na adresy |
705 | IP. | |
706 | ||
664cf74c | 707 | %package -n samba3-libsmbclient |
a3c4e78e JB |
708 | Summary: libsmbclient and libwbclient - Samba client libraries |
709 | Summary(pl.UTF-8): libsmbclient i libwbclient - biblioteki klienckie Samby | |
382a477a | 710 | Group: Libraries |
277b5368 | 711 | Obsoletes: libsmbclient |
382a477a | 712 | |
664cf74c | 713 | %description -n samba3-libsmbclient |
a3c4e78e JB |
714 | libsmbclient and libwbclient - libraries that allow to use Samba |
715 | client functions. | |
382a477a | 716 | |
664cf74c | 717 | %description -n samba3-libsmbclient -l pl.UTF-8 |
a3c4e78e JB |
718 | libsmbclient i libwbclient - biblioteki pozwalające korzystać z funcji |
719 | klienta Samby. | |
382a477a | 720 | |
664cf74c | 721 | %package -n samba3-libsmbclient-devel |
a3c4e78e JB |
722 | Summary: Development files for Samba client libraries |
723 | Summary(pl.UTF-8): Pliki programistyczne bibliotek klienta Samby | |
382a477a | 724 | Group: Development/Libraries |
664cf74c | 725 | Requires: samba3-libsmbclient = %{epoch}:%{version}-%{release} |
65f6e010 | 726 | Provides: libsmbclient-devel |
277b5368 JR |
727 | Obsoletes: libsmbclient-devel |
728 | Obsoletes: libsmbclient-static | |
6646cd44 | 729 | |
664cf74c | 730 | %description -n samba3-libsmbclient-devel |
a3c4e78e | 731 | Header files for libsmbclient and libwbclient libraries. |
6646cd44 | 732 | |
664cf74c | 733 | %description -n samba3-libsmbclient-devel -l pl.UTF-8 |
a3c4e78e | 734 | Pliki nagłówkowe bibliotek libsmbclient i libwbclient. |
c083eea8 | 735 | |
1b1289b5 | 736 | %package -n openldap-schema-samba3 |
382a477a | 737 | Summary: Samba LDAP schema |
a3c4e78e | 738 | Summary(pl.UTF-8): Schemat LDAP dla Samby |
ed426448 | 739 | Group: Networking/Daemons |
382a477a JR |
740 | Requires(post,postun): sed >= 4.0 |
741 | Requires: openldap-servers | |
1b1289b5 | 742 | Obsoletes: openldap-schema-samba < 1:4.0.0-1 |
ed426448 | 743 | |
17234a2e | 744 | %description -n openldap-schema-samba3 |
a3c4e78e | 745 | This package contains samba.schema for OpenLDAP. |
382a477a | 746 | |
17234a2e | 747 | %description -n openldap-schema-samba3 -l pl.UTF-8 |
a3c4e78e | 748 | Ten pakiet zawiera schemat Samby (samba.schema) dla OpenLDAP-a. |
ed426448 | 749 | |
1925a8b4 | 750 | %prep |
670da5b0 | 751 | %setup -q -n samba-%{version} |
34895621 | 752 | %patch0 -p1 |
8932759c | 753 | %patch1 -p1 |
ce9af3e2 | 754 | %patch4 -p1 |
450db13e | 755 | %patch5 -p1 |
2aa9f2b6 | 756 | %patch6 -p1 |
c04968c4 | 757 | %patch7 -p1 |
6fb3721a | 758 | |
7f7b5c36 JR |
759 | sed -i -e 's|#!/usr/bin/env python|#!/usr/bin/python|' source4/scripting/bin/samba* |
760 | sed -i -e 's|#!/usr/bin/env perl|#!/usr/bin/perl|' pidl/pidl | |
761 | ||
1925a8b4 | 762 | %build |
34895621 JR |
763 | LDFLAGS="${LDFLAGS:-%rpmldflags}" \ |
764 | CFLAGS="${CFLAGS:-%rpmcflags}" \ | |
765 | CXXFLAGS="${CXXFLAGS:-%rpmcxxflags}" \ | |
766 | FFLAGS="${FFLAGS:-%rpmcflags}" \ | |
767 | FCFLAGS="${FCFLAGS:-%rpmcflags}" \ | |
768 | CPPFLAGS="${CPPFLAGS:-%rpmcppflags}" \ | |
769 | %{?__cc:CC="%{__cc}"} \ | |
770 | %{?__cxx:CXX="%{__cxx}"} \ | |
771 | ./configure \ | |
772 | --enable-fhs \ | |
773 | --prefix=%{_prefix} \ | |
774 | --exec-prefix=%{_exec_prefix} \ | |
775 | --bindir=%{_bindir} \ | |
776 | --sbindir=%{_sbindir} \ | |
777 | --sysconfdir=%{_sysconfdir} \ | |
778 | --datadir=%{_datadir} \ | |
779 | --includedir=%{_includedir} \ | |
780 | --libdir=%{_libdir} \ | |
781 | --libexecdir=%{_libexecdir} \ | |
782 | --localstatedir=%{_localstatedir} \ | |
783 | --sharedstatedir=%{_sharedstatedir} \ | |
784 | --mandir=%{_mandir} \ | |
785 | --infodir=%{_infodir} \ | |
2e711b12 JR |
786 | --with-privatelibdir=%{_libdir}/samba \ |
787 | --with-modulesdir=%{_libdir}/samba \ | |
01485082 | 788 | --with-pammodulesdir=/%{_lib}/security \ |
34895621 JR |
789 | --with-lockdir=/var/lib/samba \ |
790 | --with-privatedir=%{_sysconfdir}/samba \ | |
34895621 | 791 | --disable-rpath-install \ |
5c9e395f | 792 | --builtin-libraries=replace,ccan \ |
c04968c4 | 793 | --bundled-libraries=NONE,subunit,iniparser,ntdb,%{!?with_system_libs:talloc,tdb,ldb,tevent,pytalloc,pytalloc-util,pytdb,pytevent,pyldb,pyldb-util} \ |
34895621 JR |
794 | --private-libraries=smbclient,smbsharemodes,wbclient \ |
795 | --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 | 796 | --with-acl-support \ |
34895621 | 797 | --with%{!?with_ads:out}-ads \ |
40d90f9e | 798 | --with-aio-support \ |
432ee34d | 799 | --with-automount \ |
34895621 JR |
800 | --with-dmapi \ |
801 | --with-dnsupdate \ | |
802 | --with-iconv \ | |
803 | --with%{!?with_ldap:out}-ldap \ | |
d1d64cbe | 804 | --with-pam \ |
29511e6d | 805 | --with-pam_smbpass \ |
4ef99dd8 | 806 | --with-quotas \ |
e9c7865a | 807 | --with-regedit \ |
34895621 | 808 | --with-sendfile-support \ |
4ef99dd8 | 809 | --with-syslog \ |
810 | --with-utmp \ | |
34895621 | 811 | --with-winbind \ |
66e5c63e | 812 | --%{?with_avahi:en}%{!?with_avahi:dis}able-avahi \ |
34895621 JR |
813 | --enable-cups \ |
814 | --enable-iprint | |
1925a8b4 | 815 | |
70ff6d03 | 816 | %{__make} |
192f48a8 | 817 | |
6646cd44 JR |
818 | # Build PIDL for installation into vendor directories before |
819 | # 'make proto' gets to it. | |
820 | cd pidl | |
821 | %{__perl} Makefile.PL \ | |
822 | INSTALLDIRS=vendor | |
823 | ||
1925a8b4 | 824 | %install |
825 | rm -rf $RPM_BUILD_ROOT | |
cd86127c | 826 | 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 | 827 | $RPM_BUILD_ROOT{/var/{log/archive,spool}/samba,/var/lib/samba/printing} \ |
08bf002e | 828 | $RPM_BUILD_ROOT/var/log/samba/cores/{smbd,nmbd} \ |
2e711b12 JR |
829 | $RPM_BUILD_ROOT{/sbin,/%{_lib}/security,%{_libdir},%{_libdir}/samba/vfs,%{_includedir},%{_sambahome},%{schemadir}} \ |
830 | $RPM_BUILD_ROOT{%{systemdtmpfilesdir},%{systemdunitdir}} | |
ba850b61 | 831 | |
34895621 | 832 | %{__make} install \ |
bd658e80 | 833 | DESTDIR=$RPM_BUILD_ROOT \ |
29511e6d | 834 | CONFIGDIR=$RPM_BUILD_ROOT%{_sysconfdir}/samba |
bd658e80 | 835 | |
6646cd44 JR |
836 | # Undo the PIDL install, we want to try again with the right options. |
837 | %{__rm} -r $RPM_BUILD_ROOT/%{_datadir}/perl5 | |
838 | ||
839 | # Install PIDL | |
840 | cd pidl | |
841 | %{__make} install \ | |
842 | PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | |
843 | cd .. | |
844 | ||
845 | # Clean out crap left behind by the PIDL install | |
846 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorlib}/wscript_build | |
847 | %{__rm} -r $RPM_BUILD_ROOT%{perl_vendorlib}/Parse/Yapp | |
fbf926f3 | 848 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Parse/Pidl/.packlist |
6646cd44 | 849 | |
42039dcb JR |
850 | # not ready for production, and no MIT kerberos in PLD |
851 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/mit_samba.so | |
852 | ||
b25f7233 | 853 | install -p source3/script/mksmbpasswd.sh $RPM_BUILD_ROOT%{_sbindir} |
1925a8b4 | 854 | |
2e711b12 JR |
855 | install packaging/systemd/samba.conf.tmp $RPM_BUILD_ROOT%{systemdtmpfilesdir}/samba.conf |
856 | install packaging/systemd/nmb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
857 | install packaging/systemd/samba.service $RPM_BUILD_ROOT%{systemdunitdir} | |
858 | install packaging/systemd/smb.service $RPM_BUILD_ROOT%{systemdunitdir} | |
859 | install packaging/systemd/winbind.service $RPM_BUILD_ROOT%{systemdunitdir} | |
860 | ||
b25f7233 ER |
861 | install -p %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/smb |
862 | cp -p %{SOURCE2} $RPM_BUILD_ROOT/etc/pam.d/samba | |
b25f7233 ER |
863 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/samba |
864 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/logrotate.d/samba | |
f5211db7 | 865 | cp -p %{SOURCE11} $RPM_BUILD_ROOT/etc/logrotate.d/samba3 |
3dbf1ce9 | 866 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/samba/smb.conf |
b25f7233 ER |
867 | install -p %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/winbind |
868 | cp -p %{SOURCE8} $RPM_BUILD_ROOT/etc/sysconfig/winbind | |
cd86127c JR |
869 | install -p %{SOURCE9} $RPM_BUILD_ROOT/etc/rc.d/init.d/samba |
870 | ||
871 | echo "LDB_MODULES_PATH=%{_libdir}/samba/ldb" > $RPM_BUILD_ROOT/etc/env.d/LDB_MODULES_PATH | |
29511e6d | 872 | |
37a62870 JR |
873 | # move lib{smb,wb}client where they always were for compatibility |
874 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libsmbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
875 | ln -s libsmbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libsmbclient.so | |
876 | ln -s libwbclient.so.0 $RPM_BUILD_ROOT%{_libdir}/libwbclient.so | |
877 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/samba/libwbclient.so.* $RPM_BUILD_ROOT%{_libdir} | |
878 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/libsmbclient.h $RPM_BUILD_ROOT%{_includedir} | |
879 | %{__mv} $RPM_BUILD_ROOT%{_includedir}/samba-4.0/wbclient.h $RPM_BUILD_ROOT%{_includedir} | |
880 | ||
34895621 JR |
881 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_winbind.so* $RPM_BUILD_ROOT/%{_lib} |
882 | %{__mv} $RPM_BUILD_ROOT%{_libdir}/libnss_wins.so* $RPM_BUILD_ROOT/%{_lib} | |
883 | install -p bin/vfstest $RPM_BUILD_ROOT%{_bindir} | |
79d8a749 | 884 | |
6a2e83e0 | 885 | touch $RPM_BUILD_ROOT/var/lib/samba/{wins.dat,browse.dat} |
1925a8b4 | 886 | |
01485082 | 887 | echo '127.0.0.1 localhost' > $RPM_BUILD_ROOT%{_sysconfdir}/samba/lmhosts |
8b604b68 | 888 | |
b069341b JR |
889 | echo "%{_libdir}/samba" >$RPM_BUILD_ROOT/etc/ld.so.conf.d/samba.conf |
890 | ||
ddea14b0 | 891 | %if %{with cups} |
fd9d8b85 JB |
892 | install -d $RPM_BUILD_ROOT%{cups_serverbin}/backend |
893 | ln -s %{_bindir}/smbspool $RPM_BUILD_ROOT%{cups_serverbin}/backend/smb | |
894 | %endif | |
9f6f5df1 | 895 | |
29511e6d | 896 | > $RPM_BUILD_ROOT%{_sysconfdir}/samba/smbusers |
8b604b68 | 897 | > $RPM_BUILD_ROOT/etc/security/blacklist.samba |
11d2c190 | 898 | |
105507bc | 899 | %if %{with ldap} |
99795f36 | 900 | install examples/LDAP/samba.schema $RPM_BUILD_ROOT%{schemadir} |
105507bc | 901 | %endif |
99795f36 | 902 | |
7a0e596a | 903 | # remove man pages for not installed commands |
fbf926f3 | 904 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/log2pcap.1* |
fbf926f3 JR |
905 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_cacheprime.8* |
906 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_gpfs.8* | |
907 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_prealloc.8* | |
908 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/vfs_tsmsm.8* | |
7a0e596a | 909 | |
1a8c003b AM |
910 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
911 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
f6857f17 | 912 | %py_postclean |
1a8c003b | 913 | |
ea8d81e5 JB |
914 | %clean |
915 | rm -rf $RPM_BUILD_ROOT | |
9661cd11 | 916 | |
1925a8b4 | 917 | %post |
cd86127c JR |
918 | /sbin/chkconfig --add samba |
919 | %service samba restart "Samba AD daemon" | |
dce29ff7 | 920 | %systemd_post samba.service |
1925a8b4 | 921 | |
922 | %preun | |
cd86127c JR |
923 | if [ "$1" = "0" ]; then |
924 | %service samba stop | |
925 | /sbin/chkconfig --del samba | |
926 | fi | |
dce29ff7 JR |
927 | %systemd_preun samba.service |
928 | ||
929 | %postun | |
930 | %systemd_reload | |
11d2c190 | 931 | |
0b940f4e JR |
932 | %post common -p /sbin/ldconfig |
933 | %postun common -p /sbin/ldconfig | |
70975be6 | 934 | |
d39cef87 JR |
935 | %post -n python-samba4 -p /sbin/ldconfig |
936 | %postun -n python-samba4 -p /sbin/ldconfig | |
937 | ||
3dbf1ce9 | 938 | %post -n samba3-server |
382a477a JR |
939 | /sbin/chkconfig --add smb |
940 | %service smb restart "Samba3 daemons" | |
1a90c755 | 941 | %systemd_post smb.service nmb.service |
382a477a | 942 | |
3dbf1ce9 | 943 | %preun -n samba3-server |
382a477a JR |
944 | if [ "$1" = "0" ]; then |
945 | %service smb stop | |
217f90c0 | 946 | /sbin/chkconfig --del smb |
382a477a JR |
947 | fi |
948 | %systemd_preun smb.service nmb.service | |
949 | ||
3dbf1ce9 | 950 | %postun -n samba3-server |
382a477a JR |
951 | %systemd_reload |
952 | ||
00fd225e JR |
953 | %triggerpostun -n samba3-server -- samba < 1:4.0.0-1 |
954 | /sbin/chkconfig --add smb | |
955 | %service smb restart "Samba3 daemons" | |
956 | %systemd_post smb.service nmb.service | |
957 | ||
382a477a | 958 | %post -n samba3-winbind |
29511e6d | 959 | /sbin/chkconfig --add winbind |
27879fe9 | 960 | %service winbind restart "Winbind daemon" |
dce29ff7 | 961 | %systemd_post winbind.service |
29511e6d | 962 | |
382a477a | 963 | %preun -n samba3-winbind |
29511e6d | 964 | if [ "$1" = "0" ]; then |
27879fe9 | 965 | %service winbind stop |
29511e6d | 966 | /sbin/chkconfig --del winbind |
967 | fi | |
dce29ff7 JR |
968 | %systemd_preun winbind.service |
969 | ||
382a477a | 970 | %postun -n samba3-winbind |
dce29ff7 | 971 | %systemd_reload |
29511e6d | 972 | |
00fd225e JR |
973 | %triggerpostun -n samba3-winbind -- samba-winbind < 1:4.0.0-1 |
974 | /sbin/chkconfig --add winbind | |
975 | %service winbind restart "Winbind daemon" | |
976 | %systemd_post winbind.service | |
977 | ||
8bb2da81 | 978 | %post -n openldap-schema-samba3 |
c4db757c ER |
979 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) |
980 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
27879fe9 | 981 | %service -q ldap restart |
99795f36 | 982 | |
8bb2da81 | 983 | %postun -n openldap-schema-samba3 |
99795f36 | 984 | if [ "$1" = "0" ]; then |
c4db757c | 985 | %openldap_schema_unregister %{schemadir}/samba.schema |
27879fe9 | 986 | %service -q ldap restart |
99795f36 ER |
987 | fi |
988 | ||
00fd225e JR |
989 | %triggerpostun -n openldap-schema-samba3 -- openldap-schema-samba < 1:4.0.0-1 |
990 | # dependant schemas: cosine(uid) inetorgperson(displayName) nis(gidNumber) | |
991 | %openldap_schema_register %{schemadir}/samba.schema -d cosine,inetorgperson,nis | |
992 | %service -q ldap restart | |
993 | ||
1925a8b4 | 994 | %files |
995 | %defattr(644,root,root,755) | |
cd86127c | 996 | %config(noreplace) %verify(not md5 mtime size) /etc/env.d/LDB_MODULES_PATH |
9ff647f7 | 997 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba |
cd86127c | 998 | %attr(754,root,root) /etc/rc.d/init.d/samba |
0b940f4e JR |
999 | %{systemdunitdir}/samba.service |
1000 | %{systemdtmpfilesdir}/samba.conf | |
c083eea8 | 1001 | %attr(755,root,root) %{_bindir}/oLschema2ldif |
0b940f4e JR |
1002 | %attr(755,root,root) %{_sbindir}/samba |
1003 | %attr(755,root,root) %{_sbindir}/samba_dnsupdate | |
7f7b5c36 | 1004 | %attr(755,root,root) %{_sbindir}/samba_kcc |
0b940f4e JR |
1005 | %attr(755,root,root) %{_sbindir}/samba_spnupdate |
1006 | %attr(755,root,root) %{_sbindir}/samba_upgradedns | |
0b940f4e | 1007 | %attr(755,root,root) %{_libdir}/samba/libdsdb-module.so |
c083eea8 | 1008 | %attr(755,root,root) %{_libdir}/samba/libpac.so |
0b940f4e JR |
1009 | %dir %{_libdir}/samba/bind9 |
1010 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9.so | |
1011 | %attr(755,root,root) %{_libdir}/samba/bind9/dlz_bind9_9.so | |
1012 | %dir %{_libdir}/samba/hdb | |
1013 | %attr(755,root,root) %{_libdir}/samba/hdb/hdb_samba4.so | |
0b940f4e JR |
1014 | %dir %{_libdir}/samba/gensec |
1015 | %attr(755,root,root) %{_libdir}/samba/gensec/krb5.so | |
e4310f27 | 1016 | %dir %{_libdir}/samba/ldb |
e4310f27 | 1017 | %attr(755,root,root) %{_libdir}/samba/ldb/aclread.so |
0b940f4e | 1018 | %attr(755,root,root) %{_libdir}/samba/ldb/acl.so |
e4310f27 JR |
1019 | %attr(755,root,root) %{_libdir}/samba/ldb/anr.so |
1020 | %attr(755,root,root) %{_libdir}/samba/ldb/descriptor.so | |
1021 | %attr(755,root,root) %{_libdir}/samba/ldb/dirsync.so | |
1022 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_in.so | |
1023 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_out.so | |
1024 | %attr(755,root,root) %{_libdir}/samba/ldb/extended_dn_store.so | |
1025 | %attr(755,root,root) %{_libdir}/samba/ldb/ildap.so | |
1026 | %attr(755,root,root) %{_libdir}/samba/ldb/instancetype.so | |
1027 | %attr(755,root,root) %{_libdir}/samba/ldb/lazy_commit.so | |
1028 | %attr(755,root,root) %{_libdir}/samba/ldb/ldbsamba_extensions.so | |
1029 | %attr(755,root,root) %{_libdir}/samba/ldb/linked_attributes.so | |
1030 | %attr(755,root,root) %{_libdir}/samba/ldb/local_password.so | |
1031 | %attr(755,root,root) %{_libdir}/samba/ldb/new_partition.so | |
e4310f27 | 1032 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass_attrs.so |
0b940f4e | 1033 | %attr(755,root,root) %{_libdir}/samba/ldb/objectclass.so |
e4310f27 JR |
1034 | %attr(755,root,root) %{_libdir}/samba/ldb/objectguid.so |
1035 | %attr(755,root,root) %{_libdir}/samba/ldb/operational.so | |
1036 | %attr(755,root,root) %{_libdir}/samba/ldb/partition.so | |
1037 | %attr(755,root,root) %{_libdir}/samba/ldb/password_hash.so | |
1038 | %attr(755,root,root) %{_libdir}/samba/ldb/ranged_results.so | |
1039 | %attr(755,root,root) %{_libdir}/samba/ldb/repl_meta_data.so | |
1040 | %attr(755,root,root) %{_libdir}/samba/ldb/resolve_oids.so | |
1041 | %attr(755,root,root) %{_libdir}/samba/ldb/rootdse.so | |
1042 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sam.so | |
1043 | %attr(755,root,root) %{_libdir}/samba/ldb/samba3sid.so | |
1044 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_dsdb.so | |
1045 | %attr(755,root,root) %{_libdir}/samba/ldb/samba_secrets.so | |
1046 | %attr(755,root,root) %{_libdir}/samba/ldb/samldb.so | |
1047 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_data.so | |
1048 | %attr(755,root,root) %{_libdir}/samba/ldb/schema_load.so | |
1049 | %attr(755,root,root) %{_libdir}/samba/ldb/secrets_tdb_sync.so | |
1050 | %attr(755,root,root) %{_libdir}/samba/ldb/show_deleted.so | |
1051 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_dn.so | |
1052 | %attr(755,root,root) %{_libdir}/samba/ldb/simple_ldap_map.so | |
1053 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_delete.so | |
1054 | %attr(755,root,root) %{_libdir}/samba/ldb/subtree_rename.so | |
1055 | %attr(755,root,root) %{_libdir}/samba/ldb/update_keytab.so | |
1056 | %attr(755,root,root) %{_libdir}/samba/ldb/wins_ldb.so | |
382a477a JR |
1057 | %dir %{_libdir}/samba/process_model |
1058 | %attr(755,root,root) %{_libdir}/samba/process_model/onefork.so | |
1059 | %attr(755,root,root) %{_libdir}/samba/process_model/prefork.so | |
1060 | %attr(755,root,root) %{_libdir}/samba/process_model/standard.so | |
1061 | %dir %{_libdir}/samba/service | |
1062 | %attr(755,root,root) %{_libdir}/samba/service/cldap.so | |
1063 | %attr(755,root,root) %{_libdir}/samba/service/dcerpc.so | |
1064 | %attr(755,root,root) %{_libdir}/samba/service/dns.so | |
1065 | %attr(755,root,root) %{_libdir}/samba/service/dns_update.so | |
1066 | %attr(755,root,root) %{_libdir}/samba/service/drepl.so | |
1067 | %attr(755,root,root) %{_libdir}/samba/service/kcc.so | |
1068 | %attr(755,root,root) %{_libdir}/samba/service/kdc.so | |
1069 | %attr(755,root,root) %{_libdir}/samba/service/ldap.so | |
1070 | %attr(755,root,root) %{_libdir}/samba/service/nbtd.so | |
1071 | %attr(755,root,root) %{_libdir}/samba/service/ntp_signd.so | |
1072 | %attr(755,root,root) %{_libdir}/samba/service/s3fs.so | |
1073 | %attr(755,root,root) %{_libdir}/samba/service/smb.so | |
1074 | %attr(755,root,root) %{_libdir}/samba/service/web.so | |
1075 | %attr(755,root,root) %{_libdir}/samba/service/winbind.so | |
1076 | %attr(755,root,root) %{_libdir}/samba/service/wrepl.so | |
0b940f4e JR |
1077 | %{_datadir}/samba/setup |
1078 | %{_mandir}/man1/oLschema2ldif.1* | |
1079 | %{_mandir}/man8/samba.8* | |
c9c921bd | 1080 | |
ac6f9d13 | 1081 | %files client |
2eedd257 | 1082 | %defattr(644,root,root,755) |
6646cd44 | 1083 | %attr(755,root,root) %{_bindir}/cifsdd |
6646cd44 | 1084 | %attr(755,root,root) %{_bindir}/nmblookup4 |
0b940f4e | 1085 | %attr(755,root,root) %{_bindir}/reg* |
6646cd44 | 1086 | %attr(755,root,root) %{_bindir}/smbclient4 |
6c886cab | 1087 | %{_mandir}/man1/findsmb.1* |
481bc0b7 | 1088 | %{_mandir}/man1/nmblookup4.1* |
0b940f4e | 1089 | %{_mandir}/man1/reg*.1* |
ac6f9d13 | 1090 | |
ac6f9d13 | 1091 | %files common |
2eedd257 | 1092 | %defattr(644,root,root,755) |
2e711b12 | 1093 | %doc README WHATSNEW.txt Roadmap |
b069341b | 1094 | /etc/ld.so.conf.d/samba.conf |
89730013 | 1095 | %attr(755,root,root) %{_bindir}/samba-regedit |
c083eea8 | 1096 | %attr(755,root,root) %{_bindir}/samba-tool |
2f0e4f6e | 1097 | %dir %{_sysconfdir}/samba |
d0e87ba8 | 1098 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/lmhosts |
70975be6 JR |
1099 | %attr(755,root,root) %{_libdir}/libdcerpc.so.*.*.* |
1100 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc.so.0 | |
e4310f27 JR |
1101 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so.*.*.* |
1102 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-atsvc.so.0 | |
8e43bad6 JR |
1103 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so.*.*.* |
1104 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-binding.so.0 | |
0b940f4e JR |
1105 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so.*.*.* |
1106 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-samr.so.0 | |
8e43bad6 JR |
1107 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so.*.*.* |
1108 | %attr(755,root,root) %ghost %{_libdir}/libdcerpc-server.so.0 | |
1109 | %attr(755,root,root) %{_libdir}/libgensec.so.*.*.* | |
1110 | %attr(755,root,root) %ghost %{_libdir}/libgensec.so.0 | |
1111 | %attr(755,root,root) %{_libdir}/libndr-nbt.so.*.*.* | |
1112 | %attr(755,root,root) %ghost %{_libdir}/libndr-nbt.so.0 | |
1113 | %attr(755,root,root) %{_libdir}/libndr.so.*.*.* | |
1114 | %attr(755,root,root) %ghost %{_libdir}/libndr.so.0 | |
1115 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so.*.*.* | |
1116 | %attr(755,root,root) %ghost %{_libdir}/libndr-krb5pac.so.0 | |
ed426448 JR |
1117 | %attr(755,root,root) %{_libdir}/libregistry.so.*.*.* |
1118 | %attr(755,root,root) %ghost %{_libdir}/libregistry.so.0 | |
8e43bad6 JR |
1119 | %attr(755,root,root) %{_libdir}/libndr-standard.so.*.*.* |
1120 | %attr(755,root,root) %ghost %{_libdir}/libndr-standard.so.0 | |
1121 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so.*.*.* | |
1122 | %attr(755,root,root) %ghost %{_libdir}/libsamba-credentials.so.0 | |
1123 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so.*.*.* | |
1124 | %attr(755,root,root) %ghost %{_libdir}/libsamba-hostconfig.so.0 | |
4d036a87 JR |
1125 | %attr(755,root,root) %{_libdir}/libsamba-util.so.*.*.* |
1126 | %attr(755,root,root) %ghost %{_libdir}/libsamba-util.so.0 | |
8e43bad6 JR |
1127 | %attr(755,root,root) %{_libdir}/libsamdb.so.*.*.* |
1128 | %attr(755,root,root) %ghost %{_libdir}/libsamdb.so.0 | |
4d036a87 JR |
1129 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so.*.*.* |
1130 | %attr(755,root,root) %ghost %{_libdir}/libsmbclient-raw.so.0 | |
8e43bad6 JR |
1131 | %attr(755,root,root) %{_libdir}/libtevent-util.so.*.*.* |
1132 | %attr(755,root,root) %ghost %{_libdir}/libtevent-util.so.0 | |
1133 | %attr(755,root,root) %{_libdir}/libnetapi.so.0 | |
1134 | %attr(755,root,root) %{_libdir}/libpdb.so.0 | |
4d036a87 | 1135 | %attr(755,root,root) %{_libdir}/libsmbconf.so.0 |
8e43bad6 | 1136 | %attr(755,root,root) %{_libdir}/libsmbldap.so.0 |
4d036a87 JR |
1137 | %dir %{_libdir}/samba |
1138 | %attr(755,root,root) %{_libdir}/samba/libCHARSET3.so | |
8e43bad6 JR |
1139 | %attr(755,root,root) %{_libdir}/samba/libLIBWBCLIENT_OLD.so |
1140 | %attr(755,root,root) %{_libdir}/samba/libMESSAGING.so | |
4d036a87 | 1141 | %attr(755,root,root) %{_libdir}/samba/libaddns.so |
8e43bad6 | 1142 | %attr(755,root,root) %{_libdir}/samba/libads.so |
4d036a87 | 1143 | %attr(755,root,root) %{_libdir}/samba/libasn1util.so |
8e43bad6 JR |
1144 | %attr(755,root,root) %{_libdir}/samba/libauth.so |
1145 | %attr(755,root,root) %{_libdir}/samba/libauth4.so | |
4d036a87 | 1146 | %attr(755,root,root) %{_libdir}/samba/libauth_sam_reply.so |
8e43bad6 JR |
1147 | %attr(755,root,root) %{_libdir}/samba/libauth_unix_token.so |
1148 | %attr(755,root,root) %{_libdir}/samba/libauthkrb5.so | |
1149 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap-common.so | |
1150 | %attr(755,root,root) %{_libdir}/samba/libcli-ldap.so | |
4d036a87 JR |
1151 | %attr(755,root,root) %{_libdir}/samba/libcli-nbt.so |
1152 | %attr(755,root,root) %{_libdir}/samba/libcli_cldap.so | |
8e43bad6 JR |
1153 | %attr(755,root,root) %{_libdir}/samba/libcli_smb_common.so |
1154 | %attr(755,root,root) %{_libdir}/samba/libcli_spoolss.so | |
4d036a87 | 1155 | %attr(755,root,root) %{_libdir}/samba/libcliauth.so |
8e43bad6 JR |
1156 | %attr(755,root,root) %{_libdir}/samba/libcluster.so |
1157 | %attr(755,root,root) %{_libdir}/samba/libcmdline-credentials.so | |
4d036a87 | 1158 | %attr(755,root,root) %{_libdir}/samba/libdbwrap.so |
8e43bad6 JR |
1159 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba.so |
1160 | %attr(755,root,root) %{_libdir}/samba/libdcerpc-samba4.so | |
1161 | %attr(755,root,root) %{_libdir}/samba/libdfs_server_ad.so | |
4d036a87 | 1162 | %attr(755,root,root) %{_libdir}/samba/liberrors.so |
8e43bad6 JR |
1163 | %attr(755,root,root) %{_libdir}/samba/libevents.so |
1164 | %attr(755,root,root) %{_libdir}/samba/libflag_mapping.so | |
1165 | %attr(755,root,root) %{_libdir}/samba/libgse.so | |
1166 | %attr(755,root,root) %{_libdir}/samba/libiniparser.so | |
4d036a87 JR |
1167 | %attr(755,root,root) %{_libdir}/samba/libinterfaces.so |
1168 | %attr(755,root,root) %{_libdir}/samba/libkrb5samba.so | |
8e43bad6 | 1169 | %attr(755,root,root) %{_libdir}/samba/libldb-cmdline.so |
4d036a87 | 1170 | %attr(755,root,root) %{_libdir}/samba/libldbsamba.so |
8e43bad6 JR |
1171 | %attr(755,root,root) %{_libdir}/samba/liblibcli_lsa3.so |
1172 | %attr(755,root,root) %{_libdir}/samba/liblibcli_netlogon3.so | |
1173 | %attr(755,root,root) %{_libdir}/samba/liblibsmb.so | |
1174 | %attr(755,root,root) %{_libdir}/samba/libmsrpc3.so | |
1175 | %attr(755,root,root) %{_libdir}/samba/libndr-samba.so | |
1176 | %attr(755,root,root) %{_libdir}/samba/libndr-samba4.so | |
1177 | %attr(755,root,root) %{_libdir}/samba/libnetif.so | |
89730013 | 1178 | %attr(755,root,root) %{_libdir}/samba/libnon_posix_acls.so |
8e43bad6 | 1179 | %attr(755,root,root) %{_libdir}/samba/libnpa_tstream.so |
7f7b5c36 | 1180 | %attr(755,root,root) %{_libdir}/samba/libntvfs.so |
8e43bad6 JR |
1181 | %attr(755,root,root) %{_libdir}/samba/libposix_eadb.so |
1182 | %attr(755,root,root) %{_libdir}/samba/libprinting_migrate.so | |
7f7b5c36 | 1183 | %attr(755,root,root) %{_libdir}/samba/libprocess_model.so |
4d036a87 JR |
1184 | %attr(755,root,root) %{_libdir}/samba/libsamba-modules.so |
1185 | %attr(755,root,root) %{_libdir}/samba/libsamba-security.so | |
1186 | %attr(755,root,root) %{_libdir}/samba/libsamba-sockets.so | |
1187 | %attr(755,root,root) %{_libdir}/samba/libsamba3-util.so | |
1188 | %attr(755,root,root) %{_libdir}/samba/libsamdb-common.so | |
8e43bad6 | 1189 | %attr(755,root,root) %{_libdir}/samba/libsecrets3.so |
4d036a87 | 1190 | %attr(755,root,root) %{_libdir}/samba/libserver-role.so |
7f7b5c36 JR |
1191 | %attr(755,root,root) %{_libdir}/samba/libservice.so |
1192 | %attr(755,root,root) %{_libdir}/samba/libshares.so | |
4d036a87 | 1193 | %attr(755,root,root) %{_libdir}/samba/libsmb_transport.so |
4d036a87 | 1194 | %attr(755,root,root) %{_libdir}/samba/libsmbd_base.so |
4d036a87 JR |
1195 | %attr(755,root,root) %{_libdir}/samba/libsmbd_conn.so |
1196 | %attr(755,root,root) %{_libdir}/samba/libsmbd_shim.so | |
8e43bad6 JR |
1197 | %attr(755,root,root) %{_libdir}/samba/libsmbpasswdparser.so |
1198 | %attr(755,root,root) %{_libdir}/samba/libsmbregistry.so | |
4d036a87 | 1199 | %attr(755,root,root) %{_libdir}/samba/libtdb-wrap.so |
4d036a87 | 1200 | %attr(755,root,root) %{_libdir}/samba/libtdb_compat.so |
8e43bad6 | 1201 | %attr(755,root,root) %{_libdir}/samba/libutil_cmdline.so |
89730013 | 1202 | %attr(755,root,root) %{_libdir}/samba/libutil_ntdb.so |
4d036a87 JR |
1203 | %attr(755,root,root) %{_libdir}/samba/libutil_reg.so |
1204 | %attr(755,root,root) %{_libdir}/samba/libutil_setid.so | |
1205 | %attr(755,root,root) %{_libdir}/samba/libutil_tdb.so | |
1206 | %attr(755,root,root) %{_libdir}/samba/libwinbind-client.so | |
8e43bad6 | 1207 | %attr(755,root,root) %{_libdir}/samba/libxattr_tdb.so |
48dca9c0 JB |
1208 | %dir %{_libdir}/samba/vfs |
1209 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_xattr.so | |
1210 | %attr(755,root,root) %{_libdir}/samba/vfs/btrfs.so | |
1211 | #%attr(755,root,root) %{_libdir}/samba/vfs/ceph.so | |
1212 | %attr(755,root,root) %{_libdir}/samba/vfs/fileid.so | |
1213 | %attr(755,root,root) %{_libdir}/samba/vfs/glusterfs.so | |
1214 | %attr(755,root,root) %{_libdir}/samba/vfs/posix_eadb.so | |
1215 | %attr(755,root,root) %{_libdir}/samba/vfs/xattr_tdb.so | |
8e43bad6 JR |
1216 | %dir %{_datadir}/samba |
1217 | %dir %{_datadir}/samba/codepages | |
1218 | %{_datadir}/samba/codepages/lowcase.dat | |
1219 | %{_datadir}/samba/codepages/upcase.dat | |
1220 | %{_datadir}/samba/codepages/valid.dat | |
1221 | %{_mandir}/man5/lmhosts.5* | |
1222 | %{_mandir}/man5/smb.conf.5* | |
1223 | %{_mandir}/man7/samba.7* | |
89730013 | 1224 | %{_mandir}/man8/samba-regedit.8* |
8e43bad6 | 1225 | %{_mandir}/man8/samba-tool.8* |
48dca9c0 JB |
1226 | %{_mandir}/man8/vfs_acl_xattr.8* |
1227 | %{_mandir}/man8/vfs_btrfs.8* | |
1228 | %{_mandir}/man8/vfs_fileid.8* | |
1229 | %{_mandir}/man8/vfs_xattr_tdb.8* | |
4d036a87 | 1230 | |
89730013 JR |
1231 | # TODO |
1232 | %attr(755,root,root) %{_bindir}/ntdbbackup | |
1233 | %attr(755,root,root) %{_bindir}/ntdbdump | |
1234 | %attr(755,root,root) %{_bindir}/ntdbrestore | |
1235 | %attr(755,root,root) %{_bindir}/ntdbtool | |
1236 | %attr(755,root,root) %{_libdir}/samba/libntdb.so.* | |
1237 | %{_mandir}/man8/ntdbbackup.8* | |
1238 | %{_mandir}/man8/ntdbdump.8* | |
1239 | %{_mandir}/man8/ntdbrestore.8* | |
1240 | %{_mandir}/man8/ntdbtool.8* | |
e71e0470 | 1241 | %if %{without system_libs} |
287950f2 JR |
1242 | %attr(755,root,root) %{_bindir}/tdbbackup |
1243 | %attr(755,root,root) %{_bindir}/tdbdump | |
1244 | %attr(755,root,root) %{_bindir}/tdbtool | |
e71e0470 JR |
1245 | %attr(755,root,root) %{_libdir}/samba/libtalloc.so.* |
1246 | %attr(755,root,root) %{_libdir}/samba/libtdb.so.* | |
287950f2 JR |
1247 | %{_mandir}/man8/tdbbackup.8* |
1248 | %{_mandir}/man8/tdbdump.8* | |
1249 | %{_mandir}/man8/tdbtool.8* | |
e71e0470 JR |
1250 | %endif |
1251 | ||
29533586 JR |
1252 | %files common-server |
1253 | %defattr(644,root,root,755) | |
1254 | %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smbusers | |
1255 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/samba | |
29533586 JR |
1256 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/samba |
1257 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/security/blacklist.samba | |
1258 | ||
1259 | %dir %{_sambahome} | |
1260 | %dir /var/lib/samba | |
1261 | %ghost /var/lib/samba/*.dat | |
1262 | %dir /var/lib/samba/printing | |
1263 | ||
1264 | %attr(750,root,root) %dir /var/log/samba | |
1265 | %attr(750,root,root) %dir /var/log/samba/cores | |
1266 | %attr(750,root,root) %dir /var/log/samba/cores/smbd | |
1267 | %attr(750,root,root) %dir /var/log/samba/cores/nmbd | |
1268 | %attr(750,root,root) %dir /var/log/archive/samba | |
1269 | %attr(1777,root,root) %dir /var/spool/samba | |
1270 | %if %{with ldap} | |
1271 | %doc examples/LDAP | |
1272 | %endif | |
1273 | ||
382a477a | 1274 | %files winbind |
b36aa9d5 | 1275 | %defattr(644,root,root,755) |
382a477a JR |
1276 | %attr(755,root,root) %{_bindir}/wbinfo |
1277 | %attr(755,root,root) /%{_lib}/security/pam_winbind* | |
1278 | %attr(755,root,root) /%{_lib}/libnss_winbind* | |
1279 | %attr(755,root,root) %{_libdir}/winbind_krb5_locator.so | |
1280 | %{_mandir}/man1/wbinfo*.1* | |
1281 | %{_mandir}/man5/pam_winbind.conf.5* | |
1282 | %{_mandir}/man7/winbind_krb5_locator.7* | |
1283 | %{_mandir}/man8/pam_winbind.8* | |
79d8a749 | 1284 | |
f2b0247b ER |
1285 | %files devel |
1286 | %defattr(644,root,root,755) | |
f1c7ad61 JR |
1287 | %dir %{_includedir}/samba-4.0 |
1288 | %{_includedir}/samba-4.0/charset.h | |
1289 | %dir %{_includedir}/samba-4.0/core | |
1290 | %{_includedir}/samba-4.0/core/doserr.h | |
1291 | %{_includedir}/samba-4.0/core/error.h | |
1292 | %{_includedir}/samba-4.0/core/ntstatus.h | |
1293 | %{_includedir}/samba-4.0/core/werror.h | |
1294 | %{_includedir}/samba-4.0/credentials.h | |
1295 | %{_includedir}/samba-4.0/dcerpc.h | |
1296 | %{_includedir}/samba-4.0/dcerpc_server.h | |
1297 | %{_includedir}/samba-4.0/dlinklist.h | |
1298 | %{_includedir}/samba-4.0/domain_credentials.h | |
1299 | %dir %{_includedir}/samba-4.0/gen_ndr | |
1300 | %{_includedir}/samba-4.0/gen_ndr/atsvc.h | |
1301 | %{_includedir}/samba-4.0/gen_ndr/auth.h | |
1302 | %{_includedir}/samba-4.0/gen_ndr/dcerpc.h | |
8e43bad6 JR |
1303 | %{_includedir}/samba-4.0/gen_ndr/drsblobs.h |
1304 | %{_includedir}/samba-4.0/gen_ndr/drsuapi.h | |
f1c7ad61 JR |
1305 | %{_includedir}/samba-4.0/gen_ndr/epmapper.h |
1306 | %{_includedir}/samba-4.0/gen_ndr/krb5pac.h | |
1307 | %{_includedir}/samba-4.0/gen_ndr/lsa.h | |
1308 | %{_includedir}/samba-4.0/gen_ndr/mgmt.h | |
1309 | %{_includedir}/samba-4.0/gen_ndr/misc.h | |
1310 | %{_includedir}/samba-4.0/gen_ndr/nbt.h | |
f1c7ad61 | 1311 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc.h |
8e43bad6 | 1312 | %{_includedir}/samba-4.0/gen_ndr/ndr_atsvc_c.h |
f1c7ad61 | 1313 | %{_includedir}/samba-4.0/gen_ndr/ndr_dcerpc.h |
8e43bad6 JR |
1314 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsblobs.h |
1315 | %{_includedir}/samba-4.0/gen_ndr/ndr_drsuapi.h | |
f1c7ad61 | 1316 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper.h |
8e43bad6 | 1317 | %{_includedir}/samba-4.0/gen_ndr/ndr_epmapper_c.h |
f1c7ad61 | 1318 | %{_includedir}/samba-4.0/gen_ndr/ndr_krb5pac.h |
f1c7ad61 | 1319 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt.h |
8e43bad6 | 1320 | %{_includedir}/samba-4.0/gen_ndr/ndr_mgmt_c.h |
f1c7ad61 JR |
1321 | %{_includedir}/samba-4.0/gen_ndr/ndr_misc.h |
1322 | %{_includedir}/samba-4.0/gen_ndr/ndr_nbt.h | |
f1c7ad61 | 1323 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr.h |
8e43bad6 | 1324 | %{_includedir}/samba-4.0/gen_ndr/ndr_samr_c.h |
f1c7ad61 | 1325 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl.h |
8e43bad6 | 1326 | %{_includedir}/samba-4.0/gen_ndr/ndr_svcctl_c.h |
f1c7ad61 JR |
1327 | %{_includedir}/samba-4.0/gen_ndr/netlogon.h |
1328 | %{_includedir}/samba-4.0/gen_ndr/samr.h | |
1329 | %{_includedir}/samba-4.0/gen_ndr/security.h | |
1330 | %{_includedir}/samba-4.0/gen_ndr/server_id.h | |
1331 | %{_includedir}/samba-4.0/gen_ndr/svcctl.h | |
1332 | %{_includedir}/samba-4.0/gensec.h | |
8e43bad6 | 1333 | %{_includedir}/samba-4.0/ldap-util.h |
f1c7ad61 JR |
1334 | %{_includedir}/samba-4.0/ldap_errors.h |
1335 | %{_includedir}/samba-4.0/ldap_message.h | |
1336 | %{_includedir}/samba-4.0/ldap_ndr.h | |
f1c7ad61 JR |
1337 | %{_includedir}/samba-4.0/ldb_wrap.h |
1338 | %{_includedir}/samba-4.0/ndr.h | |
1339 | %dir %{_includedir}/samba-4.0/ndr | |
8e43bad6 JR |
1340 | %{_includedir}/samba-4.0/ndr/ndr_drsblobs.h |
1341 | %{_includedir}/samba-4.0/ndr/ndr_drsuapi.h | |
f1c7ad61 JR |
1342 | %{_includedir}/samba-4.0/ndr/ndr_nbt.h |
1343 | %{_includedir}/samba-4.0/ndr/ndr_svcctl.h | |
1344 | %{_includedir}/samba-4.0/param.h | |
1345 | %{_includedir}/samba-4.0/policy.h | |
8e43bad6 | 1346 | %{_includedir}/samba-4.0/read_smb.h |
f1c7ad61 JR |
1347 | %{_includedir}/samba-4.0/registry.h |
1348 | %{_includedir}/samba-4.0/roles.h | |
1349 | %{_includedir}/samba-4.0/rpc_common.h | |
1350 | %dir %{_includedir}/samba-4.0/samba | |
1351 | %{_includedir}/samba-4.0/samba/session.h | |
f1c7ad61 | 1352 | %{_includedir}/samba-4.0/samba/version.h |
8e43bad6 | 1353 | %{_includedir}/samba-4.0/samba_util.h |
f1c7ad61 | 1354 | %{_includedir}/samba-4.0/share.h |
8e43bad6 JR |
1355 | %{_includedir}/samba-4.0/smb2.h |
1356 | %{_includedir}/samba-4.0/smb2_constants.h | |
1357 | %{_includedir}/samba-4.0/smb2_create_blob.h | |
89730013 | 1358 | %{_includedir}/samba-4.0/smb2_lease.h |
8e43bad6 JR |
1359 | %{_includedir}/samba-4.0/smb2_signing.h |
1360 | %{_includedir}/samba-4.0/smb_cli.h | |
1361 | %{_includedir}/samba-4.0/smb_cliraw.h | |
1362 | %{_includedir}/samba-4.0/smb_common.h | |
1363 | %{_includedir}/samba-4.0/smb_composite.h | |
1364 | %{_includedir}/samba-4.0/smb_constants.h | |
1365 | %{_includedir}/samba-4.0/smb_raw.h | |
1366 | %{_includedir}/samba-4.0/smb_raw_interfaces.h | |
1367 | %{_includedir}/samba-4.0/smb_raw_signing.h | |
1368 | %{_includedir}/samba-4.0/smb_raw_trans2.h | |
1369 | %{_includedir}/samba-4.0/smb_request.h | |
1370 | %{_includedir}/samba-4.0/smb_seal.h | |
1371 | %{_includedir}/samba-4.0/smb_signing.h | |
1372 | %{_includedir}/samba-4.0/smb_unix_ext.h | |
1373 | %{_includedir}/samba-4.0/smb_util.h | |
f1c7ad61 JR |
1374 | %{_includedir}/samba-4.0/tdr.h |
1375 | %{_includedir}/samba-4.0/tsocket.h | |
1376 | %{_includedir}/samba-4.0/tsocket_internal.h | |
1377 | %dir %{_includedir}/samba-4.0/util | |
1378 | %{_includedir}/samba-4.0/util/attr.h | |
1379 | %{_includedir}/samba-4.0/util/byteorder.h | |
1380 | %{_includedir}/samba-4.0/util/data_blob.h | |
1381 | %{_includedir}/samba-4.0/util/debug.h | |
f1c7ad61 JR |
1382 | %{_includedir}/samba-4.0/util/memory.h |
1383 | %{_includedir}/samba-4.0/util/safe_string.h | |
1384 | %{_includedir}/samba-4.0/util/string_wrappers.h | |
1385 | %{_includedir}/samba-4.0/util/talloc_stack.h | |
1386 | %{_includedir}/samba-4.0/util/tevent_ntstatus.h | |
1387 | %{_includedir}/samba-4.0/util/tevent_unix.h | |
1388 | %{_includedir}/samba-4.0/util/tevent_werror.h | |
1389 | %{_includedir}/samba-4.0/util/time.h | |
1390 | %{_includedir}/samba-4.0/util/xfile.h | |
8e43bad6 JR |
1391 | %{_includedir}/samba-4.0/util_ldb.h |
1392 | %attr(755,root,root) %{_libdir}/libdcerpc-atsvc.so | |
1393 | %attr(755,root,root) %{_libdir}/libdcerpc-binding.so | |
1394 | %attr(755,root,root) %{_libdir}/libdcerpc-samr.so | |
1395 | %attr(755,root,root) %{_libdir}/libdcerpc-server.so | |
1396 | %attr(755,root,root) %{_libdir}/libdcerpc.so | |
1397 | %attr(755,root,root) %{_libdir}/libgensec.so | |
1398 | %attr(755,root,root) %{_libdir}/libndr-krb5pac.so | |
1399 | %attr(755,root,root) %{_libdir}/libndr-nbt.so | |
1400 | %attr(755,root,root) %{_libdir}/libndr-standard.so | |
1401 | %attr(755,root,root) %{_libdir}/libndr.so | |
1402 | %attr(755,root,root) %{_libdir}/libregistry.so | |
1403 | %attr(755,root,root) %{_libdir}/libsamba-credentials.so | |
1404 | %attr(755,root,root) %{_libdir}/libsamba-hostconfig.so | |
1405 | %attr(755,root,root) %{_libdir}/libsamba-policy.so | |
1406 | %attr(755,root,root) %{_libdir}/libsamba-util.so | |
1407 | %attr(755,root,root) %{_libdir}/libsamdb.so | |
1408 | %attr(755,root,root) %{_libdir}/libsmbclient-raw.so | |
1409 | %attr(755,root,root) %{_libdir}/libsmbconf.so | |
1410 | %attr(755,root,root) %{_libdir}/libtevent-util.so | |
f1c7ad61 | 1411 | %{_pkgconfigdir}/dcerpc.pc |
8e43bad6 | 1412 | %{_pkgconfigdir}/dcerpc_atsvc.pc |
05913998 JR |
1413 | %{_pkgconfigdir}/dcerpc_samr.pc |
1414 | %{_pkgconfigdir}/dcerpc_server.pc | |
1415 | %{_pkgconfigdir}/gensec.pc | |
8e43bad6 | 1416 | %{_pkgconfigdir}/ndr.pc |
05913998 JR |
1417 | %{_pkgconfigdir}/ndr_krb5pac.pc |
1418 | %{_pkgconfigdir}/ndr_nbt.pc | |
1419 | %{_pkgconfigdir}/ndr_standard.pc | |
05913998 JR |
1420 | %{_pkgconfigdir}/registry.pc |
1421 | %{_pkgconfigdir}/samba-credentials.pc | |
1422 | %{_pkgconfigdir}/samba-hostconfig.pc | |
1423 | %{_pkgconfigdir}/samba-policy.pc | |
1424 | %{_pkgconfigdir}/samba-util.pc | |
1425 | %{_pkgconfigdir}/samdb.pc | |
4d036a87 | 1426 | %{_pkgconfigdir}/smbclient-raw.pc |
89730013 JR |
1427 | # TODO |
1428 | #%if %{without system_libs} | |
1429 | %{_mandir}/man3/ntdb.3* | |
1430 | #%endif | |
4d036a87 | 1431 | |
5ddfdd70 | 1432 | %files -n pam-pam_smbpass3 |
29511e6d | 1433 | %defattr(644,root,root,755) |
382a477a JR |
1434 | %doc source3/pam_smbpass/{CHAN*,README,TODO} source3/pam_smbpass/samples |
1435 | %attr(755,root,root) /%{_lib}/security/pam_smbpass.so | |
1436 | ||
1437 | %files pidl | |
1438 | %defattr(644,root,root,755) | |
1439 | %attr(755,root,root) %{_bindir}/pidl | |
1440 | %{_mandir}/man1/pidl.1* | |
1441 | %{_mandir}/man3/Parse::Pidl*.3* | |
1442 | %{perl_vendorlib}/Parse/Pidl* | |
29511e6d | 1443 | |
c083eea8 | 1444 | %files -n python-samba4 |
9f6f5df1 | 1445 | %defattr(644,root,root,755) |
7f7b5c36 JR |
1446 | %attr(755,root,root) %{_libdir}/libsamba-policy.so.*.*.* |
1447 | %attr(755,root,root) %ghost %{_libdir}/libsamba-policy.so.0 | |
0245eccc | 1448 | %attr(755,root,root) %{_libdir}/samba/libHDB_SAMBA4.so |
0245eccc | 1449 | %attr(755,root,root) %{_libdir}/samba/libdb-glue.so |
7f7b5c36 | 1450 | %attr(755,root,root) %{_libdir}/samba/libsamba-net.so |
04e7a791 | 1451 | %attr(755,root,root) %{_libdir}/samba/libsamba_python.so |
c083eea8 JR |
1452 | %dir %{py_sitedir}/samba |
1453 | %attr(755,root,root) %{py_sitedir}/samba/*.so | |
1454 | %{py_sitedir}/samba/*.py[co] | |
1455 | %dir %{py_sitedir}/samba/dcerpc | |
1456 | %{py_sitedir}/samba/dcerpc/*.py[co] | |
1457 | %attr(755,root,root) %{py_sitedir}/samba/dcerpc/*.so | |
1458 | %dir %{py_sitedir}/samba/external | |
1459 | %{py_sitedir}/samba/external/*.py[co] | |
1460 | %dir %{py_sitedir}/samba/external/subunit | |
1461 | %{py_sitedir}/samba/external/subunit/*.py[co] | |
1462 | %dir %{py_sitedir}/samba/external/subunit/tests | |
1463 | %{py_sitedir}/samba/external/subunit/tests/*.py[co] | |
1464 | %dir %{py_sitedir}/samba/netcmd | |
1465 | %{py_sitedir}/samba/netcmd/*.py[co] | |
1466 | %dir %{py_sitedir}/samba/provision | |
1467 | %{py_sitedir}/samba/provision/*.py[co] | |
6ed8d415 JR |
1468 | %dir %{py_sitedir}/samba/samba3 |
1469 | %attr(755,root,root) %{py_sitedir}/samba/samba3/*.so | |
1470 | %{py_sitedir}/samba/samba3/*.py[co] | |
c083eea8 JR |
1471 | %dir %{py_sitedir}/samba/tests |
1472 | %{py_sitedir}/samba/tests/*.py[co] | |
1473 | %dir %{py_sitedir}/samba/tests/blackbox | |
1474 | %{py_sitedir}/samba/tests/blackbox/*.py[co] | |
1475 | %dir %{py_sitedir}/samba/tests/samba_tool | |
1476 | %{py_sitedir}/samba/tests/samba_tool/*.py[co] | |
1477 | %dir %{py_sitedir}/samba/tests/dcerpc | |
1478 | %{py_sitedir}/samba/tests/dcerpc/*.py[co] | |
1479 | %dir %{py_sitedir}/samba/web_server | |
1480 | %{py_sitedir}/samba/web_server/*.py[co] | |
89730013 JR |
1481 | # TODO |
1482 | %attr(755,root,root) %{py_sitedir}/ntdb.so | |
c083eea8 | 1483 | %if %{without system_libs} |
ef67314f JB |
1484 | %attr(755,root,root) %{py_sitedir}/ldb.so |
1485 | %attr(755,root,root) %{py_sitedir}/talloc.so | |
1486 | %attr(755,root,root) %{py_sitedir}/tdb.so | |
1487 | %attr(755,root,root) %{py_sitedir}/_tevent.so | |
c083eea8 | 1488 | %{py_sitedir}/tevent.py[co] |
fd9d8b85 | 1489 | %endif |
70ff6d03 | 1490 | |
c083eea8 | 1491 | %files test |
d1f5710a | 1492 | %defattr(644,root,root,755) |
c083eea8 JR |
1493 | %attr(755,root,root) %{_bindir}/gentest |
1494 | %attr(755,root,root) %{_bindir}/locktest | |
1495 | %attr(755,root,root) %{_bindir}/masktest | |
1496 | %attr(755,root,root) %{_bindir}/ndrdump | |
1497 | %attr(755,root,root) %{_bindir}/smbtorture | |
1498 | %attr(755,root,root) %{_libdir}/libtorture.so.*.*.* | |
1499 | %attr(755,root,root) %ghost %{_libdir}/libtorture.so.0 | |
1500 | %attr(755,root,root) %{_libdir}/samba/libsubunit.so | |
1501 | %attr(755,root,root) %{_libdir}/samba/libdlz_bind9_for_torture.so | |
c083eea8 JR |
1502 | %{_mandir}/man1/gentest.1* |
1503 | %{_mandir}/man1/locktest.1* | |
1504 | %{_mandir}/man1/masktest.1* | |
1505 | %{_mandir}/man1/ndrdump.1* | |
1506 | %{_mandir}/man1/smbtorture.1* | |
d1f5710a | 1507 | |
c083eea8 | 1508 | %files test-devel |
4ecf4d28 | 1509 | %defattr(644,root,root,755) |
c083eea8 JR |
1510 | %attr(755,root,root) %{_libdir}/libtorture.so |
1511 | %{_includedir}/samba-4.0/torture.h | |
1512 | %{_pkgconfigdir}/torture.pc | |
4ecf4d28 | 1513 | |
17937b31 | 1514 | %files -n samba3 |
c083eea8 | 1515 | %defattr(644,root,root,755) |
c083eea8 | 1516 | %attr(755,root,root) %{_bindir}/dbwrap_tool |
c083eea8 | 1517 | %attr(755,root,root) %{_bindir}/smbcontrol |
c083eea8 | 1518 | %attr(755,root,root) %{_bindir}/smbpasswd |
c083eea8 | 1519 | %attr(755,root,root) %{_bindir}/smbstatus |
c083eea8 | 1520 | %attr(755,root,root) %{_bindir}/smbta-util |
450db13e | 1521 | %attr(755,root,root) %{_sbindir}/mksmbpasswd.sh |
c083eea8 JR |
1522 | %attr(755,root,root) %{_sbindir}/nmbd |
1523 | %attr(755,root,root) %{_sbindir}/smbd | |
287950f2 JR |
1524 | %attr(755,root,root) %{_libdir}/samba/auth/samba4.so |
1525 | %attr(755,root,root) %{_libdir}/samba/auth/unix.so | |
1526 | %attr(755,root,root) %{_libdir}/samba/auth/wbc.so | |
f1c7ad61 | 1527 | %attr(755,root,root) %{_libdir}/samba/libsmbsharemodes.so.0 |
c083eea8 | 1528 | %dir %{_libdir}/samba/idmap |
c083eea8 | 1529 | %attr(755,root,root) %{_libdir}/samba/idmap/ad.so |
0b940f4e | 1530 | %attr(755,root,root) %{_libdir}/samba/idmap/autorid.so |
c083eea8 | 1531 | %attr(755,root,root) %{_libdir}/samba/idmap/hash.so |
89730013 | 1532 | %attr(755,root,root) %{_libdir}/samba/idmap/rfc2307.so |
c083eea8 JR |
1533 | %attr(755,root,root) %{_libdir}/samba/idmap/rid.so |
1534 | %attr(755,root,root) %{_libdir}/samba/idmap/tdb2.so | |
c083eea8 | 1535 | %attr(755,root,root) %{_libdir}/samba/vfs/acl_tdb.so |
c083eea8 | 1536 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_fork.so |
450db13e JR |
1537 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_linux.so |
1538 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_posix.so | |
1539 | %attr(755,root,root) %{_libdir}/samba/vfs/aio_pthread.so | |
1540 | %attr(755,root,root) %{_libdir}/samba/vfs/commit.so | |
c083eea8 JR |
1541 | %attr(755,root,root) %{_libdir}/samba/vfs/crossrename.so |
1542 | %attr(755,root,root) %{_libdir}/samba/vfs/dirsort.so | |
c083eea8 | 1543 | %attr(755,root,root) %{_libdir}/samba/vfs/linux_xfs_sgid.so |
450db13e | 1544 | %attr(755,root,root) %{_libdir}/samba/vfs/media_harmony.so |
c083eea8 JR |
1545 | %attr(755,root,root) %{_libdir}/samba/vfs/preopen.so |
1546 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy2.so | |
1547 | %attr(755,root,root) %{_libdir}/samba/vfs/smb_traffic_analyzer.so | |
1548 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_depot.so | |
1549 | %attr(755,root,root) %{_libdir}/samba/vfs/streams_xattr.so | |
1550 | %attr(755,root,root) %{_libdir}/samba/vfs/syncops.so | |
1551 | %attr(755,root,root) %{_libdir}/samba/vfs/time_audit.so | |
0b940f4e | 1552 | %dir %{_libdir}/samba/pdb |
f6857f17 | 1553 | %attr(755,root,root) %{_libdir}/samba/pdb/ldapsam.so |
0b940f4e JR |
1554 | %attr(755,root,root) %{_libdir}/samba/pdb/smbpasswd.so |
1555 | %attr(755,root,root) %{_libdir}/samba/pdb/tdbsam.so | |
1556 | %attr(755,root,root) %{_libdir}/samba/pdb/wbc_sam.so | |
1557 | %dir %{_libdir}/samba/nss_info | |
1558 | %attr(755,root,root) %{_libdir}/samba/nss_info/hash.so | |
1559 | %attr(755,root,root) %{_libdir}/samba/nss_info/rfc2307.so | |
0b940f4e | 1560 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu20.so |
450db13e | 1561 | %attr(755,root,root) %{_libdir}/samba/nss_info/sfu.so |
0b940f4e | 1562 | %{_mandir}/man1/dbwrap_tool.1* |
0b940f4e | 1563 | %{_mandir}/man1/smbcontrol.1* |
0b940f4e | 1564 | %{_mandir}/man1/smbstatus.1* |
0b940f4e | 1565 | %{_mandir}/man5/smbpasswd.5* |
0b940f4e JR |
1566 | %{_mandir}/man8/idmap_ad.8* |
1567 | %{_mandir}/man8/idmap_autorid.8* | |
1568 | %{_mandir}/man8/idmap_hash.8* | |
1569 | %{_mandir}/man8/idmap_ldap.8* | |
1570 | %{_mandir}/man8/idmap_nss.8* | |
89730013 | 1571 | %{_mandir}/man8/idmap_rfc2307.8* |
0b940f4e JR |
1572 | %{_mandir}/man8/idmap_rid.8* |
1573 | %{_mandir}/man8/idmap_tdb2.8* | |
1574 | %{_mandir}/man8/idmap_tdb.8* | |
0b940f4e | 1575 | %{_mandir}/man8/nmbd.8* |
0b940f4e JR |
1576 | %{_mandir}/man8/smbd.8* |
1577 | %{_mandir}/man8/smbpasswd.8* | |
1578 | %{_mandir}/man8/smbta-util.8* | |
c083eea8 | 1579 | %{_mandir}/man8/vfs_acl_tdb.8* |
0b940f4e JR |
1580 | %{_mandir}/man8/vfs_aio_fork.8* |
1581 | %{_mandir}/man8/vfs_aio_linux.8* | |
1582 | %{_mandir}/man8/vfs_aio_pthread.8* | |
450db13e | 1583 | %{_mandir}/man8/vfs_commit.8* |
c083eea8 JR |
1584 | %{_mandir}/man8/vfs_crossrename.8* |
1585 | %{_mandir}/man8/vfs_dirsort.8* | |
89730013 | 1586 | %{_mandir}/man8/vfs_linux_xfs_sgid.8* |
0b940f4e | 1587 | %{_mandir}/man8/vfs_media_harmony.8* |
c083eea8 JR |
1588 | %{_mandir}/man8/vfs_preopen.8* |
1589 | %{_mandir}/man8/vfs_shadow_copy2.8* | |
1590 | %{_mandir}/man8/vfs_smb_traffic_analyzer.8* | |
c083eea8 | 1591 | %{_mandir}/man8/vfs_streams_depot.8* |
0b940f4e | 1592 | %{_mandir}/man8/vfs_streams_xattr.8* |
89730013 | 1593 | %{_mandir}/man8/vfs_syncops.8* |
c083eea8 | 1594 | %{_mandir}/man8/vfs_time_audit.8* |
c083eea8 | 1595 | |
3dbf1ce9 JR |
1596 | %files -n samba3-server |
1597 | %defattr(644,root,root,755) | |
1598 | %attr(664,root,fileshare) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/samba/smb.conf | |
1599 | %attr(754,root,root) /etc/rc.d/init.d/smb | |
f5211db7 | 1600 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/samba3 |
3dbf1ce9 JR |
1601 | %{systemdunitdir}/nmb.service |
1602 | %{systemdunitdir}/smb.service | |
1603 | ||
382a477a JR |
1604 | %files -n samba3-client |
1605 | %defattr(644,root,root,755) | |
1606 | %attr(755,root,root) %{_bindir}/net | |
1607 | %attr(755,root,root) %{_bindir}/nmblookup | |
1608 | %attr(755,root,root) %{_bindir}/rpcclient | |
1609 | %attr(755,root,root) %{_bindir}/sharesec | |
1610 | %attr(755,root,root) %{_bindir}/smbcacls | |
1611 | %attr(755,root,root) %{_bindir}/smbclient | |
cd86127c | 1612 | %attr(755,root,root) %{_bindir}/smbtar |
382a477a | 1613 | %attr(755,root,root) %{_bindir}/smbtree |
8e43bad6 JR |
1614 | %attr(755,root,root) %{_libdir}/samba/libgpo.so |
1615 | %attr(755,root,root) %{_libdir}/samba/libnet_keytab.so | |
382a477a JR |
1616 | %{_mandir}/man1/nmblookup.1* |
1617 | %{_mandir}/man1/rpcclient.1* | |
1618 | %{_mandir}/man1/sharesec.1* | |
1619 | %{_mandir}/man1/smbcacls.1* | |
1620 | %{_mandir}/man1/smbclient.1* | |
cd86127c | 1621 | %{_mandir}/man1/smbtar.1* |
382a477a | 1622 | %{_mandir}/man1/smbtree.1* |
287950f2 | 1623 | %{_mandir}/man8/net.8* |
382a477a | 1624 | |
17937b31 | 1625 | %files -n samba3-common |
ed426448 JR |
1626 | %defattr(644,root,root,755) |
1627 | %attr(755,root,root) %{_bindir}/eventlogadm | |
1628 | %attr(755,root,root) %{_bindir}/ntlm_auth | |
1629 | %attr(755,root,root) %{_bindir}/pdbedit | |
1630 | %attr(755,root,root) %{_bindir}/profiles | |
1631 | %attr(755,root,root) %{_bindir}/smbcquotas | |
1632 | %attr(755,root,root) %{_bindir}/testparm | |
1633 | %attr(755,root,root) %{_bindir}/vfstest | |
8e43bad6 JR |
1634 | %attr(755,root,root) %{_libdir}/samba/libsmbldaphelper.so |
1635 | %attr(755,root,root) %{_libdir}/samba/libnss_info.so | |
1636 | %attr(755,root,root) %{_libdir}/samba/libidmap.so | |
1637 | %attr(755,root,root) %{_libdir}/samba/libtrusts_util.so | |
1638 | %attr(755,root,root) %{_libdir}/samba/libpopt_samba3.so | |
ed426448 JR |
1639 | %dir %{_libdir}/samba/auth |
1640 | %attr(755,root,root) %{_libdir}/samba/auth/script.so | |
1641 | %{_mandir}/man1/ntlm_auth.1* | |
1642 | %{_mandir}/man1/profiles.1* | |
1643 | %{_mandir}/man1/smbcquotas.1* | |
1644 | %{_mandir}/man1/testparm.1* | |
1645 | %{_mandir}/man1/vfstest.1* | |
1646 | %{_mandir}/man8/eventlogadm.8* | |
1647 | %{_mandir}/man8/pdbedit.8* | |
1648 | ||
f1c7ad61 JR |
1649 | %files -n samba3-devel |
1650 | %defattr(644,root,root,755) | |
450db13e JR |
1651 | %attr(755,root,root) %{_libdir}/libnetapi.so |
1652 | %attr(755,root,root) %{_libdir}/libpdb.so | |
1653 | %attr(755,root,root) %{_libdir}/libsmbldap.so | |
f1c7ad61 | 1654 | %{_includedir}/samba-4.0/lookup_sid.h |
287950f2 JR |
1655 | %{_includedir}/samba-4.0/machine_sid.h |
1656 | %{_includedir}/samba-4.0/netapi.h | |
f1c7ad61 | 1657 | %{_includedir}/samba-4.0/passdb.h |
287950f2 | 1658 | %{_includedir}/samba-4.0/smbconf.h |
f1c7ad61 JR |
1659 | %{_includedir}/samba-4.0/smb_ldap.h |
1660 | %{_includedir}/samba-4.0/smbldap.h | |
287950f2 | 1661 | %{_includedir}/samba-4.0/smb_share_modes.h |
f1c7ad61 JR |
1662 | %{_pkgconfigdir}/netapi.pc |
1663 | ||
c083eea8 JR |
1664 | %files -n samba3-vfs-audit |
1665 | %defattr(644,root,root,755) | |
1666 | %attr(755,root,root) %{_libdir}/samba/vfs/audit.so | |
1667 | %attr(755,root,root) %{_libdir}/samba/vfs/extd_audit.so | |
1668 | %attr(755,root,root) %{_libdir}/samba/vfs/full_audit.so | |
1669 | %{_mandir}/man8/vfs_audit.8* | |
1670 | %{_mandir}/man8/vfs_extd_audit.8* | |
1671 | %{_mandir}/man8/vfs_full_audit.8* | |
1672 | ||
1673 | %files -n samba3-vfs-cap | |
1674 | %defattr(644,root,root,755) | |
1675 | %attr(755,root,root) %{_libdir}/samba/vfs/cap.so | |
1676 | %{_mandir}/man8/vfs_cap.8* | |
1677 | ||
a3c4e78e JB |
1678 | %files -n samba3-vfs-catia |
1679 | %defattr(644,root,root,755) | |
1680 | %attr(755,root,root) %{_libdir}/samba/vfs/catia.so | |
1681 | %{_mandir}/man8/vfs_catia.8* | |
1682 | ||
c083eea8 | 1683 | %files -n samba3-vfs-default_quota |
d1f5710a | 1684 | %defattr(644,root,root,755) |
2e711b12 | 1685 | %attr(755,root,root) %{_libdir}/samba/vfs/default_quota.so |
4d8c5e20 | 1686 | %{_mandir}/man8/vfs_default_quota.8* |
d1f5710a | 1687 | |
c083eea8 | 1688 | %files -n samba3-vfs-expand_msdfs |
d1f5710a | 1689 | %defattr(644,root,root,755) |
2e711b12 | 1690 | %attr(755,root,root) %{_libdir}/samba/vfs/expand_msdfs.so |
d1f5710a | 1691 | |
c083eea8 | 1692 | %files -n samba3-vfs-fake_perms |
d1f5710a | 1693 | %defattr(644,root,root,755) |
2e711b12 | 1694 | %attr(755,root,root) %{_libdir}/samba/vfs/fake_perms.so |
4d8c5e20 | 1695 | %{_mandir}/man8/vfs_fake_perms.8* |
d1f5710a | 1696 | |
450db13e JR |
1697 | %files -n samba3-vfs-notify_fam |
1698 | %defattr(644,root,root,755) | |
1699 | %attr(755,root,root) %{_libdir}/samba/vfs/notify_fam.so | |
1700 | %{_mandir}/man8/vfs_notify_fam.8* | |
8ba454ef | 1701 | |
c083eea8 | 1702 | %files -n samba3-vfs-netatalk |
d1f5710a | 1703 | %defattr(644,root,root,755) |
2e711b12 | 1704 | %attr(755,root,root) %{_libdir}/samba/vfs/netatalk.so |
4d8c5e20 JB |
1705 | %{_mandir}/man8/vfs_netatalk.8* |
1706 | ||
c083eea8 | 1707 | %files -n samba3-vfs-readahead |
4d8c5e20 | 1708 | %defattr(644,root,root,755) |
2e711b12 | 1709 | %attr(755,root,root) %{_libdir}/samba/vfs/readahead.so |
4d8c5e20 | 1710 | %{_mandir}/man8/vfs_readahead.8* |
d1f5710a | 1711 | |
c083eea8 | 1712 | %files -n samba3-vfs-readonly |
97334e11 | 1713 | %defattr(644,root,root,755) |
2e711b12 | 1714 | %attr(755,root,root) %{_libdir}/samba/vfs/readonly.so |
4d8c5e20 | 1715 | %{_mandir}/man8/vfs_readonly.8* |
97334e11 | 1716 | |
c083eea8 | 1717 | %files -n samba3-vfs-recycle |
97334e11 | 1718 | %defattr(644,root,root,755) |
2e711b12 | 1719 | %attr(755,root,root) %{_libdir}/samba/vfs/recycle.so |
4d8c5e20 | 1720 | %{_mandir}/man8/vfs_recycle.8* |
97334e11 | 1721 | |
c083eea8 | 1722 | %files -n samba3-vfs-scannedonly |
d718c2e1 | 1723 | %defattr(644,root,root,755) |
2e711b12 | 1724 | %attr(755,root,root) %{_libdir}/samba/vfs/scannedonly.so |
d718c2e1 AF |
1725 | %{_mandir}/man8/vfs_scannedonly.8* |
1726 | ||
a3c4e78e JB |
1727 | %files -n samba3-vfs-shadow_copy |
1728 | %defattr(644,root,root,755) | |
1729 | %attr(755,root,root) %{_libdir}/samba/vfs/shadow_copy.so | |
1730 | %{_mandir}/man8/vfs_shadow_copy.8* | |
1731 | ||
5ddfdd70 | 1732 | %files -n smbget3 |
4ecf4d28 | 1733 | %defattr(644,root,root,755) |
c083eea8 JR |
1734 | %attr(755,root,root) %{_bindir}/smbget |
1735 | %{_mandir}/man1/smbget.1* | |
1736 | %{_mandir}/man5/smbgetrc.5* | |
4ecf4d28 | 1737 | |
c083eea8 | 1738 | %if %{with cups} |
5ddfdd70 | 1739 | %files -n cups-backend-smb3 |
99795f36 | 1740 | %defattr(644,root,root,755) |
c083eea8 JR |
1741 | %attr(755,root,root) %{cups_serverbin}/backend/smb |
1742 | %attr(755,root,root) %{_bindir}/smbspool | |
1743 | %{_mandir}/man8/smbspool.8* | |
105507bc | 1744 | %endif |
8d59ae13 | 1745 | |
382a477a JR |
1746 | %files -n samba3-winbind |
1747 | %attr(755,root,root) %{_sbindir}/winbindd | |
1748 | %attr(754,root,root) /etc/rc.d/init.d/winbind | |
1749 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/winbind | |
1750 | %{systemdunitdir}/winbind.service | |
1751 | %{_mandir}/man8/winbindd*.8* | |
1752 | ||
5ddfdd70 | 1753 | %files -n nss_wins3 |
382a477a JR |
1754 | %defattr(644,root,root,755) |
1755 | %attr(755,root,root) /%{_lib}/libnss_wins* | |
1756 | ||
664cf74c | 1757 | %files -n samba3-libsmbclient |
382a477a JR |
1758 | %defattr(644,root,root,755) |
1759 | %attr(755,root,root) %{_libdir}/libsmbclient.so.* | |
382a477a | 1760 | %attr(755,root,root) %{_libdir}/libwbclient.so.* |
287950f2 | 1761 | %{_mandir}/man7/libsmbclient.7* |
382a477a | 1762 | |
664cf74c | 1763 | %files -n samba3-libsmbclient-devel |
382a477a JR |
1764 | %defattr(644,root,root,755) |
1765 | %attr(755,root,root) %{_libdir}/libsmbclient.so | |
382a477a JR |
1766 | %attr(755,root,root) %{_libdir}/libwbclient.so |
1767 | %{_includedir}/libsmbclient.h | |
1768 | %{_includedir}/wbclient.h | |
1769 | ||
382a477a | 1770 | %if %{with ldap} |
8bb2da81 | 1771 | %files -n openldap-schema-samba3 |
382a477a | 1772 | %defattr(644,root,root,755) |
a3c4e78e | 1773 | %{schemadir}/samba.schema |
382a477a | 1774 | %endif |