1 |
# $Id: e-smith-grub.spec,v 1.9 2016/07/25 12:40:10 unnilennium Exp $ |
# $Id: e-smith-grub.spec,v 1.10 2017/04/05 20:16:01 unnilennium Exp $ |
2 |
|
|
3 |
Summary: e-smith module to configure grub2 |
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.1 |
%define version 2.6.1 |
7 |
%define release 4 |
%define release 5 |
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: smeserver10.png |
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 |
Patch0: e-smith-grub-2.6.1.bz9668.AddFullPath2GrubAction.patch |
19 |
Patch1: e-smith-grub-2.6.0-bz10211-enableXFSquota.patch |
Patch1: e-smith-grub-2.6.0-bz10211-enableXFSquota.patch |
20 |
|
Patch2: e-smith-grub-2.6.1.bz9728.AddGrubThemeKoozali.patch |
21 |
|
|
22 |
Requires: e-smith-lib >= 1.15.3-17 |
Requires: e-smith-lib >= 1.15.3-17 |
23 |
Requires: grub2 |
Requires: grub2 |
24 |
Provides: system-logos |
Provides: system-logos |
28 |
AutoReqProv: no |
AutoReqProv: no |
29 |
|
|
30 |
%changelog |
%changelog |
31 |
|
* Thu May 11 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-5.sme |
32 |
|
- fix edition and consol grub terminal not visible because of koozali logo [SME: 9728] |
33 |
|
|
34 |
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
35 |
- enable quota for groups and users with XFS [SME: 10211] |
- enable quota for groups and users with XFS [SME: 10211] |
36 |
|
|
218 |
|
|
219 |
%prep |
%prep |
220 |
%setup |
%setup |
221 |
cp %{SOURCE1} root/boot/grub |
mkdir -p root/boot/grub2/themes |
222 |
|
cp %{SOURCE1} root/boot/grub2 |
223 |
|
%setup -T -D -a 2 |
224 |
|
mv koozali root/boot/grub2/themes/ |
225 |
%patch0 -p1 |
%patch0 -p1 |
226 |
%patch1 -p1 |
%patch1 -p1 |
227 |
|
%patch2 -p1 |
228 |
|
|
229 |
%build |
%build |
230 |
perl createlinks |
perl createlinks |