Compare commits
9 Commits
5.2.0-1mam
...
8.0.0-1mam
Author | SHA1 | Date | |
---|---|---|---|
54f9c5be5b | |||
2f32f466e4 | |||
f71c40bb37 | |||
5d03ee98e3 | |||
81368757ec | |||
54aac64d4b | |||
bff8a5de22 | |||
e043bb1aab | |||
c55ad672dc |
95
qemu.spec
95
qemu.spec
@ -1,12 +1,12 @@
|
||||
Name: qemu
|
||||
Version: 5.2.0
|
||||
Version: 8.0.0
|
||||
Release: 1mamba
|
||||
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
|
||||
@ -36,6 +36,7 @@ BuildRequires: libcairo-devel
|
||||
BuildRequires: libcap-ng-devel
|
||||
BuildRequires: libcurl-devel
|
||||
BuildRequires: libepoxy-devel
|
||||
BuildRequires: libfuse3-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libgdk-pixbuf-devel
|
||||
BuildRequires: libglib-devel
|
||||
@ -71,10 +72,13 @@ BuildRequires: libxkbcommon-devel
|
||||
BuildRequires: libz-devel
|
||||
BuildRequires: libzstd-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: python-sphinx_rtd_theme-py310
|
||||
BuildRequires: python-sphinxcontrib-jquery-py310
|
||||
BuildRequires: libmultipath-tools-devel >= 0.9.1
|
||||
BuildRequires: libadplug-devel >= 1.5.1
|
||||
BuildRequires: libglib-static >= 2.34.1-2mamba
|
||||
BuildRequires: spice-protocol-devel
|
||||
BuildRequires: libcelt051-devel
|
||||
#BuildRequires: libcelt051-devel
|
||||
BuildRequires: libopenssl-static
|
||||
BuildRequires: libbrltty-devel >= 6.1
|
||||
#% if "%{_build_cpu}" != "ppc"
|
||||
@ -128,22 +132,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 +153,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 +169,7 @@ cd build-static
|
||||
cd ..
|
||||
#___EOF
|
||||
|
||||
mkdir build-dynamic
|
||||
mkdir -p build-dynamic
|
||||
cd build-dynamic
|
||||
|
||||
# dynamic build
|
||||
@ -186,7 +181,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 +217,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
|
||||
@ -271,18 +270,19 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%{_libexecdir}/qemu-bridge-helper
|
||||
#%{_libexecdir}/qemu-pr-helper
|
||||
%{_libexecdir}/virtfs-proxy-helper
|
||||
%{_libexecdir}/virtiofsd
|
||||
#%{_libexecdir}/virtiofsd
|
||||
%{_datadir}/%{name}
|
||||
%{_binfmtdir}/*.conf
|
||||
%{_includedir}/qemu-plugin.h
|
||||
%{_docdir}/%{name}
|
||||
%{_mandir}/man1/qemu*
|
||||
#%{_datadir}/qemu/hppa-firmware.img
|
||||
#%{_datadir}/qemu/palcode-clipper
|
||||
%{_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*
|
||||
#%{_mandir}/man1/virtiofsd.1*
|
||||
%exclude %{_mandir}/man7/qemu-ga-ref.7*
|
||||
%{_mandir}/man7/qemu-*.7*
|
||||
%{_mandir}/man8/qemu-*.8*
|
||||
%doc COPYING COPYING.LIB
|
||||
|
||||
%files guest-agent
|
||||
@ -295,30 +295,41 @@ 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
|
||||
* 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