1 |
# $Id: e-smith-grub.spec,v 1.8 2016/07/16 14:22:04 stephdl Exp $ |
# $Id: e-smith-grub.spec,v 1.11 2017/05/11 00:02:49 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 3 |
%define release 6 |
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 |
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 25 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-6.sme |
32 |
|
- rebuild for file ownership conflict [SME: 10325] |
33 |
|
|
34 |
|
* Thu May 11 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-5.sme |
35 |
|
- fix edition and consol grub terminal not visible because of koozali logo [SME: 9728] |
36 |
|
|
37 |
|
* Wed Apr 05 2017 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-4.sme |
38 |
|
- enable quota for groups and users with XFS [SME: 10211] |
39 |
|
|
40 |
* Mon Jul 25 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-3.sme |
* Mon Jul 25 2016 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.1-3.sme |
41 |
- Koozali grub splash screen |
- Koozali grub splash screen |
42 |
|
|
221 |
|
|
222 |
%prep |
%prep |
223 |
%setup |
%setup |
224 |
cp %{SOURCE1} root/boot/grub |
mkdir -p root/boot/grub2/themes |
225 |
|
cp %{SOURCE1} root/boot/grub2 |
226 |
|
%setup -T -D -a 2 |
227 |
|
mv koozali root/boot/grub2/themes/ |
228 |
%patch0 -p1 |
%patch0 -p1 |
229 |
|
%patch1 -p1 |
230 |
|
%patch2 -p1 |
231 |
|
|
232 |
%build |
%build |
233 |
perl createlinks |
perl createlinks |