2 # - SECURITY: http://securitytracker.com/alerts/2004/Aug/1011049.html
3 Summary: An utility to make wheel mice work under X
4 Summary(pl.UTF-8): Narzędzie pozwalające wykorzystać rolki myszy w X
9 Group: X11/Applications
10 Source0: http://dl.sourceforge.net/imwheel/%{name}-%{version}pre12.tar.gz
11 # Source0-md5: 21d81db739ae95d96f9b650f7b826a14
12 Source1: %{name}-xinitrc
13 Patch0: %{name}-Makefile.patch
14 URL: http://imwheel.sourceforge.net/
15 BuildRequires: xorg-lib-libX11-devel
16 BuildRequires: xorg-lib-libXext-devel
17 BuildRequires: xorg-lib-libXmu-devel
18 BuildRequires: xorg-lib-libXt-devel
19 BuildRequires: xorg-lib-libXtst-devel
20 BuildRequires: autoconf
21 BuildRequires: automake
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _sysconfdir /etc/X11
27 Imwheel helps enable the "wheel" found on many newer mice such as the
28 Microsoft IntelliMouse, the Genius NetMouse, several varieties of mice
29 from Logitech and other.
31 It does it by emulating key sequences, which are configurable on
34 %description -l pl.UTF-8
35 Imwheel pomaga wykorzystać "kółka" dostępne w wielu nowych myszkach,
36 takich jak Microsoft IntelliMouse, Genius NetMouse, myszkach Logitecha
39 Imwheel pozwala powiązać sekwencje klawiszy z obrotami kółek myszy,
40 przy czym dla każdego programu mogą one być inne.
43 %setup -q -n %{name}-%{version}pre12
60 DESTDIR="$RPM_BUILD_ROOT"
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_sysconfdir}/xinit/xinitrc.d
67 DESTDIR="$RPM_BUILD_ROOT"
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/xinit/xinitrc.d/%{name}
70 install imwheelrc $RPM_BUILD_ROOT%{_sysconfdir}/imwheelrc
73 rm -rf $RPM_BUILD_ROOT
76 %defattr(644,root,root,755)
77 %doc AUTHORS BUGS ChangeLog README EMACS NEWS TODO
78 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/imwheelrc
79 %attr(755,root,root) %{_sysconfdir}/xinit/xinitrc.d/imwheel
80 %attr(755,root,root) %{_bindir}/imwheel
81 %{_mandir}/man?/imwheel*