diff --git a/README.md b/README.md index 6b78595..caf49d7 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,7 @@ # xkbcomp +The xkbcomp keymap compiler converts a description of an XKB keymap into one of several output formats. +The most common use for xkbcomp is to create a compiled keymap file (.xkm extension) which can be read directly by XKB-capable X servers or utilities. +The keymap compiler can also produce C header files or XKB source files. +The C header files produced by xkbcomp can be included by X servers or that need a built-in default keymap. + diff --git a/xkbcomp.spec b/xkbcomp.spec new file mode 100644 index 0000000..567728e --- /dev/null +++ b/xkbcomp.spec @@ -0,0 +1,56 @@ +Name: xkbcomp +Version: 1.2.4 +Release: 1mamba +Summary: xkbcomp application - compiling XKB keyboard description +Group: Graphical Desktop/Applications/Utilities +Vendor: openmamba +Distribution: openmamba +Packager: Tiziana Ferro +URL: http://xorg.freedesktop.org/ +Source: http://xorg.freedesktop.org/releases/individual/app/xkbcomp-%{version}.tar.bz2 +License: MIT +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libX11-devel +BuildRequires: libxkbfile-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +The xkbcomp keymap compiler converts a description of an XKB keymap into one of several output formats. +The most common use for xkbcomp is to create a compiled keymap file (.xkm extension) which can be read directly by XKB-capable X servers or utilities. +The keymap compiler can also produce C header files or XKB source files. +The C header files produced by xkbcomp can be included by X servers or that need a built-in default keymap. + +%prep +%setup -q + +%build +%configure --disable-static +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall + +%find_lang %{name} || echo -n >> %{name}.lang + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/%{name} +%{_libdir}/pkgconfig/xkbcomp.pc +%{_mandir}/man?/* +%doc COPYING ChangeLog README + +%changelog +* Fri Jul 06 2012 Automatic Build System 1.2.4-1mamba +- automatic version update by autodist + +* Sat Aug 06 2011 Automatic Build System 1.2.3-1mamba +- automatic version update by autodist + +* Tue Mar 01 2011 Tiziana Ferro 1.2.1-1mamba +- package created by autospec