]> git.pld-linux.org Git - packages/devfsd.git/blob - devfsd.spec
- force rpm %%optflags
[packages/devfsd.git] / devfsd.spec
1 Summary:        DevFS Daemon
2 Summary(pl):    Demon DevFS
3 Name:           devfsd
4 Version:        1.3.25
5 Release:        3
6 License:        GPL
7 Group:          Base
8 Source0:        ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/%{name}-v%{version}.tar.gz
9 # Source0-md5:  44c6394b8e2e8feaf453aeddc8a3ee69
10 Source1:        %{name}.conf
11 Patch0:         %{name}-lirc.patch
12 Patch1:         %{name}-optflags.patch
13 URL:            http://www.atnf.csiro.au/~rgooch/linux/
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). Jako czê¶æ fazy ustawieñ devfsd tworzy linki symboliczne,
47 które s± wkompilowane w kod. Te linki s± wymagane zgodnie z
48 /usr/src/linux/Documentation/devices.txt. To zachowanie mo¿e siê
49 zmieniæ w przysz³o¶ci.
50
51 devfsd czyta specjalny plik kontrolny .devfsd w zamontowanym katalogu
52 devfs i czeka na na tworzenie i usuwanie wpisów urz±dzeñ (nazywa siê
53 to operacj± zmiany). Dla ka¿dej zmiany devfsd mo¿e podj±æ wiele
54 dzia³añ. Demon normalnie uruchamia sam siebie i wysy³a komunikat do
55 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 %patch0 -p1
66 %patch1 -p1
67
68 %build
69 %{__make} CC="%{__cc}" CEXTRAS="%{rpmcflags} -I."
70
71 %install
72 rm -rf $RPM_BUILD_ROOT
73
74 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man8,man5},%{_sysconfdir}}
75
76 install devfsd          $RPM_BUILD_ROOT%{_sbindir}
77 install devfsd.8        $RPM_BUILD_ROOT%{_mandir}/man8
78 install devfsd.conf.5   $RPM_BUILD_ROOT%{_mandir}/man5
79 install modules.devfs   $RPM_BUILD_ROOT%{_sysconfdir}/modules.devfs
80 install %{SOURCE1}      $RPM_BUILD_ROOT%{_sysconfdir}/devfsd.conf
81
82 %clean
83 rm -rf $RPM_BUILD_ROOT
84
85 %files
86 %defattr(644,root,root,755)
87 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/devfsd.conf
88 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/modules.devfs
89 %attr(755,root,root) %{_sbindir}/*
90 %{_mandir}/man?/*
This page took 0.073882 seconds and 3 git commands to generate.