build.rpm.sh.cmake 561 Bytes
Newer Older
1
#!/bin/bash
2 3 4 5 6 7 8 9 10 11 12 13

export ASFLAGS="@ep_asflags@"
export CPPFLAGS="@ep_cppflags@"
export CFLAGS="@ep_cflags@"
export CXXFLAGS="@ep_cxxflags@"
export OBJCFLAGS="@ep_objcflags@"
export LDFLAGS="@ep_ldflags@"


export RPM_TOPDIR="@LINPHONE_BUILDER_WORK_DIR@/rpmbuild"


14
rpmbuild -ta --clean --rmsource --define "_topdir $RPM_TOPDIR" \
15
	--define='_localstatedir /var/opt/belledonne-communications' \
16
        @LINPHONE_BUILDER_RPMBUILD_GLOBAL_OPTIONS@ \
17 18 19
        @LINPHONE_BUILDER_RPMBUILD_OPTIONS@ \
	--rmspec @ep_build@/*.tar.gz \
        $VERBOSE @ep_redirect_to_file@ 
20