Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37573848
en ru br
ALT Linux repos
4.1: 0.95.6-alt1.M41.2
3.0: 0.92.0-alt2.1
+updates:0.92.0-alt2.1.1

Group :: Networking/Mail
RPM: thunderbird-enigmail

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define enigmail_ver 0.92.0
%define ipc_ver       1.1.3
%define cid \{847b3a00-7ab1-11d4-8f02-006008948af5\}
%define ciddir %tbird_extensionsdir/%cid

Summary:        Enigmail - GPG support for Mozilla Thunderbird
Name:           thunderbird-enigmail
Version:        %enigmail_ver
Release:       alt2.1
License:        MPL/GPL/LGPL
Group:          Networking/Mail
URL:            http://enigmail.mozdev.org/

Source0:       enigmail-%version.tar.gz
Source1:        ipc-%ipc_ver.tar.gz

Requires: coreutils gnupg
Requires: %tbird_name = %tbird_version
Conflicts:  thunderbird-enigmail < 0.90.0

# Automatically added by buildreq on Fri Jan 07 2005

BuildRequires: fontconfig freetype2 gcc-c++ glib2-devel libgtk+2-devel
BuildRequires: libstdc++-devel vim-minimal xorg-x11-libs unzip
BuildRequires: thunderbird-devel = %tbird_version

%description
Enigmail is an extension to the mail client of Mozilla / Netscape 7.x
which allows users to access the authentication and encryption features
provided by the popular GnuPG software.

%prep
%setup -q -n %name-%version/mozilla -c
%setup -q -n %name-%version/mozilla -T -D -a1

%__tar -jxf %tbird_usrsrc/sources.tar.bz2

%__subst "s at -I.*\(/include/nspr\) at -I%_builddir/%name-%version/mozilla/dist\1 at g" config/autoconf.mk
%__subst "s at \(MOZ_BUILD_ROOT\)[[:space:]]*=.* at \1 = %_builddir/%name-%version/mozilla at g" config/autoconf.mk

./build_dist.sh

%__cp makemake.sh enigmail
%__cp makemake.sh ipc

%__mkdir_p ./extensions
%__mv enigmail ipc extensions

%build
cd config
%make nsinstall
%make export
cd -

cd extensions/ipc
./makemake.sh -r
MOZ_THUNDERBIRD=1 %make
cd -

cd extensions/enigmail
./makemake.sh -r
MOZ_THUNDERBIRD=1 %make
MOZ_THUNDERBIRD=1 %make xpi
cd -

%install
%__mkdir_p %buildroot/%ciddir
pushd %buildroot/%ciddir >/dev/null
unzip -q -- %_builddir/%name-%version/mozilla/dist/bin/enigmail-%version-linux-*.xpi
popd >/dev/null

%post
%tbird_install_extension %ciddir

%postun
%tbird_uninstall_extension %cid
if [ -d "%ciddir" ]; then
   rm -rf "%ciddir"
fi

%files
%ciddir

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin