diff options
author | lethal@linux-sh.org <lethal@linux-sh.org> | 2003-08-05 01:17:07 -0700 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:01:40 -0700 |
commit | 3660f0b8ab54c79141a06b55ea617d7724042eae (patch) | |
tree | 5d348e7947e10f17d81014027f0d9ef5d72600c2 /udev.spec | |
parent | b137e367bb833ca82b396622997f512f5c856a41 (diff) |
[PATCH] udev spec file
Here's a relatively rudimentary patch that addes udev.spec. With this, you can
rpm -ta the tarball and generate rpms. I've also attached the ones I build on
my RH 7.3 host incase they are of interest to you.
Diffstat (limited to 'udev.spec')
-rw-r--r-- | udev.spec | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/udev.spec b/udev.spec new file mode 100644 index 0000000000..2a64fb31c2 --- /dev/null +++ b/udev.spec @@ -0,0 +1,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. + |