1 |
# $Id: e-smith-grub.spec,v 1.9 2016/07/25 12:40:10 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 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 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: 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 |
|
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 |
* 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] |
- enable quota for groups and users with XFS [SME: 10211] |
43 |
|
|
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 |
%patch0 -p1 |
233 |
%patch1 -p1 |
%patch1 -p1 |
234 |
|
%patch2 -p1 |
235 |
|
%patch3 -p1 |
236 |
|
|
237 |
%build |
%build |
238 |
perl createlinks |
perl createlinks |