Compare commits

..

5 commits

Author SHA1 Message Date
Fedora Release Engineering
f27f4d5e48 dist-git conversion 2010-07-29 14:38:55 +00:00
Bill Nottingham
414f84cb00 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:13:34 +00:00
Daniel Williams
fde3c4adbd - Remove modem prober; handled elsewhere for now 2009-02-20 12:56:45 +00:00
Daniel Williams
4ddf5a4317 - Match udev requirement to distro's shipped udev 2009-02-16 19:47:42 +00:00
58260adc0c Initialize branch F-9 for udev-extras 2009-02-10 22:45:09 +00:00
4 changed files with 80 additions and 3 deletions

4
.gitignore vendored
View file

@ -1,2 +1,2 @@
udev-extras-20090226-git20090302.tar.bz2
udev-extras-20090516-git20090601.tar.bz2
udev-extras-20081230-git20090120.tar.bz2
udev-extras-20090125-git20090129.tar.bz2

View file

View file

@ -1 +1 @@
a07b3885bd77aaf81bc166396d1bc4cf udev-extras-20090516-git20090601.tar.bz2
31943131f53dc0e6a6f8698f47f0da3f udev-extras-20090125-git20090129.tar.bz2

77
udev-extras.spec Normal file
View file

@ -0,0 +1,77 @@
%define udev_bindir /lib/udev
%define udev_scriptdir /etc/udev
Summary: Extra rules and tools for udev
Name: udev-extras
Version: 20090125
Release: 0.3.20090129git%{?dist}
# Source from http://git.kernel.org/?p=linux/hotplug/udev-extras.git
Source: udev-extras-20090125-git20090129.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 >= 124
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
# Don't install modem prober for now; that's handled by NM at this time and
# in the future will be handled by ModemManager instead
rm -f $RPM_BUILD_ROOT%{udev_bindir}/modem-probe
rm -f $RPM_BUILD_ROOT%{_mandir}/man8/modem-probe*.8*
# F-9 uses /etc/udev/rules.d, not /lib/udev/rules.d
rm -f $RPM_BUILD_ROOT%{udev_bindir}/rules.d/77-probe-modem-capabilities.rules
mkdir -p $RPM_BUILD_ROOT%{udev_scriptdir}/rules.d/
mv $RPM_BUILD_ROOT%{udev_bindir}/rules.d/*.rules $RPM_BUILD_ROOT%{udev_scriptdir}/rules.d/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(0644, root, root, 0755)
%doc COPYING TODO
#%doc README ChangeLog
%attr(0755,root,root) %{udev_bindir}/modem-modeswitch
%attr(0755,root,root) %{udev_bindir}/usbdev_id
%attr(0644,root,root) %{udev_scriptdir}/rules.d/*.rules
%attr(0644,root,root) %{_mandir}/man8/modem-modeswitch*.8*
%changelog
* Fri Feb 20 2009 Dan Williams <dcbw@redhat.com> 20090125-0.3.20090129git
- Remove modem prober; handled elsewhere for now
* Mon Feb 16 2009 Dan Williams <dcbw@redhat.com> 20090125-0.2.20090129git
- Match udev requirement to distro's shipped udev
* Thu Jan 29 2009 Dan Williams <dcbw@redhat.com> 20090125-0.1.20090129git
- Compatibilty updates and fixes for modem prober
* Tue Jan 20 2009 Harald Hoyer <harald@redhat.com> 20081230-0.2.20090120git
- added BuildRequires
- README and ChangeLog left out for now (zero size)
- fixed License
* Tue Jan 20 2009 Harald Hoyer <harald@redhat.com> 20081230-0.1.20090120git
- initial version