1 |
# $Id: smeserver-release.spec,v 1.7 2020/06/08 19:47:49 jpp Exp $ |
# $Id: smeserver-release.spec,v 1.18 2022/07/21 03:10:15 jpp Exp $ |
2 |
|
|
3 |
Summary: SME Server release file |
Summary: SME Server release file |
4 |
Name: smeserver-release |
Name: smeserver-release |
5 |
%define version 10.0 |
#note for post 10.0 : should use %{version}-%{prerelease}%{release}%{?dist} |
6 |
%define release 1.alpha5 |
# examples alpha1. beta1. rc1. or %{nil} if final |
7 |
%define displayversion %{version}alpha5 |
%define prerelease %{nil} |
8 |
|
%define version 10.1 |
9 |
|
%define release 1 |
10 |
|
%define displayversion %{version}%{prerelease} |
11 |
Version: %{version} |
Version: %{version} |
12 |
Release: %{release}%{?dist} |
Release: %{prerelease}%{release}%{?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-1.alpha5.sme |
* Wed Jul 20 2022 Jean-Philippe Pialasse <tests@pialasse.com> 10.1-1.sme |
33 |
|
- Bump new rpm for sme 10.1 [SME: 12118] |
34 |
|
|
35 |
|
* Wed May 12 2021 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-3.sme |
36 |
|
- Bump new rpm for sme 10.0 final |
37 |
|
|
38 |
|
* Thu Mar 18 2021 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-2.rc1.sme |
39 |
|
- Bump new rpm for sme10 release candidate 1 |
40 |
|
|
41 |
|
* Fri Feb 19 2021 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-2.beta1.sme |
42 |
|
- updating release number everywhere [SME: 11366] |
43 |
|
|
44 |
|
* Wed Feb 17 2021 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-1.beta1.sme |
45 |
|
- Bump release to 1 as buildsys believe 1.alpha5 is newer than 0.beta1 [SME: 11317] |
46 |
|
|
47 |
|
* Fri Jan 08 2021 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-0.beta1.sme |
48 |
|
- Bump new rpm for sme10 beta1 [SME: 11317] |
49 |
|
- add update event [SME: 11165] |
50 |
|
|
51 |
|
* Mon Jun 08 2020 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-1.alpha5.sme |
52 |
- Bump new rpm for sme10 alpha5 |
- Bump new rpm for sme10 alpha5 |
53 |
|
|
54 |
* Fri Jan 4 2019 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha4.sme |
* Fri Jan 4 2019 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-0.alpha4.sme |
55 |
- Bump new rpm for sme10 alpha4 |
- Bump new rpm for sme10 alpha4 |
56 |
|
|
57 |
* Wed May 31 2017 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha3.sme |
* Wed May 31 2017 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-0.alpha3.sme |
58 |
- Bump new rpm for sme10 alpha3 |
- Bump new rpm for sme10 alpha3 |
59 |
|
|
60 |
* Fri Aug 05 2016 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha2.sme |
* Fri Aug 05 2016 Jean-Philippe Pialasse <tests@pialasse.com> 10.0-0.alpha2.sme |
61 |
- Bump new rpm for sme10 alpha2 |
- Bump new rpm for sme10 alpha2 |
62 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
63 |
by assuming the date is correct and changing the weekday. |
by assuming the date is correct and changing the weekday. |
594 |
|
|
595 |
%install |
%install |
596 |
mkdir -p $RPM_BUILD_ROOT/etc |
mkdir -p $RPM_BUILD_ROOT/etc |
597 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc |
598 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/os-release |
599 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/redhat-release |
600 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/system-release |
601 |
|
pushd $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/ |
602 |
|
ln -s ../actions/update-grub S10update-grub |
603 |
|
popd |
604 |
|
|
605 |
echo "SME Server release %{displayversion}" >\ |
echo "SME Server release %{displayversion}" >\ |
606 |
$RPM_BUILD_ROOT/etc/e-smith-release |
$RPM_BUILD_ROOT/etc/e-smith-release |
607 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |