]> git.pld-linux.org Git - packages/devfsd.git/blob - devfsd.spec
- updated to 1.3.25
[packages/devfsd.git] / devfsd.spec
1 Summary:        DevFS Daemon
2 Summary(pl):    Demon DevFS
3 Name:           devfsd
4 Version:        1.3.25
5 Release:        1
6 License:        GPL
7 Source0:        ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/%{name}-v%{version}.tar.gz
8 Source1:        %{name}.conf
9 URL:            http://www.atnf.csiro.au/~rgooch/linux/
10 Group:          Base
11 Conflicts:      kernel =< 2.2
12 Requires:       devfs
13 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15 %define         _exec_prefix    /
16
17 %description
18 The devfsd programme is a daemon, run by the system boot scripts which
19 can provide for intelligent management of device entries in the Device
20 Filesystem (devfs).
21
22 As part of its setup phase devfsd creates certain symbolic links which
23 are compiled into the code. These links are required by
24 /usr/src/linux/Documentation/devices.txt. This behaviour may change in
25 future revisions.
26
27 devfsd will read the special control file .devfsd in a mounted devfs,
28 listening for the creation and removal of device entries (this is
29 termed a change operation). For each change operation, devfsd can take
30 many actions. The daemon will normally run itself in the background
31 and send messages to syslog.
32
33 The opening of the syslog service is automatically delayed until
34 /dev/log is created.
35
36 At startup, before switching to daemon mode, devfsd will scan the
37 mounted device tree and will generate synthetic REGISTER events for
38 each leaf node.
39
40 %description -l pl
41 Devfsd jest demonem startowanym ze skryptów startowych systemu, który
42 daje mo¿liwo¶æ inteligentnego zarz±dzania wpisami w Device Filesystem
43 (devfs). Jako czê¶æ fazy ustawieñ devfsd tworzy linki symboliczne,
44 które s± wkompilowane w kod. Te linki s± wymagane zgodnie z
45 /usr/src/linux/Documentation/devices.txt. To zachowanie mo¿e siê
46 zmieniæ w przysz³o¶ci.
47
48 devfsd czyta specjalny plik kontrolny .devfsd w zamontowanym katalogu
49 devfs i czeka na na tworzenie i usuwanie wpisów urz±dzeñ (nazywa siê
50 to operacj± zmiany). Dla ka¿dej zmiany devfsd mo¿e podj±æ wiele
51 dzia³añ. Demon normalnie uruchamia sam siebie i wysy³a komunikat do
52 syslog'a.
53
54 Otwarcie syslog'a jest normalnie automatycznie opó¼nione do czasu, gdy
55 /dev/log nie zostanie utworzony.
56
57 Demon systemu plików urz±dzeñ. Pozwala na u¿ywanie "tradycyjnych" nazw
58 urz±dzeñ.
59
60 %prep
61 %setup  -q -n devfsd
62
63 %build
64 %{__make} CC="%{__cc}" CEXTRAS="%{rpmcflags} -I."
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man8,man5},%{_sysconfdir}}
70
71 install devfsd          $RPM_BUILD_ROOT%{_sbindir}
72 install devfsd.8        $RPM_BUILD_ROOT%{_mandir}/man8
73 install devfsd.conf.5   $RPM_BUILD_ROOT%{_mandir}/man5
74 install modules.devfs   $RPM_BUILD_ROOT%{_sysconfdir}/modules.devfs
75 install %{SOURCE1}      $RPM_BUILD_ROOT%{_sysconfdir}/devfsd.conf
76
77 %clean
78 rm -rf $RPM_BUILD_ROOT
79
80 %files
81 %defattr(644,root,root,755)
82 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/devfsd.conf
83 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/modules.devfs
84 %attr(755,root,root) %{_sbindir}/*
85 %{_mandir}/man*/*.gz
This page took 0.072151 seconds and 3 git commands to generate.