packages: browser-plugin-esteid/browser-plugin-esteid.spec - update firebre...
glen
glen at pld-linux.org
Wed Jan 5 23:25:42 CET 2011
Author: glen Date: Wed Jan 5 22:25:42 2011 GMT
Module: packages Tag: HEAD
---- Log message:
- update firebreath to 1.3.2a
- browser plugins integration
---- Files affected:
packages/browser-plugin-esteid:
browser-plugin-esteid.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/browser-plugin-esteid/browser-plugin-esteid.spec
diff -u packages/browser-plugin-esteid/browser-plugin-esteid.spec:1.2 packages/browser-plugin-esteid/browser-plugin-esteid.spec:1.3
--- packages/browser-plugin-esteid/browser-plugin-esteid.spec:1.2 Tue Jan 4 17:54:48 2011
+++ packages/browser-plugin-esteid/browser-plugin-esteid.spec Wed Jan 5 23:25:37 2011
@@ -1,16 +1,16 @@
# $Revision$, $Date$
# TODO
# - new dir for gecko extensions
-%define firebreath_version 1.3.0
+%define firebreath_version 1.3.2a
Summary: Estonian ID card digital signing browser plugin
Name: browser-plugin-esteid
Version: 1.2.0
-Release: 0.2
+Release: 0.4
License: LGPL v2+
Group: Applications/Networking
URL: http://code.google.com/p/esteid/
-Source0: http://firebreath.googlecode.com/files/firebreath-%{firebreath_version}.tar.bz2
-# Source0-md5: 704bd0183407a166d105277b13763d01
+Source0: http://firebreath.googlecode.com/files/firebreath-%{firebreath_version}.7z
+# Source0-md5: 15d7bfefe21b916563b0583f4ecae675
Source1: http://esteid.googlecode.com/files/esteid-browser-plugin-%{version}.tar.bz2
# Source1-md5: 4a26435087b8578c5727b144e5870ae6
BuildRequires: boost-devel
@@ -18,11 +18,13 @@
BuildRequires: gtkmm-devel
BuildRequires: libstdc++-devel
BuildRequires: openssl-devel
+BuildRequires: p7zip
BuildRequires: pkgconfig
BuildRequires: rpmbuild(macros) >= 1.577
BuildRequires: smartcardpp-devel
BuildRequires: unzip
BuildRequires: zip
+Requires: browser-plugins >= 2.0
# obsolete package name upstream uses
Obsoletes: esteid-browser-plugin
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -41,8 +43,10 @@
old signature API-s.
%prep
+%setup -qcT
# Extract firebreath
-%setup -q -n firebreath-%{firebreath_version}
+7z x %{SOURCE0} -bd >/dev/null
+mv firebreath-%{firebreath_version}/* .
# Extract esteid-browser-plugin into firebreath's projects/ subdir
install -d projects
tar -xf %{SOURCE1} -C projects
@@ -79,6 +83,14 @@
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+%update_browser_plugins
+
+%postun
+if [ "$1" = 0 ]; then
+ %update_browser_plugins
+fi
+
%files -f esteid-browser-plugin.lang
%defattr(644,root,root,755)
%doc projects/esteid-browser-plugin-%{version}/AUTHORS
@@ -92,6 +104,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2011/01/05 22:25:37 glen
+- update firebreath to 1.3.2a
+- browser plugins integration
+
Revision 1.2 2011/01/04 16:54:48 glen
- install to %{_libdir}/mozilla/extensions
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/browser-plugin-esteid/browser-plugin-esteid.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list