summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-06 21:15:19 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-06 21:15:19 -0800
commitf08dd8d6a3bade963f36e029b207b93e3b08c8e4 (patch)
treef3b00591faf401f064ab31f81970cbc5a234dbaf
parentc5985fb7d004bd4c3ffe75496c33f1dab7a0a7d7 (diff)
downloadxf86-input-keyboard-f08dd8d6a3bade963f36e029b207b93e3b08c8e4.tar.gz
xf86-input-keyboard-f08dd8d6a3bade963f36e029b207b93e3b08c8e4.tar.bz2
xf86-input-keyboard-f08dd8d6a3bade963f36e029b207b93e3b08c8e4.zip
-rw-r--r--packaging/xf86-input-keyboard.spec52
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