%define base_name drakx-installer-binaries %define name %{base_name}-tmb %define version 1.39 %define release %mkrel 1 Summary: DrakX binaries for kernel-tmb Name: %{name} Version: %{version} Release: %{release} Source0: %{base_name}-%{version}.tar.bz2 Patch0: %{base_name}-dmraid45.patch License: GPL Group: Development/Other Url: http://wiki.mandriva.com/Tools/DrakX BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: kernel BuildRequires: ldetect-devel >= 0.8.1 BuildRequires: ldetect-lst >= 0.1.222 BuildRequires: ldetect-lst-devel BuildRequires: dietlibc-devel BuildRequires: modprobe-devel BuildRequires: pciutils-devel BuildRequires: zlib-devel BuildRequires: flex byacc pciutils-devel #- not requiring the same version otherwise releasing drakx-installer-images takes a day #- (restore this when the build system can build a pack of packages) Requires: ldetect-lst %description binaries needed to build Mandriva installer (DrakX) based on kernel-tmb %package probe Summary: DrakX probe-modules tool Group: Development/Other %description probe probe-modules tool needed to build Mandriva live based on kernel-tmb %prep %setup -q -n %{base_name}-%{version} %patch0 -p1 -b .dmraid45 %build make -C mdk-stage1 %install rm -rf $RPM_BUILD_ROOT cd mdk-stage1 dest=$RPM_BUILD_ROOT%{_libdir}/%name mkdir -p $dest install init stage1 pppd pppoe rescue-gui dhcp-client probe-modules $dest if [ -e pcmcia/pcmcia_probe.o ]; then install -m 644 pcmcia/pcmcia_probe.o $dest fi %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %exclude %{_libdir}/%name/probe-modules %{_libdir}/%name %files probe %defattr(-,root,root) %{_libdir}/%name/probe-modules %changelog * Mon Aug 31 2009 Thomas Backlund <tmb@mandriva.org> 1.39-1mdv2009.1 + Revision: 423006 - add dmraid45 modules to list_modules - sync with main drakx-installer-binaries-1.39 * Sat Mar 21 2009 Thomas Backlund <tmb@mandriva.org> 1.36-1mdv2009.1 + Revision: 360019 - adapt for -tmb - use drakx-installer-binaries-1.36 as base - Created package structure for drakx-installer-binaries-tmb.