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