update to 2.6.0 [release 2.6.0-1mamba;Fri Jul 22 2016]
This commit is contained in:
parent
9b542a88de
commit
d717d7630b
53
qemu.spec
53
qemu.spec
@ -1,6 +1,6 @@
|
||||
Name: qemu
|
||||
Version: 2.4.1
|
||||
Release: 2mamba
|
||||
Version: 2.6.0
|
||||
Release: 1mamba
|
||||
Summary: A generic and open source processor emulator
|
||||
Group: Applications/Emulators
|
||||
Vendor: openmamba
|
||||
@ -66,7 +66,7 @@ BuildRequires: libxen-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libxen-devel >= 4.2.2
|
||||
BuildRequires: libxen-devel >= 4.7
|
||||
BuildRequires: libadplug-devel >= 1.5.1
|
||||
BuildRequires: libglib-static >= 2.34.1-2mamba
|
||||
BuildRequires: libspice-devel
|
||||
@ -88,7 +88,7 @@ QEMU has two operating modes:
|
||||
- User mode emulation (Linux host only). In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU.
|
||||
|
||||
%package guest-agent
|
||||
Group: Applications/Emullators
|
||||
Group: Applications/Emulators
|
||||
Summary: QEMU agent for guest VMs
|
||||
%systemd_requires
|
||||
|
||||
@ -132,7 +132,7 @@ This package contains static user mode emulators. In this mode, QEMU can launch
|
||||
#%patch4 -p1
|
||||
#%endif
|
||||
#%patch5 -p1
|
||||
%patch6 -p1
|
||||
#%patch6 -p1
|
||||
|
||||
%build
|
||||
#:<< ___EOF
|
||||
@ -149,12 +149,12 @@ This package contains static user mode emulators. In this mode, QEMU can launch
|
||||
--disable-curl \
|
||||
--disable-bluez \
|
||||
--disable-system \
|
||||
--disable-smartcard-nss \
|
||||
--disable-strip \
|
||||
--disable-libssh2 \
|
||||
--disable-libnfs \
|
||||
--enable-linux-user
|
||||
|
||||
# --disable-smartcard-nss \
|
||||
# --disable-usb-redir \
|
||||
# --disable-vde \
|
||||
|
||||
@ -216,12 +216,15 @@ install -D -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
|
||||
|
||||
%post
|
||||
# new install
|
||||
%systemd_post qemu.service
|
||||
%systemd_post qemu
|
||||
if [ $1 -gt 1 ]; then
|
||||
systemctl --no-reload preset qemu >/dev/null 2>&1 || :
|
||||
fi
|
||||
:
|
||||
|
||||
%preun
|
||||
# erase
|
||||
%systemd_preun qemu.service
|
||||
%systemd_preun qemu
|
||||
:
|
||||
|
||||
%postun
|
||||
@ -258,7 +261,9 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/%{name}*
|
||||
%exclude %{_bindir}/qemu-ga
|
||||
%{_bindir}/vscclient
|
||||
%{_bindir}/ivshmem-client
|
||||
%{_bindir}/ivshmem-server
|
||||
#%{_bindir}/vscclient
|
||||
%exclude %{_bindir}/%{name}*.static
|
||||
%{_bindir}/virtfs-proxy-helper
|
||||
%{_unitdir}/qemu.service
|
||||
@ -281,28 +286,32 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_bindir}/%{name}-ga
|
||||
%{_unitdir}/qemu-guest-agent.service
|
||||
%{_udevrulesdir}/99-qemu-guest-agent.rules
|
||||
%{_mandir}/man8/qemu-ga.8*
|
||||
|
||||
#% ifnarch x86_64
|
||||
%files -n libcacard
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libcacard.so.*
|
||||
#%files -n libcacard
|
||||
#%defattr(-,root,root)
|
||||
#%{_libdir}/libcacard.so.*
|
||||
|
||||
%files -n libcacard-devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/cacard
|
||||
%{_includedir}/cacard/*.h
|
||||
%{_libdir}/libcacard.a
|
||||
%{_libdir}/libcacard.la
|
||||
%{_libdir}/libcacard.so
|
||||
%{_libdir}/pkgconfig/libcacard.pc
|
||||
%doc LICENSE README
|
||||
#% endif
|
||||
#%files -n libcacard-devel
|
||||
#%defattr(-,root,root)
|
||||
#%dir %{_includedir}/cacard
|
||||
#%{_includedir}/cacard/*.h
|
||||
#%{_libdir}/libcacard.a
|
||||
#%{_libdir}/libcacard.la
|
||||
#%{_libdir}/libcacard.so
|
||||
#%{_libdir}/pkgconfig/libcacard.pc
|
||||
#%doc LICENSE README
|
||||
##% endif
|
||||
|
||||
%files static
|
||||
%defattr(-,root,root)
|
||||
%attr(0755,root,root) %{_bindir}/%{name}*.static
|
||||
|
||||
%changelog
|
||||
* Fri Jul 22 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-1mamba
|
||||
- update to 2.6.0
|
||||
|
||||
* Fri Feb 05 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-2mamba
|
||||
- added qemu-guest-agent package
|
||||
- switch initscript to systemd service
|
||||
|
Loading…
Reference in New Issue
Block a user