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