]>
Commit | Line | Data |
---|---|---|
3660f0b8 PM |
1 | Summary: A userspace implementation of devfs |
2 | Name: udev | |
da146a3e | 3 | Version: 008_bk |
3660f0b8 PM |
4 | Release: 1 |
5 | License: GPL | |
6 | Group: Utilities/System | |
7 | Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.gz | |
8 | ExclusiveOS: Linux | |
e0929206 | 9 | Vendor: Greg Kroah-Hartman <greg@kroah.com> |
4360a56d | 10 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
bbab56ba | 11 | Prereq: /bin/sh, fileutils, hotplug |
3660f0b8 PM |
12 | |
13 | %description | |
14 | udev is a implementation of devfs in userspace using sysfs and | |
22120496 | 15 | /sbin/hotplug. It requires a 2.6 kernel to run properly. |
3660f0b8 PM |
16 | |
17 | %prep | |
bbab56ba | 18 | %setup -q |
3660f0b8 PM |
19 | |
20 | %build | |
bbab56ba | 21 | make CC="gcc $RPM_OPT_FLAGS" |
3660f0b8 PM |
22 | |
23 | %install | |
4360a56d | 24 | make DESTDIR=$RPM_BUILD_ROOT install |
3660f0b8 | 25 | |
316c5150 | 26 | %post |
27 | /sbin/chkconfig --add udev | |
28 | ||
3660f0b8 | 29 | %clean |
bbab56ba | 30 | rm -rf $RPM_BUILD_ROOT |
3660f0b8 PM |
31 | |
32 | %files | |
bbab56ba RL |
33 | %defattr(0644,root,root) |
34 | %doc COPYING README TODO ChangeLog | |
35 | %attr(755,root,root) /sbin/udev | |
36 | %attr(755,root,root) /udev/ | |
37 | %attr(755,root,root) /etc/udev/ | |
e8baccca GKH |
38 | %attr(0644,root,root) /etc/udev/udev.conf |
39 | %attr(0644,root,root) /etc/udev/udev.rules | |
d4112087 | 40 | %attr(0644,root,root) /etc/udev/udev.permissions |
8634e6d1 | 41 | %attr(-,root,root) /etc/hotplug.d/default/udev.hotplug |
d870b833 | 42 | %attr(755,root,root) /etc/init.d/udev |
bbab56ba | 43 | %attr(0644,root,root) %{_mandir}/man8/udev.8* |
3660f0b8 PM |
44 | |
45 | %changelog | |
316c5150 | 46 | * Tue Dec 16 2003 Robert Love <rml@ximian.com> |
47 | - install the initscript and run chkconfig on it | |
48 | ||
e8baccca GKH |
49 | * Tue Nov 2 2003 Greg Kroah-Hartman <greg@kroah.com> |
50 | - changes due to config file name changes | |
51 | ||
bbab56ba RL |
52 | * Fri Oct 17 2003 Robert Love <rml@tech9.net> |
53 | - Make work without a build root | |
54 | - Correctly install the right files | |
55 | - Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy | |
56 | - Put some prereqs in | |
8634e6d1 | 57 | - Install the hotplug symlink to udev |
bbab56ba | 58 | |
3660f0b8 PM |
59 | * Mon Jul 28 2003 Paul Mundt <lethal@linux-sh.org> |
60 | - Initial spec file for udev-0.2. | |
61 |