]> git.pld-linux.org Git - packages/xbindkeys.git/blob - xbindkeys.spec
- fix for new aclocal
[packages/xbindkeys.git] / xbindkeys.spec
1 #
2 # Conditional build:
3 %bcond_without  guile   # disable scheme/guile configuration file style
4 #
5 Summary:        Binds keys or mouse buttons to shell commands under X
6 Summary(pl.UTF-8):      Przypisywanie poleceniom powłoki przycisków myszy lub klawiatury pod X
7 Name:           xbindkeys
8 Version:        1.8.2
9 Release:        1
10 License:        GPL v2
11 Group:          X11/Applications
12 Source0:        http://hocwp.free.fr/xbindkeys/%{name}-%{version}.tar.gz
13 # Source0-md5:  ad1abd56e758bc108493ad0e5b862ad3
14 Patch0:         %{name}-aclocal.patch
15 URL:            http://hocwp.free.fr/xbindkeys/xbindkeys.html
16 BuildRequires:  autoconf >= 2.59-9
17 BuildRequires:  automake
18 %{?with_guile:BuildRequires:    guile-devel}
19 BuildRequires:  libtool
20 BuildRequires:  xorg-lib-libX11-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 xbindkeys is a program that allows you to launch shell commands with
25 your keyboard or mouse under X11. It links commands to keys or mouse
26 buttons using a simple configuration file, and is independant of the
27 window manager. 
28
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.
35
36 %package xbindkeys_show
37 Summary:        Program to show the grabbing keys used in xbindkeys
38 Summary(pl.UTF-8):      Program pokazujący przyciski obsługiwane przez xbindkeys
39 Group:          X11/Applications
40 Requires:       %{name}
41 Requires:       tk
42
43 %description xbindkeys_show
44 xbindkeys_show is a Tk program that shows the grabbing keys used in
45 xbindkeys.
46
47 %description xbindkeys_show -l pl.UTF-8
48 xbindkeys_show jest programem w Tk, który pokazuje przyciski
49 obsługiwane aktualnie przez xbindkeys.
50
51 %prep
52 %setup -q
53 %patch0 -p0
54
55 %build
56 rm -f aclocal.m4
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure \
63         --with-x \
64         %{!?with_guile: --disable-guile}
65
66 %{__make}
67
68 %install
69 rm -rf $RPM_BUILD_ROOT
70
71 %{__make} install \
72         DESTDIR=$RPM_BUILD_ROOT
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
81 %{_mandir}/man1/xbindkeys.1*
82
83 %files xbindkeys_show
84 %defattr(644,root,root,755)
85 %attr(755,root,root) %{_bindir}/xbindkeys_show
86 %{_mandir}/man1/xbindkeys_show.1*
This page took 0.040405 seconds and 4 git commands to generate.