1 Name: org.tizen.settings-tv-ref
2 Summary: Setting Reference Application
5 Group: Applications/Native Applications
7 Source0: %{name}-%{version}.tar.gz
8 Source1: %{name}.manifest
10 BuildRequires: gettext-tools
11 BuildRequires: edje-bin
12 BuildRequires: pkgconfig(capi-appfw-application)
13 BuildRequires: pkgconfig(elementary)
14 BuildRequires: pkgconfig(ecore)
15 BuildRequires: pkgconfig(edje)
16 BuildRequires: pkgconfig(dlog)
17 BuildRequires: pkgconfig(aul)
18 BuildRequires: pkgconfig(eina)
19 BuildRequires: pkgconfig(ui-gadget-1)
20 BuildRequires: pkgconfig(json-glib-1.0)
21 BuildRequires: pkgconfig(capi-system-info)
22 BuildRequires: pkgconfig(capi-network-wifi)
23 BuildRequires: pkgconfig(capi-network-connection)
24 BuildRequires: pkgconfig(capi-media-sound-manager)
25 BuildRequires: pkgconfig(capi-network-wifi-direct)
26 BuildRequires: gettext-devel
28 #BuildRequires: pkgconfig(capi-appfw-tvcontext)
29 #BuildRequires: pkgconfig(capi-system-tvtimer)
30 #BuildRequires: pkgconfig(tv-service)
31 #BuildRequires: pkgconfig(tv-player-core)
33 %define _packagedir /usr/apps/%{name}
34 %define _bindir %{_packagedir}/bin
35 %define _resdir %{_packagedir}/res
36 %define _imgdir %{_packagedir}/res/images
37 %define _edjedir %{_packagedir}/res/edje
38 %define _localedir %{_packagedir}/res/locale
39 %define _manifestdir /usr/share/packages
40 %define _jsonoutputdir %{_resdir}/json
41 %define _uglibdir /usr/ug/lib
42 %define _desktop_icondir /usr/share/icons
43 %define _ugedjedir /usr/ug/res/edje
44 %define _jsonhelperfile %{_jsonoutputdir}/helper.json
47 Description: settings-tv-ref application
55 -DCMAKE_INSTALL_PREFIX=%{_packagedir} \
56 -DPACKAGE_NAME=%{name} \
58 -DIMAGEDIR=%{_imgdir} \
59 -DEDJEDIR=%{_edjedir} \
60 -DLOCALEDIR=%{_localedir} \
61 -DMANIFESTDIR=%{_manifestdir} \
62 -DVERSION=%{version} \
63 -DJSONOUTPUTDIR=%{_jsonoutputdir} \
64 -DUGLIBDIR=%{_uglibdir} \
65 -DDESKTOP_ICONDIR=%{_desktop_icondir} \
66 -DDESKTOP_ICON=%{name}.png \
67 -DDESKTOP_ICON_4X2=%{name}_4x2.png \
68 -DJSONHELPERFILE=%{_jsonhelperfile}
77 vconftool set -t string db/menu/system/change_pin "0000" -f
79 %postun -p /sbin/ldconfig
85 %manifest %{name}.manifest
86 %defattr(-,root,root,-)
88 %{_manifestdir}/%{name}.xml
90 %{_resdir}/json/*.json
92 %{_desktop_icondir}/%{name}.png
93 %{_desktop_icondir}/%{name}_4x2.png