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