1 Name: org.tizen.infosquare
2 Summary: Info. Square application for Tizen TV
7 Source0: %{name}-%{version}.tar.gz
8 Source1: %{name}.manifest
11 BuildRequires: pkgconfig(capi-appfw-application)
12 BuildRequires: pkgconfig(elementary)
13 BuildRequires: pkgconfig(ecore)
14 BuildRequires: pkgconfig(edje)
15 BuildRequires: pkgconfig(app-utils)
16 BuildRequires: pkgconfig(notification)
17 BuildRequires: pkgconfig(vconf)
18 BuildRequires: gettext-devel
19 BuildRequires: edje-bin
21 %define _pkgdir %{_prefix}/apps/%{name}
22 %define _bindir %{_pkgdir}/bin
23 %define _resdir %{_pkgdir}/res
24 %define _datadir %{_pkgdir}/data
25 %define _edjedir %{_resdir}/edje
26 %define _servicedir %{_prefix}/bin
27 %define _manifestdir %{_datarootdir}/packages
30 Info. Square application for Tizen TV.
38 -DCMAKE_INSTALL_PREFIX=%{_pkgdir} \
39 -DPACKAGE_NAME=%{name} \
41 -DEDJEDIR=%{_edjedir} \
42 -DMANIFESTDIR=%{_manifestdir} \
43 -DSERVICEDIR=%{_servicedir} \
50 install --directory %{buildroot}/%{_datadir}
51 mkdir -p %{buildroot}/%{_unitdir_user}/default.target.wants
52 install -m 0644 daemon/notification-display.service %{buildroot}/%{_unitdir_user}/notification-display.service
53 install -m 0644 daemon/notification-display.path %{buildroot}/%{_unitdir_user}/notification-display.path
54 ln -sf ../notification-display.path %{buildroot}/%{_unitdir_user}/default.target.wants/notification-display.path
60 %manifest %{name}.manifest
61 %defattr(-,root,root,-)
66 %{_manifestdir}/%{name}.xml
67 %{_unitdir_user}/default.target.wants/notification-display.path
68 %{_unitdir_user}/notification-display.service
69 %{_unitdir_user}/notification-display.path