Sophie

Sophie

distrib > Mageia > 1 > i586 > by-pkgid > a8774bf005e959e31dde8fe0d5413e3b > files > 3

mozilla-esteid-3.4.0-1.4.mga1.src.rpm

%define subrel 4

# 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.4.0
Release:	%mkrel 1
Summary:	Estonian ID card extension for Mozilla
Group:		Networking/WWW
License:	LGPLv2
URL:		http://id.eesti.ee
# svn co https://svn.eesti.ee/projektid/idkaart_public/branches/3.4/esteid-pkcs11-module-loader mozilla-esteid-3.4.0 && tar cjf mozilla-esteid-3.4.0.tar.bz2 mozilla-esteid-3.4.0
Source:		%{name}-%{version}.tar.bz2
Patch0:		%{name}-%{version}-install_rdf.patch
BuildArch:	noarch

Requires:	esteid-browser-plugin = %{version}

%description
%{summary}.

%prep
%setup -q
%patch0 -p1 -b install_rdf

find . -type d -name .svn |xargs rm -rf


%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


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%{_mozillaextpath}/%{firefox_app_id}/%{extension_id}




%changelog

* Wed Nov 09 2011 sander85 <sander85> 3.4.0-1.4.mga1
+ Revision: 165802
- rediff patch to change the compatibility tag for Firefox 8
- rediff patch to change the compatibility tag for Firefox 7
- rediff patch to change the compatibility tag for Firefox 6
- rediff patch to change the compatibility tag for Firefox 5

* Sat Apr 23 2011 sander85 <sander85> 3.4.0-1.mga1
+ Revision: 89983
- imported package mozilla-esteid