Switch to meson build system
This commit is contained in:
parent
cc82a4d7c8
commit
dcd5dbe649
22
wayland.spec
22
wayland.spec
@ -7,15 +7,15 @@ License: MIT
|
|||||||
URL: http://wayland.freedesktop.org/
|
URL: http://wayland.freedesktop.org/
|
||||||
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
Source0: http://wayland.freedesktop.org/releases/%{name}-%{version}.tar.xz
|
||||||
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: chrpath
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: docbook-style-xsl
|
BuildRequires: docbook-style-xsl
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: expat-devel
|
BuildRequires: expat-devel
|
||||||
BuildRequires: graphviz
|
BuildRequires: graphviz
|
||||||
BuildRequires: libxml2-devel
|
BuildRequires: libxml2-devel
|
||||||
BuildRequires: libxslt
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig(libffi)
|
BuildRequires: pkgconfig(libffi)
|
||||||
BuildRequires: xmlto
|
BuildRequires: xmlto
|
||||||
|
|
||||||
@ -73,21 +73,14 @@ Wayland server library
|
|||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --enable-documentation
|
%meson
|
||||||
make %{?_smp_mflags}
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install
|
%meson_install
|
||||||
|
|
||||||
find $RPM_BUILD_ROOT -name \*.la | xargs rm -f
|
|
||||||
|
|
||||||
# Remove lib64 rpaths
|
|
||||||
chrpath -d $RPM_BUILD_ROOT%{_libdir}/libwayland-cursor.so
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
mkdir -m 700 tests/run
|
%meson_test
|
||||||
XDG_RUNTIME_DIR=$PWD/tests/run make check || \
|
|
||||||
{ rc=$?; cat test-suite.log; exit $rc; }
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%{_bindir}/wayland-scanner
|
%{_bindir}/wayland-scanner
|
||||||
@ -102,7 +95,7 @@ XDG_RUNTIME_DIR=$PWD/tests/run make check || \
|
|||||||
%{_mandir}/man3/*.3*
|
%{_mandir}/man3/*.3*
|
||||||
|
|
||||||
%files doc
|
%files doc
|
||||||
%doc README TODO
|
%doc README
|
||||||
%{_datadir}/doc/wayland/
|
%{_datadir}/doc/wayland/
|
||||||
|
|
||||||
%files -n libwayland-client
|
%files -n libwayland-client
|
||||||
@ -124,6 +117,7 @@ XDG_RUNTIME_DIR=$PWD/tests/run make check || \
|
|||||||
%changelog
|
%changelog
|
||||||
* Thu Jan 28 2021 Kalev Lember <klember@redhat.com> - 1.19.0-1
|
* Thu Jan 28 2021 Kalev Lember <klember@redhat.com> - 1.19.0-1
|
||||||
- Update to 1.19.0
|
- Update to 1.19.0
|
||||||
|
- Switch to meson build system
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-3
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user