From 5e173e2cbb245cdd18c9074c3e1ee732b0791889 Mon Sep 17 00:00:00 2001 From: Raphael Groner Date: Jun 01 2016 20:41:27 +0000 Subject: upload sources --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8ad5eb5 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +/qt-virt-manager-0.16.38.tar.gz +/qt-virt-manager-0.22.42.tar.gz +/qt-virt-manager-0.22.45.tar.gz +/0.22.45.tar.gz +/0.25.47.tar.gz +/0.27.50.tar.gz diff --git a/qt-virt-manager.spec b/qt-virt-manager.spec new file mode 100644 index 0000000..d250a75 --- /dev/null +++ b/qt-virt-manager.spec @@ -0,0 +1,157 @@ +%global binname qt5-virt-manager + +Name: qt-virt-manager +Version: 0.27.50 +Release: 4%{?dist} +Summary: Qt Virtual Machine Manager + +License: GPLv2+ +URL: http://f1ash.github.io/%{name} +Source0: https://github.com/F1ash/%{name}/archive/%{version}.tar.gz + +# be compatible with prior subpackages +Provides: virt-manager-qt4 = %{version}-%{release} +Obsoletes: virt-manager-qt4 <= 0.25.47 +Obsoletes: virt-manager-qt5 <= 0.25.47 + +Requires: hicolor-icon-theme + +Requires: libvirt +Requires: qtermwidget-qt5 >= 0.6.0-2 + +# for use qemu-kvm (more useful) +Requires: qemu-kvm +Requires: libvirt-daemon-driver-qemu + +# for use SPICE viewer +# spice-server exist in libvirt-daemon-driver-qemu Requires in Fedora +#Requires: spice-server +Requires: spice-vdagent + +# for scrubbing (optional) +Suggests: scrub +# netcat for ssh-transported remote connections (optional) +Suggests: nc + +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtmultimedia-devel +BuildRequires: qt5-qtsvg-devel +BuildRequires: qtermwidget-qt5-devel >= 0.6.0-2 + +BuildRequires: libvirt-devel +BuildRequires: glibc-headers +BuildRequires: desktop-file-utils +BuildRequires: cmake +BuildRequires: glib2-devel +BuildRequires: spice-protocol +BuildRequires: spice-glib-devel +%if %{?fedora}>=24 +BuildRequires: libcacard-devel +%endif + +%description +Qt Virtual Machine Manager provides a graphical tool for +administering virtual machines for QEMU/KVM, Xen, and LXC +and other Virtual Entities. +Start, stop, add or remove virtual devices, connect to a +graphical or serial console, and see resource usage +statistics for existing VMs on local or remote machines. +Uses libvirt as the backend management API. + + +%prep +%setup -q + +%build +mkdir -p %{_target_platform} +pushd %{_target_platform} +%cmake -DBUILD_QT_VERSION=5 \ +%if %{?fedora}>=24 + -DWITH_LIBCACARD=1 \ +%endif + .. +popd +%make_build -C %{_target_platform} + +%install +%make_install -C %{_target_platform} + +%check +desktop-file-validate %{buildroot}/%{_datadir}/applications/%{binname}.desktop + + +%post +/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + /bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null + /usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : +fi + +%posttrans +/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : + + +%files +%license LICENSE Licenses +%doc README.md Changelog +%{_bindir}/%{binname} +%{_datadir}/applications/%{binname}.desktop +%{_datadir}/%{binname}/ +%{_datadir}/icons/hicolor/256x256/apps/virtual-engineering.png + + +%changelog +* Wed Jun 01 2016 Raphael Groner - 0.27.50-4 +- remove broken dependency to nc6 +- add options as Suggests +- remove useless R: xorg-x11-drv-qxl + +* Fri May 13 2016 Raphael Groner - 0.27.50-3 +- rebuilt + +* Wed May 11 2016 Raphael Groner - 0.27.50-2 +- add R: xorg-x11-drv-qxl + +* Wed May 11 2016 Raphael Groner - 0.27.50-1 +- new version, qt5 only + +* Sun Mar 20 2016 Fl@sh - 0.25.47-1 +- fixed RHBZ #1319386; +- version updated; + +* Thu Mar 10 2016 Fl@sh - 0.22.45-1 +- changed URL, BR and %%build for libcacard using after F23 release; +- version updated; + +* Thu Feb 04 2016 Fedora Release Engineering - 0.22.42-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Thu Dec 17 2015 Rex Dieter 0.22.42-2 +- BR: qt5-qtmultimedia-devel (#1292612) + +* Thu Dec 17 2015 Raphael Groner - 0.22.42-1 +- new version + +* Mon Oct 12 2015 Raphael Groner - 0.16.38-3 +- rename sub packages + +* Mon Oct 12 2015 Raphael Groner - 0.16.38-2 +- adjust for review, based on upstream's proposal +- use suffixed binaries + +* Sun Sep 20 2015 Fl@sh - 0.16.38-1 +- improved spec for using SPICE, Qemu/KVM, ssh connections; +- version updated; + +* Tue Jun 23 2015 Fl@sh - 0.12.28-1 +- version updated; + +* Wed May 13 2015 Fl@sh - 0.10.25-1 +- changed %%files for desktop icon; +- version updated; + +* Thu Apr 23 2015 Fl@sh - 0.10.21-1 +- version updated; +- clear %%changelog; diff --git a/sources b/sources new file mode 100644 index 0000000..ecfe5b1 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +aaa3538eaf162ccf141034a4bb0f598e 0.27.50.tar.gz