1 %define _project_name volume
2 %define _package_name org.tizen.%{_project_name}
3 %define PREFIX /usr/apps/%{_package_name}
7 Summary: Volume application (EFL)
10 Group: Applications/Core Applications
12 Source0: %{name}-%{version}.tar.gz
13 BuildRequires: pkgconfig(capi-appfw-application)
14 BuildRequires: pkgconfig(capi-appfw-app-manager)
15 BuildRequires: pkgconfig(appcore-efl)
16 BuildRequires: pkgconfig(elementary)
17 BuildRequires: pkgconfig(capi-media-sound-manager)
18 BuildRequires: pkgconfig(syspopup)
19 BuildRequires: pkgconfig(syspopup-caller)
20 BuildRequires: pkgconfig(dlog)
21 BuildRequires: pkgconfig(notification)
22 BuildRequires: pkgconfig(feedback)
23 BuildRequires: pkgconfig(capi-network-bluetooth)
24 BuildRequires: pkgconfig(capi-system-device)
25 BuildRequires: pkgconfig(tzsh-volume-service)
26 BuildRequires: pkgconfig(capi-appfw-app-common)
29 BuildRequires: edje-bin
30 BuildRequires: embryo-bin
31 BuildRequires: gettext-devel
32 BuildRequires: hash-signer
41 export CFLAGS+=" -fPIE"
42 export CXXFLAGS+=" -fPIE"
43 export LDFLAGS+=" -pie"
45 %if 0%{?sec_build_binary_debug_enable}
46 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
47 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
48 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
51 %if 0%{?sec_build_binary_sdk}
52 export CFLAGS+=" -DFEATURE_SDK"
53 export CXXFLAGS+=" -DFEATURE_SDK"
54 export FFLAGS+=" -DFEATURE_SDK"
59 RPM_OPT=`echo $CFLAGS|sed 's/-Wp,-D_FORTIFY_SOURCE=2//'`
60 export CFLAGS=$RPM_OPT
61 cmake -DCMAKE_INSTALL_PREFIX="%{PREFIX}"
68 %define tizen_sign_base /usr/apps/%{_package_name}
69 %define tizen_sign_level public
70 %define tizen_author_sign 1
71 %define tizen_dist_sign 1
74 %manifest %{_package_name}.manifest
75 %defattr(-,root,root,-)
77 /usr/share/packages/%{_package_name}.xml
78 /usr/share/icons/%{_package_name}.png