1 # if we want to build against the included version of klibc or not.
4 # Watch out for where the linux symlink is in the klibc part of the tarball,
5 # it probably is not where you want it to be.
8 # if we want to build DBUS support in or not.
13 # if we want to enable debugging support in udev. If it is enabled, lots of
14 # stuff will get sent to the debug syslog.
15 # 0 - debugging disabled
16 # 1 - debugging enabled
19 Summary: A userspace implementation of devfs
24 Group: Utilities
/System
25 Source: ftp
://ftp.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/%{name}-%{version}.tar.gz
27 Vendor: Greg Kroah
-Hartman
<greg@kroah.com
>
28 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
29 Prereq
: /bin
/sh
, fileutils
, hotplug
32 udev is a implementation of devfs
in userspace using sysfs and
33 /sbin
/hotplug. It requires a
2.6 kernel to run properly.
39 make CC
="gcc $RPM_OPT_FLAGS" \
51 make DESTDIR
=$RPM_BUILD_ROOT
install \
57 /sbin
/chkconfig
--add udev
61 /sbin
/chkconfig
--del udev
65 rm -rf $RPM_BUILD_ROOT
69 %doc COPYING README TODO ChangeLog
70 %attr(755,root
,root
) /sbin
/udev
71 %attr(755,root
,root
) /udev
/
72 %attr(755,root
,root
) /etc
/udev
/
73 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.conf
74 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.rules
75 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.permissions
77 %config(noreplace
) %attr(0644,root
,root
) /etc
/dbus
-1/system.d
/udev_sysbus_policy.conf
79 %attr(-,root
,root
) /etc
/hotplug.d
/default
/udev.hotplug
80 %attr(755,root
,root
) /etc
/init.d
/udev
81 %attr(0644,root
,root
) %{_mandir}/man8
/udev
.8*
84 * Tue Dec
16 2003 Robert Love
<rml@ximian.com
>
85 - install the initscript and run chkconfig on it
87 * Tue Nov
2 2003 Greg Kroah
-Hartman
<greg@kroah.com
>
88 - changes due to config file name changes
90 * Fri Oct
17 2003 Robert Love
<rml@tech9.net
>
91 - Make work without a build root
92 - Correctly
install the right files
93 - Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy
95 - Install the hotplug symlink to udev
97 * Mon Jul
28 2003 Paul Mundt
<lethal@linux
-sh.org
>
98 - Initial spec file
for udev
-0.2.