# -*- rpm-spec -*- %define _build_id_links none %define _rpmdir @CPACK_RPM_DIRECTORY@ %define _rpmfilename @CPACK_RPM_FILE_NAME@ %define _unpackaged_files_terminate_build 0 %define _topdir @CPACK_RPM_DIRECTORY@ %define _madlib_version @CPACK_PACKAGE_VERSION@ BuildRoot: @CPACK_RPM_DIRECTORY@/@CPACK_PACKAGE_FILE_NAME@@CPACK_RPM_PACKAGE_COMPONENT_PART_PATH@ Summary: @CPACK_RPM_PACKAGE_SUMMARY@ Name: @CPACK_RPM_PACKAGE_NAME@ Version: @CPACK_RPM_PACKAGE_VERSION@ Release: @CPACK_RPM_PACKAGE_RELEASE@ License: @CPACK_RPM_PACKAGE_LICENSE@ Group: @CPACK_RPM_PACKAGE_GROUP@ Prefix: /usr/local Vendor: @CPACK_RPM_PACKAGE_VENDOR@ @TMP_RPM_URL@ @TMP_RPM_REQUIRES@ @TMP_RPM_PROVIDES@ @TMP_RPM_OBSOLETES@ @TMP_RPM_BUILDARCH@ @TMP_RPM_SPEC_INSTALL_POST@ @CPACK_RPM_SPEC_MORE_DEFINE@ @CPACK_RPM_COMPRESSION_TYPE_TMP@ %description @CPACK_RPM_PACKAGE_DESCRIPTION@ %prep mv $RPM_BUILD_ROOT "@CPACK_TOPLEVEL_DIRECTORY@/tmpBBroot" #p build %install if [ -e $RPM_BUILD_ROOT ]; then rm -rf $RPM_BUILD_ROOT fi mv "@CPACK_TOPLEVEL_DIRECTORY@/tmpBBroot" $RPM_BUILD_ROOT %clean %post @CPACK_RPM_SPEC_POSTINSTALL@ %postun @CPACK_RPM_SPEC_POSTUNINSTALL@ %pre @CPACK_RPM_SPEC_PREINSTALL@ %preun @CPACK_RPM_SPEC_PREUNINSTALL@ %files %defattr(-,root,root,-) @CPACK_RPM_INSTALL_FILES@ %changelog * Fri May 3 2013 Rahul Iyer Replaced Cpack autogenerated spec file with this file.