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 have logging support in or not.
9 # 0 - no logging support
11 # Note, it is not recommend if you use klibc to enable logging.
14 # if we want to build DBUS support in or not.
19 # if we want to enable debugging support in udev. If it is enabled, lots of
20 # stuff will get sent to the debug syslog.
21 # 0 - debugging disabled
22 # 1 - debugging enabled
25 # if we want to use the LSB version of the init script or the Redhat one
26 # 0 - use Redhat version: etc/init.d/udev
27 # 1 - use LSB version: etc/init.d/udev.init.LSB
30 Summary: A userspace implementation of devfs
35 Group: Utilities
/System
36 Source: ftp
://ftp.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/%{name}-%{version}.tar.gz
38 Vendor: Greg Kroah
-Hartman
<greg@kroah.com
>
39 URL : kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/
40 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
41 Prereq
: /bin
/sh
, fileutils
, hotplug
44 udev is a implementation of devfs
in userspace using sysfs and
45 /sbin
/hotplug. It requires a
2.6 kernel to run properly.
51 make CC
="gcc $RPM_OPT_FLAGS" \
71 # now build udevd on it's own, as it can't handle being built with klibc
72 make CC
="gcc $RPM_OPT_FLAGS" udevd
76 make DESTDIR
=$RPM_BUILD_ROOT
install \
84 /sbin
/chkconfig
--add udev
88 /sbin
/chkconfig
--del udev
92 rm -rf $RPM_BUILD_ROOT
96 %doc COPYING README TODO ChangeLog
97 %attr(755,root
,root
) /sbin
/udev
98 %attr(755,root
,root
) /sbin
/udevinfo
99 %attr(755,root
,root
) /sbin
/udevsend
100 %attr(755,root
,root
) /sbin
/udevd
101 %attr(755,root
,root
) /udev
/
102 %attr(755,root
,root
) /etc
/udev
/
103 %attr(755,root
,root
) %dir
104 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.conf
105 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.rules
106 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.permissions
108 %config(noreplace
) %attr(0644,root
,root
) /etc
/dbus
-1/system.d
/udev_sysbus_policy.conf
110 %attr(-,root
,root
) /etc
/hotplug.d
/default
/udev.hotplug
111 %attr(755,root
,root
) /etc
/init.d
/udev
112 %attr(0644,root
,root
) %{_mandir}/man8
/udev
*.8*
115 * Thu Feb
12 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
116 - add some changes from the latest Fedora udev release.
118 * Mon Feb
2 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
119 - add udevsend
, and udevd to the files
120 - add ability to build udevd with glibc after the rest is build with klibc
122 * Mon Jan
26 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
123 - added udevinfo to rpm
124 - added
URL to spec file
125 - added udevinfo's man page
127 * Mon Jan
05 2004 Rolf Eike Beer
<eike
-hotplug@sf
-tec.de
>
128 - add defines to choose the init script
(Redhat or LSB
)
130 * Tue Dec
16 2003 Robert Love
<rml@ximian.com
>
131 - install the initscript and run chkconfig on it
133 * Tue Nov
2 2003 Greg Kroah
-Hartman
<greg@kroah.com
>
134 - changes due to config file name changes
136 * Fri Oct
17 2003 Robert Love
<rml@tech9.net
>
137 - Make work without a build root
138 - Correctly
install the right files
139 - Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy
140 - Put some prereqs
in
141 - Install the hotplug symlink to udev
143 * Mon Jul
28 2003 Paul Mundt
<lethal@linux
-sh.org
>
144 - Initial spec file
for udev
-0.2.