]> git.pld-linux.org Git - SPECS.git/blob - imwheel.spec
SPECS updated Tue 30 Apr 15:06:09 CEST 2024
[SPECS.git] / imwheel.spec
1 # TODO:
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
5 Name:           imwheel
6 Version:        1.0.0
7 Release:        0.1
8 License:        GPL
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)
23
24 %define         _sysconfdir     /etc/X11
25
26 %description
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.
30
31 It does it by emulating key sequences, which are configurable on
32 per-program basis.
33
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
37 oraz innych.
38
39 Imwheel pozwala powiązać sekwencje klawiszy z obrotami kółek myszy,
40 przy czym dla każdego programu mogą one być inne.
41
42 %prep
43 %setup -q -n %{name}-%{version}pre12
44 %patch0 -p1
45
46 %build
47 rm -f missing
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %configure \
52         --with-x \
53         --disable-gpm \
54         --enable-mdetect \
55         --enable-mdump \
56         --enable-extras 
57 #       --with-pid-dir=dir
58
59 %{__make} \
60         DESTDIR="$RPM_BUILD_ROOT"
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64 install -d $RPM_BUILD_ROOT%{_sysconfdir}/xinit/xinitrc.d
65
66 %{__make} install \
67         DESTDIR="$RPM_BUILD_ROOT"
68
69 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/xinit/xinitrc.d/%{name}
70 install imwheelrc $RPM_BUILD_ROOT%{_sysconfdir}/imwheelrc
71
72 %clean
73 rm -rf $RPM_BUILD_ROOT
74
75 %files
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*
This page took 0.123312 seconds and 3 git commands to generate.