1 |
# $Id: smeserver-centos2sme.spec,v 1.1 2019/12/15 22:23:42 jpp Exp $ |
# $Id: smeserver-centos2sme.spec,v 1.3 2020/04/17 16:19:34 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 8 |
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 |
|
|
21 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
22 |
BuildArch: noarch |
BuildArch: noarch |
23 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
24 |
Requires: centos-release >= 6 |
Requires: centos-release >= 7 |
|
Requires: centos-release < 7 |
|
25 |
|
|
26 |
%description |
%description |
27 |
Package to help transform a centos box into a Koozali SME Server. |
Package to help transform a centos box into a Koozali SME Server. |
31 |
%setup |
%setup |
32 |
%patch0 -p1 |
%patch0 -p1 |
33 |
%patch1 -p1 |
%patch1 -p1 |
34 |
|
%patch2 -p1 |
35 |
|
%patch3 -p1 |
36 |
|
|
37 |
%build |
%build |
38 |
# /usr/bin/perl createlinks |
# /usr/bin/perl createlinks |
55 |
touch /etc/hosts.deny_ssh |
touch /etc/hosts.deny_ssh |
56 |
|
|
57 |
%changelog |
%changelog |
58 |
|
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-8.sme |
59 |
|
- improve script |
60 |
|
- TODO: *some deps are forced, might be added as dep for e-smith-base |
61 |
|
*some packages conflicting like nm and firewalld are removed should be done via e-smith-base |
62 |
|
|
63 |
|
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-7.sme |
64 |
|
- fix Requires, improve script |
65 |
|
|
66 |
* 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 |
67 |
- first build for SME10 |
- first build for SME10 |
68 |
|
|