1 |
# $Id: smeserver-release.spec,v 1.2 2016/08/05 06:25:20 unnilennium Exp $ |
# $Id: smeserver-release.spec,v 1.12 2021/02/19 19:08:38 jpp Exp $ |
2 |
|
|
3 |
Summary: SME Server release file |
Summary: SME Server release file |
4 |
Name: smeserver-release |
Name: smeserver-release |
5 |
|
%define prerelease beta1 |
6 |
%define version 10.0 |
%define version 10.0 |
7 |
%define release 0.alpha2 |
%define release 2 |
8 |
%define displayversion %{version} |
%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 |
|
* Fri Feb 19 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-2.beta1.sme |
33 |
|
- updating release number everywhere [SME: 11366] |
34 |
|
|
35 |
|
* Wed Feb 17 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-1.beta1.sme |
36 |
|
- Bump release to 1 as buildsys believe 1.alpha5 is newer than 0.beta1 [SME: 11317] |
37 |
|
|
38 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.beta1.sme |
39 |
|
- Bump new rpm for sme10 beta1 [SME: 11317] |
40 |
|
- add update event [SME: 11165] |
41 |
|
|
42 |
|
* Mon Jun 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-1.alpha5.sme |
43 |
|
- Bump new rpm for sme10 alpha5 |
44 |
|
|
45 |
|
* Fri Jan 4 2019 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha4.sme |
46 |
|
- Bump new rpm for sme10 alpha4 |
47 |
|
|
48 |
|
* Wed May 31 2017 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha3.sme |
49 |
|
- Bump new rpm for sme10 alpha3 |
50 |
|
|
51 |
* Fri Aug 05 2016 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha2.sme |
* Fri Aug 05 2016 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha2.sme |
52 |
- Bump new rpm for sme10 alpha2 |
- Bump new rpm for sme10 alpha2 |
53 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
54 |
by assuming the date is correct and changing the weekday. |
by assuming the date is correct and changing the weekday. |
|
Thu Mar 11 2003 --> Thu Mar 06 2003 or Tue Mar 11 2003 or Thu Mar 13 2003 or .... |
|
|
Mon Jun 06 2006 --> Mon Jun 05 2006 or Tue Jun 06 2006 or Mon Jun 12 2006 or .... |
|
|
Tue Dec 02 2013 --> Tue Nov 26 2013 or Mon Dec 02 2013 or Tue Dec 03 2013 or .... |
|
55 |
|
|
56 |
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 10.0-0.alpha1 |
* Sun Feb 7 2016 stephane de labrusse <stephdl@de-labrusse.fr> 10.0-0.alpha1 |
57 |
- Build new rpm for sme10 |
- Build new rpm for sme10 |
585 |
|
|
586 |
%install |
%install |
587 |
mkdir -p $RPM_BUILD_ROOT/etc |
mkdir -p $RPM_BUILD_ROOT/etc |
588 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc |
589 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/os-release |
590 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/redhat-release |
591 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/system-release |
592 |
|
pushd $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/ |
593 |
|
ln -s ../actions/update-grub S10update-grub |
594 |
|
popd |
595 |
|
|
596 |
echo "SME Server release %{displayversion}" >\ |
echo "SME Server release %{displayversion}" >\ |
597 |
$RPM_BUILD_ROOT/etc/e-smith-release |
$RPM_BUILD_ROOT/etc/e-smith-release |
598 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |