Summary: X.org input driver for Wacom tablets
Summary(pl.UTF-8): Sterownik wejściowy X.org dla tabletów Wacom
Name: xorg-driver-input-wacom
-Version: 0.31.0
-Release: 1
+Version: 0.40.0
+Release: 2
License: GPL v2+
Group: X11/Applications
-Source0: http://downloads.sourceforge.net/linuxwacom/xf86-input-wacom-%{version}.tar.bz2
-# Source0-md5: e6a2e87b73e2744f839c410d41e6cf8d
-URL: http://xorg.freedesktop.org/
+#Source0Download: https://github.com/linuxwacom/xf86-input-wacom/releases
+Source0: https://github.com/linuxwacom/xf86-input-wacom/releases/download/xf86-input-wacom-%{version}/xf86-input-wacom-%{version}.tar.bz2
+# Source0-md5: e97a5230d1875d288010b3df1b332ed5
+URL: https://linuxwacom.github.io/
BuildRequires: autoconf >= 2.60
BuildRequires: automake
BuildRequires: doxygen >= 1.6.1
BuildRequires: xorg-xserver-server-devel >= 1.7.0
Requires: xorg-xserver-server >= 1.7.0
%requires_xorg_xserver_xinput
-Obsoletes: linuxwacom
+Obsoletes: linuxwacom < 0.12.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
X.org input driver for Wacom tablets.
%description -l pl.UTF-8
-Sterownik wejściowy X.org dla tabletów Wacom
+Sterownik wejściowy X.org dla tabletów Wacom.
%package devel
Summary: Header file for wacom driver
Requires: xorg-proto-xproto-devel
%description devel
-Header file for wacom driver
+Header file for wacom driver.
%description devel -l pl.UTF-8
-Plik nagłówkowy sterownika wacom
+Plik nagłówkowy sterownika wacom.
%prep
%setup -q -n xf86-input-wacom-%{version}
%install
rm -rf $RPM_BUILD_ROOT
+
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc AUTHORS ChangeLog README
+%doc AUTHORS ChangeLog
%attr(755,root,root) %{_bindir}/isdv4-serial-inputattach
%attr(755,root,root) %{_bindir}/xsetwacom
%attr(755,root,root) %{_libdir}/xorg/modules/input/wacom_drv.so
-%{_datadir}/X11/xorg.conf.d/50-wacom.conf
+%{_datadir}/X11/xorg.conf.d/70-wacom.conf
%{systemdunitdir}/wacom-inputattach@.service
/lib/udev/rules.d/wacom.rules
%{_mandir}/man1/xsetwacom.1*