2003-08-05 15:17:07 +07:00
|
|
|
Summary: A userspace implementation of devfs
|
|
|
|
Name: udev
|
2003-12-23 15:33:29 +07:00
|
|
|
Version: 010
|
2003-08-05 15:17:07 +07:00
|
|
|
Release: 1
|
|
|
|
License: GPL
|
|
|
|
Group: Utilities/System
|
|
|
|
Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.gz
|
|
|
|
ExclusiveOS: Linux
|
2003-08-05 15:18:46 +07:00
|
|
|
Vendor: Greg Kroah-Hartman <greg@kroah.com>
|
2003-10-30 13:26:35 +07:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
|
2003-10-18 13:34:19 +07:00
|
|
|
Prereq: /bin/sh, fileutils, hotplug
|
2003-08-05 15:17:07 +07:00
|
|
|
|
|
|
|
%description
|
|
|
|
udev is a implementation of devfs in userspace using sysfs and
|
2003-10-17 20:14:02 +07:00
|
|
|
/sbin/hotplug. It requires a 2.6 kernel to run properly.
|
2003-08-05 15:17:07 +07:00
|
|
|
|
|
|
|
%prep
|
2003-10-18 13:34:19 +07:00
|
|
|
%setup -q
|
2003-08-05 15:17:07 +07:00
|
|
|
|
|
|
|
%build
|
2003-10-18 13:34:19 +07:00
|
|
|
make CC="gcc $RPM_OPT_FLAGS"
|
2003-08-05 15:17:07 +07:00
|
|
|
|
|
|
|
%install
|
2003-10-30 13:26:35 +07:00
|
|
|
make DESTDIR=$RPM_BUILD_ROOT install
|
2003-08-05 15:17:07 +07:00
|
|
|
|
2003-12-17 14:30:15 +07:00
|
|
|
%post
|
|
|
|
/sbin/chkconfig --add udev
|
|
|
|
|
2003-12-17 14:31:16 +07:00
|
|
|
%postun
|
|
|
|
if [ $1 = 0 ]; then
|
|
|
|
/sbin/chkconfig --del udev
|
|
|
|
fi
|
|
|
|
|
2003-08-05 15:17:07 +07:00
|
|
|
%clean
|
2003-10-18 13:34:19 +07:00
|
|
|
rm -rf $RPM_BUILD_ROOT
|
2003-08-05 15:17:07 +07:00
|
|
|
|
|
|
|
%files
|
2003-10-18 13:34:19 +07:00
|
|
|
%defattr(0644,root,root)
|
|
|
|
%doc COPYING README TODO ChangeLog
|
|
|
|
%attr(755,root,root) /sbin/udev
|
|
|
|
%attr(755,root,root) /udev/
|
|
|
|
%attr(755,root,root) /etc/udev/
|
2003-12-17 23:35:00 +07:00
|
|
|
%config(noreplace) %attr(0644,root,root) /etc/udev/udev.conf
|
|
|
|
%config(noreplace) %attr(0644,root,root) /etc/udev/udev.rules
|
|
|
|
%config(noreplace) %attr(0644,root,root) /etc/udev/udev.permissions
|
2003-10-18 14:12:16 +07:00
|
|
|
%attr(-,root,root) /etc/hotplug.d/default/udev.hotplug
|
2003-12-16 13:22:30 +07:00
|
|
|
%attr(755,root,root) /etc/init.d/udev
|
2003-10-18 13:34:19 +07:00
|
|
|
%attr(0644,root,root) %{_mandir}/man8/udev.8*
|
2003-08-05 15:17:07 +07:00
|
|
|
|
|
|
|
%changelog
|
2003-12-17 14:30:15 +07:00
|
|
|
* Tue Dec 16 2003 Robert Love <rml@ximian.com>
|
|
|
|
- install the initscript and run chkconfig on it
|
|
|
|
|
2003-12-03 16:08:46 +07:00
|
|
|
* Tue Nov 2 2003 Greg Kroah-Hartman <greg@kroah.com>
|
|
|
|
- changes due to config file name changes
|
|
|
|
|
2003-10-18 13:34:19 +07:00
|
|
|
* Fri Oct 17 2003 Robert Love <rml@tech9.net>
|
|
|
|
- Make work without a build root
|
|
|
|
- Correctly install the right files
|
|
|
|
- Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy
|
|
|
|
- Put some prereqs in
|
2003-10-18 14:12:16 +07:00
|
|
|
- Install the hotplug symlink to udev
|
2003-10-18 13:34:19 +07:00
|
|
|
|
2003-08-05 15:17:07 +07:00
|
|
|
* Mon Jul 28 2003 Paul Mundt <lethal@linux-sh.org>
|
|
|
|
- Initial spec file for udev-0.2.
|
|
|
|
|