Name: xkbevd Version: 1.1.4 Release: 5 Summary: XKB event daemon Group: Development/X11 URL: http://xorg.freedesktop.org Source0: http://xorg.freedesktop.org/releases/individual/app/%{name}-%{version}.tar.bz2 License: MIT BuildRequires: pkgconfig(x11) >= 1.0.0 BuildRequires: pkgconfig(xkbfile) >= 1.0.1 BuildRequires: x11-util-macros >= 1.0.1 BuildRequires: bison %description The xkbevd event daemon listens for specified XKB events and executes requested commands if they occur. The configuration file consists of a list of event specification/action pairs and/or variable definitions. %prep %setup -q -n %{name}-%{version} %build %configure \ --x-includes=%{_includedir} \ --x-libraries=%{_libdir} %make %install mkdir -p %{buildroot}/%{_datadir}/X11/xkb install -m 644 example.cf xkbevd.cf %{buildroot}/%{_datadir}/X11/xkb %makeinstall_std %files %{_bindir}/xkbevd %{_mandir}/man1/xkbevd.1* %{_datadir}/X11/xkb/*.cf