|
|
@ -419,7 +419,9 @@ install -m 0644 %{_sourcedir}/80-kvm.rules %{buildroot}%{_udevdir} |
|
|
|
|
|
|
|
|
|
|
|
#%find_lang %{name} |
|
|
|
#%find_lang %{name} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
chmod -x %{buildroot}%{_mandir}/man1/* |
|
|
|
chmod -x %{buildroot}%{_mandir}/man1/* |
|
|
|
|
|
|
|
mkdir -p %{buildroot}%{qemudocdir} |
|
|
|
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} Changelog README COPYING COPYING.LIB LICENSE |
|
|
|
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} Changelog README COPYING COPYING.LIB LICENSE |
|
|
|
for emu in %{buildroot}%{_bindir}/qemu-system-*; do |
|
|
|
for emu in %{buildroot}%{_bindir}/qemu-system-*; do |
|
|
|
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz |
|
|
|
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz |
|
|
@ -427,6 +429,7 @@ done |
|
|
|
|
|
|
|
|
|
|
|
#install -m 0755 %{_sourcedir}/qemu-kvm.sh %{buildroot}%{_bindir}/qemu-kvm |
|
|
|
#install -m 0755 %{_sourcedir}/qemu-kvm.sh %{buildroot}%{_bindir}/qemu-kvm |
|
|
|
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz |
|
|
|
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/qemu-kvm.1.gz |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/qemu.conf |
|
|
|
install -D -p -m 0644 qemu.sasl %{buildroot}%{_sysconfdir}/sasl2/qemu.conf |
|
|
|
|
|
|
|
|
|
|
@ -570,7 +573,9 @@ getent passwd qemu >/dev/null || \ |
|
|
|
%files kvm |
|
|
|
%files kvm |
|
|
|
%{_bindir}/qemu-kvm |
|
|
|
%{_bindir}/qemu-kvm |
|
|
|
%{_udevdir}/80-kvm.rules |
|
|
|
%{_udevdir}/80-kvm.rules |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-kvm.1* |
|
|
|
%{_mandir}/man1/qemu-kvm.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#%files common -f %{name}.lang |
|
|
|
#%files common -f %{name}.lang |
|
|
@ -580,6 +585,7 @@ getent passwd qemu >/dev/null || \ |
|
|
|
%{_bindir}/qemu-pr-helper |
|
|
|
%{_bindir}/qemu-pr-helper |
|
|
|
%{_bindir}/qemu-trace-stap |
|
|
|
%{_bindir}/qemu-trace-stap |
|
|
|
%{_bindir}/elf2dmp |
|
|
|
%{_bindir}/elf2dmp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%dir %{qemudocdir} |
|
|
|
%dir %{qemudocdir} |
|
|
|
%doc %{qemudocdir}/Changelog |
|
|
|
%doc %{qemudocdir}/Changelog |
|
|
|
%doc %{qemudocdir}/README |
|
|
|
%doc %{qemudocdir}/README |
|
|
@ -592,25 +598,30 @@ getent passwd qemu >/dev/null || \ |
|
|
|
%doc %{qemudocdir}/COPYING |
|
|
|
%doc %{qemudocdir}/COPYING |
|
|
|
%doc %{qemudocdir}/COPYING.LIB |
|
|
|
%doc %{qemudocdir}/COPYING.LIB |
|
|
|
%doc %{qemudocdir}/LICENSE |
|
|
|
%doc %{qemudocdir}/LICENSE |
|
|
|
|
|
|
|
%endif |
|
|
|
%dir %{_datadir}/%{name}/ |
|
|
|
%dir %{_datadir}/%{name}/ |
|
|
|
#%{_datadir}/%{name}/qemu-icon.bmp |
|
|
|
#%{_datadir}/%{name}/qemu-icon.bmp |
|
|
|
#%{_datadir}/%{name}/qemu_logo_no_text.svg |
|
|
|
#%{_datadir}/%{name}/qemu_logo_no_text.svg |
|
|
|
%{_datadir}/%{name}/keymaps/ |
|
|
|
%{_datadir}/%{name}/keymaps/ |
|
|
|
%{_datadir}/%{name}/trace-events-all |
|
|
|
%{_datadir}/%{name}/trace-events-all |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu.1* |
|
|
|
%{_mandir}/man1/qemu.1* |
|
|
|
%{_mandir}/man1/virtfs-proxy-helper.1* |
|
|
|
%{_mandir}/man1/virtfs-proxy-helper.1* |
|
|
|
%{_mandir}/man1/qemu-trace-stap.1.gz |
|
|
|
%{_mandir}/man1/qemu-trace-stap.1.gz |
|
|
|
%{_mandir}/man7/qemu-qmp-ref.7.gz |
|
|
|
%{_mandir}/man7/qemu-qmp-ref.7.gz |
|
|
|
%{_mandir}/man7/qemu-block-drivers.7.gz |
|
|
|
%{_mandir}/man7/qemu-block-drivers.7.gz |
|
|
|
%{_mandir}/man7/qemu-cpu-models.7.gz |
|
|
|
%{_mandir}/man7/qemu-cpu-models.7.gz |
|
|
|
|
|
|
|
%endif |
|
|
|
%{_bindir}/virtfs-proxy-helper |
|
|
|
%{_bindir}/virtfs-proxy-helper |
|
|
|
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper |
|
|
|
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper |
|
|
|
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf |
|
|
|
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf |
|
|
|
%dir %{_sysconfdir}/qemu |
|
|
|
%dir %{_sysconfdir}/qemu |
|
|
|
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf |
|
|
|
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%dir %{_docdir}/%{name}/ |
|
|
|
%dir %{_docdir}/%{name}/ |
|
|
|
%{_docdir}/%{name}/interop/.buildinfo |
|
|
|
%{_docdir}/%{name}/interop/.buildinfo |
|
|
|
%{_docdir}/%{name}/interop/* |
|
|
|
%{_docdir}/%{name}/interop/* |
|
|
|
|
|
|
|
%endif |
|
|
|
%{_datadir}/icons/hicolor/*/apps/qemu.* |
|
|
|
%{_datadir}/icons/hicolor/*/apps/qemu.* |
|
|
|
%{_datadir}/applications/qemu.desktop |
|
|
|
%{_datadir}/applications/qemu.desktop |
|
|
|
|
|
|
|
|
|
|
@ -627,20 +638,24 @@ getent passwd qemu >/dev/null || \ |
|
|
|
%files guest-agent |
|
|
|
%files guest-agent |
|
|
|
%doc COPYING README |
|
|
|
%doc COPYING README |
|
|
|
%{_bindir}/qemu-ga |
|
|
|
%{_bindir}/qemu-ga |
|
|
|
%{_mandir}/man8/qemu-ga.8* |
|
|
|
|
|
|
|
%{_mandir}/man7/qemu-ga-ref.7.gz |
|
|
|
|
|
|
|
%{_unitdir}/qemu-guest-agent.service |
|
|
|
%{_unitdir}/qemu-guest-agent.service |
|
|
|
%{_udevdir}/99-qemu-guest-agent.rules |
|
|
|
%{_udevdir}/99-qemu-guest-agent.rules |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
|
|
|
|
%{_mandir}/man8/qemu-ga.8* |
|
|
|
|
|
|
|
%{_mandir}/man7/qemu-ga-ref.7.gz |
|
|
|
%doc %{qemudocdir}/qemu-ga-ref.html |
|
|
|
%doc %{qemudocdir}/qemu-ga-ref.html |
|
|
|
%doc %{qemudocdir}/qemu-ga-ref.txt |
|
|
|
%doc %{qemudocdir}/qemu-ga-ref.txt |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files img |
|
|
|
%files img |
|
|
|
%{_bindir}/qemu-img |
|
|
|
%{_bindir}/qemu-img |
|
|
|
%{_bindir}/qemu-io |
|
|
|
%{_bindir}/qemu-io |
|
|
|
%{_bindir}/qemu-nbd |
|
|
|
%{_bindir}/qemu-nbd |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-img.1* |
|
|
|
%{_mandir}/man1/qemu-img.1* |
|
|
|
%{_mandir}/man8/qemu-nbd.8* |
|
|
|
%{_mandir}/man8/qemu-nbd.8* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n ivshmem-tools |
|
|
|
%files -n ivshmem-tools |
|
|
@ -700,33 +715,43 @@ getent passwd qemu >/dev/null || \ |
|
|
|
%files system-x64 |
|
|
|
%files system-x64 |
|
|
|
%{_bindir}/qemu-system-x86_64 |
|
|
|
%{_bindir}/qemu-system-x86_64 |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-x86_64.1* |
|
|
|
%{_mandir}/man1/qemu-system-x86_64.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files system-alpha |
|
|
|
%files system-alpha |
|
|
|
%{_bindir}/qemu-system-alpha |
|
|
|
%{_bindir}/qemu-system-alpha |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-alpha.1* |
|
|
|
%{_mandir}/man1/qemu-system-alpha.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files system-arm |
|
|
|
%files system-arm |
|
|
|
%{_bindir}/qemu-system-arm |
|
|
|
%{_bindir}/qemu-system-arm |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-arm.1* |
|
|
|
%{_mandir}/man1/qemu-system-arm.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files system-mips64 |
|
|
|
%files system-mips64 |
|
|
|
%{_bindir}/qemu-system-mips64 |
|
|
|
%{_bindir}/qemu-system-mips64 |
|
|
|
%{_bindir}/qemu-system-mips64el |
|
|
|
%{_bindir}/qemu-system-mips64el |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-mips64el.1* |
|
|
|
%{_mandir}/man1/qemu-system-mips64el.1* |
|
|
|
%{_mandir}/man1/qemu-system-mips64.1* |
|
|
|
%{_mandir}/man1/qemu-system-mips64.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files system-s390x |
|
|
|
%files system-s390x |
|
|
|
%{_bindir}/qemu-system-s390x |
|
|
|
%{_bindir}/qemu-system-s390x |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-s390x.1* |
|
|
|
%{_mandir}/man1/qemu-system-s390x.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
#%{_datadir}/%{name}/s390-zipl.rom |
|
|
|
#%{_datadir}/%{name}/s390-zipl.rom |
|
|
|
%{_datadir}/%{name}/s390-ccw.img |
|
|
|
%{_datadir}/%{name}/s390-ccw.img |
|
|
|
%{_datadir}/%{name}/s390-netboot.img |
|
|
|
%{_datadir}/%{name}/s390-netboot.img |
|
|
@ -735,7 +760,9 @@ getent passwd qemu >/dev/null || \ |
|
|
|
%files system-sparc64 |
|
|
|
%files system-sparc64 |
|
|
|
%{_bindir}/qemu-system-sparc64 |
|
|
|
%{_bindir}/qemu-system-sparc64 |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-sparc64.1* |
|
|
|
%{_mandir}/man1/qemu-system-sparc64.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
%{_datadir}/%{name}/QEMU,tcx.bin |
|
|
|
%{_datadir}/%{name}/QEMU,tcx.bin |
|
|
|
%{_datadir}/%{name}/QEMU,cgthree.bin |
|
|
|
%{_datadir}/%{name}/QEMU,cgthree.bin |
|
|
|
%{_datadir}/%{name}/openbios-sparc64 |
|
|
|
%{_datadir}/%{name}/openbios-sparc64 |
|
|
@ -744,19 +771,25 @@ getent passwd qemu >/dev/null || \ |
|
|
|
%files system-ppc64 |
|
|
|
%files system-ppc64 |
|
|
|
%{_bindir}/qemu-system-ppc64 |
|
|
|
%{_bindir}/qemu-system-ppc64 |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-ppc64*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-ppc64*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-ppc64.1* |
|
|
|
%{_mandir}/man1/qemu-system-ppc64.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files system-riscv64 |
|
|
|
%files system-riscv64 |
|
|
|
%{_bindir}/qemu-system-riscv64 |
|
|
|
%{_bindir}/qemu-system-riscv64 |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-riscv64*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-riscv64*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-riscv64.1* |
|
|
|
%{_mandir}/man1/qemu-system-riscv64.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files system-aarch64 |
|
|
|
%files system-aarch64 |
|
|
|
%{_bindir}/qemu-system-aarch64 |
|
|
|
%{_bindir}/qemu-system-aarch64 |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp |
|
|
|
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp |
|
|
|
|
|
|
|
%ifnarch x86_64 |
|
|
|
%{_mandir}/man1/qemu-system-aarch64.1* |
|
|
|
%{_mandir}/man1/qemu-system-aarch64.1* |
|
|
|
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|