1 Name: smartcard-service
2 Summary: Smartcard Service FW
5 Group: Network & Connectivity
7 Source0: %{name}-%{version}.tar.gz
8 Source1: smartcard-service.service
10 BuildRequires: pkgconfig(glib-2.0)
11 BuildRequires: pkgconfig(gio-unix-2.0)
12 BuildRequires: pkgconfig(dlog)
13 BuildRequires: pkgconfig(aul)
14 BuildRequires: pkgconfig(openssl1.1)
15 BuildRequires: pkgconfig(pkgmgr)
16 BuildRequires: pkgconfig(pkgmgr-info)
17 BuildRequires: pkgconfig(cynara-client)
18 BuildRequires: pkgconfig(cynara-creds-gdbus)
19 BuildRequires: pkgconfig(cynara-session)
20 BuildRequires: pkgconfig(capi-system-info)
23 BuildRequires: python-xml
25 Requires(post): /sbin/ldconfig
26 Requires(postun): /sbin/ldconfig
27 Requires: %{name}-common = %{version}-%{release}
30 BuildRequires: pkgconfig(gmock)
37 Summary: common smartcard service
38 Group: Development/Libraries
42 common smartcard service.
45 Summary: common smartcard service
46 Group: Development/Libraries
47 Requires: %{name}-common = %{version}-%{release}
50 %description common-devel
51 common smartcard service.
55 Summary: A Smartcard gcov Tool
56 Group: Network & Connectivity/Development
59 Smartcard gcov objects
68 export CFLAGS+=" -fprofile-arcs -ftest-coverage"
69 export CXXFLAGS+=" -fprofile-arcs -ftest-coverage"
70 export LDFLAGS+=" -lgcov "
73 %cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DBUILD_GTESTS=%{?gtests:1}%{!?gtests:0} \
74 -DBUILD_GCOV=%{?gcov:1}%{!?gcov:0}
81 find . -name '*.gcno' -exec cp '{}' gcov-obj ';'
85 mkdir -p %{buildroot}%{_datadir}/gcov/obj
86 install -m 0644 gcov-obj/* %{buildroot}%{_datadir}/gcov/obj
89 mkdir -p %{buildroot}/usr/lib/systemd/system/
90 cp -af %{SOURCE1} %{buildroot}/usr/lib/systemd/system/
92 mkdir -p %{buildroot}/etc/dbus-1/system.d/
93 cp -af %{_builddir}/%{name}-%{version}/packaging/org.tizen.SmartcardService.conf %{buildroot}/etc/dbus-1/system.d/
96 %manifest %{name}.manifest
97 %defattr(-,root,root,-)
98 %{_bindir}/smartcard-daemon
99 %{_sysconfdir}/dbus-1/system.d/org.tizen.SmartcardService.conf
100 %{_datadir}/dbus-1/system-services/org.tizen.SmartcardService.service
101 /usr/lib/systemd/system/%{name}.service
105 %license LICENSE.APLv2
108 %manifest %{name}-common.manifest
109 %defattr(-,root,root,-)
110 %{_libdir}/lib%{name}-common.so.*
111 %license LICENSE.APLv2
114 %manifest %{name}-common-devel.manifest
115 %defattr(-,root,root,-)
116 %{_includedir}/%{name}-common/*
117 %{_libdir}/lib%{name}-common.so
118 %{_libdir}/pkgconfig/%{name}-common.pc
122 %{_datadir}/gcov/obj/*