source: packages/cooker/drakx-installer-images-tmb/current/SPECS/drakx-installer-images-tmb.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.6 KB
Line 
1%define base_name drakx-installer-images
2%define name %{base_name}-tmb
3%define version 1.8
4%define release %mkrel 4
5
6%define mandriva_version %(rpm -q --queryformat '%{VERSION}-%{RELEASE}' mandriva-release)
7
8# disable empty debug rpms...
9%define _enable_debug_packages  %{nil}
10%define debug_package           %{nil}
11
12Summary: DrakX installer images using kernel-tmb series
13Name: %{name}
14Version: %{version}
15Release: %{release}
16Source0: %{base_name}-%{version}.tar.bz2
17Patch0:  %{name}.patch
18License: GPL
19Group:   Development/Other
20Url:     http://wiki.mandriva.com/Tools/DrakX
21BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
22%ifarch %ix86
23BuildRequires: kernel-tmb-desktop586-latest >= 2.6.20.4-3mdv
24%else
25BuildRequires: kernel-tmb-desktop-latest >= 2.6.20.4-3mdv
26%endif
27%ifarch %ix86 x86_64
28BuildRequires: memtest86+
29BuildRequires: grub
30BuildRequires: syslinux
31%endif
32BuildRequires: drakx-installer-binaries >= 1.7
33BuildRequires: mandriva-theme
34BuildRequires: pcmciautils
35BuildRequires: perl-XML-Parser
36
37BuildRequires: cdrkit-genisoimage
38BuildRequires: mkdosfs-with-dir
39BuildRequires: mknod-m600
40BuildRequires: mtools
41
42#- require the version used during build
43Requires: mandriva-release = %mandriva_version
44
45%description
46images needed to build Mandriva installer (DrakX) using kernel-tmb series
47
48%prep
49%setup -q -n %{base_name}-%{version} 
50%patch0 -p1
51
52%build
53make -C images
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58dest=$RPM_BUILD_ROOT%{_libdir}/%name
59mkdir -p $dest
60make -C images install ROOTDEST=$dest
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(-,root,root)
67%{_libdir}/%name
68
69
70
71
Note: See TracBrowser for help on using the repository browser.