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