blob: fc8aae116496f683b346777b4480d50b67175747 (
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
95
|
%define _usrdir /usr
%define _ugdir %{_usrdir}/ug
Name: ug-nfc-efl
Summary: UI gadget about the nfc
Version: 0.0.6
Release: 0
Group: TO_BE/FILLED_IN
License: Samsung Proprietary License
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(status)
BuildRequires: pkgconfig(capi-appfw-application)
BuildRequires: pkgconfig(capi-network-nfc)
BuildRequires: pkgconfig(capi-content-mime-type)
BuildRequires: pkgconfig(sqlite3)
BuildRequires: cmake
BuildRequires: edje-tools
BuildRequires: gettext-tools
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/vconftool
Requires(postun): /sbin/ldconfig
%description
UI gadget about the nfc
%prep
%setup -q
%package devel
Summary: ug for nfc setting
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel
ug for nfc setting
%package -n ug-share-nfc-efl
Summary: ug for nfc share
Group: Development/Libraries
Requires(post): /sbin/ldconfig
Requires(post): /usr/bin/vconftool
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
rm -rf %{buildroot}
%make_install
mkdir -p %{buildroot}/usr/share/license
cp -af %{_builddir}/%{name}-%{version}/packaging/ug-nfc-efl %{buildroot}/usr/share/license/
cp -af %{_builddir}/%{name}-%{version}/packaging/ug-share-nfc-efl %{buildroot}/usr/share/license/
%post
%post -n ug-share-nfc-efl
%postun
%files
%manifest ug-nfc-efl.manifest
%defattr(-,root,root,-)
/usr/ug/lib/libug-setting-nfc-efl*
/usr/ug/res/locale/*/LC_MESSAGES/ug-setting-nfc-efl*
/usr/ug/res/icons/*
/usr/share/license/ug-nfc-efl
%files -n ug-share-nfc-efl
%manifest ug-nfc-efl.manifest
%defattr(-,root,root,-)
/usr/ug/lib/libug-share-nfc-efl*
/usr/ug/res/locale/*/LC_MESSAGES/ug-share-nfc-efl*
/usr/ug/res/images/*
/usr/ug/res/edje/*
/usr/share/license/ug-share-nfc-efl
|