blob: 9c9e6bd112028f214bc86b0a578e6e89718f9298 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
%define alias org.tizen.askuser-popup
%define PREFIX %{TZ_SYS_RO_APP}/%{alias}
Name: org.tizen.askuser-popup-profile_wearable
Summary: Ask user popup for wearable profile
Version: 0.0.3
Release: 0
Provides: org.tizen.askuser-popup = %{version}-%{release}
Group: Applications/Other
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: %{alias}.manifest
BuildRequires: cmake
BuildRequires: gettext-tools
BuildRequires: edje-tools
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(edje)
BuildRequires: pkgconfig(eina)
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(evas)
BuildRequires: pkgconfig(efl-extension)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(security-privilege-manager)
BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-appfw-app-manager)
BuildRequires: pkgconfig(capi-privacy-privilege-manager)
BuildRequires: pkgconfig(bundle)
BuildRequires: pkgconfig(capi-system-device)
%description
Application providing ui for requesting privacy permission to the user.
%prep
%setup -q
cp -a %SOURCE1001 .
%build
export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
%ifarch %{ix86}
export CFLAGS="$CFLAGS -DTIZEN_EMULATOR_MODE"
export CXXFLAGS="$CXXFLAGS -DTIZEN_EMULATOR_MODE"
export FFLAGS="$FFLAGS -DTIZEN_EMULATOR_MODE"
%endif
%{!?build_type:%define build_type "Release"}
%cmake . -DCMAKE_INSTALL_PREFIX=%PREFIX \
-DTZ_SYS_RO_PACKAGES=%TZ_SYS_RO_PACKAGES \
-DTZ_SYS_RO_APP=%TZ_SYS_RO_APP \
-DCMAKE_BUILD_TYPE=%{build_type} \
-DVERSION=%version
make %{?_smp_mflags}
%install
%make_install
%find_lang askuser-popup askuser-popup.lang
%post
/sbin/ldconfig
%postun -p /sbin/ldconfig
%files -f askuser-popup.lang
%defattr(-,root,root,-)
%manifest %alias.manifest
%license LICENSE
%{TZ_SYS_RO_PACKAGES}/%alias.xml
%{PREFIX}/bin/
%{PREFIX}/res/icon/
%{PREFIX}/res/button/
|