-Summary: X.org input driver for HyperPen devices
-Summary(pl): Sterownik wej¶ciowy X.org dla urz±dzeñ HyperPen
+Summary: X.org input driver for Aiptek HyperPen devices
+Summary(pl.UTF-8): Sterownik wejściowy X.org dla urządzeń Aiptek HyperPen
Name: xorg-driver-input-hyperpen
-Version: 1.0.0.1
-Release: 0.1
+Version: 1.4.0
+Release: 1
License: MIT
Group: X11/Applications
-Source0: http://xorg.freedesktop.org/releases/X11R7.0-RC1/driver/xf86-input-hyperpen-%{version}.tar.bz2
-# Source0-md5: 202b38fa2364b4d67ea8ee608c203e3c
+Source0: http://xorg.freedesktop.org/releases/individual/driver/xf86-input-hyperpen-%{version}.tar.bz2
+# Source0-md5: 06c5b5e03daa042c543a38a175379db3
URL: http://xorg.freedesktop.org/
BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: libtool
BuildRequires: pkgconfig >= 1:0.19
-BuildRequires: xorg-proto-xproto-devel
-BuildRequires: xorg-util-util-macros >= 0.99.1
-BuildRequires: xorg-xserver-server-devel
+BuildRequires: rpmbuild(macros) >= 1.389
+BuildRequires: xorg-proto-inputproto-devel
+BuildRequires: xorg-proto-randrproto-devel
+BuildRequires: xorg-util-util-macros >= 0.99.2
+BuildRequires: xorg-xserver-server-devel >= 1.10.0
+%{?requires_xorg_xserver_xinput}
+Requires: xorg-xserver-server >= 1.10.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-X.org input driver for HyperPen devices.
+X.org input driver for Aiptek HyperPen devices. It supports Aiptek
+HyperPen 6000.
-%description -l pl
-Sterownik wej¶ciowy X.org dla urz±dzeñ HyperPen.
+%description -l pl.UTF-8
+Sterownik wejściowy X.org dla urządzeń Aiptek HyperPen. Obsługuje
+Aiptek HyperPen 6000.
%prep
%setup -q -n xf86-input-hyperpen-%{version}
%{__autoconf}
%{__autoheader}
%{__automake}
-%configure \
- --disable-static
+%configure
%{__make}
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT \
- drivermandir=%{_mandir}/man4
+ DESTDIR=$RPM_BUILD_ROOT
-rm -f $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/*/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
+%doc COPYING ChangeLog README
%attr(755,root,root) %{_libdir}/xorg/modules/input/hyperpen_drv.so
-#%{_mandir}/man4/hyperpen.4x*
+#%{_mandir}/man4/hyperpen.4*