update to 2.6.0 [release 2.6.0-1mamba;Fri Jul 22 2016]

This commit is contained in:
Silvan Calarco 2024-01-05 17:00:30 +01:00
parent 9b542a88de
commit d717d7630b

View File

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