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