1 |
# $Id: e-smith-samba.spec,v 1.27 2018/02/10 03:53:33 jpp Exp $ |
# $Id: e-smith-samba.spec,v 1.28 2018/05/02 17:13:27 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith specific Samba configuration files and templates |
Summary: e-smith specific Samba configuration files and templates |
4 |
%define name e-smith-samba |
%define name e-smith-samba |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.4.0 |
%define version 2.4.0 |
7 |
%define release 26 |
%define release 27 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
36 |
Obsoletes: e-smith-regedit |
Obsoletes: e-smith-regedit |
37 |
Requires: e-smith-lib >= 2.2.0-2 |
Requires: e-smith-lib >= 2.2.0-2 |
38 |
Requires: e-smith-formmagick >= 1.4.0-9 |
Requires: e-smith-formmagick >= 1.4.0-9 |
39 |
Requires: samba >= 3.5.10 |
Requires: samba4 |
40 |
Requires: samba-client >= 3.5.10 |
Requires: samba4-client |
41 |
Requires: samba-common >= 3.5.10 |
Requires: samba4-common |
42 |
|
Requires: samba4-winbind |
43 |
|
Requires: samba4-winbind-clients |
44 |
|
Requires: samba4-libs |
45 |
|
# the previous provides what gives libsmbclient. |
46 |
|
# need to create symlink |
47 |
|
# /usr/lib64/libwbclient.so.0 to /usr/lib64/samba/libwbclient.so.0 |
48 |
|
# /usr/lib64/ |
49 |
|
# /usr/lib64/libsmbclient.so.0 to /usr/lib64/samba/libsmbclient.so.0 |
50 |
|
# ?? /usr/lib64/libsmbsharemodes.so.0 |
51 |
|
# Obsoletes: libsmbclient |
52 |
|
Obsoletes: samba < 4 |
53 |
|
Obsoletes: samba-client < 4 |
54 |
|
Obsoletes: samba-common < 4 |
55 |
|
Obsoletes: samba-winbind < 4 |
56 |
|
Obsoletes: samba-winbind-clients < 4 |
57 |
|
#Requires: samba >= 3.5.10 |
58 |
|
#Requires: samba-client >= 3.5.10 |
59 |
|
#Requires: samba-common >= 3.5.10 |
60 |
Obsoletes: samba3x |
Obsoletes: samba3x |
61 |
Obsoletes: samba3x-client |
Obsoletes: samba3x-client |
62 |
Obsoletes: samba3x-common |
Obsoletes: samba3x-common |
75 |
AutoReqProv: no |
AutoReqProv: no |
76 |
|
|
77 |
%changelog |
%changelog |
78 |
|
* Tue May 08 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-27.sme |
79 |
|
- build for samba4 support [SME: 10580] |
80 |
|
|
81 |
* Wed May 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-26.sme |
* Wed May 02 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-26.sme |
82 |
- fix wrong syntax for max protocol for current samba version [SME: 10575] |
- fix wrong syntax for max protocol for current samba version [SME: 10575] |
83 |
- removed client max protocol option as not available for current samba version |
- removed client max protocol option as not available for current samba version |
1295 |
|
|
1296 |
|
|
1297 |
%build |
%build |
1298 |
|
# /usr/lib64/libwbclient.so.0 to /usr/lib64/samba/libwbclient.so.0 |
1299 |
|
# /usr/lib64/libsmbclient.so.0 to /usr/lib64/samba/libsmbclient.so.0 |
1300 |
|
echo 'safe_symlink("/usr/lib64/samba/libwbclient.so.0", "root/usr/lib64/libwbclient.so.0");' >> createlinks |
1301 |
|
echo 'safe_symlink("/usr/lib64/samba/libsmbclient.so.0", "root/usr/lib64/libsmbclient.so.0");' >> createlinks |
1302 |
perl createlinks |
perl createlinks |
1303 |
|
|
1304 |
%install |
%install |