1 |
# $Id: e-smith-grub.spec,v 1.3 2016/03/18 14:09:31 unnilennium Exp $ |
# $Id: e-smith-grub.spec,v 1.4 2016/03/18 14:10:42 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.0 |
7 |
%define release 3 |
%define release 4 |
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: smeserver.xpm.gz |
14 |
|
Source2: smeserver10.png |
15 |
|
Patch0: e-smith-grub-2.6.0.grub2adaptation.patch |
16 |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
17 |
BuildRequires: e-smith-devtools |
BuildRequires: e-smith-devtools |
18 |
BuildArchitectures: noarch |
BuildArchitectures: noarch |
25 |
AutoReqProv: no |
AutoReqProv: no |
26 |
|
|
27 |
%changelog |
%changelog |
28 |
|
* Tue Jun 14 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-4.sme |
29 |
|
- Adaptation to grub2 [SME: 9321] |
30 |
|
|
31 |
* 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 |
32 |
- rebuild for Bug [SME: 9347] |
- rebuild for Bug [SME: 9347] |
33 |
|
|
199 |
|
|
200 |
%prep |
%prep |
201 |
%setup |
%setup |
202 |
cp %{SOURCE1} root/boot/grub/ |
%patch0 -p1 |
203 |
|
|
204 |
|
cp %{SOURCE1} root/boot/grub |
205 |
|
cp %{SOURCE2} root/boot/grub |
206 |
|
|
207 |
%build |
%build |
208 |
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 |
|
209 |
|
|
210 |
%install |
%install |
211 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |