1 |
# $Id: smeserver-centos2sme.spec,v 1.3 2018/03/10 04:30:17 jpp Exp $ |
# $Id: smeserver-centos2sme.spec,v 1.4 2018/03/10 17:26:09 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 4 |
%define release 5 |
10 |
Name: %{name} |
Name: %{name} |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
14 |
Group: Applications/System |
Group: Applications/System |
15 |
Source: %{name}-%{version}.tgz |
Source: %{name}-%{version}.tgz |
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 |
18 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
19 |
BuildArch: noarch |
BuildArch: noarch |
20 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
BuildRequires: e-smith-devtools >= 1.13.1-03 |
28 |
%prep |
%prep |
29 |
%setup |
%setup |
30 |
%patch0 -p1 |
%patch0 -p1 |
31 |
|
%patch1 -p1 |
32 |
|
|
33 |
%build |
%build |
34 |
# /usr/bin/perl createlinks |
# /usr/bin/perl createlinks |
51 |
touch /etc/hosts.deny_ssh |
touch /etc/hosts.deny_ssh |
52 |
|
|
53 |
%changelog |
%changelog |
54 |
|
* Mon Mar 12 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-5.sme |
55 |
|
- few improvements and bug fixes see patch improvements |
56 |
|
|
57 |
* Sat Mar 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-4.sme |
* Sat Mar 10 2018 Jean-Philipe Pialasse <tests@pialasse.com> 6.9.1-4.sme |
58 |
- fix execution permission on /usr/bin/centos2sme [SME: 10535] |
- fix execution permission on /usr/bin/centos2sme [SME: 10535] |
59 |
- added warning at the begining of script to check for working network interface |
- added warning at the begining of script to check for working network interface |