chiark / gitweb /
[PATCH] udevdb patch
[elogind.git] / udev.spec
1 Summary: A userspace implementation of devfs
2 Name: udev
3 Version: 0.2
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
9 Vendor: Greg Kroah-Hartman <greg@kroah.com>
10 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
11
12 %description
13 udev is a implementation of devfs in userspace using sysfs and
14 /sbin/hotplug. It requires a 2.5/2.6 kernel to run properly.
15
16 %prep
17 %setup
18
19 %build
20 make
21
22 %install
23 mkdir -p $RPM_BUILD_ROOT/sbin
24 install -m 755 %{name} $RPM_BUILD_ROOT/sbin
25
26 %clean
27 rm -fr $RPM_BUILD_ROOT
28
29 %files
30 %defattr(-,root,root)
31 %attr(755,root,root)/sbin/%{name}
32 %attr(-,root,root) %doc COPYING README TODO ChangeLog
33
34 %changelog
35 * Mon Jul 28 2003 Paul Mundt <lethal@linux-sh.org>
36 - Initial spec file for udev-0.2.
37