summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-04 12:36:59 -0800
committerAnas Nashif <anas.nashif@intel.com>2012-11-04 12:36:59 -0800
commitd3d87caeeb1a6371d5dd1f8be15496adc3ae3f89 (patch)
tree2693f17a53b1db6caebea4db08bdb8985f65c9ef
parentb8253908ee1a5af5ff8f1f3502de93cdae6638d3 (diff)
downloadxkbcomp-d3d87caeeb1a6371d5dd1f8be15496adc3ae3f89.tar.gz
xkbcomp-d3d87caeeb1a6371d5dd1f8be15496adc3ae3f89.tar.bz2
xkbcomp-d3d87caeeb1a6371d5dd1f8be15496adc3ae3f89.zip
-rw-r--r--packaging/xkbcomp.spec49
1 files changed, 49 insertions, 0 deletions
diff --git a/packaging/xkbcomp.spec b/packaging/xkbcomp.spec
new file mode 100644
index 0000000..ab8da11
--- /dev/null
+++ b/packaging/xkbcomp.spec
@@ -0,0 +1,49 @@
+Name: xkbcomp
+Version: 1.2.4
+Release: 0
+License: MIT
+Summary: Utility to compile XKB keyboard description
+Url: http://xorg.freedesktop.org/
+Group: System/X11/Utilities
+Source: %{name}-%{version}.tar.bz2
+BuildRequires: bison
+BuildRequires: pkg-config
+BuildRequires: pkgconfig(x11)
+BuildRequires: pkgconfig(xkbfile)
+BuildRequires: pkgconfig(xorg-macros) >= 1.8
+BuildRequires: pkgconfig(xproto) >= 7.0.17
+
+%description
+The xkbcomp keymap compiler converts a description of an XKB keymap
+into one of several output formats.
+
+%package devel
+Summary: Utility to compile XKB keyboard description -- Development Files
+Group: Development/Libraries/X11
+Requires: %{name} = %{version}
+
+%description devel
+The xkbcomp keymap compiler converts a description of an XKB keymap
+into one of several output formats.
+
+%prep
+%setup -q
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+%files
+%defattr(-,root,root)
+%doc COPYING
+%{_bindir}/xkbcomp
+%{_mandir}/man1/xkbcomp.1%{?ext_man}
+
+%files devel
+%defattr(-,root,root)
+%{_libdir}/pkgconfig/xkbcomp.pc
+
+%changelog