]>
Commit | Line | Data |
---|---|---|
d4968459 KK |
1 | # |
2 | # Conditional build: | |
3 | %bcond_without guile # disable scheme/guile configuration file style | |
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 |
d34fbd8a | 8 | Version: 1.8.2 |
c6c4762d | 9 | Release: 1 |
f6762184 MW |
10 | License: GPL v2 |
11 | Group: X11/Applications | |
12 | Source0: http://hocwp.free.fr/xbindkeys/%{name}-%{version}.tar.gz | |
d34fbd8a | 13 | # Source0-md5: ad1abd56e758bc108493ad0e5b862ad3 |
f6762184 | 14 | URL: http://hocwp.free.fr/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 | Requires: tk |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
5e3e2677 | 24 | xbindkeys is a program that allows you to launch shell commands with |
9c7896a2 | 25 | your keyboard or mouse under X11. It links commands to keys or mouse |
5e3e2677 | 26 | buttons using a simple configuration file, and is independant of the |
81b08384 | 27 | window manager. |
f6762184 | 28 | |
b017622c JR |
29 | %description -l pl.UTF-8 |
30 | xbindkeys jest programem, który pozwala na uruchamianie poleceń | |
31 | powłoki przy użyciu klawiatury lub myszki pod X11. Xbindkeys | |
32 | przypisuje polecenia przyciskom za pomocą prostego pliku | |
33 | konfiguracyjnego, niezależnie od zarządcy okien. Pozwala na | |
34 | przechwytywanie takich przycisków jak POWER czy WAKE na klawiaturze. | |
f6762184 MW |
35 | |
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
063fc02d | 40 | rm -f aclocal.m4 |
f6762184 MW |
41 | %{__libtoolize} |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
063fc02d | 44 | %{__autoheader} |
f6762184 MW |
45 | %{__automake} |
46 | %configure \ | |
d4968459 KK |
47 | --with-x \ |
48 | %{!?with_guile: --disable-guile} | |
f6762184 MW |
49 | |
50 | %{__make} | |
51 | ||
52 | %install | |
53 | rm -rf $RPM_BUILD_ROOT | |
54 | ||
fccb4ccb | 55 | %{__make} install \ |
56 | DESTDIR=$RPM_BUILD_ROOT | |
f6762184 MW |
57 | |
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %doc AUTHORS ChangeLog README | |
64 | %attr(755,root,root) %{_bindir}/xbindkeys | |
65 | %attr(755,root,root) %{_bindir}/xbindkeys_show | |
66 | %{_mandir}/man1/xbindkeys* |