Summary: bbkeys, a completely configurable key-combo grabber for blackbox
Summary(pl): Ca³kowicie konfigurowalny przechwytywacz klawiszy dla blackboksa
Name: bbkeys
-Version: 0.8.4
-Release: 4
+Version: 0.8.6
+Release: 2
License: GPL
Group: X11/Applications
-Source0: ftp://ftp.sourceforge.net/pub/sourceforge/bbkeys/%{name}-%{version}.tar.gz
+Source0: http://dl.sourceforge.net/bbkeys/%{name}-%{version}.tar.gz
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: XFree86-devel
+BuildRequires: libstdc++-devel
Buildroot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
+%define _sysconfdir /etc/default
%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-editting the user's ~/.bbkeysrc file, or by using the
+directly hand-editing the user's ~/.bbkeysrc file, or by using the
provided gui configuration tool, bbkeysconf (for lack of a better name
yet).
albo poprzez graficzny interfejs bbkeysconf (z braku lepszej nazwy).
%prep
-%setup -q
+%setup -q
%patch0 -p1
+%patch1 -p1
+%patch2 -p1
%build
rm -f missing
%{__aclocal}
%{__autoconf}
%{__automake}
+CXXFLAGS="%{rpmcflags} -fno-rtti -fno-exceptions"
%configure
-%{__make} CXX="%{__cc}"
+%{__make}
%install
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
%doc README AUTHORS ChangeLog NEWS TODO
+%dir %{_sysconfdir}/bbtools
+%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/bbtools/%{name}.*
%attr(755,root,root) %{_bindir}/*
%{_mandir}/*/*
-%config(noreplace) %verify(not md5 size mtime) %{_sysconfdir}/bbtools/%{name}.*