1 |
# $Id: smeserver-centos2sme.spec,v 1.1 2019/12/15 22:23:42 jpp Exp $ |
# $Id: smeserver-centos2sme.spec,v 1.2 2019/12/15 22:35:25 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 7 |
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 |
|
|
36 |
%build |
%build |
37 |
# /usr/bin/perl createlinks |
# /usr/bin/perl createlinks |
54 |
touch /etc/hosts.deny_ssh |
touch /etc/hosts.deny_ssh |
55 |
|
|
56 |
%changelog |
%changelog |
57 |
|
* Fri Apr 17 2020 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-7.sme |
58 |
|
- fix Requires, improve script |
59 |
|
|
60 |
* 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 |
61 |
- first build for SME10 |
- first build for SME10 |
62 |
|
|