Package bbkeys: Specfile

Name:	 bbkeys
Version: 0.8.5
Release: alt4

Summary: Key-combo grabber for blackbox
License: GPL
Group: 	 Graphical desktop/Other
URL: 	 http://bbkeys.sourceforge.net/
Source:  http://download.sourceforge.net/%name/%name-%version.tar.bz2

Patch2:	 %name-0.8.5-xkbgroup.patch
Patch3:	 %name-0.8.5-winlist.patch
Patch4:	 %name-0.8.5-i18n.patch
Patch5:	 %name-0.8.5-alt-autotools.patch
Patch6:	 %name-0.8.5-alt-nodoc.patch

Packager: Igor Zubkov <icesik@altlinux.org>

# Automatically added by buildreq on Wed Dec 12 2001
BuildRequires: gcc-c++ libstdc++-devel XFree86-devel

#BuildRequires: automake_1.4 autoconf_2.13

%description
bbkeys is the keygrabber for the blackbox window manager.  bbkeys handles
all keybindings and keyboard shortcuts for blackbox.  It uses blackbox's
Image classes for rendering its look and feel so that bbkeys will render
itself to match whatever blackbox style is used.  It is highly configurable
either via the bbconf GUI utility or by hand-editing bbkeys's config file. 

%prep
%setup -q
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1

%build
%__rm -f missing
%__aclocal
%__autoheader
%__automake --foreign --add-missing
%__autoconf
%configure
%make_build

%install
%makeinstall

%files 
%doc README AUTHORS ChangeLog NEWS
%_bindir/bbkeys
%_bindir/bbkeysconf.pl
%_datadir/bbtools/bbkeys.bb
%_datadir/bbtools/bbkeys.nobb
%_man1dir/bbkeys.*
%_man5dir/bbkeys.bb.*
%_man5dir/bbkeysrc.*
 
%changelog 
* Mon Mar 19 2007 Igor Zubkov <icesik@altlinux.org> 0.8.5-alt4
- rebuild with new gcc flags (-Wl,--as-needed)

* Tue Jul 05 2005 Igor Zubkov <icesik@altlinux.ru> 0.8.5-alt3
- fix build with new automake && autoconf

* Tue Jan 18 2005 ALT QA Team Robot <qa-robot@altlinux.org> 0.8.5-alt2.1
- Rebuilt with libstdc++.so.6.

* Mon Jan 20 2003 Rider <rider@altlinux.ru> 0.8.5-alt2
- added requires for old autoconf & automake
- fix for build with old autoconf & automake

* Sat Oct 19 2002 Sergey Vlasov <vsu@altlinux.ru> 0.8.5-alt1
- Version 0.8.5.
- Removed modmask patch (merged upstream).
- Updated xkbgroup, winlist and i18n patches.
- Updated URLs.

* Mon Jan 07 2002 Sergey Vlasov <vsu@altlinux.ru> 0.8.3-alt2
- Fixed non-working window cycling in all XKB groups other than the first
- Fixed lost sync between the displayed and real window lists
- Added i18n (Xmb*, fontset) support (needed for Cyrillic window titles)

* Wed Dec 12 2001 Sergey Vlasov <vsu@altlinux.ru> 0.8.3-alt1
- Spec file cleanup
- First build for ALT Linux

* Tue Sep 18 2001 Jason Kasper <vR@movingparts.net>
- changing to a dynamically-created bbkeys.spec
* Sun Aug 5 2001 Jason Kasper <vR@movingparts.net>
- added to file list for newly included files (docs and man pages)
- install to %{prefix} instead of /usr
* Sun May 6 2001 Hollis Blanchard <hollis@terraplex.com> 
- removed file list in favor of explicit %files section 
- install to /usr instead of /usr/local 
- buildroot = /var/tmp/bbkeys-buildroot instead of /tmp/buildroot