summaryrefslogtreecommitdiff
path: root/packaging/my-account.spec
blob: 86cddbde74c24aecdcdab5f6b8a939dcdc52ee08 (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
%define alias my-account

Name:       my-account-profile_wearable
Summary:    My account application
Version:    0.0.4
Release:    0
Provides:   my-account = %{version}-%{release}
Group:      main/devel
License:    Apache-2.0
Source0:    %{name}-%{version}.tar.gz

%global PREFIX  %{_prefix}/apps/org.tizen.my-account/

BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(syspopup)
BuildRequires:  pkgconfig(accounts-svc)
BuildRequires:  pkgconfig(capi-appfw-application)
BuildRequires:  pkgconfig(dlog)
BuildRequires:  pkgconfig(vconf)
BuildRequires:  pkgconfig(efl-extension)
BuildRequires:  pkgconfig(elementary)
BuildRequires:  cmake
BuildRequires:  edje-tools
BuildRequires:  gettext-tools
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig

%description
Accounts ug of setting application.

%prep
%setup -q

%build
cmake . -DCMAKE_INSTALL_PREFIX=%{PREFIX} \

make %{?jobs:-j%jobs}

%install
%make_install

mkdir -p %{buildroot}/usr/share/license
cp -af LICENSE.APLv2 %{buildroot}/usr/share/license/

%post
/sbin/ldconfig

%postun -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_datadir}/license/LICENSE.APLv2
%{_datadir}/packages/*
%{PREFIX}/*