Use meson instead of autotools
This commit is contained in:
parent
9f8c5f7833
commit
0eaf1f8d5d
@ -1,6 +1,6 @@
|
|||||||
Name: libevdev
|
Name: libevdev
|
||||||
Version: 1.9.0
|
Version: 1.9.0
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: Kernel Evdev Device Wrapper Library
|
Summary: Kernel Evdev Device Wrapper Library
|
||||||
|
|
||||||
License: MIT
|
License: MIT
|
||||||
@ -8,7 +8,7 @@ URL: http://www.freedesktop.org/wiki/Software/libevdev
|
|||||||
Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
|
Source0: http://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: git-core
|
BuildRequires: git-core
|
||||||
BuildRequires: automake libtool gcc
|
BuildRequires: meson gcc
|
||||||
BuildRequires: python3 python3-devel
|
BuildRequires: python3 python3-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -35,15 +35,11 @@ Utilities to handle and/or debug evdev devices.
|
|||||||
pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python.*')
|
pathfix.py -i %{__python3} -p -n $(git grep -l '#!/usr/bin/.*python.*')
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf --force -v --install || exit 1
|
%meson -Dtests=disabled -Ddocumentation=disabled -Dcoverity=false
|
||||||
%configure --disable-static --disable-silent-rules --disable-gcov
|
%meson_build
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make install DESTDIR=%{buildroot}
|
%meson_install
|
||||||
|
|
||||||
# We intentionally don't ship *.la files
|
|
||||||
rm -f %{buildroot}%{_libdir}/*.la
|
|
||||||
|
|
||||||
%ldconfig_scriptlets
|
%ldconfig_scriptlets
|
||||||
|
|
||||||
@ -66,6 +62,9 @@ rm -f %{buildroot}%{_libdir}/*.la
|
|||||||
%{_bindir}/libevdev-tweak-device
|
%{_bindir}/libevdev-tweak-device
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Jun 04 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.0-2
|
||||||
|
- Use meson instead of autotools
|
||||||
|
|
||||||
* Mon Mar 02 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.0-1
|
* Mon Mar 02 2020 Peter Hutterer <peter.hutterer@redhat.com> 1.9.0-1
|
||||||
- libevdev 1.9.0
|
- libevdev 1.9.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user