X-Git-Url: https://git.pld-linux.org/?a=blobdiff_plain;ds=sidebyside;f=xorg-driver-input-hyperpen.spec;h=d4f883341cebe6439459a4bb9400af7480dda710;hb=0ac5c98a3780eb449ad0abdc8d70995692d005d1;hp=fb913672073863535740828e717f8dab2cc86d58;hpb=261e88268a80f9914f751676ea72ddccaf1d34e5;p=packages%2Fxorg-driver-input-hyperpen.git diff --git a/xorg-driver-input-hyperpen.spec b/xorg-driver-input-hyperpen.spec index fb91367..d4f8833 100644 --- a/xorg-driver-input-hyperpen.spec +++ b/xorg-driver-input-hyperpen.spec @@ -1,30 +1,38 @@ -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.1 +Release: 8 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: 75dc36477a291f8c2f7c808ab78a400a +Patch0: am.patch 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} +%patch0 -p1 %build %{__libtoolize} @@ -32,8 +40,7 @@ Sterownik wej %{__autoconf} %{__autoheader} %{__automake} -%configure \ - --disable-static +%configure %{__make} @@ -41,15 +48,15 @@ Sterownik wej 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*