summaryrefslogtreecommitdiff
path: root/packaging/ug-nfc-efl.spec
blob: c843b6302f062c835597cbb91bca711ce7db9446 (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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
%define _usrdir	/usr
%define _ugdir	%{_usrdir}/ug


Name:       ug-nfc-efl
Summary:    UI gadget about the nfc
Version:    0.0.8
Release:    0
Group:      Applications/Network
License:    Flora
Source0:    %{name}-%{version}.tar.gz
Source1:    libug-setting-nfc-efl.install.in
Source2:    libug-share-nfc-efl.install.in
BuildRequires:  pkgconfig(elementary)
BuildRequires:  pkgconfig(ui-gadget-1)
BuildRequires:  pkgconfig(dlog)
BuildRequires:  pkgconfig(vconf)
BuildRequires:  pkgconfig(utilX)
BuildRequires:  pkgconfig(notification)
BuildRequires:  pkgconfig(capi-appfw-application)
BuildRequires:  pkgconfig(capi-network-nfc)
BuildRequires:  pkgconfig(capi-content-mime-type)
BuildRequires:  pkgconfig(sqlite3)
BuildRequires:  pkgconfig(x11)

BuildRequires:  pkgconfig(libtzplatform-config)
BuildRequires:  cmake
BuildRequires:  edje-tools
BuildRequires:  gettext-tools


%description
UI gadget about the nfc

%prep
%setup -q

%package devel
Summary:  ug for nfc setting
Requires: %{name} = %{version}-%{release}

%description devel
ug for nfc setting

%package -n ug-share-nfc-efl
Summary:  ug for nfc share
Requires: %{name} = %{version}-%{release}

%description -n ug-share-nfc-efl
ug for nfc share


%build
mkdir cmake_tmp
cd cmake_tmp
%cmake .. -DCMAKE_INSTALL_PREFIX=%{_ugdir}

make %{?jobs:-j%jobs}


%install
cd cmake_tmp
%make_install
cd ..
mkdir -p %{buildroot}/etc/config/nfc/

%find_lang ug-setting-nfc-efl
%find_lang ug-share-nfc-efl

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%post -p /sbin/ldconfig -n ug-share-nfc-efl

%postun -p /sbin/ldconfig -n ug-share-nfc-efl

%files -f ug-setting-nfc-efl.lang
%manifest ug-nfc-efl.manifest
%defattr(-,root,root,-)
/usr/ug/lib/libug-setting-nfc-efl*
/usr/ug/res/icons/*
/etc/smack/accesses2.d/ug.setting-nfc-efl.include
%license LICENSE.Flora

%files -n ug-share-nfc-efl -f ug-share-nfc-efl.lang
%defattr(-,root,root,-)
%manifest ug-nfc-efl.manifest
%license LICENSE.Flora
/usr/ug/lib/libug-share-nfc-efl*
/usr/ug/res/images/*
/usr/ug/res/edje/*
/etc/smack/accesses2.d/ug.share-nfc-efl.include
/etc/config/nfc/*