]> git.ipfire.org Git - thirdparty/systemd.git/blame - udev.spec
[PATCH] tweak the config file generation portion of the Makefile a bit.
[thirdparty/systemd.git] / udev.spec
CommitLineData
3660f0b8
PM
1Summary: A userspace implementation of devfs
2Name: udev
da146a3e 3Version: 008_bk
3660f0b8
PM
4Release: 1
5License: GPL
6Group: Utilities/System
7Source: ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/%{name}-%{version}.tar.gz
8ExclusiveOS: Linux
e0929206 9Vendor: Greg Kroah-Hartman <greg@kroah.com>
4360a56d 10BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
bbab56ba 11Prereq: /bin/sh, fileutils, hotplug
3660f0b8
PM
12
13%description
14udev 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 21make CC="gcc $RPM_OPT_FLAGS"
3660f0b8
PM
22
23%install
4360a56d 24make DESTDIR=$RPM_BUILD_ROOT install
3660f0b8
PM
25
26%clean
bbab56ba 27rm -rf $RPM_BUILD_ROOT
3660f0b8
PM
28
29%files
bbab56ba
RL
30%defattr(0644,root,root)
31%doc COPYING README TODO ChangeLog
32%attr(755,root,root) /sbin/udev
33%attr(755,root,root) /udev/
34%attr(755,root,root) /etc/udev/
e8baccca
GKH
35%attr(0644,root,root) /etc/udev/udev.conf
36%attr(0644,root,root) /etc/udev/udev.rules
d4112087 37%attr(0644,root,root) /etc/udev/udev.permissions
8634e6d1 38%attr(-,root,root) /etc/hotplug.d/default/udev.hotplug
bbab56ba 39%attr(0644,root,root) %{_mandir}/man8/udev.8*
3660f0b8
PM
40
41%changelog
e8baccca
GKH
42* Tue Nov 2 2003 Greg Kroah-Hartman <greg@kroah.com>
43- changes due to config file name changes
44
bbab56ba
RL
45* Fri Oct 17 2003 Robert Love <rml@tech9.net>
46- Make work without a build root
47- Correctly install the right files
48- Pass the RPM_OPT_FLAGS to gcc so we can build per the build policy
49- Put some prereqs in
8634e6d1 50- Install the hotplug symlink to udev
bbab56ba 51
3660f0b8
PM
52* Mon Jul 28 2003 Paul Mundt <lethal@linux-sh.org>
53- Initial spec file for udev-0.2.
54