2 %define _ugdir %{_usrdir}/ug
6 Summary: UI gadget about the nfc
10 License: Samsung Proprietary License
11 Source0: %{name}-%{version}.tar.gz
12 Source1: libug-setting-nfc-efl.install.in
13 Source2: libug-share-nfc-efl.install.in
14 BuildRequires: pkgconfig(elementary)
15 BuildRequires: pkgconfig(ui-gadget-1)
16 BuildRequires: pkgconfig(dlog)
17 BuildRequires: pkgconfig(vconf)
18 BuildRequires: pkgconfig(utilX)
19 BuildRequires: pkgconfig(notification)
20 BuildRequires: pkgconfig(capi-appfw-application)
21 BuildRequires: pkgconfig(capi-network-nfc)
22 BuildRequires: pkgconfig(capi-content-mime-type)
23 BuildRequires: pkgconfig(sqlite3)
26 BuildRequires: edje-tools
27 BuildRequires: gettext-tools
29 Requires(post): /sbin/ldconfig
30 Requires(post): /usr/bin/vconftool
31 Requires(postun): /sbin/ldconfig
34 UI gadget about the nfc
40 Summary: ug for nfc setting
41 Group: Development/Libraries
42 Requires: %{name} = %{version}-%{release}
47 %package -n ug-share-nfc-efl
48 Summary: ug for nfc share
49 Group: Development/Libraries
50 Requires(post): /sbin/ldconfig
51 Requires(post): /usr/bin/vconftool
52 Requires: %{name} = %{version}-%{release}
54 %description -n ug-share-nfc-efl
61 cmake .. -DCMAKE_INSTALL_PREFIX=%{_ugdir}
70 mkdir -p %{buildroot}/usr/share/license
71 cp -af %{_builddir}/%{name}-%{version}/packaging/ug-nfc-efl %{buildroot}/usr/share/license/
72 cp -af %{_builddir}/%{name}-%{version}/packaging/ug-share-nfc-efl %{buildroot}/usr/share/license/
76 %post -n ug-share-nfc-efl
81 %manifest ug-nfc-efl.manifest
82 %defattr(-,root,root,-)
83 /usr/ug/lib/libug-setting-nfc-efl*
84 /usr/ug/res/locale/*/LC_MESSAGES/ug-setting-nfc-efl*
86 /usr/share/license/ug-nfc-efl
88 %files -n ug-share-nfc-efl
89 %manifest ug-nfc-efl.manifest
90 %defattr(-,root,root,-)
91 /usr/ug/lib/libug-share-nfc-efl*
92 /usr/ug/res/locale/*/LC_MESSAGES/ug-share-nfc-efl*
95 /usr/share/license/ug-share-nfc-efl