]>
Commit | Line | Data |
---|---|---|
4490373c ER |
1 | Summary: X.org input driver for Wacom tablets |
2 | Summary(pl.UTF-8): Sterownik wejściowy X.org dla tabletów Wacom | |
3 | Name: xorg-driver-input-wacom | |
142ee046 | 4 | Version: 1.2.2 |
2168d60b | 5 | Release: 1 |
7647b0f6 | 6 | License: GPL v2+ |
4490373c | 7 | Group: X11/Applications |
866ae983 JB |
8 | #Source0Download: https://github.com/linuxwacom/xf86-input-wacom/releases |
9 | Source0: https://github.com/linuxwacom/xf86-input-wacom/releases/download/xf86-input-wacom-%{version}/xf86-input-wacom-%{version}.tar.bz2 | |
142ee046 | 10 | # Source0-md5: bd72f813b094b79b450e50a95476977b |
866ae983 | 11 | URL: https://linuxwacom.github.io/ |
7647b0f6 | 12 | BuildRequires: autoconf >= 2.60 |
4490373c | 13 | BuildRequires: automake |
7647b0f6 JB |
14 | BuildRequires: doxygen >= 1.6.1 |
15 | BuildRequires: pkgconfig | |
16 | BuildRequires: udev-devel | |
17 | BuildRequires: xorg-lib-libX11-devel | |
7e9c0b82 | 18 | BuildRequires: xorg-lib-libXext-devel |
7647b0f6 JB |
19 | BuildRequires: xorg-lib-libXi-devel |
20 | BuildRequires: xorg-lib-libXinerama-devel | |
21 | BuildRequires: xorg-lib-libXrandr-devel | |
22 | BuildRequires: xorg-proto-inputproto-devel | |
23 | BuildRequires: xorg-proto-kbproto-devel | |
24 | BuildRequires: xorg-proto-randrproto-devel | |
25 | BuildRequires: xorg-proto-xproto-devel | |
26 | BuildRequires: xorg-util-util-macros >= 1.8 | |
2168d60b JB |
27 | BuildRequires: xorg-xserver-server-devel >= 1.13.0 |
28 | Requires: xorg-xserver-server >= 1.13.0 | |
4490373c | 29 | %requires_xorg_xserver_xinput |
1c15bd57 | 30 | Obsoletes: linuxwacom < 0.12.0 |
4490373c ER |
31 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
32 | ||
33 | %description | |
34 | X.org input driver for Wacom tablets. | |
35 | ||
36 | %description -l pl.UTF-8 | |
1c15bd57 | 37 | Sterownik wejściowy X.org dla tabletów Wacom. |
4490373c ER |
38 | |
39 | %package devel | |
40 | Summary: Header file for wacom driver | |
41 | Summary(pl.UTF-8): Plik nagłówkowy sterownika wacom | |
7647b0f6 JB |
42 | Group: X11/Development/Libraries |
43 | Requires: xorg-proto-xproto-devel | |
4490373c ER |
44 | |
45 | %description devel | |
1c15bd57 | 46 | Header file for wacom driver. |
4490373c ER |
47 | |
48 | %description devel -l pl.UTF-8 | |
1c15bd57 | 49 | Plik nagłówkowy sterownika wacom. |
4490373c ER |
50 | |
51 | %prep | |
52 | %setup -q -n xf86-input-wacom-%{version} | |
53 | ||
54 | %build | |
55 | %{__libtoolize} | |
56 | %{__aclocal} | |
57 | %{__autoconf} | |
58 | %{__autoheader} | |
59 | %{__automake} | |
60 | %configure \ | |
7e9c0b82 JB |
61 | --enable-debug \ |
62 | --with-systemd-unit-dir=%{systemdunitdir} \ | |
63 | --with-udev-rules-dir=/lib/udev/rules.d | |
4490373c ER |
64 | |
65 | %{__make} | |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
a09786bf | 69 | |
4490373c ER |
70 | %{__make} install \ |
71 | DESTDIR=$RPM_BUILD_ROOT | |
72 | ||
7647b0f6 JB |
73 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xorg/modules/input/wacom_drv.la |
74 | ||
4490373c ER |
75 | %clean |
76 | rm -rf $RPM_BUILD_ROOT | |
77 | ||
78 | %files | |
79 | %defattr(644,root,root,755) | |
866ae983 | 80 | %doc AUTHORS ChangeLog |
7e9c0b82 | 81 | %attr(755,root,root) %{_bindir}/isdv4-serial-inputattach |
4490373c | 82 | %attr(755,root,root) %{_bindir}/xsetwacom |
7647b0f6 | 83 | %attr(755,root,root) %{_libdir}/xorg/modules/input/wacom_drv.so |
71e6a3fd | 84 | %{_datadir}/X11/xorg.conf.d/70-wacom.conf |
7e9c0b82 JB |
85 | %{systemdunitdir}/wacom-inputattach@.service |
86 | /lib/udev/rules.d/wacom.rules | |
4490373c ER |
87 | %{_mandir}/man1/xsetwacom.1* |
88 | %{_mandir}/man4/wacom.4* | |
89 | ||
90 | %files devel | |
91 | %defattr(644,root,root,755) | |
92 | %attr(755,root,root) %{_bindir}/isdv4-serial-debugger | |
93 | %{_includedir}/xorg/Xwacom.h | |
94 | %{_includedir}/xorg/wacom-properties.h | |
d924c1fa | 95 | %{_includedir}/xorg/wacom-util.h |
4490373c ER |
96 | %{_includedir}/xorg/isdv4.h |
97 | %{_pkgconfigdir}/xorg-wacom.pc |