add packaging accepted/tizen/20130503.231622 accepted/tizen/20130520.094540 accepted/trunk/20130325.213707 submit/tizen/20130503.233734 submit/tizen/20130509.185013 submit/tizen/20130517.024427 submit/trunk/20130325.083928
authorAnas Nashif <anas.nashif@intel.com>
Wed, 7 Nov 2012 05:15:19 +0000 (21:15 -0800)
committerAnas Nashif <anas.nashif@intel.com>
Wed, 7 Nov 2012 05:15:19 +0000 (21:15 -0800)
packaging/xf86-input-keyboard.spec [new file with mode: 0644]

diff --git a/packaging/xf86-input-keyboard.spec b/packaging/xf86-input-keyboard.spec
new file mode 100644 (file)
index 0000000..474ad1b
--- /dev/null
@@ -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