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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 170420 - (hide annotations) (download)
Mon Nov 21 11:46:00 2011 UTC (12 years, 4 months ago) by dams
Original Path: cauldron/mageia-gfxboot-theme/current/SPECS/mageia-gfxboot-theme.spec
File size: 1725 byte(s)
update bootloader.pot
1 dams 170420 %define version 4.4.5.3
2 dmorgan 79192 %define release %mkrel 1
3 dmorgan 48490
4     Summary: %_vendor graphical boot theme
5 tmb 51386 Name: mageia-gfxboot-theme
6 dmorgan 48490 Version: %version
7     Release: %release
8     License: GPL
9     Group: System/Configuration/Boot and Init
10 tmb 51386 URL: http://svnweb.mageia.org/soft/theme/mageia-gfxboot-theme/trunk/
11 ennael 70784 Source: mageia-gfxboot-theme-%{version}.tar.lzma
12 dmorgan 48490 #
13     Source1: back.jpg
14     Source2: welcome.jpg
15     Source3: timer_a.jpg
16 tmb 51386 Source4: grub-gfxmenu
17 dmorgan 48490
18     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
19     BuildRequires: gfxboot-devel
20     Requires(post): perl-Archive-Cpio
21 ahmad 51885 ExclusiveArch: %ix86 x86_64
22     Obsoletes: mandriva-gfxboot-theme
23 dmorgan 48490
24     %description
25 tmb 51386 This package provides the Mageia gfxboot theme. This theme is used by the
26 dmorgan 48490 %_vendor installation to initialized the CDROM boot, and by installed system
27     to boot.
28    
29     %prep
30 ennael 70798 %setup -q -n %name-%version
31 dmorgan 48490
32     # our jpegs:
33 tmb 51386 install -m 644 %{SOURCE1} %{SOURCE2} %{SOURCE3} data-install/
34 dmorgan 48490 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 tmb 51386 install %{SOURCE4} %{buildroot}%{_sbindir}
52 dmorgan 48490
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 ahmad 71355 %triggerun -- mandriva-gfxboot-theme
62     if [ -x %_sbindir/grub-gfxmenu ]; then
63     %_sbindir/grub-gfxmenu --update-gfxmenu
64     fi
65    
66 dmorgan 48490 %files
67     %defattr(-,root,root,-)
68     %doc
69     %_sbindir/*
70     %_datadir/gfxboot/themes/%_vendor/

  ViewVC Help
Powered by ViewVC 1.1.30