/[packages]/updates/2/mageia-gfxboot-theme/current/SPECS/mageia-gfxboot-theme.spec
ViewVC logotype

Contents of /updates/2/mageia-gfxboot-theme/current/SPECS/mageia-gfxboot-theme.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 252183 - (show annotations) (download)
Thu May 31 12:46:16 2012 UTC (8 years, 10 months ago) by ennael
File size: 1725 byte(s)
use design from original author

1 %define version 4.4.5.7
2 %define release %mkrel 1
3
4 Summary: %_vendor graphical boot theme
5 Name: mageia-gfxboot-theme
6 Version: %version
7 Release: %release
8 License: GPL
9 Group: System/Configuration/Boot and Init
10 URL: http://svnweb.mageia.org/soft/theme/mageia-gfxboot-theme/trunk/
11 Source: mageia-gfxboot-theme-%{version}.tar.lzma
12 #
13 Source1: back.jpg
14 Source2: welcome.jpg
15 Source3: timer_a.jpg
16 Source4: grub-gfxmenu
17
18 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
19 BuildRequires: gfxboot-devel
20 Requires(post): perl-Archive-Cpio
21 ExclusiveArch: %ix86 x86_64
22 Obsoletes: mandriva-gfxboot-theme
23
24 %description
25 This package provides the Mageia gfxboot theme. This theme is used by the
26 %_vendor installation to initialized the CDROM boot, and by installed system
27 to boot.
28
29 %prep
30 %setup -q -n %name-%version
31
32 # our jpegs:
33 install -m 644 %{SOURCE1} %{SOURCE2} %{SOURCE3} data-install/
34 install -m 644 %{SOURCE1} %{SOURCE3} data-boot/
35
36 %build
37 #gfxboot binary is needed for the build and is in /usr/sbin
38 #make sure we only build one task at a time since po generation is broken
39 #otherwise
40 PATH="$PATH:/usr/sbin" make
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 dest=%{buildroot}%{_datadir}/gfxboot/themes/%_vendor
45 install -d $dest/install $dest/boot
46 install bootlogo bootlogo.dir/* $dest/install/
47 install message $dest/boot/
48
49 # install grub-gfxmenu
50 install -d %{buildroot}%{_sbindir}
51 install %{SOURCE4} %{buildroot}%{_sbindir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %post
57 if [ "$1" -gt 1 ]; then
58 %_sbindir/grub-gfxmenu --update-gfxmenu
59 fi
60
61 %triggerun -- mandriva-gfxboot-theme
62 if [ -x %_sbindir/grub-gfxmenu ]; then
63 %_sbindir/grub-gfxmenu --update-gfxmenu
64 fi
65
66 %files
67 %defattr(-,root,root,-)
68 %doc
69 %_sbindir/*
70 %_datadir/gfxboot/themes/%_vendor/

  ViewVC Help
Powered by ViewVC 1.1.28