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