40 lines
886 B
RPMSpec
40 lines
886 B
RPMSpec
|
# -*- rpm-spec -*-
|
||
|
# $Id$
|
||
|
|
||
|
# some machinery to fix exact kernel modules version
|
||
|
%define bundlename %(rpmquery --whatprovides kernel-modules-bundle --qf '%%{name}' 2> /dev/null)
|
||
|
%define bundlereq %(rpmquery --qf '%%{name} = %%|serial?{%%{serial}:}|%%{version}-%%{release}' %bundlename 2>/dev/null)
|
||
|
|
||
|
Name: propagator
|
||
|
Version: 20041112
|
||
|
Release: alt0.1
|
||
|
|
||
|
Summary: Installer's first stage
|
||
|
License: GPL
|
||
|
Group: System/Kernel and hardware
|
||
|
|
||
|
Source0: %name-%version.tar.bz2
|
||
|
|
||
|
Requires: %bundlereq
|
||
|
BuildRequires: kernel-modules-bundle
|
||
|
|
||
|
%description
|
||
|
%name is a set of binaries useful in 'early userspace' environment,
|
||
|
including init and various helpers for hw probing and bootstrapping.
|
||
|
|
||
|
%prep
|
||
|
%setup -qc
|
||
|
|
||
|
%build
|
||
|
%__make
|
||
|
|
||
|
%install
|
||
|
%make_install DESTDIR=%buildroot install
|
||
|
|
||
|
%files
|
||
|
%_libdir/%name
|
||
|
|
||
|
%changelog
|
||
|
* Fri Nov 12 2004 Sergey Bolshakov <sbolshakov@altlinux.ru> 20041112-alt0.1
|
||
|
- Initial build.
|