Name: qxkb Version: 0.4.6 Release: 3%{?dist} License: GPLv2 Url: http://qxkb.googlecode.com Source0: http://qxkb.googlecode.com/files/%{name}-%{version}.tar.bz2 Summary: Qt keyboard layout switcher BuildRequires: cmake, pkgconfig(QtGui), pkgconfig(xkbfile), desktop-file-utils # pkgconfig(xkbfile) == libxkbfile-devel (f17+) %description The keypad switch written on Qt4. Uses setxkbmap. The interface repeats kxkb. Can use svg icon for indicate language layer. %prep %setup -q %build mkdir build pushd build %cmake .. make %{?_smp_mflags} popd %install pushd build %{make_install} popd %find_lang %{name} --with-qt desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %files -f %{name}.lang %doc COPYING NEWS README %{_bindir}/%{name} #{_datadir}/%{name} %dir %{_datadir}/%{name} %{_datadir}/%{name}/theme/ %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %changelog * Tue Apr 23 2013 TI_Eugene 0.4.6-2 - cmake flags removed * Mon Apr 01 2013 TI_Eugene 0.4.6-1 - initial packaging for Fedora