Compare commits
12 Commits
2.6.0-1mam
...
4.2.0-1mam
Author | SHA1 | Date | |
---|---|---|---|
0f67a37710 | |||
4008da7de3 | |||
e3a8ad4faf | |||
af367825ea | |||
6942294e48 | |||
01b796527d | |||
6fbf21ac45 | |||
dbb2f56449 | |||
bcb9700192 | |||
0f901e5e65 | |||
243cf48af6 | |||
ab896ead15 |
98
qemu.spec
98
qemu.spec
@ -1,5 +1,5 @@
|
||||
Name: qemu
|
||||
Version: 2.6.0
|
||||
Version: 4.2.0
|
||||
Release: 1mamba
|
||||
Summary: A generic and open source processor emulator
|
||||
Group: Applications/Emulators
|
||||
@ -66,7 +66,7 @@ BuildRequires: libxen-devel
|
||||
BuildRequires: libXext-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: libxen-devel >= 4.7
|
||||
BuildRequires: libxen-devel >= 4.8.0-1mamba
|
||||
BuildRequires: libadplug-devel >= 1.5.1
|
||||
BuildRequires: libglib-static >= 2.34.1-2mamba
|
||||
BuildRequires: libspice-devel
|
||||
@ -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
|
||||
@ -150,15 +151,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/ \;
|
||||
|
||||
@ -190,10 +193,14 @@ make clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
install -D -m 755 %{S:1} \
|
||||
%{buildroot}%{_prefix}/lib/systemd/scripts/%{name}-binfmt
|
||||
install -D -m 0644 %{S:5} \
|
||||
%{buildroot}%{_unitdir}/qemu.service
|
||||
#install -D -m 755 %{S:1} \
|
||||
# %{buildroot}%{_prefix}/lib/systemd/scripts/%{name}-binfmt
|
||||
#install -D -m 0644 %{S:5} \
|
||||
# %{buildroot}%{_unitdir}/qemu.service
|
||||
|
||||
install -d -m0755 %{buildroot}%{_binfmtdir}
|
||||
scripts/qemu-binfmt-conf.sh --exportdir %{buildroot}%{_binfmtdir}/ \
|
||||
--systemd ALL --qemu-path %{_bindir}
|
||||
|
||||
cd static
|
||||
for f in *; do
|
||||
@ -214,23 +221,9 @@ install -D -m0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/sysconfig/qemu-ga
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post
|
||||
# new install
|
||||
%systemd_post qemu
|
||||
if [ $1 -gt 1 ]; then
|
||||
systemctl --no-reload preset qemu >/dev/null 2>&1 || :
|
||||
fi
|
||||
:
|
||||
|
||||
%preun
|
||||
# erase
|
||||
%systemd_preun qemu
|
||||
:
|
||||
|
||||
%postun
|
||||
# upgrade
|
||||
%systemd_postun_with_restart qemu.service
|
||||
:
|
||||
#%post
|
||||
#% binfmt_apply
|
||||
#:
|
||||
|
||||
%post guest-agent
|
||||
%systemd_post qemu-guest-agent.service
|
||||
@ -260,20 +253,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
|
||||
%{_docdir}/%{name}
|
||||
%{_mandir}/man1/%{name}*
|
||||
%{_mandir}/man1/qemu*
|
||||
%{_mandir}/man1/virtfs-proxy-helper.1*
|
||||
%{_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
|
||||
@ -286,6 +285,7 @@ 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}/man8/qemu-ga.8*
|
||||
|
||||
#% ifnarch x86_64
|
||||
@ -309,6 +309,42 @@ find /etc/rc[0-6].d/ -type l -xtype l -exec rm -f {} \;
|
||||
%attr(0755,root,root) %{_bindir}/%{name}*.static
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
|
||||
* Mon Feb 11 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.0-1mamba
|
||||
- update to 3.1.0
|
||||
|
||||
* Sun Sep 09 2018 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Feb 16 2018 Automatic Build System <autodist@mambasoft.it> 2.11.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Jan 06 2018 Automatic Build System <autodist@mambasoft.it> 2.11.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sun Oct 08 2017 Automatic Build System <autodist@mambasoft.it> 2.10.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Sep 23 2017 Automatic Build System <autodist@mambasoft.it> 2.10.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Dec 23 2016 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Sat Dec 10 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.0-2mamba
|
||||
- rebuilt by autoport with build requirements: libxen-devel>=4.8.0-1mamba
|
||||
|
||||
* Sat Sep 03 2016 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Thu Aug 18 2016 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Fri Jul 22 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.0-1mamba
|
||||
- update to 2.6.0
|
||||
|
||||
|
Reference in New Issue
Block a user