]>
Commit | Line | Data |
---|---|---|
f15b17ea | 1 | Summary: DevFS Daemon |
2 | Name: devfsd | |
3 | Version: 1.3.1 | |
4 | Release: 1 | |
5 | Source: %{name}-%{version}.tar.gz | |
6 | Copyright: GPL | |
7 | Group: Base | |
8 | Group(pl): Podstawowe | |
9 | Buildroot: /tmp/%{name}-%{version}-root | |
10 | ||
11 | %define _exec_prefix / | |
12 | ||
13 | %description | |
14 | Device File System Daemon. | |
15 | ||
16 | %prep | |
17 | %setup -q -n devfsd | |
18 | %build | |
19 | make | |
20 | %install | |
21 | rm -rf $RPM_BUILD_ROOT | |
22 | ||
23 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}} | |
24 | ||
25 | install devfsd $RPM_BUILD_ROOT%{_sbindir} | |
26 | install devfsd.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
27 | install devfsd.conf $RPM_BUILD_ROOT%{_sysconfdir} | |
28 | ||
29 | gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man8/* | |
30 | ||
31 | %clean | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | %files | |
35 | %defattr(644,root,root,755) | |
36 | %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/devfsd.conf | |
37 | %attr(755,root,root) %{_sbindir}/* | |
38 | %{_mandir}/man8/*.gz |