2012-01-05 13:48:38 +01:00
|
|
|
#
|
|
|
|
# spec file for package libwacom
|
|
|
|
#
|
2024-03-08 09:59:52 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2012-01-05 13:48:38 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-01-29 09:46:27 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-01-05 13:48:38 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
Name: libwacom
|
2024-04-22 12:26:06 +02:00
|
|
|
Version: 2.11.0
|
2012-01-05 13:48:38 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Library to identify wacom tablets
|
|
|
|
License: MIT
|
|
|
|
Group: System/Libraries
|
Accepting request 748511 from home:mgorse:branches:hardware
- Update to 1.1:
New devices: Wacom HID 5115
Other change:
* Button codes defined for the 3rd gen Intuos S
Changes from version 1.0:
- udev rules are now installed by default
Changes from version 0.99.901:
New devices
* Lenovo YOGA 720, YOGA 520, IdeaPad FLEX 5, MIIX 520
* Dell XPS 15 9570, Latitude 5175
* HP Spectre x360, Envy x360 Convertible
* Wacom Intuos Pro 2 S, Cintiq 22, DTK-1660E
* Huion 610 Pro v2
* Samsung 930QAA
Other changes:
* New API: libwacom_get_model_name()
* meson build system support
* fixed symbol versioning
* EKR button ordering fixed
* Stylus grouping added
Changes from version 0.33:
- New devices:
* Wacom Bamboo Fun 4x5, Bamboo Fun 6x8, Bamboo1 5x8, Cintiq 16
* HP EliteBook x360, x2, HP Envy x360
* Acer Switch SA5
* Huion H420
* Lenovo Thinkpad L380 Yoga, L390 Yoga, Ideapad Flex, Yoga 730
* Dell Latitude 7390
- Switch to meson for 15.2/tumbleweed
- Remove URI from keyring: file is no longer there.
OBS-URL: https://build.opensuse.org/request/show/748511
OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=8
2019-11-14 11:02:22 +01:00
|
|
|
URL: https://linuxwacom.github.io/
|
2022-06-02 16:46:43 +02:00
|
|
|
Source0: https://github.com/linuxwacom/libwacom/releases/download/libwacom-%{version}/libwacom-%{version}.tar.xz
|
|
|
|
Source1: https://github.com/linuxwacom/libwacom/releases/download/libwacom-%{version}/libwacom-%{version}.tar.xz.sig
|
2023-09-11 15:36:49 +02:00
|
|
|
# Fetched from https://github.com/whot.gpg
|
2021-11-19 11:26:15 +01:00
|
|
|
Source2: %{name}.keyring
|
2012-01-05 13:48:38 +01:00
|
|
|
Source99: baselibs.conf
|
2021-11-02 17:56:55 +01:00
|
|
|
BuildRequires: meson >= 0.51.0
|
2023-09-11 15:36:49 +02:00
|
|
|
BuildRequires: ninja
|
2018-06-07 09:36:16 +02:00
|
|
|
BuildRequires: pkgconfig
|
2012-01-05 13:48:38 +01:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
|
|
|
BuildRequires: pkgconfig(gudev-1.0)
|
2024-03-08 09:59:52 +01:00
|
|
|
BuildRequires: pkgconfig(libevdev) >= 1.7.0
|
Accepting request 748511 from home:mgorse:branches:hardware
- Update to 1.1:
New devices: Wacom HID 5115
Other change:
* Button codes defined for the 3rd gen Intuos S
Changes from version 1.0:
- udev rules are now installed by default
Changes from version 0.99.901:
New devices
* Lenovo YOGA 720, YOGA 520, IdeaPad FLEX 5, MIIX 520
* Dell XPS 15 9570, Latitude 5175
* HP Spectre x360, Envy x360 Convertible
* Wacom Intuos Pro 2 S, Cintiq 22, DTK-1660E
* Huion 610 Pro v2
* Samsung 930QAA
Other changes:
* New API: libwacom_get_model_name()
* meson build system support
* fixed symbol versioning
* EKR button ordering fixed
* Stylus grouping added
Changes from version 0.33:
- New devices:
* Wacom Bamboo Fun 4x5, Bamboo Fun 6x8, Bamboo1 5x8, Cintiq 16
* HP EliteBook x360, x2, HP Envy x360
* Acer Switch SA5
* Huion H420
* Lenovo Thinkpad L380 Yoga, L390 Yoga, Ideapad Flex, Yoga 730
* Dell Latitude 7390
- Switch to meson for 15.2/tumbleweed
- Remove URI from keyring: file is no longer there.
OBS-URL: https://build.opensuse.org/request/show/748511
OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=8
2019-11-14 11:02:22 +01:00
|
|
|
BuildRequires: pkgconfig(libxml-2.0)
|
2020-03-26 06:09:41 +01:00
|
|
|
BuildRequires: doxygen
|
2012-01-05 13:48:38 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
2022-06-02 16:46:43 +02:00
|
|
|
%package -n libwacom9
|
2012-01-05 13:48:38 +01:00
|
|
|
Summary: Library to identify wacom tablets
|
|
|
|
Group: System/Libraries
|
|
|
|
Requires: %{name}-data >= %{version}
|
|
|
|
|
2022-06-02 16:46:43 +02:00
|
|
|
%description -n libwacom9
|
2012-01-05 13:48:38 +01:00
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
|
|
|
%package data
|
|
|
|
Summary: Library to identify wacom tablets -- Data Files
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description data
|
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
2012-05-22 10:10:30 +02:00
|
|
|
%package tools
|
|
|
|
Summary: Library to identify wacom tablets -- Tools
|
|
|
|
Group: Hardware/Other
|
2021-11-19 11:26:15 +01:00
|
|
|
Requires: python3-libevdev
|
|
|
|
Requires: python3-pyudev
|
2012-05-22 10:10:30 +02:00
|
|
|
|
|
|
|
%description tools
|
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
2012-01-05 13:48:38 +01:00
|
|
|
%package devel
|
|
|
|
Summary: Library to identify wacom tablets -- Development Files
|
|
|
|
Group: Development/Libraries/C and C++
|
2022-06-02 16:46:43 +02:00
|
|
|
Requires: libwacom9 = %{version}
|
2012-01-05 13:48:38 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
libwacom is a library to identify wacom tablets and their model-specific
|
|
|
|
features. It provides easy access to information such as "is this a
|
|
|
|
built-in on-screen tablet", "what is the size of this model", etc.
|
|
|
|
|
|
|
|
%prep
|
2024-03-26 10:26:22 +01:00
|
|
|
%autosetup -p1
|
2012-01-05 13:48:38 +01:00
|
|
|
|
|
|
|
%build
|
Accepting request 891576 from home:dirkmueller:Factory
- update to 1.10:
- Duplicate matches in /etc no longer cause conflicts with the
system-provided .tablet files
- libwacom-list-local-devices now prints YAML by default
- New tools:
- libwacom-list-devices lists all supported devices
- libwacom-update-db to update the db after adding tablet files
- New devices:
- Elan 2514 variant 25BF
- Huion H640P
- Lenovo X1 Yoga Gen 6
- Samsung CHromebook Pro
- libwacom can now read tablet and stylus files from /etc/libwacom
- New tool: libwacom-show-stylus to interactively show stylus IDs and serial
numbers
- New devices:
- HP Envy x360, Pro Tablet 508
- Lenovo X1 Yoga Gen5, Yoga6, Ideapad Flex 5, Yoga 7, Yoga C650, L13 Yoga
- Microsoft Surface Go
- New devices:
- Dell XPS 15 7590
- HP EliteBook x360 (830 and 1030), Spectre x360
- Lenovo Thinkpad P15 Gen1, Yoga, Yoga 3, Yoga 11e, X13 Yoga
- New devices:
- Dell XPS 13 2-in-1 9310
- Lenovo IdeaPad Flex 14API, Flex 5
- HP Envy x360, EliteBook x360
- Huawei MateBook HZ-W19
- XP Pen Star G640
OBS-URL: https://build.opensuse.org/request/show/891576
OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=16
2021-05-14 18:47:58 +02:00
|
|
|
%meson -Db_lto=true -Dtests=disabled
|
Accepting request 748511 from home:mgorse:branches:hardware
- Update to 1.1:
New devices: Wacom HID 5115
Other change:
* Button codes defined for the 3rd gen Intuos S
Changes from version 1.0:
- udev rules are now installed by default
Changes from version 0.99.901:
New devices
* Lenovo YOGA 720, YOGA 520, IdeaPad FLEX 5, MIIX 520
* Dell XPS 15 9570, Latitude 5175
* HP Spectre x360, Envy x360 Convertible
* Wacom Intuos Pro 2 S, Cintiq 22, DTK-1660E
* Huion 610 Pro v2
* Samsung 930QAA
Other changes:
* New API: libwacom_get_model_name()
* meson build system support
* fixed symbol versioning
* EKR button ordering fixed
* Stylus grouping added
Changes from version 0.33:
- New devices:
* Wacom Bamboo Fun 4x5, Bamboo Fun 6x8, Bamboo1 5x8, Cintiq 16
* HP EliteBook x360, x2, HP Envy x360
* Acer Switch SA5
* Huion H420
* Lenovo Thinkpad L380 Yoga, L390 Yoga, Ideapad Flex, Yoga 730
* Dell Latitude 7390
- Switch to meson for 15.2/tumbleweed
- Remove URI from keyring: file is no longer there.
OBS-URL: https://build.opensuse.org/request/show/748511
OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=8
2019-11-14 11:02:22 +01:00
|
|
|
%meson_build
|
2012-01-05 13:48:38 +01:00
|
|
|
|
|
|
|
%install
|
Accepting request 748511 from home:mgorse:branches:hardware
- Update to 1.1:
New devices: Wacom HID 5115
Other change:
* Button codes defined for the 3rd gen Intuos S
Changes from version 1.0:
- udev rules are now installed by default
Changes from version 0.99.901:
New devices
* Lenovo YOGA 720, YOGA 520, IdeaPad FLEX 5, MIIX 520
* Dell XPS 15 9570, Latitude 5175
* HP Spectre x360, Envy x360 Convertible
* Wacom Intuos Pro 2 S, Cintiq 22, DTK-1660E
* Huion 610 Pro v2
* Samsung 930QAA
Other changes:
* New API: libwacom_get_model_name()
* meson build system support
* fixed symbol versioning
* EKR button ordering fixed
* Stylus grouping added
Changes from version 0.33:
- New devices:
* Wacom Bamboo Fun 4x5, Bamboo Fun 6x8, Bamboo1 5x8, Cintiq 16
* HP EliteBook x360, x2, HP Envy x360
* Acer Switch SA5
* Huion H420
* Lenovo Thinkpad L380 Yoga, L390 Yoga, Ideapad Flex, Yoga 730
* Dell Latitude 7390
- Switch to meson for 15.2/tumbleweed
- Remove URI from keyring: file is no longer there.
OBS-URL: https://build.opensuse.org/request/show/748511
OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=8
2019-11-14 11:02:22 +01:00
|
|
|
%meson_install
|
2017-06-14 09:21:20 +02:00
|
|
|
|
2021-11-19 11:26:15 +01:00
|
|
|
sed -e 's-#!/usr/bin/env python3-#!/usr/bin/python3-g' -i %{buildroot}%{_bindir}/*
|
2012-01-05 13:48:38 +01:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2024-03-26 10:26:22 +01:00
|
|
|
%python3_fix_shebang
|
2012-01-05 13:48:38 +01:00
|
|
|
|
2020-10-05 10:43:18 +02:00
|
|
|
%check
|
|
|
|
%meson_test
|
2020-10-05 10:27:43 +02:00
|
|
|
|
2022-06-02 16:46:43 +02:00
|
|
|
%post -n libwacom9 -p /sbin/ldconfig
|
|
|
|
%postun -n libwacom9 -p /sbin/ldconfig
|
2012-01-05 13:48:38 +01:00
|
|
|
|
2022-06-02 16:46:43 +02:00
|
|
|
%files -n libwacom9
|
2018-06-07 09:36:16 +02:00
|
|
|
%license COPYING
|
Accepting request 748511 from home:mgorse:branches:hardware
- Update to 1.1:
New devices: Wacom HID 5115
Other change:
* Button codes defined for the 3rd gen Intuos S
Changes from version 1.0:
- udev rules are now installed by default
Changes from version 0.99.901:
New devices
* Lenovo YOGA 720, YOGA 520, IdeaPad FLEX 5, MIIX 520
* Dell XPS 15 9570, Latitude 5175
* HP Spectre x360, Envy x360 Convertible
* Wacom Intuos Pro 2 S, Cintiq 22, DTK-1660E
* Huion 610 Pro v2
* Samsung 930QAA
Other changes:
* New API: libwacom_get_model_name()
* meson build system support
* fixed symbol versioning
* EKR button ordering fixed
* Stylus grouping added
Changes from version 0.33:
- New devices:
* Wacom Bamboo Fun 4x5, Bamboo Fun 6x8, Bamboo1 5x8, Cintiq 16
* HP EliteBook x360, x2, HP Envy x360
* Acer Switch SA5
* Huion H420
* Lenovo Thinkpad L380 Yoga, L390 Yoga, Ideapad Flex, Yoga 730
* Dell Latitude 7390
- Switch to meson for 15.2/tumbleweed
- Remove URI from keyring: file is no longer there.
OBS-URL: https://build.opensuse.org/request/show/748511
OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=8
2019-11-14 11:02:22 +01:00
|
|
|
%doc NEWS README.md
|
2022-06-02 16:46:43 +02:00
|
|
|
%{_libdir}/libwacom.so.9*
|
2012-01-05 13:48:38 +01:00
|
|
|
|
|
|
|
%files data
|
|
|
|
%dir %{_datadir}/libwacom
|
|
|
|
%{_datadir}/libwacom/*.tablet
|
|
|
|
%{_datadir}/libwacom/*.stylus
|
2013-03-15 10:41:32 +01:00
|
|
|
%{_datadir}/libwacom/layouts/
|
2017-06-14 09:21:20 +02:00
|
|
|
%dir %{_udevrulesdir}
|
|
|
|
%{_udevrulesdir}/65-libwacom.rules
|
2020-10-05 10:27:43 +02:00
|
|
|
%dir %{_udevhwdbdir}
|
|
|
|
%{_udevhwdbdir}/65-libwacom.hwdb
|
2012-01-05 13:48:38 +01:00
|
|
|
|
2012-05-22 10:10:30 +02:00
|
|
|
%files tools
|
Accepting request 891576 from home:dirkmueller:Factory
- update to 1.10:
- Duplicate matches in /etc no longer cause conflicts with the
system-provided .tablet files
- libwacom-list-local-devices now prints YAML by default
- New tools:
- libwacom-list-devices lists all supported devices
- libwacom-update-db to update the db after adding tablet files
- New devices:
- Elan 2514 variant 25BF
- Huion H640P
- Lenovo X1 Yoga Gen 6
- Samsung CHromebook Pro
- libwacom can now read tablet and stylus files from /etc/libwacom
- New tool: libwacom-show-stylus to interactively show stylus IDs and serial
numbers
- New devices:
- HP Envy x360, Pro Tablet 508
- Lenovo X1 Yoga Gen5, Yoga6, Ideapad Flex 5, Yoga 7, Yoga C650, L13 Yoga
- Microsoft Surface Go
- New devices:
- Dell XPS 15 7590
- HP EliteBook x360 (830 and 1030), Spectre x360
- Lenovo Thinkpad P15 Gen1, Yoga, Yoga 3, Yoga 11e, X13 Yoga
- New devices:
- Dell XPS 13 2-in-1 9310
- Lenovo IdeaPad Flex 14API, Flex 5
- HP Envy x360, EliteBook x360
- Huawei MateBook HZ-W19
- XP Pen Star G640
OBS-URL: https://build.opensuse.org/request/show/891576
OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=16
2021-05-14 18:47:58 +02:00
|
|
|
%{_bindir}/libwacom-list-devices
|
|
|
|
%{_bindir}/libwacom-update-db
|
|
|
|
%{_bindir}/libwacom-show-stylus
|
2012-05-22 10:10:30 +02:00
|
|
|
%{_bindir}/libwacom-list-local-devices
|
Accepting request 891576 from home:dirkmueller:Factory
- update to 1.10:
- Duplicate matches in /etc no longer cause conflicts with the
system-provided .tablet files
- libwacom-list-local-devices now prints YAML by default
- New tools:
- libwacom-list-devices lists all supported devices
- libwacom-update-db to update the db after adding tablet files
- New devices:
- Elan 2514 variant 25BF
- Huion H640P
- Lenovo X1 Yoga Gen 6
- Samsung CHromebook Pro
- libwacom can now read tablet and stylus files from /etc/libwacom
- New tool: libwacom-show-stylus to interactively show stylus IDs and serial
numbers
- New devices:
- HP Envy x360, Pro Tablet 508
- Lenovo X1 Yoga Gen5, Yoga6, Ideapad Flex 5, Yoga 7, Yoga C650, L13 Yoga
- Microsoft Surface Go
- New devices:
- Dell XPS 15 7590
- HP EliteBook x360 (830 and 1030), Spectre x360
- Lenovo Thinkpad P15 Gen1, Yoga, Yoga 3, Yoga 11e, X13 Yoga
- New devices:
- Dell XPS 13 2-in-1 9310
- Lenovo IdeaPad Flex 14API, Flex 5
- HP Envy x360, EliteBook x360
- Huawei MateBook HZ-W19
- XP Pen Star G640
OBS-URL: https://build.opensuse.org/request/show/891576
OBS-URL: https://build.opensuse.org/package/show/hardware/libwacom?expand=0&rev=16
2021-05-14 18:47:58 +02:00
|
|
|
%{_mandir}/man1/libwacom-list-devices.1%{?ext_man}
|
2019-01-29 09:46:27 +01:00
|
|
|
%{_mandir}/man1/libwacom-list-local-devices.1%{?ext_man}
|
2012-05-22 10:10:30 +02:00
|
|
|
|
2012-01-05 13:48:38 +01:00
|
|
|
%files devel
|
|
|
|
%{_includedir}/libwacom-1.0/
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/libwacom.pc
|
|
|
|
|
|
|
|
%changelog
|