1 |
# $Id: smeserver-release.spec,v 1.6 2019/01/05 03:18:03 jpp Exp $ |
# $Id: smeserver-release.spec,v 1.13 2021/02/19 19:15:43 jpp Exp $ |
2 |
|
|
3 |
Summary: SME Server release file |
Summary: SME Server release file |
4 |
Name: smeserver-release |
Name: smeserver-release |
5 |
|
%define prerelease rc1 |
6 |
%define version 10.0 |
%define version 10.0 |
7 |
%define release |
%define release 2 |
8 |
%define displayversion %{version}alpha5 |
%define displayversion %{version}%{prerelease} |
9 |
Version: %{version} |
Version: %{version} |
10 |
Release: %{release}%{?dist} |
# note for post 10.0 : should use %{prerelease}.%{release}%{?dist} |
11 |
|
# we started reverse for 10.0 and had to go on |
12 |
|
Release: %{release}.%{prerelease}%{?dist} |
13 |
License: GPL |
License: GPL |
14 |
Group: System Environment/Base |
Group: System Environment/Base |
15 |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
29 |
e-smith server and gateway release file |
e-smith server and gateway release file |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
* Mon Jun 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha5.sme |
* Thu Mar 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-2.rc1.sme |
33 |
|
- Bump new rpm for sme10 release candidate 1 |
34 |
|
|
35 |
|
* Fri Feb 19 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-2.beta1.sme |
36 |
|
- updating release number everywhere [SME: 11366] |
37 |
|
|
38 |
|
* Wed Feb 17 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-1.beta1.sme |
39 |
|
- Bump release to 1 as buildsys believe 1.alpha5 is newer than 0.beta1 [SME: 11317] |
40 |
|
|
41 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.beta1.sme |
42 |
|
- Bump new rpm for sme10 beta1 [SME: 11317] |
43 |
|
- add update event [SME: 11165] |
44 |
|
|
45 |
|
* Mon Jun 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-1.alpha5.sme |
46 |
- Bump new rpm for sme10 alpha5 |
- Bump new rpm for sme10 alpha5 |
47 |
|
|
48 |
* Fri Jan 4 2019 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha4.sme |
* Fri Jan 4 2019 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha4.sme |
588 |
|
|
589 |
%install |
%install |
590 |
mkdir -p $RPM_BUILD_ROOT/etc |
mkdir -p $RPM_BUILD_ROOT/etc |
591 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc |
592 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/os-release |
593 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/redhat-release |
594 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/system-release |
595 |
|
pushd $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/ |
596 |
|
ln -s ../actions/update-grub S10update-grub |
597 |
|
popd |
598 |
|
|
599 |
echo "SME Server release %{displayversion}" >\ |
echo "SME Server release %{displayversion}" >\ |
600 |
$RPM_BUILD_ROOT/etc/e-smith-release |
$RPM_BUILD_ROOT/etc/e-smith-release |
601 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |