fix build failed
This commit is contained in:
parent
39b992c907
commit
69038c2fdf
@ -1,14 +1,14 @@
|
|||||||
Name: libwacom
|
Name: libwacom
|
||||||
Version: 1.4.1
|
Version: 1.4.1
|
||||||
Release: 1
|
Release: 2
|
||||||
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,30 +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-hwdb > ${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.*
|
||||||
%{_libdir}/udev/hwdb.d/*
|
%{_udevrulesdir}/65-libwacom.rules
|
||||||
%{_libdir}/udev/rules.d/*
|
%{_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.md
|
%doc README.md
|
||||||
%exclude %{_libdir}/*.la
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_libdir}/libwacom.so
|
%{_libdir}/libwacom.so
|
||||||
@ -69,7 +66,10 @@ make %{?_smp_mflags} check
|
|||||||
%{_datadir}/libwacom/layouts/*.svg
|
%{_datadir}/libwacom/layouts/*.svg
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Thu Jul 23 2020 jinzhimin <jinzhimin2@openeuler.org> - 1.4.1-1
|
* Thu Jul 30 2020 jinzhimin<jinzhimin2@huawei.com> - 1.4.1-2
|
||||||
|
- fix build failed
|
||||||
|
|
||||||
|
* Thu Jul 23 2020 jinzhimin <jinzhimin2@huawei.com> - 1.4.1-1
|
||||||
- Package update
|
- 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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user