Name: smartcard-plugin-nfc
Summary: Smartcard plugin nfc
-Version: 0.0.3
+Version: 0.0.11
Release: 0
-Group: libs
-License: Apache License, Version 2.0
+Group: Network & Connectivity/NFC
+License: Apache-2.0
Source0: %{name}-%{version}.tar.gz
Source1001: smartcard-plugin-nfc.manifest
+#ExclusiveArch: %%arm
+BuildRequires: cmake
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(dlog)
-BuildRequires: pkgconfig(nfc)
BuildRequires: pkgconfig(smartcard-service-common)
-BuildRequires: cmake
-BuildRequires: gettext-tools
+BuildRequires: pkgconfig(capi-network-nfc)
+BuildRequires: pkgconfig(vconf)
Requires(post): /sbin/ldconfig
-Requires(post): /usr/bin/vconftool
-requires(postun): /sbin/ldconfig
+Requires(postun): /sbin/ldconfig
+
+
%description
Smartcard Service plugin nfc
%setup -q
cp %{SOURCE1001} .
-
-%package devel
-Summary: smartcard service
-Group: Development/Libraries
-Requires: %{name} = %{version}-%{release}
-
-%description devel
-smartcard service.
-
-
%build
-mkdir obj-arm-limux-qnueabi
-cd obj-arm-limux-qnueabi
-cmake .. -DCMAKE_INSTALL_PREFIX=%{_prefix}
-#make %{?jobs:-j%jobs}
-
+%cmake .
%install
-cd obj-arm-limux-qnueabi
%make_install
-mkdir -p %{buildroot}/usr/share/license
-cp -af %{_builddir}/%{name}-%{version}/packaging/smartcard-plugin-nfc %{buildroot}/usr/share/license/
-
-%post
-/sbin/ldconfig
-
-
-%postun
-/sbin/ldconfig
-#%post
-# -n nfc-common-lib -p /sbin/ldconfig
+%post -p /sbin/ldconfig
-#%postun
-# -n nfc-common-lib -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
%files
%manifest %{name}.manifest
%defattr(-,root,root,-)
-/usr/lib/se/lib*.so
-/usr/share/license/smartcard-plugin-nfc
+%{_libdir}/se/lib*.so
+%license LICENSE.APLv2