mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice-protocol
synced 2025-12-26 14:18:31 +00:00
Update spec file and ci script to use meson as default
Signed-off-by: Eduardo Lima (Etrunko) <etrunko@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
This commit is contained in:
parent
0724605efc
commit
bbad3fb944
@ -8,17 +8,11 @@ variables:
|
||||
before_script:
|
||||
- dnf install -y $DEPS_COMMON
|
||||
|
||||
fedora-autotools:
|
||||
script:
|
||||
# Run with default options
|
||||
- ./autogen.sh
|
||||
- make
|
||||
- make distcheck
|
||||
- rpmlint -o "NetworkEnabled False" spice-protocol.spec
|
||||
- rpmbuild -ta spice-protocol-*.tar.bz2
|
||||
|
||||
fedora-meson:
|
||||
fedora:
|
||||
script:
|
||||
- meson --buildtype=release build-default
|
||||
- ninja -C build-default
|
||||
- ninja -C build-default dist
|
||||
- rpmlint -o "NetworkEnabled False" build-default/spice-protocol.spec
|
||||
- mkdir -p ~/rpmbuild/SOURCES && cp build-default/meson-dist/spice-protocol*.tar.xz ~/rpmbuild/SOURCES/
|
||||
- rpmbuild -ba build-default/spice-protocol.spec
|
||||
|
||||
@ -6,7 +6,7 @@ Group: Development/Libraries
|
||||
# Main headers are BSD, controller / foreign menu are LGPL
|
||||
License: BSD and LGPLv2+
|
||||
URL: https://www.spice-space.org
|
||||
Source0: https://www.spice-space.org/download/releases/%{name}-%{version}.tar.bz2
|
||||
Source0: https://www.spice-space.org/download/releases/%{name}-%{version}.tar.xz
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
@ -18,11 +18,11 @@ and the para-virtual graphics card QXL.
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
%meson
|
||||
%meson_build
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
%meson_install
|
||||
|
||||
|
||||
%files
|
||||
|
||||
Loading…
Reference in New Issue
Block a user