]>
Commit | Line | Data |
---|---|---|
1508edf6 | 1 | Name: bbrun |
2 | Version: 1.4 | |
3 | Release: alt1 | |
4 | ||
5 | Summary: A simple run window with dropdown history list | |
6 | License: GPL | |
7 | Group: File tools | |
8 | ||
9 | Url: http://www.dwave.net/~jking/bbrun/ | |
10 | Source: %name-%version.tar.bz2 | |
11 | Patch: %name-1.4-alt-make.patch | |
12 | ||
13 | Requires: common-licenses | |
14 | ||
15 | # Automatically added by buildreq on Mon Feb 24 2003 | |
16 | BuildRequires: XFree86-devel glib-devel gtk+-devel xpm-devel | |
17 | ||
18 | %description | |
19 | BBrun is a run utility for BlackBox which can be run in the slit or | |
20 | in withdrawn mode so that it can be bound to a keystroke from bbkeys. | |
21 | It also features a history list of the most recent commands. | |
22 | ||
23 | %prep | |
24 | %setup -q | |
25 | %patch -p1 | |
26 | ||
27 | %build | |
28 | %make_build -C %name | |
29 | ||
30 | %install | |
31 | %__install -pD -m755 %name/%name %buildroot%_bindir/%name | |
32 | %__install -pD -m644 %name/%name.xpm %buildroot%_miconsdir/%name.xpm | |
33 | %__ln_s -f /usr/share/license/GPL-2 COPYING | |
34 | %__mkdir_p %buildroot%_menudir | |
35 | %__cat <<EOF >%buildroot%_menudir/%name | |
36 | ?package(%name): \ | |
37 | command="%_bindir/%name -w" \ | |
38 | needs="x11" \ | |
39 | icon="%name.xpm" \ | |
40 | section="Applications/File tools" \ | |
41 | title="BBrun" \ | |
42 | longtitle="A simple run window" | |
43 | EOF | |
44 | ||
45 | %post | |
46 | %update_menus | |
47 | ||
48 | %postun | |
49 | %clean_menus | |
50 | ||
51 | %files | |
52 | %_bindir/%name | |
53 | %_menudir/%name | |
54 | %_miconsdir/%name.xpm | |
55 | %doc Changelog README | |
56 | %doc --no-dereference COPYING | |
57 | ||
58 | %changelog | |
59 | * Mon Feb 24 2003 Alexey Tourbin <at@altlinux.ru> 1.4-alt1 | |
60 | - initial revision |