Rebase to 10.0 release
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
1d74eb4bf5
commit
73f66ac1dd
2
.gitignore
vendored
2
.gitignore
vendored
@ -2,4 +2,4 @@
|
|||||||
*.rpm
|
*.rpm
|
||||||
x86_64
|
x86_64
|
||||||
i386
|
i386
|
||||||
virt-viewer-*.tar.gz
|
virt-viewer-*.tar.xz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (virt-viewer-9.0.tar.gz) = a5901d76c3e144fa3d6e640de93ed7f1e7cbeb075c04cdbe4a8c9c09bce96104ea552484df5e84c7a69af8dddd1177123ddb81b2dac775a98ac312f3102daae2
|
SHA512 (virt-viewer-10.0.tar.xz) = 82ed552337c3d71d762aed14e6fb20a123448fd5cf8c51f8f942ddd226ee2a4fa3ab8b9b893bbdde16628fb03363f2455e1d895074237d40ff567d642d216fd3
|
||||||
|
@ -1,62 +1,42 @@
|
|||||||
# -*- rpm-spec -*-
|
# -*- rpm-spec -*-
|
||||||
|
|
||||||
# Default to skipping autoreconf. Distros can change just this one line
|
%if 0%{?rhel} >= 9
|
||||||
# (or provide a command-line override) if they backport any patches that
|
%global with_govirt 0
|
||||||
# touch configure.ac or Makefile.am.
|
%global with_spice 0
|
||||||
%{!?enable_autotools:%global enable_autotools 0}
|
%else
|
||||||
|
%global with_govirt 1
|
||||||
%define with_spice 0
|
%global with_spice 1
|
||||||
%if 0%{?fedora} >= 17 || 0%{?rhel} >= 6
|
|
||||||
%define with_spice 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%define with_govirt 0
|
|
||||||
%if 0%{?fedora} > 19 || 0%{?rhel} >= 7
|
|
||||||
%define with_govirt 1
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: virt-viewer
|
Name: virt-viewer
|
||||||
Version: 9.0
|
Version: 10.0
|
||||||
Release: 3%{?dist}%{?extra_release}
|
Release: 1%{?dist}
|
||||||
Summary: Virtual Machine Viewer
|
Summary: Virtual Machine Viewer
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
URL: http://virt-manager.org/
|
URL: https://gitlab.com/virt-viewer/virt-viewer
|
||||||
Source0: http://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.gz
|
Source0: https://virt-manager.org/download/sources/%{name}/%{name}-%{version}.tar.xz
|
||||||
Requires: openssh-clients
|
Requires: openssh-clients
|
||||||
Requires(post): %{_sbindir}/update-alternatives
|
|
||||||
Requires(postun): %{_sbindir}/update-alternatives
|
|
||||||
Requires(post): desktop-file-utils
|
|
||||||
Requires(postun): desktop-file-utils
|
|
||||||
|
|
||||||
%if 0%{?enable_autotools}
|
|
||||||
BuildRequires: autoconf
|
|
||||||
BuildRequires: automake
|
|
||||||
BuildRequires: gettext-devel
|
|
||||||
BuildRequires: libtool
|
|
||||||
%endif
|
|
||||||
|
|
||||||
BuildRequires: make
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: pkgconfig(glib-2.0) >= 2.40
|
BuildRequires: meson
|
||||||
BuildRequires: pkgconfig(gtk+-3.0) >= 3.12
|
BuildRequires: pkgconfig(glib-2.0)
|
||||||
BuildRequires: pkgconfig(libvirt) >= 0.10.0
|
BuildRequires: pkgconfig(gtk+-3.0)
|
||||||
BuildRequires: pkgconfig(libvirt-glib-1.0) >= 0.1.8
|
BuildRequires: pkgconfig(libvirt)
|
||||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.6.0
|
BuildRequires: pkgconfig(libvirt-glib-1.0)
|
||||||
BuildRequires: pkgconfig(gtk-vnc-2.0) >= 0.4.0
|
BuildRequires: pkgconfig(libxml-2.0)
|
||||||
|
BuildRequires: pkgconfig(gtk-vnc-2.0)
|
||||||
BuildRequires: pkgconfig(vte-2.91)
|
BuildRequires: pkgconfig(vte-2.91)
|
||||||
%if %{with_spice}
|
%if %{with_spice}
|
||||||
BuildRequires: pkgconfig(spice-client-gtk-3.0) >= 0.35
|
BuildRequires: pkgconfig(spice-client-gtk-3.0)
|
||||||
BuildRequires: pkgconfig(spice-protocol) >= 0.12.7
|
BuildRequires: pkgconfig(spice-protocol)
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: /usr/bin/pod2man
|
BuildRequires: /usr/bin/pod2man
|
||||||
BuildRequires: intltool
|
BuildRequires: gettext
|
||||||
%if %{with_govirt}
|
%if %{with_govirt}
|
||||||
BuildRequires: pkgconfig(govirt-1.0) >= 0.3.3
|
BuildRequires: pkgconfig(govirt-1.0)
|
||||||
%endif
|
BuildRequires: pkgconfig(rest-0.7)
|
||||||
|
|
||||||
%if 0%{?fedora} >= 20
|
|
||||||
Obsoletes: spice-client < 0.12.3-2
|
|
||||||
%endif
|
%endif
|
||||||
|
BuildRequires: pkgconfig(bash-completion)
|
||||||
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -68,44 +48,30 @@ the display, and libvirt for looking up VNC/SPICE server details.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%meson -Dbuild-id=%{release}
|
||||||
%if 0%{?enable_autotools}
|
%meson_build
|
||||||
autoreconf -if
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with_spice}
|
|
||||||
%define spice_arg --with-spice-gtk
|
|
||||||
%else
|
|
||||||
%define spice_arg --without-spice-gtk
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if %{with_govirt}
|
|
||||||
%define govirt_arg --with-ovirt
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%configure %{spice_arg} %{govirt_arg} --with-vte --with-buildid=%{release} --disable-update-mimedb
|
|
||||||
%__make %{?_smp_mflags}
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
%meson_install
|
||||||
%__make install DESTDIR=$RPM_BUILD_ROOT
|
|
||||||
%find_lang %{name}
|
|
||||||
|
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc README.md COPYING AUTHORS ChangeLog NEWS
|
%doc README.md COPYING AUTHORS ChangeLog NEWS
|
||||||
%{_bindir}/%{name}
|
%{_bindir}/%{name}
|
||||||
%{_bindir}/remote-viewer
|
%{_bindir}/remote-viewer
|
||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
%{_datadir}/icons/hicolor/*/devices/*
|
|
||||||
%{_datadir}/applications/remote-viewer.desktop
|
%{_datadir}/applications/remote-viewer.desktop
|
||||||
%{_datadir}/appdata/remote-viewer.appdata.xml
|
%{_datadir}/metainfo/remote-viewer.appdata.xml
|
||||||
%{_datadir}/mime/packages/virt-viewer-mime.xml
|
%{_datadir}/mime/packages/virt-viewer-mime.xml
|
||||||
%{_mandir}/man1/virt-viewer.1*
|
%{_mandir}/man1/virt-viewer.1*
|
||||||
%{_mandir}/man1/remote-viewer.1*
|
%{_mandir}/man1/remote-viewer.1*
|
||||||
|
%{_datadir}/bash-completion/completions/virt-viewer
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Apr 20 2021 Daniel P. Berrangé <berrange@redhat.com> - 10.0-1
|
||||||
|
- Update to 10.0 release
|
||||||
|
|
||||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.0-3
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 9.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