Name: unifying-receiver-udev
Version: 0.2
Release: 2%{?dist}
Summary: udev rules for user access to Logitech Unifying Receiver
License: GPLv3
URL: http://www.brouhaha.com/~eric/software/%{name}/
Source0: http://www.brouhaha.com/~eric/software/%{name}/download/%{name}-%{version}.tar.gz
BuildArch: noarch
%global udev_order 69
%global udev_rules_dir /usr/lib/udev/rules.d
# Do not use %{_libdir}, because udev rules always go into
# /usr/lib/udev/rules.d, and not (on x86_64) /usr/lib64/udev/rules.d
%description
Udev rules to allow user access to the Logitech Unifying Receiver, e.g., for
use with ltunify, pairing_tool, or Solaar.
%prep
%setup -q
%build
%install
install -D -p -m 644 unifying-receiver.rules %{buildroot}%{udev_rules_dir}/%{udev_order}-unifying-receiver.rules
%files
%doc COPYING
%{udev_rules_dir}
%changelog
* Sun Jul 14 2013 Eric Smith <brouhaha@fedoraproject.org> 0.2-2
- own the udev rules directory - otherwise would need conditionals for
package dependency for udev or systemd based on distribution, or a
file dependency on the directory
* Wed May 01 2013 Eric Smith <eric@brouhaha.com> 0.2-1
- upstream license clarification
* Sun Apr 28 2013 Eric Smith <eric@brouhaha.com> 0.1-1
- initial version