1 # NOTE: doesn't build with current xserver
2 Summary: X.org input driver for Aiptek HyperPen devices
3 Summary(pl.UTF-8): Sterownik wejściowy X.org dla urządzeń Aiptek HyperPen
4 Name: xorg-driver-input-hyperpen
8 Group: X11/Applications
9 Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-hyperpen-%{version}.tar.bz2
10 # Source0-md5: c50d0da3206d18d9d94f720e3688eca5
11 URL: http://xorg.freedesktop.org/
12 BuildRequires: autoconf >= 2.57
13 BuildRequires: automake
14 BuildRequires: libtool
15 BuildRequires: pkgconfig >= 1:0.19
16 BuildRequires: xorg-proto-inputproto-devel
17 BuildRequires: xorg-proto-randrproto-devel
18 BuildRequires: xorg-util-util-macros >= 0.99.2
19 BuildRequires: xorg-xserver-server-devel >= 1.0.99.901
20 BuildRequires: rpmbuild(macros) >= 1.389
21 %{?requires_xorg_xserver_xinput}
22 Requires: xorg-xserver-server >= 1.0.99.901
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 X.org input driver for Aiptek HyperPen devices. It supports Aiptek
29 %description -l pl.UTF-8
30 Sterownik wejściowy X.org dla urządzeń Aiptek HyperPen. Obsługuje
34 %setup -q -n xf86-input-hyperpen-%{version}
47 rm -rf $RPM_BUILD_ROOT
50 DESTDIR=$RPM_BUILD_ROOT
52 rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc COPYING ChangeLog README
60 %attr(755,root,root) %{_libdir}/xorg/modules/input/hyperpen_drv.so
61 #%{_mandir}/man4/hyperpen.4*