################################################################################
Name: smartcard-service
Summary: Smartcard Service FW
-Version: 0.1.51
+Version: 0.1.52
Release: 0
Group: Network & Connectivity
Requires: %{name}-common = %{version}-%{release}
%files
%manifest %{name}.manifest
+%license LICENSE.APLv2
%defattr(-,root,root,-)
%{bindir}/bin/smartcard-daemon
%if 0%{?test_client:1}
%{bindir}/author-signature.xml
%{bindir}/signature1.xml
/etc/dbus-1/system.d/org.tizen.SmartcardService.conf
-%{_datadir}/license/%{name}
%post
%files common
%manifest %{name}-common.manifest
+%license LICENSE.APLv2
%defattr(-,root,root,-)
%{_libdir}/lib%{name}-common.so.*
-%{_datadir}/license/%{name}-common
################################################################################
%__cp -af %SOURCE1 %{buildroot}/etc/init.d/%{name}
chmod 755 %{buildroot}/etc/init.d/%{name}
%endif
-mkdir -p %{buildroot}/usr/share/license
+
mkdir -p %{buildroot}/etc/dbus-1/system.d/
-cp -af %{_builddir}/%{name}-%{version}/packaging/%{name} %{buildroot}/usr/share/license/
-cp -af %{_builddir}/%{name}-%{version}/packaging/%{name}-common %{buildroot}/usr/share/license/
cp -af %{_builddir}/%{name}-%{version}/packaging/%{name} %{buildroot}%{bindir}
cp -af %{_builddir}/%{name}-%{version}/packaging/org.tizen.SmartcardService.conf %{buildroot}/etc/dbus-1/system.d/