3 # Output a simple RPM spec file.
5 # starting to output the spec
9 __QEMURELEASE=`echo $QEMURELEASE | sed -e "s/-/_/g"`
13 echo "Summary: The Linux qemu"
14 echo "Version: $__QEMURELEASE"
15 # we need to determine the NEXT version number
17 echo "Release: `sh mkversion`"
18 echo "License: GPLv2+ and LGPLv2+ and BSD"
19 echo "Group: Development/Tools"
20 echo "Vendor: The Linux Community"
21 echo "URL: http://www.qemu.org"
22 echo "Source: qemu-$__QEMURELEASE.tar.gz"
30 echo "make -j$(nproc)"
32 echo "rm -rf %{buildroot}"
33 echo "make install DESTDIR=%{buildroot}"
35 echo "rm -rf %{buildroot}"
38 echo "/usr/local/share/qemu"
39 echo "/usr/local/share/locale/*"
41 echo "/usr/local/bin/ivshmem*"
42 echo "/usr/local/bin/qemu*"
43 echo "/usr/local/libexec/qemu-bridge-helper"