update version

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