]> git.pld-linux.org Git - packages/hotkeys.git/blob - hotkeys.spec
60df63ee2c64aa6f9214821e48e33a1365c0903f
[packages/hotkeys.git] / hotkeys.spec
1 Summary:        A program to use the special keys on internet/multimedia keyboards
2 Summary(pl.UTF-8):      Obsługa klawiszy specjalnych na internetowych/multimedialnych klawiaturach
3 Name:           hotkeys
4 Version:        0.5.7.1
5 Release:        4
6 License:        GPL
7 Group:          X11/Applications/Multimedia
8 Source0:        http://ypwong.org/hotkeys/%{version}/%{name}_%{version}.tar.gz
9 # Source0-md5:  68e2aea6b4444f943b5f85ac00542a1c
10 Patch0:         %{name}-db41.patch
11 Patch1:         %{name}-libxml2.patch
12 Patch2:         %{name}-ac_am.patch
13 Patch3:         %{name}-home_etc.patch
14 URL:            http://ypwong.org/hotkeys/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  db-devel >= 4.1
18 BuildRequires:  gtk+2-devel >= 1:2.0.0
19 BuildRequires:  libxml2-devel >= 2.2.8
20 BuildRequires:  pkgconfig >= 1:0.7
21 BuildRequires:  xosd-devel >= 0.7.0
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 The HotKeys daemon listens for the "special" hotkeys that you won't
26 normally use on your Internet/Multimedia keyboards. The buttons
27 perform their intended behaviors, such as volume up and down, mute the
28 speaker, or launch applications. It has On-screen display (OSD) to
29 show the volume, program that's being started, etc. It features an
30 XML-based keycode configuration file format, which makes it possible
31 to define the hotkeys to launch any programs you want.
32
33 %description -l pl.UTF-8
34 Demon HotKeys czeka na naciśnięcia "specjalnych" klawiszy, których
35 normalnie nie użyłbyś z klawiatur internetowych/multimedialnych.
36 Przyciski wykonują swoje zamierzone zadanie, takie jak zwiększanie i
37 zmniejszanie głośności, wyciszanie głośnika, uruchamianie programów.
38 Obsługuje OSD (On-screen display) do pokazywania głośności,
39 uruchamianych programów itp. Klawisze mogą być konfigurowane przez
40 plik formacie XML.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45 %patch1 -p1
46 %patch2 -p1
47 %patch3 -p1
48
49 %build
50 %{__aclocal}
51 %{__autoconf}
52 %{__automake}
53 %configure \
54         --with-xosd \
55         --with-gtk \
56         --with-x
57
58 %{__make}
59
60 %install
61 rm -rf $RPM_BUILD_ROOT
62
63 %{__make} install \
64         DESTDIR=$RPM_BUILD_ROOT
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc AUTHORS BUGS TODO debian/changelog def/sample.xml
72 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/hotkeys.conf
73 %attr(755,root,root) %{_bindir}/%{name}
74 %{_datadir}/%{name}
75 %{_mandir}/man1/*
This page took 0.067085 seconds and 2 git commands to generate.