1 Summary: Utility to enable the IBM ThinkPad(tm) special keys
2 Summary(pl.UTF-8): Narzędzie uaktywniające klawisze specjalne w notebookach IBM ThinkPad(tm)
7 Group: Applications/System
8 Source0: http://savannah.nongnu.org/download/tpb/%{name}-%{version}.tar.gz
9 # Source0-md5: 563b544fbedcc1763130a0bca1ad63b6
10 Source1: %{name}-pl.po
11 Patch0: %{name}-lang_pl.patch
12 Patch1: %{name}-po-de.patch
13 URL: http://savannah.gnu.org/projects/tpb/
14 BuildRequires: autoconf
15 BuildRequires: automake
16 BuildRequires: gettext-devel
17 BuildRequires: libtool
18 BuildRequires: xosd-devel >= 2.0.0
19 Requires: xosd >= 2.0.0
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 This program enables the IBM Thinkpad(tm) special keys. It is possible
24 to bind a program to the ThinkPad button. It has a on-screen display
25 (OSD) to show volume, mute and brightness of the LCD.
27 %description -l pl.UTF-8
28 Program ten uaktywnia klawisze specjalne w notebookach IBM
29 ThinkPad(tm). Umożliwia również programowanie przycisków specjalnych,
30 wspiera również OSD (dźwięk, kontrast LCD).
34 cp %{SOURCE1} po/pl.po
40 cp -f aclocal/libxosd*.m4 newaclocal
43 %{__aclocal} -I newaclocal
51 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
58 rm -rf $RPM_BUILD_ROOT
60 %files -f %{name}.lang
61 %defattr(644,root,root,755)
62 %doc doc/callback_example.sh ChangeLog CREDITS README TODO doc/tpbrc
63 %config(noreplace,missingok) %verify(not md5 mtime size) %{_sysconfdir}/tpbrc
64 %attr(755,root,root) %{_bindir}/*