Package bbrun: Specfile

Name: bbrun
Version: 1.4
Release: alt3.1

Summary: A simple run window with dropdown history list
License: GPL
Group: File tools

Url: http://www.dwave.net/~jking/bbrun/
Source: %name-%version.tar.bz2
Patch: %name-1.4-alt-make.patch

Packager: Igor Zubkov <icesik@altlinux.org>

# Automatically added by buildreq on Sat Nov 15 2008
BuildRequires: gtk+-devel libX11-devel libXext-devel libXpm-devel

%description
BBrun is a run utility for BlackBox which can be run in the slit or
in withdrawn mode so that it can be bound to a keystroke from bbkeys.
It also features a history list of the most recent commands.

%prep
%setup -q
%patch -p1

%build
%make_build -C %name

%install
install -pD -m755 %name/%name %buildroot%_bindir/%name
install -pD -m644 %name/%name.xpm %buildroot%_miconsdir/%name.xpm
ln -s -f /usr/share/license/GPL-2 COPYING
mkdir -p %buildroot%_menudir
cat <<EOF >%buildroot%_menudir/%name
?package(%name): \
	command="%_bindir/%name -w" \
	needs="x11" \
	icon="%name.xpm" \
	section="Applications/File tools" \
	title="BBrun" \
	longtitle="A simple run window"
EOF

%files
%doc Changelog README
%doc --no-dereference COPYING
%_bindir/%name
%_menudir/%name
%_miconsdir/%name.xpm

%changelog
* Tue Dec 02 2008 Valery Inozemtsev <shrek@altlinux.ru> 1.4-alt3.1
- NMU:
  * updated build dependencies

* Sat Nov 15 2008 Igor Zubkov <icesik@altlinux.org> 1.4-alt3
- apply patch from repocop
- buildreq

* Fri Apr 07 2006 Igor Zubkov <icesik@altlinux.ru> 1.4-alt2
- add packager tag
- remove common-licenses from Requires
- buildreq

* Mon Feb 24 2003 Alexey Tourbin <at@altlinux.ru> 1.4-alt1
- initial revision