|
|
|
@ -82,7 +82,7 @@ BuildRequires: brp-check-trinity
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
# PCSC support
|
|
|
|
|
%if 0%{?mgaversion} || 0%{?mdkversion} || 9%{?pclinuxos}
|
|
|
|
|
%if 0%{?mgaversion} || 0%{?mdkversion} || 0%{?pclinuxos}
|
|
|
|
|
Requires: perl-pcsc-perl
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?rhel} || 0%{?fedora}
|
|
|
|
@ -167,10 +167,6 @@ in addition to the PKCS certificate functionality
|
|
|
|
|
unset QTDIR QTINC QTLIB
|
|
|
|
|
export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
|
|
|
|
|
|
if [ -x "%{_libdir}/nss/unsupported-tools/pp" ]; then
|
|
|
|
|
PATH="%{_libdir}/nss/unsupported-tools:${PATH}"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if ! rpm -E %%cmake|grep -q "cd build"; then
|
|
|
|
|
%__mkdir_p build
|
|
|
|
|
cd build
|
|
|
|
@ -193,6 +189,9 @@ fi
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?mgaversion} == 6 || 0%{?pclinuxos}
|
|
|
|
|
-DPERL_LIB_CHIPCARD="%{perl_sitearch}" \
|
|
|
|
|
%endif
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
-DPERL_LIB_CHIPCARD="%{perl_vendorarch}" \
|
|
|
|
|
%endif
|
|
|
|
|
\
|
|
|
|
|
-DBUILD_ALL=ON \
|
|
|
|
@ -209,6 +208,12 @@ export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
|
%__make install DESTDIR="%{?buildroot}" -C build
|
|
|
|
|
|
|
|
|
|
# Updates applications categories for openSUSE
|
|
|
|
|
%if 0%{?suse_version}
|
|
|
|
|
%suse_update_desktop_file smartcardauth System Security
|
|
|
|
|
%suse_update_desktop_file smartcardrestrict System Security
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
%__rm -rf %{buildroot}
|
|
|
|
@ -230,6 +235,7 @@ export PATH="%{tde_bindir}:${PATH}"
|
|
|
|
|
%{_datadir}/icons/hicolor/16x16/apps/smartcardauth.png
|
|
|
|
|
%{_datadir}/icons/hicolor/32x32/apps/smartcardauth.png
|
|
|
|
|
%{_sysconfdir}/smartauth/
|
|
|
|
|
%dir %{_sysconfdir}/init
|
|
|
|
|
%{_sysconfdir}/init/smartauthlogin.conf
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|