]> git.pld-linux.org Git - packages/devfsd.git/blobdiff - devfsd.spec
- massive attack: adding Source-md5
[packages/devfsd.git] / devfsd.spec
index bfcb9431f9c297cf89823d2c984a48ae424e16ca..a98985aee0bf5aee866ae7f46237ddabcdec3dcb 100644 (file)
@@ -1,46 +1,88 @@
 Summary:       DevFS Daemon
-Summary(pl):   Deamon DevFS
+Summary(pl):   Demon DevFS
 Name:          devfsd
-Version:       1.3.11
-Release:       1
-Source0:       ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/devfsd-v1.3.11.tar.gz
-Source1:       devfsd.conf
+Version:       1.3.25
+Release:       2
 License:       GPL
 Group:         Base
-Group(de):     Gründsätzlich
-Group(pl):     Podstawowe
+Source0:       ftp://ftp.atnf.csiro.au/pub/people/rgooch/linux/daemons/devfsd/%{name}-v%{version}.tar.gz
+# Source0-md5: 44c6394b8e2e8feaf453aeddc8a3ee69
+Source1:       %{name}.conf
+Patch0:                %{name}-lirc.patch
+URL:           http://www.atnf.csiro.au/~rgooch/linux/
+Conflicts:     kernel =< 2.2
+Requires:      devfs
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define                _exec_prefix    /
 
 %description
-Device File System Daemon.
+The devfsd programme is a daemon, run by the system boot scripts which
+can provide for intelligent management of device entries in the Device
+Filesystem (devfs).
+
+As part of its setup phase devfsd creates certain symbolic links which
+are compiled into the code. These links are required by
+/usr/src/linux/Documentation/devices.txt. This behaviour may change in
+future revisions.
+
+devfsd will read the special control file .devfsd in a mounted devfs,
+listening for the creation and removal of device entries (this is
+termed a change operation). For each change operation, devfsd can take
+many actions. The daemon will normally run itself in the background
+and send messages to syslog.
+
+The opening of the syslog service is automatically delayed until
+/dev/log is created.
+
+At startup, before switching to daemon mode, devfsd will scan the
+mounted device tree and will generate synthetic REGISTER events for
+each leaf node.
 
 %description -l pl
-Demon systemu plików urz±dzeñ.
+Devfsd jest demonem startowanym ze skryptów startowych systemu, który
+daje mo¿liwo¶æ inteligentnego zarz±dzania wpisami w Device Filesystem
+(devfs). Jako czê¶æ fazy ustawieñ devfsd tworzy linki symboliczne,
+które s± wkompilowane w kod. Te linki s± wymagane zgodnie z
+/usr/src/linux/Documentation/devices.txt. To zachowanie mo¿e siê
+zmieniæ w przysz³o¶ci.
+
+devfsd czyta specjalny plik kontrolny .devfsd w zamontowanym katalogu
+devfs i czeka na na tworzenie i usuwanie wpisów urz±dzeñ (nazywa siê
+to operacj± zmiany). Dla ka¿dej zmiany devfsd mo¿e podj±æ wiele
+dzia³añ. Demon normalnie uruchamia sam siebie i wysy³a komunikat do
+syslog'a.
+
+Otwarcie syslog'a jest normalnie automatycznie opó¼nione do czasu, gdy
+/dev/log nie zostanie utworzony.
+
+Demon systemu plików urz±dzeñ. Pozwala na u¿ywanie "tradycyjnych" nazw
+urz±dzeñ.
 
 %prep
 %setup  -q -n devfsd
+%patch0 -p1
 
 %build
-%{__make} CFLAGS="%{rpmcflags} -I."
+%{__make} CC="%{__cc}" CEXTRAS="%{rpmcflags} -I."
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8,%{_sysconfdir}}
+install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/{man8,man5},%{_sysconfdir}}
 
 install devfsd         $RPM_BUILD_ROOT%{_sbindir}
 install devfsd.8       $RPM_BUILD_ROOT%{_mandir}/man8
+install devfsd.conf.5  $RPM_BUILD_ROOT%{_mandir}/man5
 install modules.devfs  $RPM_BUILD_ROOT%{_sysconfdir}/modules.devfs
 install %{SOURCE1}     $RPM_BUILD_ROOT%{_sysconfdir}/devfsd.conf
 
-%clean 
+%clean
 rm -rf $RPM_BUILD_ROOT
 
-%files 
+%files
 %defattr(644,root,root,755)
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/devfsd.conf
 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/modules.devfs
 %attr(755,root,root) %{_sbindir}/*
-%{_mandir}/man8/*.gz
+%{_mandir}/man?/*
This page took 0.085135 seconds and 4 git commands to generate.