blob: 8b179c6a5c84f7b154b78eafbc7d37e696f9236e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
Name: mkdevnodes
Summary: Fast MAKEDEV replacement
Version: 0.2
Release: 1
Group: Applications/System
License: GPLv2
Source0: mkdevnodes-%{version}.tar.gz
Source1001: packaging/mkdevnodes.manifest
%description
A replacement for MAKEDEV. Instead of parsing hard-coded text files, mkdevnodes uses the information provided in sysfs to generate device nodes with mknod() as needed, as well as a few base device nodes that always need to be present. Mkdevnodes is thus extremely fast, as it doesn not need to read and/or parse text files from the root filesystem.
%prep
%setup -q -n %{name}-%{version}
%build
cp %{SOURCE1001} .
make %{?jobs:-j%jobs}
%install
rm -rf %{buildroot}
%make_install
%files
%manifest mkdevnodes.manifest
%defattr(-,root,root,-)
/sbin/mkdevnodes
|