!6 【LTS升级】libwacom请升级到最新版本

Merge pull request !6 from xinghe/openEuler-20.03-LTS
This commit is contained in:
openeuler-ci-bot 2020-08-17 19:59:47 +08:00 committed by Gitee
commit 7186bbd7ef
3 changed files with 15 additions and 14 deletions

Binary file not shown.

BIN
libwacom-1.4.1.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,14 +1,14 @@
Name: libwacom Name: libwacom
Version: 0.31 Version: 1.4.1
Release: 2 Release: 1
Summary: Wacom Tablets Library Summary: Wacom Tablets Library
Requires: %{name}-data Requires: %{name}-data
License: MIT License: MIT
URL: https://github.com/linuxwacom/libwacom URL: https://github.com/linuxwacom/libwacom
Source0: https://github.com/linuxwacom/libwacom/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2 Source0: https://github.com/linuxwacom/libwacom/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
BuildRequires: autoconf automake libtool doxygen glib2-devel libgudev1-devel BuildRequires: meson gcc glib2-devel libgudev1-devel
BuildRequires: systemd systemd-devel git BuildRequires: systemd systemd-devel libxml2-devel
%description %description
libwacom is a library to identify wacom tablets and their model-specific libwacom is a library to identify wacom tablets and their model-specific
@ -24,7 +24,7 @@ Development package for libwacom.
%package data %package data
Summary: Tablet Information Client Library Library Data Files Summary: Tablet Information Client Library Library Data Files
BuildArch: noarch
%description data %description data
Tablet information client library library data files. Tablet information client library library data files.
@ -32,29 +32,27 @@ Tablet information client library library data files.
%autosetup -n %{name}-%{version} -p1 -Sgit %autosetup -n %{name}-%{version} -p1 -Sgit
%build %build
autoreconf --force -v --install || exit 1 %meson -Dtests=disabled -Ddocumentation=disabled
%configure --disable-static --disable-silent-rules %meson_build
%make_build
%install %install
%make_install INSTALL="install -p" %meson_install
install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir} install -d ${RPM_BUILD_ROOT}/%{_udevrulesdir}
./tools/generate-udev-rules > ${RPM_BUILD_ROOT}/%{_udevrulesdir}/65-libwacom.rules
%check %check
make %{?_smp_mflags} check %meson_test
%ldconfig_scriptlets %ldconfig_scriptlets
%files %files
%{_libdir}/libwacom.so.* %{_libdir}/libwacom.so.*
%{_udevrulesdir}/65-libwacom.rules %{_udevrulesdir}/65-libwacom.rules
%{_udevhwdbdir}/65-libwacom.hwdb
%{_bindir}/libwacom-list-local-devices %{_bindir}/libwacom-list-local-devices
%{_mandir}/man1/libwacom-list-local-devices.1* %{_mandir}/man1/libwacom-list-local-devices.1*
%license COPYING %license COPYING
%doc README %doc README.md
%exclude %{_libdir}/*.la
%files devel %files devel
%{_libdir}/libwacom.so %{_libdir}/libwacom.so
@ -68,5 +66,8 @@ make %{?_smp_mflags} check
%{_datadir}/libwacom/layouts/*.svg %{_datadir}/libwacom/layouts/*.svg
%changelog %changelog
* Wed Aug 12 2020 xinghe <xinghe1@huawei.com> - 1.4.1-1
- Package update
* Tue Aug 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.31-2 * Tue Aug 20 2019 openEuler Buildteam <buildteam@openeuler.org> - 0.31-2
- Package init - Package init