Browse Source

qemu changes to ppc64 build remove all man and docs

Signed-off-by: virtbuilder_pel7ppc64bebuilder0 <virtbuilder@powerel.org>
master
virtbuilder_pel7ppc64bebuilder0 4 years ago
parent
commit
1f203017e7
  1. 84
      SPECS/qemu.spec

84
SPECS/qemu.spec

@ -442,18 +442,6 @@ install -m 0644 %{_sourcedir}/80-kvm.rules %{buildroot}%{_udevdir} @@ -442,18 +442,6 @@ install -m 0644 %{_sourcedir}/80-kvm.rules %{buildroot}%{_udevdir}

#%find_lang %{name}

%ifnarch x86_64 ppc64le
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
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

# Provided by package openbios
@ -596,9 +584,6 @@ getent passwd qemu >/dev/null || \ @@ -596,9 +584,6 @@ getent passwd qemu >/dev/null || \
%files kvm
%{_bindir}/qemu-kvm
%{_udevdir}/80-kvm.rules
%ifnarch x86_64 ppc64le
%{_mandir}/man1/qemu-kvm.1*
%endif


#%files common -f %{name}.lang
@ -608,47 +593,16 @@ getent passwd qemu >/dev/null || \ @@ -608,47 +593,16 @@ getent passwd qemu >/dev/null || \
%{_bindir}/qemu-pr-helper
%{_bindir}/qemu-trace-stap
%{_bindir}/elf2dmp
%ifnarch x86_64 ppc64le
%dir %{qemudocdir}
%doc %{qemudocdir}/Changelog
#%doc %{qemudocdir}/README
%doc %{qemudocdir}/qemu-doc.txt
%doc %{qemudocdir}/qemu-doc.html
#%doc %{qemudocdir}/qemu-tech.html
#%doc %{qemudocdir}/qmp-commands.txt
%doc %{qemudocdir}/qemu-qmp-ref.txt
%doc %{qemudocdir}/qemu-qmp-ref.html
%doc %{qemudocdir}/COPYING
%doc %{qemudocdir}/COPYING.LIB
%doc %{qemudocdir}/LICENSE
%endif
%ifnarch ppc64le x86_64
%doc %{qemudocdir}/specs/.buildinfo
%doc %{qemudocdir}/specs/*
%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 ppc64le
%{_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 ppc64le
%dir %{_docdir}/%{name}/
%{_docdir}/%{name}/interop/.buildinfo
%{_docdir}/%{name}/interop/*
%endif
%{_datadir}/icons/hicolor/*/apps/qemu.*
%{_datadir}/applications/qemu.desktop
%{_datadir}/%{name}/qemu-nsis.bmp
@ -681,22 +635,12 @@ getent passwd qemu >/dev/null || \ @@ -681,22 +635,12 @@ getent passwd qemu >/dev/null || \
%{_bindir}/qemu-ga
%{_unitdir}/qemu-guest-agent.service
%{_udevdir}/99-qemu-guest-agent.rules
%ifnarch x86_64 ppc64le
%{_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 ppc64le
%{_mandir}/man1/qemu-img.1*
%{_mandir}/man8/qemu-nbd.8*
%endif


%files -n ivshmem-tools
@ -772,43 +716,27 @@ getent passwd qemu >/dev/null || \ @@ -772,43 +716,27 @@ getent passwd qemu >/dev/null || \
%files system-x64
%{_bindir}/qemu-system-x86_64
%{_datadir}/systemtap/tapset/qemu-system-x86_64*.stp
%ifnarch x86_64 ppc64le
%{_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 ppc64le
%{_mandir}/man1/qemu-system-alpha.1*
%endif


%files system-arm
%{_bindir}/qemu-system-arm
%{_datadir}/systemtap/tapset/qemu-system-arm*.stp
%ifnarch x86_64 ppc64le
%{_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 ppc64le
%{_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 ppc64le
%{_mandir}/man1/qemu-system-s390x.1*
%endif
#%{_datadir}/%{name}/s390-zipl.rom
%{_datadir}/%{name}/s390-ccw.img
%{_datadir}/%{name}/s390-netboot.img
@ -817,9 +745,6 @@ getent passwd qemu >/dev/null || \ @@ -817,9 +745,6 @@ getent passwd qemu >/dev/null || \
%files system-sparc64
%{_bindir}/qemu-system-sparc64
%{_datadir}/systemtap/tapset/qemu-system-sparc*.stp
%ifnarch x86_64 ppc64le
%{_mandir}/man1/qemu-system-sparc64.1*
%endif
%{_datadir}/%{name}/QEMU,tcx.bin
%{_datadir}/%{name}/QEMU,cgthree.bin
%{_datadir}/%{name}/openbios-sparc64
@ -828,25 +753,16 @@ getent passwd qemu >/dev/null || \ @@ -828,25 +753,16 @@ getent passwd qemu >/dev/null || \
%files system-ppc64
%{_bindir}/qemu-system-ppc64
%{_datadir}/systemtap/tapset/qemu-system-ppc64*.stp
%ifnarch x86_64 ppc64le
%{_mandir}/man1/qemu-system-ppc64.1*
%endif


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


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


%changelog

Loading…
Cancel
Save