]> git.pld-linux.org Git - packages/xbindkeys.git/blobdiff - xbindkeys.spec
- release 2 (by relup.sh)
[packages/xbindkeys.git] / xbindkeys.spec
index fac1f4fef5ee8190f8793b377f1cb5aebabb62cd..c869d52408b7fa858da6ccededc13dfa4ce0bc84 100644 (file)
@@ -1,50 +1,75 @@
-Summary:       Binds keys or mouse buttons to shell commands under X.
-Summary(pl):   TODO
+#
+# Conditional build:
+%bcond_without guile   # disable scheme/guile configuration file style
+#
+Summary:       Binds keys or mouse buttons to shell commands under X
+Summary(pl.UTF-8):     Przypisywanie poleceniom powłoki przycisków myszy lub klawiatury pod X
 Name:          xbindkeys
-Version:       1.5.4
-Release:       1
+Version:       1.8.6
+Release:       2
 License:       GPL v2
 Group:         X11/Applications
-Source0:       http://hocwp.free.fr/xbindkeys/%{name}-%{version}.tar.gz
-URL:           http://hocwp.free.fr/xbindkeys/xbindkeys.html
-BuildRequires: autoconf
+Source0:       http://www.nongnu.org/xbindkeys/%{name}-%{version}.tar.gz
+# Source0-md5: c6ea9db56e075dae0697497e2ed390cc
+URL:           http://www.nongnu.org/xbindkeys/xbindkeys.html
+BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
-BuildRequires: XFree86-devel
-Requires:      tk
+%{?with_guile:BuildRequires:   guile-devel}
+BuildRequires: libtool
+BuildRequires: xorg-lib-libX11-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 xbindkeys is a program that allows you to launch shell commands with
-your keyboard or mouse under X. It links commands to keys or mouse
+your keyboard or mouse under X11. It links commands to keys or mouse
 buttons using a simple configuration file, and is independant of the
-window manager. XMMS panel applet for the KDE panel (kicker). It is
-used to be able
+window manager. 
+
+%description -l pl.UTF-8
+xbindkeys jest programem, który pozwala na uruchamianie poleceń
+powłoki przy użyciu klawiatury lub myszki pod X11. Xbindkeys
+przypisuje polecenia przyciskom za pomocą prostego pliku
+konfiguracyjnego, niezależnie od zarządcy okien. Pozwala na
+przechwytywanie takich przycisków jak POWER czy WAKE na klawiaturze.
+
+%package xbindkeys_show
+Summary:       Program to show the grabbing keys used in xbindkeys
+Summary(pl.UTF-8):     Program pokazujący przyciski obsługiwane przez xbindkeys
+Group:         X11/Applications
+Requires:      %{name}
+Requires:      tk
 
-%description -l pl
-xbindkeys jest programem, który pozwala na uruchamianie polecen
-pow³oki przy urzyciu twojej klawiatury lub myszki pod X Window.
-Xbindkeys przypisuje komendy przyciskom za pomoc± prostego pliku
-konfiguracyjnego, niezale¿nie od mened¿era okien. Pozwala na
-przechwytywanie takich przycisków jak POWER czy WAKE na klawiaturze.
+%description xbindkeys_show
+xbindkeys_show is a Tk program that shows the grabbing keys used in
+xbindkeys.
+
+%description xbindkeys_show -l pl.UTF-8
+xbindkeys_show jest programem w Tk, który pokazuje przyciski
+obsługiwane aktualnie przez xbindkeys.
 
 %prep
 %setup -q
 
+touch config.rpath
+
 %build
-rm -f missing aclocal.m4
+rm -f aclocal.m4
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
+%{__autoheader}
 %{__automake}
 %configure \
-       --with-x
+       --with-x \
+       %{!?with_guile: --disable-guile}
 
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,5 +78,9 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/xbindkeys
+%{_mandir}/man1/xbindkeys.1*
+
+%files xbindkeys_show
+%defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/xbindkeys_show
-%{_mandir}/man1/xbindkeys*
+%{_mandir}/man1/xbindkeys_show.1*
This page took 0.033488 seconds and 4 git commands to generate.