]> git.pld-linux.org Git - packages/xbindkeys.git/blame - xbindkeys.spec
- guile bcond
[packages/xbindkeys.git] / xbindkeys.spec
CommitLineData
d4968459
KK
1#
2# Conditional build:
3%bcond_without guile # disable scheme/guile configuration file style
4
9c7896a2 5Summary: Binds keys or mouse buttons to shell commands under X
5df9e6a3 6Summary(pl.UTF-8): Przypisywanie poleceniom powłoki przycisków myszy lub klawiatury pod X
f6762184 7Name: xbindkeys
d34fbd8a 8Version: 1.8.2
c6c4762d 9Release: 1
f6762184
MW
10License: GPL v2
11Group: X11/Applications
12Source0: http://hocwp.free.fr/xbindkeys/%{name}-%{version}.tar.gz
d34fbd8a 13# Source0-md5: ad1abd56e758bc108493ad0e5b862ad3
f6762184 14URL: http://hocwp.free.fr/xbindkeys/xbindkeys.html
063fc02d 15BuildRequires: autoconf >= 2.59-9
f6762184 16BuildRequires: automake
d4968459 17%{?with_guile:BuildRequires: guile-devel}
da9d798b
MB
18BuildRequires: libtool
19BuildRequires: xorg-lib-libX11-devel
f6762184
MW
20Requires: tk
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
5e3e2677 24xbindkeys is a program that allows you to launch shell commands with
9c7896a2 25your keyboard or mouse under X11. It links commands to keys or mouse
5e3e2677 26buttons using a simple configuration file, and is independant of the
81b08384 27window manager.
f6762184 28
b017622c
JR
29%description -l pl.UTF-8
30xbindkeys jest programem, który pozwala na uruchamianie poleceń
31powłoki przy użyciu klawiatury lub myszki pod X11. Xbindkeys
32przypisuje polecenia przyciskom za pomocą prostego pliku
33konfiguracyjnego, niezależnie od zarządcy okien. Pozwala na
34przechwytywanie takich przycisków jak POWER czy WAKE na klawiaturze.
f6762184
MW
35
36%prep
37%setup -q
38
39%build
063fc02d 40rm -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
53rm -rf $RPM_BUILD_ROOT
54
fccb4ccb 55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
f6762184
MW
57
58%clean
59rm -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*
This page took 0.219503 seconds and 4 git commands to generate.