/[packages]/cauldron/drakx-installer-images/current/SPECS/drakx-installer-images.spec
ViewVC logotype

Annotation of /cauldron/drakx-installer-images/current/SPECS/drakx-installer-images.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 131997 - (hide annotations) (download)
Fri Aug 5 21:38:35 2011 UTC (10 years, 11 months ago) by tmb
File size: 1551 byte(s)
build with kernel-3.0.1-1.mga2
1 dmorgan 48526 %define name drakx-installer-images
2 blino 99859 %define version 1.54
3 tmb 131997 %define release %mkrel 6
4 dmorgan 48980 %define theme Default
5 tmb 131997 %define main_kernel_version 3.0.1-1.mga2
6 dmorgan 48526
7     %ifarch %ix86
8     %define kernels kernel-desktop586-%main_kernel_version kernel-server-%main_kernel_version
9     %else
10     %ifarch ppc
11     %define kernels kernel-legacy-%main_kernel_version
12     %else
13     %define kernels kernel-desktop-%main_kernel_version kernel-server-%main_kernel_version
14     %endif
15     %endif
16    
17     Summary: DrakX installer images
18     Name: %{name}
19     Version: %{version}
20     Release: %{release}
21 tmb 79857 Source0: %{name}-%{version}.tar.xz
22 dmorgan 48526 License: GPL
23     Group: Development/Other
24     Url: http://www.mageia.org/
25     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
26     BuildRequires: %kernels kernel-firmware
27     %ifarch %ix86 x86_64
28     BuildRequires: memtest86+
29     BuildRequires: grub
30     BuildRequires: syslinux >= 3.72
31     %endif
32     %ifarch ppc
33     BuildRequires: yaboot
34     %endif
35 tmb 100810 BuildRequires: drakx-installer-binaries >= 1.50-2
36 tmb 94527 BuildRequires: ldetect-lst >= 0.1.291-6
37 dmorgan 48526 BuildRequires: mageia-theme-%{theme}
38     BuildRequires: pcmciautils
39     BuildRequires: perl-XML-Parser
40    
41     BuildRequires: cdrkit-genisoimage
42     BuildRequires: mknod-m600
43     BuildRequires: mtools
44     Buildrequires: busybox-static
45     Buildrequires: ka-deploy-source-node
46    
47     %description
48     images needed to build %_vendor installer (DrakX)
49    
50     %prep
51     %setup -q
52    
53     %build
54     THEME=%_vendor-%{theme} make -C images KERNELS="%{kernels}"
55    
56     %install
57     rm -rf $RPM_BUILD_ROOT
58    
59     dest=$RPM_BUILD_ROOT%{_libdir}/%name
60     mkdir -p $dest
61     make -C images install ROOTDEST=$dest
62    
63     %clean
64     rm -rf $RPM_BUILD_ROOT
65    
66     %files
67     %defattr(-,root,root)
68     %{_libdir}/%name
69    

  ViewVC Help
Powered by ViewVC 1.1.28