blob: 48755ac4aba1cbbd6ea40b3da0fb777f69746a8d (
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
|
Name: ug-setting-location-efl
Summary: UG setting location EFL
Version: 0.3.46
Release: 1
Group: System/Libraries
License: Flora Software License
Source0: %{name}-%{version}.tar.gz
Source1001: ug-setting-location-efl.manifest
BuildRequires: pkgconfig(elementary)
BuildRequires: pkgconfig(edje)
BuildRequires: pkgconfig(bundle)
BuildRequires: pkgconfig(ui-gadget-1)
BuildRequires: pkgconfig(location)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(capi-location-manager)
BuildRequires: edje-bin
BuildRequires: cmake
BuildRequires: gettext-tools
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/vconftool
requires(postun): /sbin/ldconfig
%description
ug setting location efl.
%prep
%setup -q -n %{name}-%{version}
cp %{SOURCE1001} .
%build
export LDFLAGS+="-Wl,--rpath=%{_prefix}/lib -Wl,--as-needed -Wl,--hash-style=both"
LDFLAGS="$LDFLAGS" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix}
make %{?jobs:-j%jobs}
%install
%make_install
%post
/sbin/ldconfig
mkdir -p /usr/ug/bin/
mkdir -p /usr/ug/res/locale/
ln -sf /usr/bin/ug-client /usr/ug/bin/setting-location-efl
%postun -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
/usr/ug/lib/libug-setting-location-efl.so*
/usr/share/packages/ug-setting-location-efl.xml
/usr/ug/res/edje/ug-setting-location-efl/setting-location.edj
/usr/ug/res/locale/*
|