1 |
# $Id: e-smith-grub.spec,v 1.3 2016/03/18 14:09:31 unnilennium Exp $ |
# $Id: e-smith-grub.spec,v 1.12 2017/05/25 15:52:54 unnilennium Exp $ |
2 |
|
|
3 |
Summary: e-smith module to configure grub |
Summary: e-smith module to configure grub2 |
4 |
%define name e-smith-grub |
%define name e-smith-grub |
5 |
Name: %{name} |
Name: %{name} |
6 |
%define version 2.6.0 |
%define version 2.6.1 |
7 |
%define release 3 |
%define release 7 |
8 |
Version: %{version} |
Version: %{version} |
9 |
Release: %{release}%{?dist} |
Release: %{release}%{?dist} |
10 |
License: GPL |
License: GPL |
11 |
Group: Networking/Daemons |
Group: Networking/Daemons |
12 |
Source: %{name}-%{version}.tar.xz |
Source: %{name}-%{version}.tar.xz |
13 |
Source1: smeserver.xpm.gz |
Source1: smeserver10.png |
14 |
|
Source2: koozali.tar.xz |
15 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
16 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
17 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
18 |
|
Patch0: e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
19 |
|
Patch1: e-smith-grub-2.6.0-bz10211-enableXFSquota.patch |
20 |
|
Patch2: e-smith-grub-2.6.1.bz9728.AddGrubThemeKoozali.patch |
21 |
|
Patch3: e-smith-grub-2.6.1-bz11137-update.patch |
22 |
|
|
23 |
Requires: e-smith-lib >= 1.15.3-17 |
Requires: e-smith-lib >= 1.15.3-17 |
24 |
Requires: grub2 |
Requires: grub2 |
25 |
Provides: system-logos |
Provides: system-logos |
29 |
AutoReqProv: no |
AutoReqProv: no |
30 |
|
|
31 |
%changelog |
%changelog |
32 |
|
* Wed Jan 06 2021 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-7.sme |
33 |
|
- add update event [SME: 11137] |
34 |
|
|
35 |
|
* Thu May 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-6.sme |
36 |
|
- rebuild for file ownership conflict [SME: 10325] |
37 |
|
|
38 |
|
* Thu May 11 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-5.sme |
39 |
|
- fix edition and consol grub terminal not visible because of koozali logo [SME: 9728] |
40 |
|
|
41 |
|
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
42 |
|
- enable quota for groups and users with XFS [SME: 10211] |
43 |
|
|
44 |
|
* Mon Jul 25 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-3.sme |
45 |
|
- Koozali grub splash screen |
46 |
|
|
47 |
|
* Sat Jul 16 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-2.sme |
48 |
|
- Write the full path for the grub Action [SME: 9668] |
49 |
|
- Added e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
50 |
|
|
51 |
|
* Wed Jun 15 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.1-1.sme |
52 |
|
- New source [SME: 9321] |
53 |
|
|
54 |
|
* Tue Jun 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
55 |
|
- Adaptation to grub2 [SME: 9321] |
56 |
|
|
57 |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
* Fri Mar 18 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme |
58 |
- rebuild for Bug [SME: 9347] |
- rebuild for Bug [SME: 9347] |
59 |
|
|
225 |
|
|
226 |
%prep |
%prep |
227 |
%setup |
%setup |
228 |
cp %{SOURCE1} root/boot/grub/ |
mkdir -p root/boot/grub2/themes |
229 |
|
cp %{SOURCE1} root/boot/grub2 |
230 |
|
%setup -T -D -a 2 |
231 |
|
mv koozali root/boot/grub2/themes/ |
232 |
|
%patch0 -p1 |
233 |
|
%patch1 -p1 |
234 |
|
%patch2 -p1 |
235 |
|
%patch3 -p1 |
236 |
|
|
237 |
%build |
%build |
238 |
perl createlinks |
perl createlinks |
|
mkdir -p root/etc/e-smith/events/local/templates2expand/etc/sysconfig |
|
|
touch root/etc/e-smith/events/local/templates2expand/etc/sysconfig/kernel |
|
239 |
|
|
240 |
%install |
%install |
241 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |