Upload Tizen:Main source
[external/mkdevnodes.git] / packaging / mkdevnodes.spec
1
2 Name:       mkdevnodes
3 Summary:    Fast MAKEDEV replacement
4 Version:    0.2
5 Release:    1
6 Group:      Applications/System
7 License:    GPLv2
8 Source0:    mkdevnodes-%{version}.tar.gz
9
10
11 %description
12 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.
13
14
15
16
17 %prep
18 %setup -q -n %{name}-%{version}
19
20
21 %build
22
23
24 make %{?jobs:-j%jobs}
25
26 %install
27 rm -rf %{buildroot}
28 %make_install
29
30
31
32
33
34
35
36 %files
37 %defattr(-,root,root,-)
38 /sbin/mkdevnodes
39
40