]>
Commit | Line | Data |
---|---|---|
d4968459 KK |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without guile # disable scheme/guile configuration file style | |
af044337 | 4 | # |
9c7896a2 | 5 | Summary: Binds keys or mouse buttons to shell commands under X |
5df9e6a3 | 6 | Summary(pl.UTF-8): Przypisywanie poleceniom powłoki przycisków myszy lub klawiatury pod X |
f6762184 | 7 | Name: xbindkeys |
2c261c9f KM |
8 | Version: 1.8.7 |
9 | Release: 1 | |
f6762184 MW |
10 | License: GPL v2 |
11 | Group: X11/Applications | |
82872cd0 | 12 | Source0: http://www.nongnu.org/xbindkeys/%{name}-%{version}.tar.gz |
2c261c9f | 13 | # Source0-md5: b5e1a9668ba13ff8673836d1d965d951 |
b4f0c4ad | 14 | URL: http://www.nongnu.org/xbindkeys/xbindkeys.html |
063fc02d | 15 | BuildRequires: autoconf >= 2.59-9 |
f6762184 | 16 | BuildRequires: automake |
d4968459 | 17 | %{?with_guile:BuildRequires: guile-devel} |
da9d798b MB |
18 | BuildRequires: libtool |
19 | BuildRequires: xorg-lib-libX11-devel | |
f6762184 MW |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
5e3e2677 | 23 | xbindkeys is a program that allows you to launch shell commands with |
9c7896a2 | 24 | your keyboard or mouse under X11. It links commands to keys or mouse |
5e3e2677 | 25 | buttons using a simple configuration file, and is independant of the |
81b08384 | 26 | window manager. |
f6762184 | 27 | |
b017622c JR |
28 | %description -l pl.UTF-8 |
29 | xbindkeys jest programem, który pozwala na uruchamianie poleceń | |
30 | powłoki przy użyciu klawiatury lub myszki pod X11. Xbindkeys | |
31 | przypisuje polecenia przyciskom za pomocą prostego pliku | |
32 | konfiguracyjnego, niezależnie od zarządcy okien. Pozwala na | |
33 | przechwytywanie takich przycisków jak POWER czy WAKE na klawiaturze. | |
f6762184 | 34 | |
ab101c03 KK |
35 | %package xbindkeys_show |
36 | Summary: Program to show the grabbing keys used in xbindkeys | |
37 | Summary(pl.UTF-8): Program pokazujący przyciski obsługiwane przez xbindkeys | |
38 | Group: X11/Applications | |
39 | Requires: %{name} | |
40 | Requires: tk | |
41 | ||
42 | %description xbindkeys_show | |
43 | xbindkeys_show is a Tk program that shows the grabbing keys used in | |
44 | xbindkeys. | |
45 | ||
af044337 | 46 | %description xbindkeys_show -l pl.UTF-8 |
ab101c03 KK |
47 | xbindkeys_show jest programem w Tk, który pokazuje przyciski |
48 | obsługiwane aktualnie przez xbindkeys. | |
49 | ||
f6762184 MW |
50 | %prep |
51 | %setup -q | |
52 | ||
86e41446 AM |
53 | touch config.rpath |
54 | ||
f6762184 | 55 | %build |
063fc02d | 56 | rm -f aclocal.m4 |
f6762184 MW |
57 | %{__libtoolize} |
58 | %{__aclocal} | |
59 | %{__autoconf} | |
063fc02d | 60 | %{__autoheader} |
f6762184 MW |
61 | %{__automake} |
62 | %configure \ | |
d4968459 KK |
63 | --with-x \ |
64 | %{!?with_guile: --disable-guile} | |
f6762184 MW |
65 | |
66 | %{__make} | |
67 | ||
68 | %install | |
69 | rm -rf $RPM_BUILD_ROOT | |
70 | ||
fccb4ccb | 71 | %{__make} install \ |
72 | DESTDIR=$RPM_BUILD_ROOT | |
f6762184 MW |
73 | |
74 | %clean | |
75 | rm -rf $RPM_BUILD_ROOT | |
76 | ||
77 | %files | |
78 | %defattr(644,root,root,755) | |
79 | %doc AUTHORS ChangeLog README | |
80 | %attr(755,root,root) %{_bindir}/xbindkeys | |
ab101c03 KK |
81 | %{_mandir}/man1/xbindkeys.1* |
82 | ||
83 | %files xbindkeys_show | |
84 | %defattr(644,root,root,755) | |
f6762184 | 85 | %attr(755,root,root) %{_bindir}/xbindkeys_show |
ab101c03 | 86 | %{_mandir}/man1/xbindkeys_show.1* |