summaryrefslogtreecommitdiff
path: root/udev.spec
blob: 2a64fb31c21b3ec3510252039dcbbae33d96e382 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Summary: A userspace implementation of devfs
Name: udev
Version: 0.2
Release: 1
License: GPL
Group: Utilities/System
Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.gz
ExclusiveOS: Linux
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root

%description
udev is a implementation of devfs in userspace using sysfs and
/sbin/hotplug. It requires a 2.5/2.6 kernel to run properly.

%prep
%setup

%build
make

%install
mkdir -p $RPM_BUILD_ROOT/sbin
install -m 755 %{name} $RPM_BUILD_ROOT/sbin

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%attr(755,root,root)/sbin/%{name}
%attr(-,root,root) %doc COPYING README TODO ChangeLog

%changelog
* Mon Jul 28 2003 Paul Mundt <lethal@linux-sh.org>
- Initial spec file for udev-0.2.