[521] | 1 | %define name xbindkeys |
---|
| 2 | %define version 1.7.3 |
---|
| 3 | %define release 1%{?_dist_release} |
---|
| 4 | |
---|
| 5 | Summary: Grab keys os mouse buttons in X Window and start shell command. |
---|
| 6 | Summary(ja): X 上でキーやマウスボタンの組合せにコマンドを割り当てるユーティリティ |
---|
| 7 | Name: %{name} |
---|
| 8 | Version: %{version} |
---|
| 9 | Release: %{release} |
---|
| 10 | Source0: http://hocwp.free.fr/xbindkeys/%{name}-%{version}.tar.gz |
---|
| 11 | License: GPL |
---|
| 12 | Group: Applications/System |
---|
| 13 | URL: http://hocwp.free.fr/xbindkeys/xbindkeys.html |
---|
| 14 | |
---|
| 15 | Requires: tk |
---|
| 16 | BuildRequires: xorg-x11-devel |
---|
| 17 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 18 | |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | xbindkeys is a program that allows you to launch shell commands |
---|
| 22 | with your keyboard or your mouse in X Window. It links commands |
---|
| 23 | to keys or mouse buttons, using a configuration file. It's |
---|
| 24 | independant of the window manager and can capture all keyboard |
---|
| 25 | keys (ex: Power, Wake...). |
---|
| 26 | |
---|
| 27 | You should configure your X Desktop environment to run "xbindkeys" |
---|
| 28 | at startup. |
---|
| 29 | |
---|
| 30 | %description -l ja |
---|
| 31 | xbindkeys は X 上でキーボードやマウスボタンからコマンドを実行 |
---|
| 32 | できるようにするプログラムです。このプログラムは設定ファイルを |
---|
| 33 | 使ってキー入力やマウスボタンとコマンドを関連付けます。ウィンドウ |
---|
| 34 | マネージャから独立しているので、キーボード上の全てのキーを取得 |
---|
| 35 | できます。(例:電源ボタン、起動ボタン等) |
---|
| 36 | |
---|
| 37 | ログイン時に "xbindkeys" が実行されるように、X デスクトップ環境 |
---|
| 38 | を設定する必要があります。 |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q |
---|
| 42 | |
---|
| 43 | |
---|
| 44 | %build |
---|
| 45 | %configure --disable-guile |
---|
| 46 | %__make |
---|
| 47 | |
---|
| 48 | |
---|
| 49 | %install |
---|
| 50 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 51 | %makeinstall |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
| 56 | |
---|
| 57 | |
---|
| 58 | %files |
---|
| 59 | %defattr(-,root,root) |
---|
| 60 | %doc AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README TODO |
---|
| 61 | %doc xbindkeysrc |
---|
| 62 | %{_bindir}/xbindkeys |
---|
| 63 | %{_bindir}/xbindkeys_show |
---|
| 64 | %{_mandir}/man1/xbindkeys* |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %changelog |
---|
| 68 | * Tue Oct 14 2008 Shu KONNO <owa@bg.wakwak.com> 1.7.3-1vl5 |
---|
| 69 | - applied new versioning policy, spec in utf-8 |
---|
| 70 | |
---|
| 71 | * Tue Jan 16 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.7.3-0vl1 |
---|
| 72 | - initial build for Vine Linux |
---|