summaryrefslogtreecommitdiff
path: root/xorg-x11-drv-wacom.spec
blob: d0689ee76283aab646574e80f0f739ae5afce957 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
%global moduledir %(pkg-config xorg-server --variable=moduledir )

Name:           xorg-x11-drv-wacom
Version:        1.2.3
Release:        1
License:        GPL-2.0-or-later
Summary:        Xorg X11 wacom input driver
URL:            https://www.x.org
Source0:        https://github.com/linuxwacom/xf86-input-wacom/releases/download/xf86-input-wacom-%{version}/xf86-input-wacom-%{version}.tar.bz2
Patch0:         xf86-input-wacom-fix-variable-name-when-dealing-with-systemd-unit-dir.patch

BuildRequires: meson >= 0.51.0
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(inputproto)
BuildRequires: pkgconfig(kbproto)
BuildRequires: pkgconfig(libevdev)
BuildRequires: pkgconfig(libudev)
BuildRequires: pkgconfig(randrproto)
BuildRequires: pkgconfig(x11)
BuildRequires: pkgconfig(xext)
BuildRequires: pkgconfig(xi)
BuildRequires: pkgconfig(xinerama)
BuildRequires: pkgconfig(xorg-server) >= 1.13.0
BuildRequires: pkgconfig(xproto)
BuildRequires: pkgconfig(xrandr)
Requires:       Xorg %(xserver-sdk-abi-requires ansic) Xorg %(xserver-sdk-abi-requires xinput)

Provides:       linuxwacom = %{version}-%{release}
Obsoletes:      linuxwacom < 0.8.4.3
Provides:       %{name}-serial-support = %{version}-%{release}
Obsoletes:      %{name}-serial-support < %{version}-%{release}

%description
X.Org X11 wacom input driver for Wacom tablets.

%package        devel
Summary:        Xorg X11 wacom input driver development package
Requires:       xorg-x11-server-devel >= 1.13.0

%description    devel
X.Org X11 wacom input driver development files.

%package_help

%prep
%autosetup -n xf86-input-wacom-%{version} -p1

%build
# disable unittests due to missing python3-libevdev in everything
%meson -Dunittests=disabled
%meson_build

%install
%meson_install
mv %{buildroot}%{_udevrulesdir}/wacom.rules %{buildroot}%{_udevrulesdir}/70-wacom.rules

%check
%meson_test

%files
%doc AUTHORS
%license GPL
%{_datadir}/X11/xorg.conf.d/70-wacom.conf
%{_udevrulesdir}/70-wacom.rules
%{_bindir}/isdv4-serial-inputattach
%{_bindir}/xsetwacom
%{moduledir}/input/wacom_drv.so

%files  devel
%{_libdir}/pkgconfig/*.pc
%{_bindir}/isdv4-serial-debugger
%{_includedir}/xorg/*.h

%files  help
%doc ChangeLog
%{_mandir}/man4/wacom.4*
%{_mandir}/man1/xsetwacom.1*

%changelog
* Sun Nov 17 2024 Funda Wang <fundawang@yeah.net> - 1.2.3-1
- update to 1.2.3

* Fri Jul 14 2023 zhangpan <zhangpan103@h-partners.com> - 1.2.0-1
- upgrade to 1.2.0

* Wed Oct 26 2022 wangkerong <wangkerong@h-partners.com> - 1.1.0-1
- upgrade to 1.1.0

* Sat Nov 27 2021 yangcheng <yangcheng87@huawei.com> - 0.40.0-1
- upgrade to 0.40.0

* Sat Jan 30 2021 jinzhimin <jinzhimin2@huawei.com> - 0.39.0-1
- upgrade to 0.39.0

* Fri Oct 11 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.36.1-6
- Package init