|
|
@ -6,9 +6,8 @@ Release: 1%{?dist} |
|
|
|
License: LGPL |
|
|
|
License: LGPL |
|
|
|
Group: Applications/Communications |
|
|
|
Group: Applications/Communications |
|
|
|
URL: https://eid.belgium.be/ |
|
|
|
URL: https://eid.belgium.be/ |
|
|
|
Source: eid-mw-%{mainversion}-%{version}.tar.gz |
|
|
|
Source: https://dist.eid.belgium.be/continuous/sources/eid-mw-%{mainversion}-v%{version}.tar.gz |
|
|
|
Source1: baselibs.conf |
|
|
|
Source1: baselibs.conf |
|
|
|
#BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
|
|
|
|
|
|
|
BuildRequires: gtk3-devel |
|
|
|
BuildRequires: gtk3-devel |
|
|
|
BuildRequires: desktop-file-utils |
|
|
|
BuildRequires: desktop-file-utils |
|
|
|
BuildRequires: p11-kit-devel |
|
|
|
BuildRequires: p11-kit-devel |
|
|
@ -84,7 +83,7 @@ checks the certificate against the government's Trust Service. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup -n eid-mw-%{version}-%{revision} |
|
|
|
%setup -n eid-mw-%{mainversion}-v%{version} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
@ -108,7 +107,6 @@ desktop-file-install --dir %{buildroot}%{_datadir}/applications --vendor fedict |
|
|
|
|
|
|
|
|
|
|
|
%post |
|
|
|
%post |
|
|
|
/sbin/ldconfig |
|
|
|
/sbin/ldconfig |
|
|
|
### Notify user if an action is required for the eID plugin to work. |
|
|
|
|
|
|
|
if /usr/bin/pgrep 'chrome' &>/dev/null; then |
|
|
|
if /usr/bin/pgrep 'chrome' &>/dev/null; then |
|
|
|
echo "INFO: You may have to restart Chrome for the Belgium eID add-on to work." >&2 |
|
|
|
echo "INFO: You may have to restart Chrome for the Belgium eID add-on to work." >&2 |
|
|
|
fi |
|
|
|
fi |
|
|
@ -122,7 +120,6 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
%postun |
|
|
|
%postun |
|
|
|
/sbin/ldconfig |
|
|
|
/sbin/ldconfig |
|
|
|
### Make pcscd reread configuration and rescan USB bus. |
|
|
|
|
|
|
|
if /sbin/service pcscd status &>/dev/null; then |
|
|
|
if /sbin/service pcscd status &>/dev/null; then |
|
|
|
%{_sbindir}/pcscd -H &>/dev/null || : |
|
|
|
%{_sbindir}/pcscd -H &>/dev/null || : |
|
|
|
fi |
|
|
|
fi |
|
|
@ -130,7 +127,6 @@ fi |
|
|
|
|
|
|
|
|
|
|
|
%files |
|
|
|
%files |
|
|
|
%defattr(-, root, root, 0755) |
|
|
|
%defattr(-, root, root, 0755) |
|
|
|
### Include license files |
|
|
|
|
|
|
|
%{_datadir}/mozilla/ |
|
|
|
%{_datadir}/mozilla/ |
|
|
|
%exclude %{_libdir}/*.la |
|
|
|
%exclude %{_libdir}/*.la |
|
|
|
|
|
|
|
|
|
|
|