summaryrefslogtreecommitdiff
path: root/packaging/ug-myfile-efl.spec
blob: b2ddf6cafff9b75b3031cbb155ff9bdbbfea4842 (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
#sbs-git:slp/pkgs/u/ug-myfile-efl ug-myfile-efl 0.0.1 1b44640a2e59d1af1ab0792e39a73bf3680b25c9
Name:       ug-myfile-efl
Summary:    Myfile UI Gadget (EFL)
Version:    0.0.25
Release:    1
Group:      misc
License:    flora
Source0:    %{name}-%{version}.tar.gz

BuildRequires:  cmake
BuildRequires:  edje-bin
BuildRequires:  embryo-bin
BuildRequires:  gettext

BuildRequires:  pkgconfig(ecore-x)
BuildRequires:  pkgconfig(ecore-evas)
BuildRequires:  pkgconfig(elementary)
BuildRequires:  pkgconfig(vconf)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(drm-client)
BuildRequires:  pkgconfig(ui-gadget-1)
BuildRequires:  pkgconfig(capi-appfw-application)
BuildRequires:  pkgconfig(dlog)
BuildRequires:  pkgconfig(capi-media-sound-manager)
BuildRequires:  pkgconfig(capi-media-player)
BuildRequires:  pkgconfig(capi-system-haptic)
BuildRequires:  pkgconfig(capi-content-media-content)
BuildRequires:  pkgconfig(capi-system-power)

%description
Myfile UI Gadget (EFL) v1.0.

%prep
%setup -q -n %{name}-%{version}

%build
cmake . -DCMAKE_INSTALL_PREFIX="%{PREFIX}"
make %{?jobs:-j%jobs}

%post
mkdir -p /opt/ug/bin/
ln -sf /usr/bin/ug-client /opt/ug/bin/myfile-efl

%install
rm -rf %{buildroot}
%make_install

%files
%defattr(-,root,root,-)
/opt/ug/lib/*
/opt/ug/res/*
/opt/share/packages/*.xml