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