Summary: bbkeys, a completely configurable key-combo grabber for blackbox Summary(pl): Całkowicie konfigurowalny przechwytywacz klawiszy dla blackboksa Name: bbkeys Version: 0.8.6 Release: 4 License: GPL Group: X11/Applications Source0: http://dl.sourceforge.net/bbkeys/%{name}-%{version}.tar.gz # Source0-md5: 6df58a99d136f21682b859b823d31b7d Patch0: %{name}-sysconfdir.patch Patch1: %{name}-ac_fixes.patch Patch2: %{name}-etc_dir.patch URL: http://bbkeys.sourceforge.net/ BuildRequires: XFree86-devel BuildRequires: autoconf BuildRequires: automake BuildRequires: libstdc++-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description bbkeys is a configurable key-grabber designed for the blackbox window manager which is written by Brad Hughes. It is based on the bbtools object code created by John Kennis and re-uses some of the blackbox window manager classes as well. bbkeys is easily configurable via directly hand-editing the user's ~/.bbkeysrc file, or by using the provided gui configuration tool, bbkeysconf (for lack of a better name yet). %description -l pl bbkeys jest konfigurowalnym programem do przechwytywania klawiszy zaprojektowanym dla zarządcy okien blackbox, napisanego przez Brada Hughesa. Bazuje na kodzie obiektowym bbtools napisanym przez Johna Kennisa, używa także niektórych klas blackboksa. bbkeys są łatwo konfigurowalne przez bezpośrednią edycję pliku użytkownika ~/.bbkeysrc, albo poprzez graficzny interfejs bbkeysconf (z braku lepszej nazwy). %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %build %{__aclocal} %{__autoconf} %{__automake} CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions" %configure %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %clean rm -rf $RPM_BUILD_ROOT %triggerpostun -- bbkeys < 0.8.6-4 if [ -f /etc/default/bbtools/bbkeys.bb.rpmsave ]; then mv -f %{_sysconfdir}/bbtools/bbkeys.bb %{_sysconfdir}/bbtools/bbkeys.bb.rpmnew mv -f /etc/default/bbtools/bbkeys.bb.rpmsave %{_sysconfdir}/bbtools/bbkeys.bb fi if [ -f /etc/default/bbtools/bbkeys.nobb.rpmsave ]; then mv -f %{_sysconfdir}/bbtools/bbkeys.nobb %{_sysconfdir}/bbtools/bbkeys.nobb.rpmnew mv -f /etc/default/bbtools/bbkeys.nobb.rpmsave %{_sysconfdir}/bbtools/bbkeys.nobb fi rmdir /etc/default/bbtools 2>/dev/null || : %files %defattr(644,root,root,755) %doc README AUTHORS ChangeLog NEWS TODO %dir %{_sysconfdir}/bbtools %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/bbtools/%{name}.* %attr(755,root,root) %{_bindir}/* %{_mandir}/man[15]/*