summaryrefslogtreecommitdiff
path: root/packaging/org.tizen.apps.spec
blob: bf302e784339e6631027ba197d6a56615651a6ce (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
Name: org.tizen.apps
Summary: Apps application for Tizen TV based on AirFlex UX
Version: 0.3.1
Release: 1
Group: Applications/Core Applications
License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.manifest

BuildRequires: cmake
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(app-utils)
BuildRequires: pkgconfig(pkgmgr-info)
BuildRequires: pkgconfig(capi-appfw-package-manager)
BuildRequires: pkgconfig(libtzplatform-config)

%define _appdir %{TZ_SYS_RO_APP}/%{name}
%define _bindir %{_appdir}/bin
%define _resdir %{_appdir}/res
%define _edjedir %{_resdir}/edje
%define _imgdir %{_resdir}/images
%define _pkgdir %{_datadir}/packages

%description
Apps application is for launching other applications.
It shows installed applications to the user.

%prep
%setup -q
cp %{SOURCE1} .

%build
cmake \
	-DCMAKE_INSTALL_PREFIX=%{_appdir} \
	-DPACKAGE_NAME=%{name} \
	-DVERSION=%{version} \
	-DBINDIR=%{_bindir} \
	-DRESDIR=%{_resdir} \
	-DEDJEDIR=%{_edjedir} \
	-DIMGDIR=%{_imgdir} \
	-DPACKAGEDIR=%{_pkgdir}

make %{?jobs:-j%jobs}

# Copies the executables to appropriate location
%install
%make_install

%clean
rm -rf %{buildroot}

%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
%{_bindir}/*
%{_resdir}/*
%{_pkgdir}/%{name}.xml