# These come from install.rdf %global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} %global extension_id \{aa84ce40-4253-a00a-8cd6-0800200f9a66\} %define _mozillaextpath %{_datadir}/mozilla/extensions Name: mozilla-esteid Version: 3.5 Release: %mkrel 1.1 Summary: Estonian ID card extension for Mozilla Group: Networking/WWW License: LGPLv2 URL: http://id.eesti.ee # svn export https://svn.eesti.ee/projektid/idkaart_public/branches/3.5/esteid-pkcs11-module-loader mozilla-esteid-3.5 && tar cjf mozilla-esteid-3.5.tar.bz2 mozilla-esteid-3.5 Source: %{name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-install_rdf.patch Patch1: mozilla-esteid-3.5-fix-loading-certs.patch BuildArch: noarch Requires: ccid Requires: esteidcerts Requires: opensc Requires: pcsc-lite Suggests: esteid-browser-plugin %description %{summary}. %prep %setup -q %patch0 -p1 -b .install_rdf %patch1 -p1 -b .certs %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_mozillaextpath}/%{firefox_app_id}/%{extension_id} mv Mozilla/chrome* $RPM_BUILD_ROOT%{_mozillaextpath}/%{firefox_app_id}/%{extension_id}/ mv Mozilla/install.rdf.in $RPM_BUILD_ROOT%{_mozillaextpath}/%{firefox_app_id}/%{extension_id}/install.rdf %files %{_mozillaextpath}/%{firefox_app_id}/%{extension_id} %changelog * Fri Feb 08 2013 sander85 <sander85> 3.5-1.1.mga2 + Revision: 397047 - Require certificates - Fix import of missing certificates - new version: 3.5 * Wed Dec 21 2011 sander85 <sander85> 3.4.0-6.mga2 + Revision: 185370 - rediff patch to change the compatibility tag for Firefox 9 * Wed Nov 09 2011 sander85 <sander85> 3.4.0-5.mga2 + Revision: 165789 - rediff patch to change the compatibility tag for Firefox 8 * Tue Sep 27 2011 sander85 <sander85> 3.4.0-4.mga2 + Revision: 149295 - rediff patch to change the compatibility tag for Firefox 7 - rediff patch to change the compatibility tag for Firefox 6 * Wed Jun 22 2011 sander85 <sander85> 3.4.0-2.mga2 + Revision: 112372 - forgot to bump release - rediff patch to make it compatible with Firefox 5 * Sat Apr 23 2011 sander85 <sander85> 3.4.0-1.mga1 + Revision: 89983 - imported package mozilla-esteid