Compare commits
18 Commits
5.2.0-1mam
...
8.2.0-2mam
Author | SHA1 | Date | |
---|---|---|---|
d88db354b3 | |||
af920990da | |||
3e6ca23989 | |||
b45f30954c | |||
4ce524c8da | |||
eec750fe42 | |||
74fa35ad26 | |||
9b1ed6657c | |||
6537b67461 | |||
54f9c5be5b | |||
2f32f466e4 | |||
f71c40bb37 | |||
5d03ee98e3 | |||
81368757ec | |||
54aac64d4b | |||
bff8a5de22 | |||
e043bb1aab | |||
c55ad672dc |
155
qemu.spec
155
qemu.spec
@ -1,12 +1,12 @@
|
||||
Name: qemu
|
||||
Version: 5.2.0
|
||||
Release: 1mamba
|
||||
Version: 8.2.0
|
||||
Release: 2mamba
|
||||
Summary: A generic and open source processor emulator
|
||||
Group: Applications/Emulators
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://qemu.org
|
||||
URL: https://www.qemu.org/
|
||||
Source: https://download.qemu.org/qemu-%{version}.tar.xz
|
||||
#Source: http://wiki.qemu.org/download/qemu-%{version}.tar.bz2
|
||||
Source1: %{name}-initscript
|
||||
@ -23,6 +23,7 @@ Patch5: qemu-1.4.1-texinfo-5.patch
|
||||
Patch6: qemu-1.7.0-virtfs-ftbfs.patch
|
||||
Patch7: qemu-5.2.0-STATX_MNT_ID-missing-workaround.patch
|
||||
License: GPL, LGPL
|
||||
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libSDL2-devel
|
||||
@ -35,34 +36,41 @@ BuildRequires: libcacard-devel
|
||||
BuildRequires: libcairo-devel
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libdw-devel
|
||||
BuildRequires: libepoxy-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libfdt-devel
|
||||
BuildRequires: libfuse3-devel
|
||||
BuildRequires: libgdk-pixbuf-devel
|
||||
BuildRequires: libglib-devel
|
||||
BuildRequires: libgnutls-devel
|
||||
BuildRequires: libgtk3-devel
|
||||
BuildRequires: libjack-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libkeyutils-devel
|
||||
BuildRequires: liblzo-devel
|
||||
BuildRequires: libmesa-devel
|
||||
BuildRequires: libmultipath-tools-devel
|
||||
BuildRequires: libncurses-devel
|
||||
BuildRequires: libndctl-devel
|
||||
BuildRequires: libnettle-devel
|
||||
BuildRequires: libnfs-devel
|
||||
BuildRequires: libnuma-devel
|
||||
BuildRequires: libpam-devel
|
||||
BuildRequires: libpipewire-devel
|
||||
BuildRequires: libpixman-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libpulseaudio-devel
|
||||
BuildRequires: libsasl2-devel
|
||||
BuildRequires: libsdl2_image-devel
|
||||
BuildRequires: libseccomp-devel
|
||||
BuildRequires: libselinux-devel
|
||||
BuildRequires: libsnappy-devel
|
||||
BuildRequires: libsndio-devel
|
||||
BuildRequires: libspice-devel
|
||||
BuildRequires: libssh-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libudev-devel
|
||||
BuildRequires: libusb-devel
|
||||
BuildRequires: libusbredir-devel
|
||||
BuildRequires: libvirglrenderer-devel
|
||||
BuildRequires: libvte-devel
|
||||
%ifarch x86_64 %{ix86}
|
||||
BuildRequires: libxen-devel
|
||||
@ -72,14 +80,14 @@ BuildRequires: libz-devel
|
||||
BuildRequires: libzstd-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libadplug-devel >= 1.5.1
|
||||
BuildRequires: libglib-static >= 2.34.1-2mamba
|
||||
BuildRequires: spice-protocol-devel
|
||||
BuildRequires: libcelt051-devel
|
||||
BuildRequires: libopenssl-static
|
||||
BuildRequires: libbrltty-devel >= 6.1
|
||||
#% if "%{_build_cpu}" != "ppc"
|
||||
#BuildRequires: gcc34
|
||||
#% endif
|
||||
BuildRequires: libfdt-devel
|
||||
BuildRequires: libglib-static >= 2.34.1-2mamba
|
||||
BuildRequires: libmultipath-tools-devel >= 0.9.1
|
||||
BuildRequires: libopenssl-static
|
||||
BuildRequires: python-sphinx_rtd_theme-py3
|
||||
BuildRequires: python-sphinxcontrib-jquery-py3
|
||||
BuildRequires: spice-protocol-devel
|
||||
Conflicts: kvm
|
||||
%systemd_requires
|
||||
|
||||
@ -128,22 +136,13 @@ This package contains static user mode emulators. In this mode, QEMU can launch
|
||||
%setup -q
|
||||
#-D -T
|
||||
#:<< ___EOF
|
||||
#%if "%{_build_cpu}" == "ppc"
|
||||
#%patch0 -p1
|
||||
#%patch1
|
||||
#%patch2
|
||||
#%patch3
|
||||
#%patch4 -p1
|
||||
#%endif
|
||||
#%patch5 -p1
|
||||
#%patch6 -p1
|
||||
%patch7 -p1
|
||||
#%patch7 -p1
|
||||
|
||||
%build
|
||||
#:<< ___EOF
|
||||
# static build for usermode emulation targets only
|
||||
# used by cross platform installation tools like makedist
|
||||
mkdir build-static
|
||||
mkdir -p build-static
|
||||
cd build-static
|
||||
|
||||
../configure \
|
||||
@ -158,10 +157,10 @@ cd build-static
|
||||
--disable-system \
|
||||
--disable-strip \
|
||||
--disable-libnfs \
|
||||
--disable-libxml2 \
|
||||
--disable-gnutls \
|
||||
--enable-linux-user
|
||||
|
||||
# --disable-libxml2 \
|
||||
# --disable-bluez \
|
||||
# --disable-libssh2 \
|
||||
# --disable-smartcard-nss \
|
||||
@ -174,7 +173,7 @@ cd build-static
|
||||
cd ..
|
||||
#___EOF
|
||||
|
||||
mkdir build-dynamic
|
||||
mkdir -p build-dynamic
|
||||
cd build-dynamic
|
||||
|
||||
# dynamic build
|
||||
@ -186,7 +185,7 @@ cd build-dynamic
|
||||
--cc=%{_build}-gcc \
|
||||
--host-cc=%{_host}-gcc \
|
||||
--cpu=%{_host_cpu} \
|
||||
--audio-drv-list="alsa pa" \
|
||||
--audio-drv-list="alsa,pa" \
|
||||
--enable-spice \
|
||||
--enable-usb-redir \
|
||||
--enable-guest-agent
|
||||
@ -222,6 +221,10 @@ install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/qemu-guest-agent.service
|
||||
install -D -m0644 %{SOURCE3} %{buildroot}%{_udevrulesdir}/99-qemu-guest-agent.rules
|
||||
install -D -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
|
||||
|
||||
# FIXME: prevent brp_strip from failing
|
||||
rm -f %{buildroot}%{_datadir}/qemu/hppa-firmware.img
|
||||
rm -f %{buildroot}%{_datadir}/qemu/palcode-clipper
|
||||
|
||||
%find_lang %{name}
|
||||
|
||||
%clean
|
||||
@ -248,41 +251,31 @@ install -D -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
|
||||
find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
:
|
||||
|
||||
%post -n libcacard
|
||||
/sbin/ldconfig
|
||||
:
|
||||
|
||||
%postun -n libcacard
|
||||
/sbin/ldconfig
|
||||
:
|
||||
%post -n libcacard -p /sbin/ldconfig
|
||||
%postun -n libcacard -p /sbin/ldconfig
|
||||
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/%{name}*
|
||||
%{_bindir}/elf2dmp
|
||||
%exclude %{_bindir}/qemu-ga
|
||||
#%{_bindir}/ivshmem-client
|
||||
#%{_bindir}/ivshmem-server
|
||||
%exclude %{_bindir}/%{name}*.static
|
||||
%{_datadir}/applications/qemu.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/qemu.png
|
||||
%{_datadir}/icons/hicolor/*/apps/qemu.bmp
|
||||
%{_datadir}/icons/hicolor/scalable/apps/qemu.svg
|
||||
%{_libexecdir}/qemu-bridge-helper
|
||||
#%{_libexecdir}/qemu-pr-helper
|
||||
%{_libexecdir}/vhost-user-gpu
|
||||
%{_libexecdir}/virtfs-proxy-helper
|
||||
%{_libexecdir}/virtiofsd
|
||||
%{_datadir}/%{name}
|
||||
%{_binfmtdir}/*.conf
|
||||
%{_includedir}/qemu-plugin.h
|
||||
%{_docdir}/%{name}
|
||||
%{_mandir}/man1/qemu*
|
||||
%{_mandir}/man1/qemu*.1*
|
||||
%{_mandir}/man1/virtfs-proxy-helper.1*
|
||||
%{_mandir}/man1/virtiofsd.1*
|
||||
%{_mandir}/man7/qemu-qmp-ref.7*
|
||||
%{_mandir}/man7/qemu-block-drivers.7*
|
||||
%{_mandir}/man7/qemu-cpu-models.7*
|
||||
%{_mandir}/man8/qemu-nbd.8*
|
||||
%{_mandir}/man8/qemu-pr-helper.8*
|
||||
%exclude %{_mandir}/man7/qemu-ga-ref.7*
|
||||
%{_mandir}/man7/qemu-*.7*
|
||||
%{_mandir}/man8/qemu-*.8*
|
||||
%doc COPYING COPYING.LIB
|
||||
|
||||
%files guest-agent
|
||||
@ -295,30 +288,68 @@ 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}/man7/%{name}-ga-ref.7*
|
||||
%{_mandir}/man7/qemu-ga-ref.7*
|
||||
%{_mandir}/man8/qemu-ga.8*
|
||||
|
||||
#% ifnarch x86_64
|
||||
#%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 static
|
||||
%defattr(-,root,root)
|
||||
%attr(0755,root,root) %{_bindir}/%{name}*.static
|
||||
|
||||
%changelog
|
||||
* Mon Dec 25 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 8.2.0-2mamba
|
||||
- rebuilt with virglrenderer
|
||||
|
||||
* Wed Dec 20 2023 Automatic Build System <autodist@mambasoft.it> 8.2.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Nov 21 2023 Automatic Build System <autodist@mambasoft.it> 8.1.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Oct 17 2023 Automatic Build System <autodist@mambasoft.it> 8.1.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Oct 15 2023 Automatic Build System <autodist@mambasoft.it> 8.1.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Aug 26 2023 Automatic Build System <autodist@mambasoft.it> 8.1.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Aug 11 2023 Automatic Build System <autodist@mambasoft.it> 8.0.4-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Jul 11 2023 Automatic Build System <autodist@mambasoft.it> 8.0.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Jun 01 2023 Automatic Build System <autodist@mambasoft.it> 8.0.2-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Apr 21 2023 Automatic Build System <autodist@mambasoft.it> 8.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Wed Apr 12 2023 Automatic Build System <autodist@mambasoft.it> 7.2.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Dec 23 2022 Automatic Build System <autodist@mambasoft.it> 7.2.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Sep 01 2022 Automatic Build System <autodist@mambasoft.it> 7.1.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun May 22 2022 Automatic Build System <autodist@mambasoft.it> 7.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon Jan 03 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.2.0-2mamba
|
||||
- rebuilt with libmultipath-tools 0.8.8
|
||||
|
||||
* Sat Jan 01 2022 Automatic Build System <autodist@mambasoft.it> 6.2.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Sep 05 2021 Automatic Build System <autodist@mambasoft.it> 6.1.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue May 04 2021 Automatic Build System <autodist@mambasoft.it> 6.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Mon May 03 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.2.0-1mamba
|
||||
- update to 5.2.0
|
||||
|
||||
|
Reference in New Issue
Block a user