source: packages/cooker/drakx-installer-binaries/current/SPECS/drakx-installer-binaries.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.1 KB
Line 
1%define name drakx-installer-binaries
2%define version 1.9
3%define release %mkrel 1
4
5Summary: DrakX binaries
6Name: %{name}
7Version: %{version}
8Release: %{release}
9Source0: %{name}-%{version}.tar.bz2
10License: GPL
11Group: Development/Other
12Url: http://wiki.mandriva.com/Tools/DrakX
13BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
14BuildRequires: kernel
15BuildRequires: ldetect-lst-devel
16BuildRequires: dietlibc-devel
17BuildRequires: zlib-devel
18BuildRequires: flex byacc pciutils-devel
19
20#- not requiring the same version otherwise releasing drakx-installer-images takes a day
21#- (restore this when the build system can build a pack of packages)
22Requires: ldetect-lst
23
24%description
25binaries needed to build Mandriva installer (DrakX)
26
27%prep
28%setup -q
29
30%build
31make -C mdk-stage1
32
33%install
34rm -rf $RPM_BUILD_ROOT
35
36cd mdk-stage1
37dest=$RPM_BUILD_ROOT%{_libdir}/%name
38mkdir -p $dest
39install init stage1 pppd pppoe rescue-gui dhcp-client $dest
40if [ -e pcmcia/pcmcia_probe.o ]; then
41  install -m 644 pcmcia/pcmcia_probe.o $dest
42fi
43
44
45%clean
46rm -rf $RPM_BUILD_ROOT
47
48%files
49%defattr(-,root,root)
50%{_libdir}/%name
51
52
Note: See TracBrowser for help on using the repository browser.