diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-11-06 21:15:19 -0800 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-11-06 21:15:19 -0800 |
commit | f08dd8d6a3bade963f36e029b207b93e3b08c8e4 (patch) | |
tree | f3b00591faf401f064ab31f81970cbc5a234dbaf | |
parent | c5985fb7d004bd4c3ffe75496c33f1dab7a0a7d7 (diff) | |
download | xf86-input-keyboard-f08dd8d6a3bade963f36e029b207b93e3b08c8e4.tar.gz xf86-input-keyboard-f08dd8d6a3bade963f36e029b207b93e3b08c8e4.tar.bz2 xf86-input-keyboard-f08dd8d6a3bade963f36e029b207b93e3b08c8e4.zip |
add packagingsubmit/trunk/20130325.083928submit/tizen/20130517.024427submit/tizen/20130509.185013submit/tizen/20130503.233734accepted/trunk/20130325.213707accepted/tizen/20130520.094540accepted/tizen/20130503.231622
-rw-r--r-- | packaging/xf86-input-keyboard.spec | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/packaging/xf86-input-keyboard.spec b/packaging/xf86-input-keyboard.spec new file mode 100644 index 0000000..474ad1b --- /dev/null +++ b/packaging/xf86-input-keyboard.spec @@ -0,0 +1,52 @@ +Name: xf86-input-keyboard +Version: 1.6.1 +Release: 0 +License: GPL-2.0+ +Summary: Keyboard input driver for the Xorg X server +Url: http://xorg.freedesktop.org/ +Group: System/X11/Servers/XF86_4 +Source0: http://xorg.freedesktop.org/releases/individual/driver/%{name}-%{version}.tar.bz2 +BuildRequires: pkg-config +BuildRequires: pkgconfig(inputproto) +BuildRequires: pkgconfig(resourceproto) +BuildRequires: pkgconfig(xorg-macros) >= 1.8 +BuildRequires: pkgconfig(xorg-server) >= 1.4 +BuildRequires: pkgconfig(xproto) +Requires: udev +Requires: xkeyboard-config >= 1.5 + +%description +kbd is an Xorg input driver for keyboards. The driver supports the +standard OS-provided keyboard interface, but these are currently only +available to this driver module for Linux, BSD, and Solaris. + +%prep +%setup -q + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install + + +%remove_docs + +%post +# re-plug the input devices +udevadm trigger --subsystem-match=input --action=change +exit 0 + +%postun +# re-plug the input devices +udevadm trigger --subsystem-match=input --action=change +exit 0 + +%files +%defattr(-,root,root) +%doc COPYING +%dir %{_libdir}/xorg/modules/input +%{_libdir}/xorg/modules/input/kbd_drv.so + +%changelog |