1 %define PREFIX /usr/apps/%{name}
2 %define RESDIR %{PREFIX}/res
3 %define DATADIR %{PREFIX}/data
5 Name: org.tizen.quickpanel
10 License: Flora Software License
11 Source0: %{name}-%{version}.tar.gz
12 Source101: quickpanel.service
14 BuildRequires: pkgconfig(capi-appfw-application)
15 BuildRequires: pkgconfig(capi-appfw-app-manager)
16 BuildRequires: pkgconfig(capi-system-runtime-info)
17 BuildRequires: pkgconfig(capi-system-info)
18 BuildRequires: pkgconfig(capi-system-device)
19 BuildRequires: pkgconfig(capi-network-tethering)
20 BuildRequires: pkgconfig(capi-media-player)
21 BuildRequires: pkgconfig(feedback)
22 BuildRequires: pkgconfig(appcore-common)
23 BuildRequires: pkgconfig(heynoti)
24 BuildRequires: pkgconfig(notification)
25 BuildRequires: pkgconfig(vconf)
26 BuildRequires: pkgconfig(appsvc)
27 BuildRequires: pkgconfig(devman_haptic)
28 BuildRequires: pkgconfig(libprivilege-control)
29 BuildRequires: pkgconfig(ecore-x)
30 BuildRequires: pkgconfig(edbus)
31 BuildRequires: pkgconfig(evas)
32 BuildRequires: pkgconfig(ecore)
33 BuildRequires: pkgconfig(edje)
34 BuildRequires: pkgconfig(icu-i18n)
35 BuildRequires: pkgconfig(dlog)
36 BuildRequires: pkgconfig(elementary)
37 BuildRequires: pkgconfig(syspopup-caller)
38 BuildRequires: pkgconfig(minicontrol-viewer)
39 BuildRequires: pkgconfig(minicontrol-monitor)
40 BuildRequires: pkgconfig(utilX)
41 BuildRequires: gettext-tools
43 BuildRequires: edje-tools
45 Requires(post): /usr/bin/vconftool
55 LDFLAGS+="-Wl,--rpath=%{PREFIX}/lib -Wl,--as-needed";export LDFLAGS
56 cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX}
62 mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/rc5.d/
63 mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/
64 ln -s ../../init.d/quickpanel %{buildroot}/%{_sysconfdir}/rc.d/rc5.d/S51quickpanel
65 ln -s ../../init.d/quickpanel %{buildroot}/%{_sysconfdir}/rc.d/rc3.d/S51quickpanel
67 mkdir -p %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants
68 install -m 0644 %SOURCE101 %{buildroot}%{_libdir}/systemd/user/
69 ln -s ../quickpanel.service %{buildroot}%{_libdir}/systemd/user/core-efl.target.wants/quickpanel.service
71 mkdir -p %{buildroot}/usr/share/license
72 cp -f LICENSE.Flora %{buildroot}/usr/share/license/%{name}
75 vconftool set -t bool db/setting/rotate_lock 0 -u 5000
76 vconftool set -t bool db/setting/drivingmode/drivingmode 0 -u 5000
77 vconftool set -t bool memory/private/%{name}/started 0 -i -u 5000
78 vconftool set -t bool memory/private/%{name}/enable_ask 1 -i -u 5000
79 vconftool set -t bool memory/private/%{name}/disable_ask 1 -i -u 5000
80 vconftool set -t bool memory/private/%{name}/hotspot/enable_ask 1 -i -u 5000
83 %manifest org.tizen.quickpanel.manifest
84 %defattr(-,root,root,-)
85 %attr(755,-,-) %{_sysconfdir}/init.d/quickpanel
86 %attr(775,app,app) %{DATADIR}
90 /usr/share/packages/%{name}.xml
91 %{_sysconfdir}/rc.d/rc3.d/S51quickpanel
92 %{_sysconfdir}/rc.d/rc5.d/S51quickpanel
93 %{_sysconfdir}/init.d/quickpanel
94 %{_libdir}/systemd/user/quickpanel.service
95 %{_libdir}/systemd/user/core-efl.target.wants/quickpanel.service
96 /usr/share/license/%{name}