source: packages/cooker/drakx-installer-images/current/SPECS/drakx-installer-images.spec @ 1

Last change on this file since 1 was 1, checked in by fasma, 12 years ago

Initial Import from Mandriva's soft revision 224062 and package revision 45733

File size: 1.3 KB
Line 
1%define name drakx-installer-images
2%define version 1.9
3%define release %mkrel 2
4
5%define mandriva_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' mandriva-release)
6
7Summary: DrakX installer images
8Name: %{name}
9Version: %{version}
10Release: %{release}
11Source0: %{name}-%{version}.tar.bz2
12License: GPL
13Group: Development/Other
14Url: http://wiki.mandriva.com/Tools/DrakX
15BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
16%ifarch %ix86 ppc
17BuildRequires: kernel-legacy-2.6.21.2mdv
18%endif
19%ifarch %ix86 x86_64
20BuildRequires: memtest86+
21BuildRequires: grub
22BuildRequires: syslinux
23%endif
24%ifarch ppc
25BuildRequires: yaboot
26%endif
27BuildRequires: drakx-installer-binaries >= 1.9
28BuildRequires: mandriva-theme
29BuildRequires: pcmciautils
30BuildRequires: perl-XML-Parser
31
32BuildRequires: cdrkit-genisoimage
33BuildRequires: mkdosfs-with-dir
34BuildRequires: mknod-m600
35BuildRequires: mtools
36
37#- require the version used during build
38Requires: mandriva-release = %mandriva_version
39
40%description
41images needed to build Mandriva installer (DrakX)
42
43%prep
44%setup -q
45
46%build
47make -C images
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52dest=$RPM_BUILD_ROOT%{_libdir}/%name
53mkdir -p $dest
54make -C images install ROOTDEST=$dest
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(-,root,root)
61%{_libdir}/%name
62
63
Note: See TracBrowser for help on using the repository browser.