2 %define _ugdir %{_optdir}/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(status)
20 BuildRequires: pkgconfig(capi-appfw-application)
21 BuildRequires: pkgconfig(capi-network-nfc)
22 BuildRequires: pkgconfig(capi-content-mime-type)
25 BuildRequires: edje-tools
26 BuildRequires: gettext-tools
28 Requires(post): /sbin/ldconfig
29 Requires(post): /usr/bin/vconftool
30 Requires(postun): /sbin/ldconfig
33 UI gadget about the nfc
39 Summary: ug for nfc setting
40 Group: Development/Libraries
41 Requires: %{name} = %{version}-%{release}
46 %package -n ug-share-nfc-efl
47 Summary: ug for nfc share
48 Group: Development/Libraries
49 Requires(post): /sbin/ldconfig
50 Requires(post): /usr/bin/vconftool
51 Requires: %{name} = %{version}-%{release}
53 %description -n ug-share-nfc-efl
60 cmake .. -DCMAKE_INSTALL_PREFIX=%{_ugdir}
73 %post -n ug-share-nfc-efl
74 vconftool set -t int -f db/private/ug-nfc-efl/last_file_number 0 -u 5000
79 %defattr(-,root,root,-)
80 /opt/ug/lib/libug-setting-nfc-efl*
81 /opt/ug/res/locale/*/LC_MESSAGES/ug-setting-nfc-efl*
84 %files -n ug-share-nfc-efl
85 %defattr(-,root,root,-)
86 /opt/ug/lib/libug-share-nfc-efl*
89 /opt/ug/res/locale/*/LC_MESSAGES/ug-share-nfc-efl*