1 |
sander85 |
89983 |
# These come from install.rdf |
2 |
|
|
%global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} |
3 |
|
|
%global extension_id \{aa84ce40-4253-a00a-8cd6-0800200f9a66\} |
4 |
|
|
|
5 |
|
|
%define _mozillaextpath %{_datadir}/mozilla/extensions |
6 |
|
|
|
7 |
|
|
Name: mozilla-esteid |
8 |
sander85 |
434763 |
Version: 3.7.1 |
9 |
umeabot |
525861 |
Release: %mkrel 2 |
10 |
sander85 |
89983 |
Summary: Estonian ID card extension for Mozilla |
11 |
|
|
Group: Networking/WWW |
12 |
|
|
License: LGPLv2 |
13 |
|
|
URL: http://id.eesti.ee |
14 |
sander85 |
434763 |
# VERSION=3.7.1 && svn export https://svn.eesti.ee/projektid/idkaart_public/branches/$VERSION/esteid-pkcs11-module-loader mozilla-esteid-$VERSION && tar cjf mozilla-esteid-$VERSION.tar.bz2 mozilla-esteid-$VERSION |
15 |
sander85 |
89983 |
Source: %{name}-%{version}.tar.bz2 |
16 |
sander85 |
434763 |
Patch0: %{name}-install_rdf.patch |
17 |
|
|
Patch1: mozilla-esteid-3.7.1-pkcs11-module.patch |
18 |
sander85 |
89983 |
BuildArch: noarch |
19 |
|
|
|
20 |
sander85 |
193441 |
Requires: ccid |
21 |
sander85 |
394846 |
Requires: esteidcerts |
22 |
sander85 |
193441 |
Requires: opensc |
23 |
|
|
Requires: pcsc-lite |
24 |
sander85 |
89983 |
|
25 |
sander85 |
193441 |
Suggests: esteid-browser-plugin |
26 |
|
|
|
27 |
sander85 |
89983 |
%description |
28 |
|
|
%{summary}. |
29 |
|
|
|
30 |
|
|
%prep |
31 |
|
|
%setup -q |
32 |
sander85 |
434763 |
%patch0 -p2 -b .install_rdf |
33 |
|
|
%patch1 -p1 |
34 |
sander85 |
89983 |
|
35 |
|
|
|
36 |
|
|
%install |
37 |
sander85 |
295446 |
mkdir -p %{buildroot}%{_mozillaextpath}/%{firefox_app_id}/%{extension_id} |
38 |
sander85 |
434763 |
mv chrome* %{buildroot}%{_mozillaextpath}/%{firefox_app_id}/%{extension_id}/ |
39 |
|
|
mv install.rdf.in %{buildroot}%{_mozillaextpath}/%{firefox_app_id}/%{extension_id}/install.rdf |
40 |
sander85 |
89983 |
|
41 |
|
|
|
42 |
|
|
%files |
43 |
|
|
%{_mozillaextpath}/%{firefox_app_id}/%{extension_id} |