%define udev_scriptdir /lib/udev Summary: Extra rules and tools for udev Name: udev-extras Version: 20081230 Release: 0.2.20090120git%{?dist} # Source from http://git.kernel.org/?p=linux/hotplug/udev-extras.git Source: udev-extras-20081230-git20090120.tar.bz2 License: GPLv2 and GPLv2+ Group: System Environment/Base ExclusiveOS: Linux URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: udev >= 135 BuildRequires: glib2-devel BuildRequires: libusb-devel BuildRequires: libxslt %description The udev-extras package contains an additional rules and tools to create and identify devices. %prep %setup -q %build %configure --with-selinux --prefix=%{_prefix} --exec-prefix="" --sysconfdir=%{_sysconfdir} --with-libdir-name=%{_lib} --sbindir="/sbin" make %{?_smp_mflags} %install rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %files %defattr(0644, root, root, 0755) %doc COPYING TODO #%doc README ChangeLog %attr(0755,root,root) %{udev_scriptdir}/modem-modeswitch %attr(0755,root,root) %{udev_scriptdir}/probe-modem %attr(0755,root,root) %{udev_scriptdir}/usbdev_id %attr(0644,root,root) %{udev_scriptdir}/rules.d/*.rules %attr(0644,root,root) %{_mandir}/man8/modem-modeswitch*.8* %attr(0644,root,root) %{_mandir}/man8/probe-modem*.8* %changelog * Tue Jan 20 2009 Harald Hoyer 20081230-0.2.20090120git - added BuildRequires - README and ChangeLog left out for now (zero size) - fixed License * Tue Jan 20 2009 Harald Hoyer 20081230-0.1.20090120git - initial version