Compare commits
2 Commits
4.0.0-1mam
...
4.2.0-2mam
Author | SHA1 | Date | |
---|---|---|---|
269bd7b347 | |||
0f67a37710 |
47
qemu.spec
47
qemu.spec
@ -1,6 +1,6 @@
|
||||
Name: qemu
|
||||
Version: 4.0.0
|
||||
Release: 1mamba
|
||||
Version: 4.2.0
|
||||
Release: 2mamba
|
||||
Summary: A generic and open source processor emulator
|
||||
Group: Applications/Emulators
|
||||
Vendor: openmamba
|
||||
@ -74,6 +74,7 @@ BuildRequires: spice-protocol-devel
|
||||
BuildRequires: libusbredir-devel
|
||||
BuildRequires: libcelt051-devel
|
||||
BuildRequires: libnfs-devel
|
||||
BuildRequires: libopenssl-static
|
||||
#% if "%{_build_cpu}" != "ppc"
|
||||
#BuildRequires: gcc34
|
||||
#% endif
|
||||
@ -120,6 +121,8 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
QEMU is a generic and open source processor emulator which achieves a good emulation speed by using dynamic translation.
|
||||
This package contains static user mode emulators. In this mode, QEMU can launch Linux processes compiled for one CPU on another CPU.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
#-D -T
|
||||
@ -150,17 +153,17 @@ This package contains static user mode emulators. In this mode, QEMU can launch
|
||||
--disable-bluez \
|
||||
--disable-system \
|
||||
--disable-strip \
|
||||
--disable-libssh2 \
|
||||
--disable-libnfs \
|
||||
--disable-libxml2 \
|
||||
--disable-gnutls \
|
||||
--enable-linux-user
|
||||
|
||||
# --disable-libssh2 \
|
||||
# --disable-smartcard-nss \
|
||||
# --disable-usb-redir \
|
||||
# --disable-vde \
|
||||
|
||||
%make
|
||||
%make LIBSSH_LIBS="-lssh -lcrypto -ldl -lgss"
|
||||
mkdir static
|
||||
find *-linux-user -name qemu-\* -exec mv {} static/ \;
|
||||
|
||||
@ -203,8 +206,8 @@ scripts/qemu-binfmt-conf.sh --exportdir %{buildroot}%{_binfmtdir}/ \
|
||||
|
||||
cd static
|
||||
for f in *; do
|
||||
# disable stripping static binaries by installing without -x
|
||||
install -m644 $f %{buildroot}%{_bindir}/$f.static
|
||||
## (obsolete?) disable stripping static binaries by installing without -x
|
||||
install -m755 $f %{buildroot}%{_bindir}/$f.static
|
||||
done
|
||||
cd ..
|
||||
|
||||
@ -220,9 +223,9 @@ install -D -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
%binfmt_apply
|
||||
:
|
||||
#%post
|
||||
#% binfmt_apply
|
||||
#:
|
||||
|
||||
%post guest-agent
|
||||
%systemd_post qemu-guest-agent.service
|
||||
@ -252,24 +255,26 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%files -f %{name}.lang
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/%{name}*
|
||||
%{_bindir}/elf2dmp
|
||||
%exclude %{_bindir}/qemu-ga
|
||||
%{_bindir}/ivshmem-client
|
||||
%{_bindir}/ivshmem-server
|
||||
#%{_bindir}/vscclient
|
||||
%exclude %{_bindir}/%{name}*.static
|
||||
%{_bindir}/virtfs-proxy-helper
|
||||
#%{_unitdir}/qemu.service
|
||||
#%{_prefix}/lib/systemd/scripts/%{name}-binfmt
|
||||
%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
|
||||
%{_datadir}/%{name}
|
||||
%{_binfmtdir}/*.conf
|
||||
%{_prefix}
|
||||
%{_docdir}/%{name}
|
||||
%{_mandir}/man1/%{name}*
|
||||
%{_mandir}/man1/qemu*
|
||||
%{_mandir}/man1/virtfs-proxy-helper.1*
|
||||
%{_mandir}/man7/%{name}-qmp-ref.7*
|
||||
%{_mandir}/man7/%{name}-block-drivers.7*
|
||||
%{_mandir}/man8/%{name}-nbd.8*
|
||||
%{_mandir}/man7/qemu-qmp-ref.7*
|
||||
%{_mandir}/man7/qemu-block-drivers.7*
|
||||
%{_mandir}/man7/qemu-cpu-models.7*
|
||||
%{_mandir}/man8/qemu-nbd.8*
|
||||
%doc COPYING COPYING.LIB
|
||||
|
||||
%files guest-agent
|
||||
@ -306,6 +311,12 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%attr(0755,root,root) %{_bindir}/%{name}*.static
|
||||
|
||||
%changelog
|
||||
* Wed Mar 04 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0-2mamba
|
||||
- rebuilt with debug package
|
||||
|
||||
* Tue Jan 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.2.0-1mamba
|
||||
- update to 4.2.0
|
||||
|
||||
* Wed Apr 24 2019 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Reference in New Issue
Block a user