1 |
# $Id: smeserver-centos2sme.spec,v 1.1 2019/12/15 22:23:42 jpp Exp $ |
# $Id: smeserver-centos2sme.spec,v 1.5 2021/03/20 04:28:28 jpp Exp $ |
2 |
# Authority: unnilennium |
# Authority: unnilennium |
3 |
# Name: Jean-Philippe Pialasse |
# Name: Jean-Philippe Pialasse |
4 |
|
|
6 |
%define name smeserver-centos2sme |
%define name smeserver-centos2sme |
7 |
%define version 6.9.1 |
%define version 6.9.1 |
8 |
# version number CentosMajorVersion.SMEmajorVersion.RPMversion |
# version number CentosMajorVersion.SMEmajorVersion.RPMversion |
9 |
%define release 6 |
%define release 10 |
10 |
Name: %{name} |
Name: %{name} |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
16 |
Patch0: smeserver-centos2sme-6.9.1-bz10535-fix-path.patch |
Patch0: smeserver-centos2sme-6.9.1-bz10535-fix-path.patch |
17 |
Patch1: smeserver-centos2sme-6.9.1-bz10535-improvements.patch |
Patch1: smeserver-centos2sme-6.9.1-bz10535-improvements.patch |
18 |
Patch2: smeserver-centos2sme-6.9.1-firstSME10.patch |
Patch2: smeserver-centos2sme-6.9.1-firstSME10.patch |
19 |
|
Patch3: smeserver-centos2sme-6.9.1-SME10-2.patch |
20 |
|
Patch4: smeserver-centos2sme-6.9.1-secondSME10.patch |
21 |
|
|
22 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
23 |
BuildArch: noarch |
BuildArch: noarch |
24 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
25 |
Requires: centos-release >= 6 |
Requires: centos-release >= 7 |
|
Requires: centos-release < 7 |
|
26 |
|
|
27 |
%description |
%description |
28 |
Package to help transform a centos box into a Koozali SME Server. |
Package to help transform a centos box into a Koozali SME Server. |
32 |
%setup |
%setup |
33 |
%patch0 -p1 |
%patch0 -p1 |
34 |
%patch1 -p1 |
%patch1 -p1 |
35 |
|
%patch2 -p1 |
36 |
|
%patch3 -p1 |
37 |
|
%patch4 -p1 |
38 |
|
mkdir -p root/etc/e-smith/events/smeserver-centos2sme |
39 |
|
|
40 |
%build |
%build |
41 |
# /usr/bin/perl createlinks |
# /usr/bin/perl createlinks |
58 |
touch /etc/hosts.deny_ssh |
touch /etc/hosts.deny_ssh |
59 |
|
|
60 |
%changelog |
%changelog |
61 |
|
* Sat Mar 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-10.sme |
62 |
|
- create empty smeserver-centos2sme [SME: 10850] |
63 |
|
should not be necessary as it should be installed on bare CentOS, not on SME... |
64 |
|
|
65 |
|
* Sat Mar 20 2021 Jean-Philippe Pialasse <tests@pialasse.com> 6.9.1-9.sme |
66 |
|
- use systemctl when needed [SME: 10850] |
67 |
|
- fix issue with sshd not reloading and locking user [SME: 10850] |
68 |
|
- remove rpm -e dhcp-common |
69 |
|
|
70 |
|
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-8.sme |
71 |
|
- improve script |
72 |
|
- TODO: *some deps are forced, might be added as dep for e-smith-base |
73 |
|
*some packages conflicting like nm and firewalld are removed should be done via e-smith-base |
74 |
|
|
75 |
|
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-7.sme |
76 |
|
- fix Requires, improve script |
77 |
|
|
78 |
* Sun Dec 15 2019 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-6.sme |
* Sun Dec 15 2019 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-6.sme |
79 |
- first build for SME10 |
- first build for SME10 |
80 |
|
|