2 %define __usrdir /usr/lib/systemd/user
4 Name: org.tizen.quickpanel
5 Summary: Quick access panel for the notifications and various kinds of services.
8 Group: Applications/Core Applications
10 Source0: %{name}-%{version}.tar.gz
11 Source102: quickpanel-system.service
12 Source104: quickpanel-system.path
15 Source103: org.tizen.quickpanel.manifest.3.0
17 Source103: org.tizen.quickpanel.manifest.2.4
20 %if "%{?profile}" == "wearable"
21 ExcludeArch: %{arm} %ix86 x86_64
24 %if "%{?profile}"=="tv"
25 ExcludeArch: %{arm} %ix86 x86_64
28 BuildRequires: pkgconfig(capi-appfw-application)
29 BuildRequires: pkgconfig(capi-system-runtime-info)
30 BuildRequires: pkgconfig(capi-system-info)
31 BuildRequires: pkgconfig(capi-system-device)
32 BuildRequires: pkgconfig(capi-location-manager)
33 BuildRequires: pkgconfig(capi-network-wifi)
34 BuildRequires: pkgconfig(capi-network-bluetooth)
35 BuildRequires: pkgconfig(capi-network-tethering)
36 BuildRequires: pkgconfig(capi-network-connection)
37 BuildRequires: pkgconfig(capi-media-player)
38 BuildRequires: pkgconfig(capi-media-sound-manager)
39 BuildRequires: pkgconfig(capi-media-metadata-extractor)
40 BuildRequires: pkgconfig(capi-system-system-settings)
41 BuildRequires: pkgconfig(capi-base-utils-i18n)
42 BuildRequires: pkgconfig(capi-ui-efl-util)
43 BuildRequires: pkgconfig(tapi)
44 BuildRequires: pkgconfig(feedback)
45 BuildRequires: pkgconfig(appcore-common)
46 BuildRequires: pkgconfig(notification)
47 BuildRequires: pkgconfig(badge)
48 BuildRequires: pkgconfig(vconf)
49 BuildRequires: pkgconfig(edbus)
50 BuildRequires: pkgconfig(evas)
51 BuildRequires: pkgconfig(ecore)
52 BuildRequires: pkgconfig(edje)
53 BuildRequires: pkgconfig(icu-i18n)
54 BuildRequires: pkgconfig(dlog)
55 BuildRequires: pkgconfig(syspopup-caller)
56 BuildRequires: pkgconfig(bundle)
57 BuildRequires: pkgconfig(elementary)
58 BuildRequires: pkgconfig(syspopup-caller)
59 BuildRequires: pkgconfig(minicontrol-viewer)
60 BuildRequires: pkgconfig(minicontrol-monitor)
61 BuildRequires: pkgconfig(iniparser)
62 BuildRequires: pkgconfig(capi-appfw-package-manager)
63 BuildRequires: pkgconfig(alarm-service)
65 BuildRequires: pkgconfig(ecore-wayland)
67 BuildRequires: pkgconfig(inputproto)
68 BuildRequires: pkgconfig(xi)
69 BuildRequires: pkgconfig(utilX)
70 BuildRequires: pkgconfig(ecore-x)
71 BuildRequires: pkgconfig(libprivilege-control)
73 BuildRequires: pkgconfig(voice-control-setting)
74 BuildRequires: pkgconfig(tzsh-quickpanel-service)
75 BuildRequires: gettext-tools
77 BuildRequires: edje-tools
78 Requires(post): /usr/bin/vconftool
86 cp %SOURCE103 %{name}.manifest
89 %if 0%{?tizen_build_binary_release_type_eng}
90 export CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
91 export CXXFLAGS="$CXXFLAGS -DTIZEN_ENGINEER_MODE"
92 export FFLAGS="$FFLAGS -DTIZEN_ENGINEER_MODE"
94 %if 0%{?sec_build_binary_debug_enable}
95 export CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
96 export CXXFLAGS="$CXXFLAGS -DTIZEN_DEBUG_ENABLE"
97 export FFLAGS="$FFLAGS -DTIZEN_DEBUG_ENABLE"
100 LDFLAGS+="-Wl,--rpath=%{name}/lib -Wl,--as-needed";
104 export WINSYS="wayland"
105 export WAYLAND_SUPPORT=On
106 export X11_SUPPORT=Off
108 export WAYLAND_SUPPORT=Off
109 export X11_SUPPORT=On
112 %cmake . -DPKGNAME=%{name} -DWINSYS=${WINSYS}
114 make %{?jobs:-j%jobs}
120 mkdir -p %{buildroot}%{__usrdir}/default.target.wants
121 install -m 0644 %SOURCE102 %{buildroot}%{__usrdir}/quickpanel.service
122 install -m 0644 %SOURCE104 %{buildroot}%{__usrdir}/quickpanel.path
123 ln -s ../quickpanel.path %{buildroot}%{__usrdir}/default.target.wants/
128 %manifest %{name}.manifest
129 %defattr(-,root,root,-)
130 %attr(755,-,-) %{_sysconfdir}/init.d/quickpanel
131 %attr(775,app,app) /opt/%{_prefix}/apps/%{name}/
132 %attr(775,app,app) /opt/%{_prefix}/apps/%{name}/data
133 /opt/%{_prefix}/apps/%{name}/data
134 %{_prefix}/apps/%{name}
135 %{_prefix}/share/packages/%{name}.xml
136 %{__usrdir}/default.target.wants/quickpanel.path
137 %{__usrdir}/quickpanel.service
138 %{__usrdir}/quickpanel.path
139 %{_prefix}/share/license/%{name}
141 # Do not install the SMACK Rule file for Tizen 3.x
143 %{_sysconfdir}/smack/accesses.d/%{name}.efl