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