1 Name: smartcard-service
2 Summary: Smartcard Service FW
5 Group: Network & Connectivity
7 Source0: %{name}-%{version}.tar.gz
9 BuildRequires: pkgconfig(glib-2.0)
10 BuildRequires: pkgconfig(gio-unix-2.0)
11 BuildRequires: pkgconfig(dlog)
12 BuildRequires: pkgconfig(aul)
13 BuildRequires: pkgconfig(openssl1.1)
14 BuildRequires: pkgconfig(pkgmgr)
15 BuildRequires: pkgconfig(pkgmgr-info)
16 BuildRequires: pkgconfig(cynara-client)
17 BuildRequires: pkgconfig(cynara-creds-gdbus)
18 BuildRequires: pkgconfig(cynara-session)
19 BuildRequires: pkgconfig(capi-system-info)
22 BuildRequires: python-xml
24 Requires(post): /sbin/ldconfig
25 Requires(postun): /sbin/ldconfig
26 Requires: %{name}-common = %{version}-%{release}
29 BuildRequires: pkgconfig(gmock)
36 Summary: common smartcard service
37 Group: Development/Libraries
41 common smartcard service.
44 Summary: common smartcard service
45 Group: Development/Libraries
46 Requires: %{name}-common = %{version}-%{release}
49 %description common-devel
50 common smartcard service.
58 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
59 export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
60 export LDFLAGS+=" -lgcov "
63 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_GTESTS=%{?gtests:1}%{!?gtests:0} \
64 -DBUILD_GCOV=%{?gcov:1}%{!?gcov:0}
69 mkdir -p %{buildroot}/etc/dbus-1/system.d/
70 cp -af %{_builddir}/%{name}-%{version}/packaging/org.tizen.SmartcardService.conf %{buildroot}/etc/dbus-1/system.d/
73 %manifest %{name}.manifest
74 %defattr(-,root,root,-)
75 %{_bindir}/smartcard-daemon
76 %{_sysconfdir}/dbus-1/system.d/org.tizen.SmartcardService.conf
77 %{_datadir}/dbus-1/system-services/org.tizen.SmartcardService.service
81 %license LICENSE.APLv2
84 %manifest %{name}-common.manifest
85 %defattr(-,root,root,-)
86 %{_libdir}/lib%{name}-common.so.*
87 %license LICENSE.APLv2
90 %manifest %{name}-common-devel.manifest
91 %defattr(-,root,root,-)
92 %{_includedir}/%{name}-common/*
93 %{_libdir}/lib%{name}-common.so
94 %{_libdir}/pkgconfig/%{name}-common.pc