SHA256
1
0
forked from pool/eid-mw

Accepting request 839117 from home:msmeissn:branches:security

OBS-URL: https://build.opensuse.org/request/show/839117
OBS-URL: https://build.opensuse.org/package/show/security/eid-mw?expand=0&rev=4
This commit is contained in:
Marcus Meissner 2020-10-02 08:45:02 +00:00 committed by Git OBS Bridge
parent 4ab2d098fb
commit c8cc989eff

View File

@ -139,9 +139,12 @@ mv %{buildroot}/usr/lib/mozilla/pkcs11-modules %{buildroot}%{_libdir}/mozilla/ |
rm -f %{buildroot}%{_datadir}/applications/eid-viewer.desktop
desktop-file-install --dir %{buildroot}%{_datadir}/applications --add-category="Office;Viewer;" --vendor fedict plugins_tools/eid-viewer/eid-viewer.desktop || true
%find_lang about-eid-mw
%find_lang dialogs-beid
%find_lang eid-viewer
%post -n eid-mw-libs
/sbin/ldconfig
%post -n eid-mw-libs -p /sbin/ldconfig
%post -n eid-mw-firefox
if /usr/bin/pgrep 'firefox' &>/dev/null; then
@ -150,9 +153,6 @@ elif /usr/bin/pgrep 'iceweasel' &>/dev/null; then
echo "INFO: You may have to restart Iceweasel for the Belgium eID add-on to work." >&2
fi
%post -n eid-viewer
[ -x /usr/bin/glib-compile-schemas ] && /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
%postun -n eid-mw-libs
/sbin/ldconfig
### Make pcscd reread configuration and rescan USB bus.
@ -160,7 +160,7 @@ if /sbin/service pcscd status &>/dev/null; then
%{_sbindir}/pcscd -H &>/dev/null || :
fi
%files
%files -f about-eid-mw.lang -f dialogs-beid.lang
%defattr(-, root, root, 0755)
%doc AUTHORS COPYING
%exclude %{_libdir}/*.la
@ -173,10 +173,6 @@ fi
/etc/xdg/autostart/beid-update-nssdb.desktop
%{_bindir}/about-eid-mw
%{_bindir}/beid-update-nssdb
/usr/share/locale/*/LC_MESSAGES/about-eid-mw.mo
/usr/share/locale/*/LC_MESSAGES/dialogs-beid.mo
%files libs
%defattr(-,root,root)
@ -218,10 +214,9 @@ fi
%{_libdir}/pkgconfig/libbeidpkcs11.pc
%files -n eid-viewer
%files -n eid-viewer -f eid-viewer.lang
%defattr(-,root,root,0755)
%{_bindir}/eid-viewer
%{_datadir}/locale/*/LC_MESSAGES/eid-viewer.mo
%{_datadir}/applications/fedict-eid-viewer.desktop
%{_datadir}/eid-mw/
%{_datadir}/metainfo/