Browse Source

qemu no man on x64

Signed-off-by: virtbuilder_pel7x64builder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7x64builder0 6 years ago
parent
commit
29018110af
  1. 37
      SPECS/qemu.spec

37
SPECS/qemu.spec

@ -419,7 +419,9 @@ install -m 0644 %{_sourcedir}/80-kvm.rules %{buildroot}%{_udevdir} @@ -419,7 +419,9 @@ install -m 0644 %{_sourcedir}/80-kvm.rules %{buildroot}%{_udevdir}

#%find_lang %{name}

%ifnarch x86_64
chmod -x %{buildroot}%{_mandir}/man1/*
mkdir -p %{buildroot}%{qemudocdir}
install -D -p -m 0644 -t %{buildroot}%{qemudocdir} Changelog README COPYING COPYING.LIB LICENSE
for emu in %{buildroot}%{_bindir}/qemu-system-*; do
ln -sf qemu.1.gz %{buildroot}%{_mandir}/man1/$(basename $emu).1.gz
@ -427,6 +429,7 @@ done @@ -427,6 +429,7 @@ done

#install -m 0755 %{_sourcedir}/qemu-kvm.sh %{buildroot}%{_bindir}/qemu-kvm
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

@ -570,7 +573,9 @@ getent passwd qemu >/dev/null || \ @@ -570,7 +573,9 @@ getent passwd qemu >/dev/null || \
%files kvm
%{_bindir}/qemu-kvm
%{_udevdir}/80-kvm.rules
%ifnarch x86_64
%{_mandir}/man1/qemu-kvm.1*
%endif


#%files common -f %{name}.lang
@ -580,6 +585,7 @@ getent passwd qemu >/dev/null || \ @@ -580,6 +585,7 @@ getent passwd qemu >/dev/null || \
%{_bindir}/qemu-pr-helper
%{_bindir}/qemu-trace-stap
%{_bindir}/elf2dmp
%ifnarch x86_64
%dir %{qemudocdir}
%doc %{qemudocdir}/Changelog
%doc %{qemudocdir}/README
@ -592,25 +598,30 @@ getent passwd qemu >/dev/null || \ @@ -592,25 +598,30 @@ getent passwd qemu >/dev/null || \
%doc %{qemudocdir}/COPYING
%doc %{qemudocdir}/COPYING.LIB
%doc %{qemudocdir}/LICENSE
%endif
%dir %{_datadir}/%{name}/
#%{_datadir}/%{name}/qemu-icon.bmp
#%{_datadir}/%{name}/qemu_logo_no_text.svg
%{_datadir}/%{name}/keymaps/
%{_datadir}/%{name}/trace-events-all
%ifnarch x86_64
%{_mandir}/man1/qemu.1*
%{_mandir}/man1/virtfs-proxy-helper.1*
%{_mandir}/man1/qemu-trace-stap.1.gz
%{_mandir}/man7/qemu-qmp-ref.7.gz
%{_mandir}/man7/qemu-block-drivers.7.gz
%{_mandir}/man7/qemu-cpu-models.7.gz
%endif
%{_bindir}/virtfs-proxy-helper
%attr(4755, root, root) %{_libexecdir}/qemu-bridge-helper
%config(noreplace) %{_sysconfdir}/sasl2/qemu.conf
%dir %{_sysconfdir}/qemu
%config(noreplace) %{_sysconfdir}/qemu/bridge.conf
%ifnarch x86_64
%dir %{_docdir}/%{name}/
%{_docdir}/%{name}/interop/.buildinfo
%{_docdir}/%{name}/interop/*
%endif
%{_datadir}/icons/hicolor/*/apps/qemu.*
%{_datadir}/applications/qemu.desktop

@ -627,20 +638,24 @@ getent passwd qemu >/dev/null || \ @@ -627,20 +638,24 @@ getent passwd qemu >/dev/null || \
%files guest-agent
%doc COPYING README
%{_bindir}/qemu-ga
%{_mandir}/man8/qemu-ga.8*
%{_mandir}/man7/qemu-ga-ref.7.gz
%{_unitdir}/qemu-guest-agent.service
%{_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.txt
%endif


%files img
%{_bindir}/qemu-img
%{_bindir}/qemu-io
%{_bindir}/qemu-nbd
%ifnarch x86_64
%{_mandir}/man1/qemu-img.1*
%{_mandir}/man8/qemu-nbd.8*
%endif


%files -n ivshmem-tools
@ -700,33 +715,43 @@ getent passwd qemu >/dev/null || \ @@ -700,33 +715,43 @@ getent passwd qemu >/dev/null || \
%files system-x64
%{_bindir}/qemu-system-x86_64
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-x86_64.1*
%endif


%files system-alpha
%{_bindir}/qemu-system-alpha
%{_datadir}/systemtap/tapset/qemu-system-alpha*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-alpha.1*
%endif


%files system-arm
%{_bindir}/qemu-system-arm
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-arm.1*
%endif


%files system-mips64
%{_bindir}/qemu-system-mips64
%{_bindir}/qemu-system-mips64el
%{_datadir}/systemtap/tapset/qemu-system-mips*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-mips64el.1*
%{_mandir}/man1/qemu-system-mips64.1*
%endif


%files system-s390x
%{_bindir}/qemu-system-s390x
%{_datadir}/systemtap/tapset/qemu-system-s390x*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-s390x.1*
%endif
#%{_datadir}/%{name}/s390-zipl.rom
%{_datadir}/%{name}/s390-ccw.img
%{_datadir}/%{name}/s390-netboot.img
@ -735,7 +760,9 @@ getent passwd qemu >/dev/null || \ @@ -735,7 +760,9 @@ getent passwd qemu >/dev/null || \
%files system-sparc64
%{_bindir}/qemu-system-sparc64
%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-sparc64.1*
%endif
%{_datadir}/%{name}/QEMU,tcx.bin
%{_datadir}/%{name}/QEMU,cgthree.bin
%{_datadir}/%{name}/openbios-sparc64
@ -744,19 +771,25 @@ getent passwd qemu >/dev/null || \ @@ -744,19 +771,25 @@ getent passwd qemu >/dev/null || \
%files system-ppc64
%{_bindir}/qemu-system-ppc64
%{_datadir}/systemtap/tapset/qemu-system-ppc64*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-ppc64.1*
%endif


%files system-riscv64
%{_bindir}/qemu-system-riscv64
%{_datadir}/systemtap/tapset/qemu-system-riscv64*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-riscv64.1*
%endif


%files system-aarch64
%{_bindir}/qemu-system-aarch64
%{_datadir}/systemtap/tapset/qemu-system-aarch64*.stp
%ifnarch x86_64
%{_mandir}/man1/qemu-system-aarch64.1*
%endif


%changelog

Loading…
Cancel
Save