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 build SELinux support in or not.
20 # 0 - no SELinux support
24 # if we want to enable debugging support in udev. If it is enabled, lots of
25 # stuff will get sent to the debug syslog.
26 # 0 - debugging disabled
27 # 1 - debugging enabled
30 # if we want to build the scsi_id "extra" package or not
31 # 0 - do not build the package
35 Summary: A userspace implementation of devfs
40 Group: Utilities
/System
41 Source: ftp
://ftp.kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/%{name}-%{version}.tar.gz
43 Vendor: Greg Kroah
-Hartman
<greg@kroah.com
>
44 URL : kernel.org
/pub
/linux
/utils
/kernel
/hotplug
/
45 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
46 Prereq
: /bin
/sh
, fileutils
, hotplug
49 udev is a implementation of devfs
in userspace using sysfs and
50 /sbin
/hotplug. It requires a
2.6 kernel to run properly.
56 make CC
="gcc $RPM_OPT_FLAGS" \
87 make DESTDIR
=$RPM_BUILD_ROOT
install \
105 /sbin
/chkconfig
--add udev
109 /sbin
/chkconfig
--del udev
113 rm -rf $RPM_BUILD_ROOT
116 %defattr(-,root
,root
)
117 %doc COPYING README TODO ChangeLog HOWTO
* docs
/*
118 %doc etc
/udev
/udev.rules.
{examples
,gentoo
,redhat
}
119 %doc etc
/udev
/udev.permissions.
{gentoo
,redhat
}
120 %attr(755,root
,root
) /sbin
/udev
121 %attr(755,root
,root
) /usr
/bin
/udevinfo
122 %attr(755,root
,root
) /sbin
/udevsend
123 %attr(755,root
,root
) /sbin
/udevd
124 %attr(755,root
,root
) /sbin
/udevtest
125 %attr(755,root
,root
) /sbin
/udevstart
126 %attr(755,root
,root
) %dir /udev
/
127 %attr(755,root
,root
) %dir /etc
/udev
/
128 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.conf
129 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.rules
130 %config(noreplace
) %attr(0644,root
,root
) /etc
/udev
/udev.permissions
131 %attr(-,root
,root
) /etc
/hotplug.d
/default
/udev.hotplug
132 %attr(755,root
,root
) /etc
/init.d
/udev
133 %attr(0644,root
,root
) %{_mandir}/man8
/udev
*.8*
136 %config(noreplace
) %attr(0644,root
,root
) /etc
/dbus
-1/system.d
/udev_sysbus_policy.conf
140 %attr(755,root
,root
) /sbin
/scsi_id
141 %config(noreplace
) %attr(0644,root
,root
) /etc
/scsi_id.config
142 %attr(0644,root
,root
) %{_mandir}/man8
/scsi_id
*.8*
146 * Tue Mar
2 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
147 - added udevstart to the list of files installed
148 - udevinfo is now
in /usr
/bin not
/sbin
150 * Fri Feb
27 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
151 - added ability to build with SELinux support
153 * Thu Feb
19 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
154 - add some more files to the documentation directory
155 - add ability to build scsi_id and
make it the default
157 * Mon Feb
16 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
158 - fix up udevd build
, as it's no longer needed to be build seperatly
159 - add udevtest to list of files
160 - more Red Hat sync ups.
162 * Thu Feb
12 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
163 - add some changes from the latest Fedora udev release.
165 * Mon Feb
2 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
166 - add udevsend
, and udevd to the files
167 - add ability to build udevd with glibc after the rest is build with klibc
169 * Mon Jan
26 2004 Greg Kroah
-Hartman
<greg@kroah.com
>
170 - added udevinfo to rpm
171 - added
URL to spec file
172 - added udevinfo's man page
174 * Mon Jan
05 2004 Rolf Eike Beer
<eike
-hotplug@sf
-tec.de
>
175 - add defines to choose the init script
(Redhat or LSB
)
177 * Tue Dec
16 2003 Robert Love
<rml@ximian.com
>
178 - install the initscript and run chkconfig on it
180 * Tue Nov
2 2003 Greg Kroah
-Hartman
<greg@kroah.com
>
181 - changes due to config file name changes
183 * Fri Oct
17 2003 Robert Love
<rml@tech9.net
>
184 - Make work without a build root
185 - Correctly
install the right files
186 - Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy
187 - Put some prereqs
in
188 - Install the hotplug symlink to udev
190 * Mon Jul
28 2003 Paul Mundt
<lethal@linux
-sh.org
>
191 - Initial spec file
for udev
-0.2.