1 |
# $Id: e-smith-samba.spec,v 1.26 2017/03/24 22:09:13 unnilennium 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 25 |
%define release 27 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
27 |
Patch15: e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch |
Patch15: e-smith-samba-2.4.0.bz9048.RoamingProfileForW8.patch |
28 |
Patch16: e-smith-samba-2.4.0-create_v6_profile_dir.patch |
Patch16: e-smith-samba-2.4.0-create_v6_profile_dir.patch |
29 |
Patch17: e-smith-samba-2.4.0.bz10106.outlook2016domainmember.patch |
Patch17: e-smith-samba-2.4.0.bz10106.outlook2016domainmember.patch |
30 |
|
Patch18: e-smith-samba-2.4.0.bz10575.FixMaxProtocol.patch |
31 |
|
|
32 |
Obsoletes: e-smith-netlogon |
Obsoletes: e-smith-netlogon |
33 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
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 |
82 |
|
- 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 |
84 |
|
- added min protocol option |
85 |
|
|
86 |
* Fri Feb 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-25.sme |
* Fri Feb 09 2018 Jean-Philipe Pialasse <tests@pialasse.com> 2.4.0-25.sme |
87 |
- fix Missing letter in /server-resources/regedit/win10samba.reg [SME: 10492] |
- fix Missing letter in /server-resources/regedit/win10samba.reg [SME: 10492] |
88 |
|
|
1291 |
%patch15 -p1 |
%patch15 -p1 |
1292 |
%patch16 -p1 |
%patch16 -p1 |
1293 |
%patch17 -p1 |
%patch17 -p1 |
1294 |
|
%patch18 -p1 |
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 |