1 |
# $Id: smeserver-release.spec,v 1.2 2016/08/05 06:25:20 unnilennium Exp $ |
# $Id: smeserver-release.spec,v 1.10 2021/02/17 16:12:07 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} |
Release: %{prerelease}.%{release}%{?dist} |
11 |
License: GPL |
License: GPL |
12 |
Group: System Environment/Base |
Group: System Environment/Base |
13 |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
#Patch0: %{name}-%{version}.patch.yyyymmddnn |
27 |
e-smith server and gateway release file |
e-smith server and gateway release file |
28 |
|
|
29 |
%changelog |
%changelog |
30 |
|
* Fri Feb 19 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-beta1.2.sme |
31 |
|
- updating release number everywhere [SME: 11366] |
32 |
|
|
33 |
|
* Wed Feb 17 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-1.beta1.sme |
34 |
|
- Bump release to 1 as buildsys believe 1.alpha5 is newer than 0.beta1 [SME: 11317] |
35 |
|
|
36 |
|
* Fri Jan 08 2021 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.beta1.sme |
37 |
|
- Bump new rpm for sme10 beta1 [SME: 11317] |
38 |
|
- add update event [SME: 11165] |
39 |
|
|
40 |
|
* Mon Jun 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-1.alpha5.sme |
41 |
|
- Bump new rpm for sme10 alpha5 |
42 |
|
|
43 |
|
* Fri Jan 4 2019 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha4.sme |
44 |
|
- Bump new rpm for sme10 alpha4 |
45 |
|
|
46 |
|
* Wed May 31 2017 Jean-Philipe Pialasse <tests@pialasse.com> 10.0-0.alpha3.sme |
47 |
|
- Bump new rpm for sme10 alpha3 |
48 |
|
|
49 |
* 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 |
50 |
- Bump new rpm for sme10 alpha2 |
- Bump new rpm for sme10 alpha2 |
51 |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, |
52 |
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 .... |
|
53 |
|
|
54 |
* 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 |
55 |
- Build new rpm for sme10 |
- Build new rpm for sme10 |
583 |
|
|
584 |
%install |
%install |
585 |
mkdir -p $RPM_BUILD_ROOT/etc |
mkdir -p $RPM_BUILD_ROOT/etc |
586 |
|
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc |
587 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/os-release |
588 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/redhat-release |
589 |
|
touch $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/templates2expand/etc/system-release |
590 |
|
pushd $RPM_BUILD_ROOT/etc/e-smith/events/%{name}-update/ |
591 |
|
ln -s S10update-grub ../actions/update-grub |
592 |
|
popd |
593 |
|
|
594 |
echo "SME Server release %{displayversion}" >\ |
echo "SME Server release %{displayversion}" >\ |
595 |
$RPM_BUILD_ROOT/etc/e-smith-release |
$RPM_BUILD_ROOT/etc/e-smith-release |
596 |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |
mkdir -p $RPM_BUILD_ROOT/etc/e-smith/db/configuration/force/sysconfig |