# Restore old style debuginfo creation for rpm >= 4.14. %undefine _debugsource_packages %undefine _debuginfo_subpackages # -*- rpm-spec -*- BuildRoot: %_topdir/nemu-v3.3.1-3-g5fe4fb2-Source Summary: nEMU - ncurses interface for QEMU Name: nemu Version: v3.3.1_3_g5fe4fb2 Release: 1 License: BSD-2-clause Group: Applications/Emulators Vendor: Boris Stepanenko Source: nemu-v3.3.1_3_g5fe4fb2.tar.gz %define debug_package %{nil} %define _rpmdir %_topdir/RPMS %define _srcrpmdir %_topdir/SRPMS %define _rpmfilename nemu-v3.3.1-3-g5fe4fb2-Source.rpm %define _unpackaged_files_terminate_build 0 %global __strip /bin/true %define _build_pkgcheck_set %{nil} %define _build_pkgcheck_srpm %{nil} %define ___build_shell /usr/bin/env DONT_COMPRESS=1 /bin/sh %description nEMU is text-based user interface application for hypervisor QEMU, based on ncurses5 library. # This is a shortcutted spec file generated by CMake RPM generator # we skip _install step because CPack does that for us. # We do only save CPack installed tree in _prepr # and then restore it in build. %prep %setup -c %build mkdir cpack_rpm_build_dir cd cpack_rpm_build_dir '/usr/bin/cmake' -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_PREFIX=/usr -DGIT_TAG_VERSION=v3.3.1-3-g5fe4fb2 -DCMAKE_BUILD_TYPE=Release -DNM_CUSTOM_SYS_INCLUDE= -DNM_WITH_OVF_SUPPORT=ON -DNM_WITH_VNC_CLIENT= -DNM_WITH_SPICE= -DNM_WITH_NETWORK_MAP=ON -DNM_WITH_DBUS=ON -DNM_WITH_QEMU=ON -DNM_QEMU_TARGET_LIST=x86_64-softmmu,i386-softmmu -DNM_WITH_NCURSES=OFF -DNM_WITH_USB=ON -DCPACK_PACKAGING_INSTALL_PREFIX=/ ../nemu-v3.3.1-3-g5fe4fb2-Source make %{?_smp_mflags} #p build %install cd cpack_rpm_build_dir cpack -G RPM mv *.rpm %_rpmdir %clean %changelog * Sun Jul 4 2010 Eric Noulard - v3.3.1_3_g5fe4fb2-1 Generated by CPack RPM (no Changelog file were provided)