%define _project_name volume %define _package_name org.tizen.%{_project_name} %define PREFIX /usr/apps/%{_package_name} Name: org.tizen.volume Summary: Volume application (EFL) Version: 0.1.149 Release: 1 Group: Applications/Core Applications License: Apache-2.0 Source0: %{name}-%{version}.tar.gz BuildRequires: pkgconfig(capi-appfw-application) BuildRequires: pkgconfig(capi-appfw-app-manager) BuildRequires: pkgconfig(appcore-efl) BuildRequires: pkgconfig(elementary) BuildRequires: pkgconfig(capi-media-sound-manager) BuildRequires: pkgconfig(syspopup) BuildRequires: pkgconfig(syspopup-caller) BuildRequires: pkgconfig(dlog) BuildRequires: pkgconfig(notification) BuildRequires: pkgconfig(feedback) BuildRequires: pkgconfig(capi-network-bluetooth) BuildRequires: pkgconfig(capi-system-device) BuildRequires: pkgconfig(tzsh-volume-service) BuildRequires: pkgconfig(capi-appfw-app-common) BuildRequires: cmake BuildRequires: edje-bin BuildRequires: embryo-bin BuildRequires: gettext-devel BuildRequires: hash-signer %description volume %prep %setup -q %build export CFLAGS+=" -fPIE" export CXXFLAGS+=" -fPIE" export LDFLAGS+=" -pie" %if 0%{?sec_build_binary_debug_enable} export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE" export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE" export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE" %endif %if 0%{?sec_build_binary_sdk} export CFLAGS+=" -DFEATURE_SDK" export CXXFLAGS+=" -DFEATURE_SDK" export FFLAGS+=" -DFEATURE_SDK" echo EMULATOR BUILD %endif RPM_OPT=`echo $CFLAGS|sed 's/-Wp,-D_FORTIFY_SOURCE=2//'` export CFLAGS=$RPM_OPT cmake -DCMAKE_INSTALL_PREFIX="%{PREFIX}" make %{?jobs:-j%jobs} %install rm -rf %{buildroot} %make_install %define tizen_sign 1 %define tizen_sign_base /usr/apps/%{_package_name} %define tizen_sign_level public %define tizen_author_sign 1 %define tizen_dist_sign 1 %files %manifest %{_package_name}.manifest %defattr(-,root,root,-) %{PREFIX}/* /usr/share/packages/%{_package_name}.xml /usr/share/icons/%{_package_name}.png %license LICENSE