thunderbird/thunderbird.spec

1420 lines
49 KiB
RPMSpec

%define majversion %(echo %version | cut -d. -f 1-2)
%define mozilla_version %(echo %version | cut -d. -f 1)
%define xul_sdk_dir %(pkg-config --variable=sdkdir libxul)
%define thunderbird_internal %{majversion}
%define tbdir %{_libdir}/thunderbird-%{thunderbird_internal}
#%define enable_debug_info 0
#%define build_langpack 1
%define with_calendar 1
Name: thunderbird
Version: 17.0.8
Release: 1mamba
Summary: Mozilla Thunderbird email, RSS, and newsgroup client
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Automatic Build System <autodist@mambasoft.it>
URL: http://www.mozilla.org/projects/thunderbird/
Source0: ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/%{version}/source/thunderbird-%{version}.source.tar.bz2
# wget ftp://ftp.mozilla.org/pub/mozilla.org/thunderbird/releases/3.1/linux-i686/xpi/*.xpi
# tar -cj *.xpi > ../thunderbird-%{version}-langpacks.tar.bz2
# or
# sh thunderbird-lang.sh %{version}
Source1: thunderbird-%{version}-langpacks.tar.bz2
Source2: thunderbird.desktop
Source3: mozilla-thunderbird128x128.png
Source4: thunderbird-script
Source5: thunderbird-lang.sh
#ftp://ftp.mozilla.org/pub/calendar/lightning/nightly/2011/03/2011-03-21-03-comm-1.9.2-l10n/linux-xpi/lightning-it.xpi
#http://l10n.mozilla.org/~hubert/pub/calendar/lightning/nightly/latest-comm-1.9.2-l10n/locales/it/
Source6: gdata-provider-it.jar
Source7: calendar-it.jar
Source8: lightning-it.jar
Patch0: thunderbird-3.0-shared-error.patch
Patch1: thunderbird-3.0-debuginfo-fix-include.patch
Patch2: thunderbird-3.0-clipboard-crash.patch
Patch3: mozilla-1.9.1-jemalloc.patch
Patch4: thunderbird-3.0-fix-locale.patch
Patch5: thunderbird-3.0-pref-fix.patch
# https://rocket.ryerson.ca/https/bugzilla.mozilla.org/show_bug.cgi?id=529853
Patch6: thunderbird-3.0-calStorageUpgrade-v-1.patch
Patch7: thunderbird-3.0-default-browser.patch
Patch8: thunderbird-3.1-version.patch
Patch9: thunderbird-3.1-nsFrame.patch
Patch10: thunderbird-3.1-missing-headers.patch
Patch11: thunderbird-3.1.1-libjpeg-turbo.patch
Patch12: thunderbird-3.1.3-missing-cflags.patch
Patch13: thunderbird-3.1.9-os2cc.patch
License: GPL,MPL 1.1,LGPL
BuildRequires: autoconf
BuildRequires: desktop-file-utils
BuildRequires: doxygen
BuildRequires: ImageMagick-devel
BuildRequires: java-gcj-compat
BuildRequires: java-gcj-compat-runtime
BuildRequires: libart_lgpl-devel
BuildRequires: libbonobo-devel
BuildRequires: libbonoboui-devel
BuildRequires: libglitz-devel
BuildRequires: libgnome-devel
BuildRequires: libgnomecanvas-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: libgnomeui-devel
BuildRequires: libgnome-vfs-devel
BuildRequires: libICE-devel
BuildRequires: libIDL-devel
BuildRequires: libiw-devel
BuildRequires: libkrb5-devel
BuildRequires: libpopt-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libSM-devel
BuildRequires: libstartup-notification-devel
BuildRequires: libxcb-util-devel
BuildRequires: libXft-devel
BuildRequires: libXinerama-devel
BuildRequires: libxml2-devel
BuildRequires: mozldap-devel
BuildRequires: perl-Gtk2
BuildRequires: pkgconfig
BuildRequires: unzip
BuildRequires: xorg-proto-devel
BuildRequires: zip
## AUTOBUILDREQ-BEGIN
#BuildRequires: ORBit-devel
#BuildRequires: ORBit2-devel
BuildRequires: GConf-devel
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
BuildRequires: libatk-devel
BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk-devel
BuildRequires: libhunspell-devel
BuildRequires: libjpeg-devel
BuildRequires: libnspr-devel
BuildRequires: libnss-devel
BuildRequires: libpango-devel
BuildRequires: libpixman-devel
BuildRequires: libpng-devel
BuildRequires: libstdc++6-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libXrender-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: libnotify-devel
BuildRequires: libsqlite-devel
Obsoletes: %{name}-i18n-af
Provides: %{name}-i18n-af = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ar
Provides: %{name}-i18n-ar = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-be
Provides: %{name}-i18n-be = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-bg
Provides: %{name}-i18n-bg = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-bn-BD
Provides: %{name}-i18n-bn-BD = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ca
Provides: %{name}-i18n-ca = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-cs
Provides: %{name}-i18n-cs = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-da
Provides: %{name}-i18n-da = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-de
Provides: %{name}-i18n-de = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-el
Provides: %{name}-i18n-el = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-en-GB
Provides: %{name}-i18n-en-GB = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-es-AR
Provides: %{name}-i18n-es-AR = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-es-ES
Provides: %{name}-i18n-es-ES = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-et
Provides: %{name}-i18n-et = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-eu
Provides: %{name}-i18n-eu = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-fi
Provides: %{name}-i18n-fi = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-fr
Provides: %{name}-i18n-fr = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-fy-NL
Provides: %{name}-i18n-fy-NL = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ga-IE
Provides: %{name}-i18n-ga-IE = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-gl
Provides: %{name}-i18n-gl = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-he
Provides: %{name}-i18n-he = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-hu
Provides: %{name}-i18n-hu = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-id
Provides: %{name}-i18n-id = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-is
Provides: %{name}-i18n-is = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-it
Provides: %{name}-i18n-it = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ja
Provides: %{name}-i18n-ja = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ka
Provides: %{name}-i18n-ka = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ko
Provides: %{name}-i18n-ko = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-lt
Provides: %{name}-i18n-lt = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-mk
Provides: %{name}-i18n-mk = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-nb-NO
Provides: %{name}-i18n-nb-NO = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-nl
Provides: %{name}-i18n-nl = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-nn-NO
Provides: %{name}-i18n-nn-NO = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-pa-IN
Provides: %{name}-i18n-pa-IN = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-pl
Provides: %{name}-i18n-pl = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-pt-BR
Provides: %{name}-i18n-pt-BR = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-pt-PT
Provides: %{name}-i18n-pt-PT = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ro
Provides: %{name}-i18n-ro = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ru
Provides: %{name}-i18n-ru = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-si
Provides: %{name}-i18n-si = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-sk
Provides: %{name}-i18n-sk = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-sl
Provides: %{name}-i18n-sl = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-sq
Provides: %{name}-i18n-sq = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-sr
Provides: %{name}-i18n-sr = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-sv-SE
Provides: %{name}-i18n-sv-SE = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-ta-LK
Provides: %{name}-i18n-ta-LK = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-tr
Provides: %{name}-i18n-tr = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-uk
Provides: %{name}-i18n-uk = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-vi
Provides: %{name}-i18n-vi = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-zh-CN
Provides: %{name}-i18n-zh-CN = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: %{name}-i18n-zh-TW
Provides: %{name}-i18n-zh-TW = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The Mozilla Thunderbird project is a redesign of Mozilla's email/news component, written using the XUL user interface language and designed to be cross-platform.
Clarification: "Mozilla Thunderbird" is just a project name, in the same way as the Mozilla Application Suite is codenamed "SeaMonkey". For more details, read about the Mozilla Branding Strategy and the Mozilla Roadmap.
If you're interested in where we're going and when we expect to get there then you probably want the Mozilla Thunderbird Roadmap.We track bugs using Bugzilla.
Because the project is small and tightly managed, bugs targeted to a particular milestone generally will be fixed by that milestone. In fact, our milestone releases are bug-driven, not date-driven. Before filing any bugs on Mozilla Thunderbird, please read the bug filing instructions.
%package devel
Summary: Devel files for %{name}
Group: Development/Applications
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
The Mozilla Thunderbird project is a redesign of Mozilla's email/news component, written using the XUL user interface language and designed to be cross-platform.
Clarification: "Mozilla Thunderbird" is just a project name, in the same way as the Mozilla Application Suite is codenamed "SeaMonkey". For more details, read about the Mozilla Branding Strategy and the Mozilla Roadmap.
If you're interested in where we're going and when we expect to get there then you probably want the Mozilla Thunderbird Roadmap.We track bugs using Bugzilla.
Because the project is small and tightly managed, bugs targeted to a particular milestone generally will be fixed by that milestone. In fact, our milestone releases are bug-driven, not date-driven. Before filing any bugs on Mozilla Thunderbird, please read the bug filing instructions.
This package contains static libraries and header files need for development.
%prep
%setup -q -c
mv comm-*/* .
# -D -T
#:<< __EOF
%define _use_internal_dependency_generator 0
%define __find_provides %{_builddir}/thunderbird-%{version}/find_provides.sh
cat > %{_builddir}/thunderbird-%{version}/find_provides.sh <<_EOF
#! /bin/sh
grep -v %{buildroot}%{tbdir} | \
grep -v %{buildroot}%{_libdir}/thunderbird-devel-%{majversion} | \
%{_prefix}/lib/rpm/find-provides %{buildroot} %{_target_cpu}
_EOF
chmod +x %{_builddir}/thunderbird-%{version}/find_provides.sh
%define __find_requires %{_builddir}/thunderbird-%{version}/find_requires.sh
cat > %{_builddir}/thunderbird-%{version}/find_requires.sh <<_EOF
#! /bin/sh
%{_prefix}/lib/rpm/find-requires %{buildroot} %{_target_cpu} 2>/dev/null |
while read line; do
[ ! -f %{buildroot}%{tbdir}/\$line -a ! -f %{buildroot}%{_libdir}/thunderbird-devel-%{majversion}/\$line ] && echo "\$line"
done
_EOF
chmod +x %{_builddir}/thunderbird-%{version}/find_requires.sh
#%patch0 -p1
#%if %enable_debug_info
#%patch1 -p1
#%endif
#%patch2 -p1
#%patch3 -p0
%patch4 -p1
#%patch5
#%patch6 -p1
sed -e 's|@DEFAULT_BROWSER@|firefox|' %{PATCH7} | patch -p1
sed -e 's/__RPM_VERSION_INTERNAL__/%{thunderbird_internal}/' %{P:%%PATCH8} \
> version.patch
%{__patch} -p1 -b --suffix .version --fuzz=0 < version.patch
#%patch9 -p1
#%patch10
#%patch11
#%patch12
#%patch13 -p0 -b .os2cc
sed -i 's|pref("network.protocol-handler.warn-external.ftp", false);|pref("network.protocol-handler.warn-external.ftp", true);|' mail/app/profile/all-thunderbird.js
sed -i 's|pref("network.protocol-handler.warn-external.http", false);|pref("network.protocol-handler.warn-external.http", true);|' mail/app/profile/all-thunderbird.js
sed -i 's|pref("network.protocol-handler.warn-external.https", false);|pref("network.protocol-handler.warn-external.https", true);|' mail/app/profile/all-thunderbird.js
for p in $(find . -name "*.py"); do
sed -i 's|#!/usr/bin/python|#!%{__python}|' $p
sed -i 's|#!/usr/bin/env python|#!%{__python}|' $p
sed -i 's|#!python|#!%{__python}|' $p
sed -i 's|#!/usr/local/bin/python2.1|#!%{__python}|' $p
sed -i 's|#!/usr/local/bin/python|#!%{__python}|' $p
done
#for c in $(find . -name "configure" -o -name "configure.in"); do
# sed -i 's|python2.6 python2.5 python2.4 python|python2.6|' $c
#done
rm -f .mozconfig
cat << EOF > .mozconfig
mk_add_options MOZ_CO_PROJECT=mail
ac_add_options --enable-application=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb/
mk_add_options AUTOCONF=autoconf-2.13
ac_add_options --prefix=%{_prefix}
ac_add_options --libdir=%{_libdir}
ac_add_options --includedir=%{_includedir}
ac_add_options --mandir=%{_mandir}
ac_add_options --with-default-mozilla-five-home=%{tbdir}
%if %with_calendar
ac_add_options --enable-calendar
%endif
#ac_add_options --with-libxul-sdk=%{xul_sdk_dir}
ac_add_options --with-system-bz2
ac_add_options --with-system-jpeg
ac_add_options --with-system-png
ac_add_options --with-system-mng
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-zlib
ac_add_options --with-pthreads
ac_add_options --disable-activex
ac_add_options --disable-activex-scripting
#ac_add_options --disable-freetype2
#ac_add_options --disable-updater
ac_add_options --disable-installer
ac_add_options --disable-tests
ac_add_options --enable-optimize="$RPM_OPT_FLAGS"
ac_add_options --enable-mathml
ac_add_options --enable-xinerama
ac_add_options --enable-default-toolkit=cairo-gtk2
ac_add_options --disable-xprint
ac_add_options --disable-strip
ac_add_options --disable-install-strip
ac_add_options --disable-debug
ac_add_options --enable-pango
ac_add_options --disable-system-cairo
ac_add_options --enable-svg
ac_add_options --enable-svg-renderer-cairo
ac_add_options --enable-canvas
ac_add_options --enable-system-hunspell
ac_add_options --disable-crashreporter
ac_add_options --disable-mochitest
ac_add_options --disable-javaxpcom
ac_add_options --disable-elf-dynstr-gc
ac_add_options --enable-xft
ac_add_options --enable-safe-browsing
ac_add_options --enable-url-classifier
ac_add_options --enable-jemalloc
ac_add_options --enable-branding
ac_add_options --enable-official-branding
ac_add_options --enable-system-sqlite
ac_add_options --enable-oji
ac_add_options --disable-necko-wifi
ac_add_options --enable-ldap
ac_add_options --with-system-mozldap
ac_add_options --enable-storage
ac_add_options --enable-gio
ac_add_options --disable-gnomevfs
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
mk_add_options BUILD_OFFICIAL=1
mk_add_options MOZILLA_OFFICIAL=1
EOF
#ac_add_options --enable-strip
#ac_add_options --enable-install-strip
#ac_add_options --enable-places
%if %enable_debug_info
echo "export CFLAGS="-gstabs+"" >> .mozconfig
echo "export CXXFLAGS="-gstabs+"" >> .mozconfig
echo "export MOZ_DEBUG_SYMBOLS="1"" >> .mozconfig
%endif
#__EOF
%build
#:<< __EOF
## Disable C++ exceptions since Mozilla code is not exception-safe
#MOZ_OPT_FLAGS=$(echo "$RPM_OPT_FLAGS" | \
# %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//' -e 's/-fexceptions/-fno-exceptions/g')
#export CFLAGS=$MOZ_OPT_FLAGS
#export CXXFLAGS=$MOZ_OPT_FLAGS
export PYTHON=%{__python}
export TB_OPT_FLAGS=$(echo $RPM_OPT_FLAGS | %{__sed} -e 's/-O2/-Os/' -e 's/-Wall//')
export RPM_OPT_FLAGS=$TB_OPT_FLAGS
%define makeflags -j1
%ifarch ppc
%define makeflags -j1
%else
%define makeflags %{?_smp_mflags}
%endif
export LDFLAGS="-Wl,-rpath,%{tbdir}"
export MAKE="gmake %{makeflags}"
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1
make -f client.mk build
# SDK_BIN_DIR=%{xul_sdk_dir}/sdk/bin/
# -f client.mk build
#%if %enable_debug_info
#cd objdir-tb
#ake buildsymbols
#%endif
#__EOF
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
cd objdir-tb
DESTDIR=%{buildroot} make install MOZ_SERVICES_SYNC="1"
# SDK_BIN_DIR=%{xul_sdk_dir}/sdk/bin/
cd -
mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --mode=644 --dir %{buildroot}%{_datadir}/applications %{S:2}
for i in 16 22 24 32 48 256 ; do
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps
cp other-licenses/branding/thunderbird/mailicon${i}.png \
%{buildroot}%{_datadir}/icons/hicolor/${i}x${i}/apps/thunderbird.png
done
# FIXME handle system/user preferences with xdg-open
for d in %{buildroot}%{tbdir}/greprefs %{buildroot}%{tbdir}/defaults/pref ; do
mkdir -p $d
cat > $d/all-redhat.js << _EOF
pref("app.update.enabled", false);
pref("app.update.autoInstallEnabled", false);
# allow users to set custom colors
# pref("browser.display.use_system_colors", true);
pref("general.useragent.vendor", "openmamba");
pref("general.useragent.vendorSub", "%{version}-%{release}");
pref("intl.locale.matchOS", true);
pref("mail.shell.checkDefaultClient", false);
pref("toolkit.networkmanager.disable", false);
pref("network.protocol-handler.app.http", "%{_bindir}/firefox");
pref("network.protocol-handler.app.https", "%{_bindir}/firefox");
pref("network.protocol-handler.app.ftp", "%{_bindir}/firefox");
# disable global indexing by default
pref("mailnews.database.global.indexer.enabled", false);
# do not switch to Smart Folders after upgrade to 3.x
pref("mail.folder.views.version", "1")
pref("network.protocol-handler.warn-external.ftp", true);
pref("network.protocol-handler.warn-external.http", true);
pref("network.protocol-handler.warn-external.https", true);
_EOF
done
rm -rf %{buildroot}%{_bindir}/thunderbird
rm -rf %{buildroot}%{_bindir}/thunderbird-config
cat %{SOURCE4} | sed -e 's/MOZILLA_VERSION/%{thunderbird_internal}/g' -e 's,LIBDIR,%{_libdir},g' > %{buildroot}%{_bindir}/thunderbird
chmod 755 %{buildroot}%{_bindir}/thunderbird
install -d %{buildroot}%{tbdir}/extensions
install -d thunderbird-langpacks && tar -C thunderbird-langpacks -xjf %{SOURCE1}
find thunderbird-langpacks/ -type f -name \*.xpi | \
while read filename; do
lang=$(basename $filename .xpi)
extensiondir="\
%{buildroot}%{tbdir}/extensions/langpack-$lang@thunderbird.mozilla.org"
install -d $extensiondir
unzip $filename -d $extensiondir
find $extensiondir -type f -exec chmod 644 {} \;
## remove
language=`echo $lang | sed -e 's/-/_/g'`
extdir=`echo $extensiondir | sed -e "s,^%{buildroot},,"`
echo "%%lang($language) $extdir" >> %{name}.lang
done
#rm -rf %{buildroot}%{tbdir}/dictionaries
install -d -m0755 %{buildroot}%{tbdir}/dictionaries
ln -sf %{_datadir}/myspell/* %{buildroot}%{tbdir}/dictionaries/
mkdir -p %{buildroot}%{tbdir}/components
touch %{buildroot}%{tbdir}/components/compreg.dat
touch %{buildroot}%{tbdir}/components/xpti.dat
mkdir -p %{buildroot}%{_libdir}/mozilla/plugins
cd mozilla
install -c -m 644 LICENSE %{buildroot}%{tbdir}
cd -
%if %with_calendar
mkdir -p %{buildroot}%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
unzip -q -u objdir-tb/mozilla/dist/xpi-stage/lightning.xpi -d %{buildroot}%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
cp -pr %{SOURCE7} %{buildroot}%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/
cp -pr %{SOURCE8} %{buildroot}%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/
mkdir -p %{buildroot}%{tbdir}/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
unzip -q -u objdir-tb/mozilla/dist/xpi-stage/gdata-provider.xpi -d %{buildroot}%{tbdir}/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
cp -pr %{SOURCE6} %{buildroot}%{tbdir}/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}/chrome/
%endif
#%if %enable_debug_info
#cp mozilla/dist/thunderbird-%{version}.en-US.linux-%{_target_cpu}-crashreporter-symbols.zip %{buildroot}%{_libdir}/debug%{tbdir}
#mkdir -p %{buildroot}%{_libdir}/debug%{tbdir}
#cp objdir-tb/mozilla/dist/thunderbird-%{version}.en-US.linux-i686.crashreporter-symbols.zip %{buildroot}%{_libdir}/debug%{tbdir}
#%endif
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
%postun
update-desktop-database &> /dev/null || :
touch --no-create %{_datadir}/icons/hicolor
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
fi
#
%files -f %{name}.lang
%defattr(-,root,root)
%attr(755,root,root) %{_bindir}/thunderbird
%{_datadir}/applications/thunderbird.desktop
%{_datadir}/icons/hicolor/*x*/apps/thunderbird.png
%dir %{_libdir}/mozilla/plugins
%dir %{tbdir}
%{tbdir}/run-mozilla.sh
%{tbdir}/thunderbird
%{tbdir}/thunderbird-bin
%{tbdir}/LICENSE
%{tbdir}/*.ini
%{tbdir}/*.xml
%{tbdir}/chrome.manifest
%dir %{tbdir}/chrome
%dir %{tbdir}/chrome/icons
%dir %{tbdir}/chrome/icons/default
%{tbdir}/chrome/icons/default/default*.png
%dir %{tbdir}/components
%ghost %{tbdir}/components/binary.manifest
%ghost %{tbdir}/components/compreg.dat
%ghost %{tbdir}/components/xpti.dat
%{tbdir}/components/lib*.so
%dir %{tbdir}/defaults
%dir %{tbdir}/defaults/messenger
%{tbdir}/defaults/messenger/mailViews.dat
%{tbdir}/defaults/pref/*.js
%{tbdir}/dependentlibs.list
%dir %{tbdir}/distribution
%dir %{tbdir}/distribution/extensions
%{tbdir}/distribution/extensions/tbtestpilot@labs.mozilla.com.xpi
%dir %{tbdir}/dictionaries
%{tbdir}/dictionaries/*
%dir %{tbdir}/extensions
%{tbdir}/extensions/{972ce4c6-7e08-4474-a285-3208198ce6fd}
%if %with_calendar
%{tbdir}/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}
%{tbdir}/extensions/{a62ef8ec-5fdc-40c2-873c-223b8a6925cc}
%endif
#%dir %{tbdir}/hyphenation
#%{tbdir}/hyphenation/hyph*.dic
%dir %{tbdir}/icons
%{tbdir}/icons/updater.png
%dir %{tbdir}/isp
%{tbdir}/isp/*
%{tbdir}/lib*.so
%{tbdir}/mozilla-xremote-client
%{tbdir}/plugin-container
#%{tbdir}/update.locale
%{tbdir}/updater
%dir %{tbdir}/greprefs
%{tbdir}/greprefs/*.js
%{tbdir}/omni.ja
%{tbdir}/removed-files
%dir %{tbdir}/searchplugins
%{tbdir}/searchplugins/*
%dir %{_datadir}/idl/thunderbird-%{majversion}
%{_datadir}/idl/thunderbird-%{majversion}/*
%{_datadir}/idl/thunderbird-%{majversion}/.mkdir.done
%files devel
%defattr(-,root,root)
%dir %{_libdir}/thunderbird-devel-%{majversion}
%{_libdir}/thunderbird-devel-%{majversion}/*
%dir %{_includedir}/thunderbird-%{version}
%{_includedir}/thunderbird-%{version}/*
%{_includedir}/thunderbird-%{version}/.mkdir.done
#%package i18n-af
#Summary: Afrikaans language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-af
#Afrikaans language support for Thunderbirdd.
#%files i18n-af
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-af@thunderbird.mozilla.org/
#%package i18n-ar
#Summary: Arabic language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ar
#Arabic language support for Thunderbirdd.
#%files i18n-ar
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ar@thunderbird.mozilla.org/
#%package i18n-be
#Summary: Belarusian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-be
#Belarusian language support for Thunderbird.
#%files i18n-be
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-be@thunderbird.mozilla.org/
#%package i18n-bg
#Summary: Bulgarian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-bg
#Bulgarian language support for Thunderbird.
#%files i18n-bg
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-bg@thunderbird.mozilla.org/
#%package i18n-bn-BD
#Summary: Bengali (Bangladesh) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-bn-BD
#Bengali (Bangladesh) language support for Thunderbird.
#%files i18n-bn-BD
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-bn-BD@thunderbird.mozilla.org/
#%package i18n-ca
#Summary: Catalan language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ca
#Catalan language support for Thunderbird.
#%files i18n-ca
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ca@thunderbird.mozilla.org/
#%package i18n-cs
#Summary: Czech language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-cs
#Czech language support for Thunderbird.
#%files i18n-cs
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-cs@thunderbird.mozilla.org/
#%package i18n-da
#Summary: Danish language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-da
#Danish language support for Thunderbird.
#%files i18n-da
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-da@thunderbird.mozilla.org/
#%package i18n-de
#Summary: German language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-de
#German language support for Thunderbird.
#%files i18n-de
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-de@thunderbird.mozilla.org/
#%package i18n-el
#Summary: Greek language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-el
#Greek language support for Thunderbird.
#%files i18n-el
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-el@thunderbird.mozilla.org/
#%package i18n-en-GB
#Summary: English (British) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-en-GB
#English (British) language support for Thunderbird.
#%files i18n-en-GB
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-en-GB@thunderbird.mozilla.org/
#%package i18n-es-AR
#Summary: Spanish (Latin American) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-es-AR
#Spanish (Latin American) language support for Thunderbird.
#%files i18n-es-AR
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-es-AR@thunderbird.mozilla.org/
#%package i18n-es-ES
#Summary: Spanish language support for Thunderbird
#Group: System/Internationalization
#Provides: %{name}-i18n-es = %{?epoch:%epoch:}%{version}-%{release}
#Obsoletes: %{name}-i18n-es
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-es-ES
#Spanish language support for Thunderbird.
#%files i18n-es-ES
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-es-ES@thunderbird.mozilla.org/
#%package i18n-et
#Summary: Estonian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-et
#Estonian language support for Thunderbird.
#%files i18n-et
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-et@thunderbird.mozilla.org/
#%package i18n-eu
#Summary: Basque language support for Thunderbird
#Group: System/Internationalization
#Provides: %{name}-i18n-eu-ES = %{?epoch:%epoch:}%{version}-%{release}
#Obsoletes: %{name}-i18n-eu-ES
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-eu
#Basque language support for Thunderbird.
#%files i18n-eu
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-eu@thunderbird.mozilla.org/
#%package i18n-fi
#Summary: Finnish language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-fi
#Finnish language support for Thunderbird.
#%files i18n-fi
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-fi@thunderbird.mozilla.org/
#%package i18n-fr
#Summary: French language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-fr
#French language support for Thunderbird.
#%files i18n-fr
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-fr@thunderbird.mozilla.org/
#%package i18n-fy-NL
#Summary: Frisian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-fy-NL
#Frisian language support for Thunderbird.
#%files i18n-fy-NL
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-fy-NL@thunderbird.mozilla.org/
#%package i18n-ga-IE
#Summary: Irish language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ga-IE
#Irish language support for Thunderbird.
#%files i18n-ga-IE
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ga-IE@thunderbird.mozilla.org/
#%package i18n-gl
#Summary: Galician (Galiza) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-gl
#Galician (Galiza) language support for Thunderbird.
#%files i18n-gl
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-gl@thunderbird.mozilla.org/
#%package i18n-he
#Summary: Hebrew language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-he
#Hebrew language support for Thunderbird.
#%files i18n-he
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-he@thunderbird.mozilla.org/
#%package i18n-hu
#Summary: Magyar (HU) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-hu
#Magyar (HU) language support for Thunderbird.
#%files i18n-hu
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-hu@thunderbird.mozilla.org/
#%package i18n-id
#Summary: Bahasa Indonesia (ID) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-id
#Bahasa Indonesia (ID) language support for Thunderbird.
#%files i18n-id
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-id@thunderbird.mozilla.org/
#%package i18n-is
#Summary: Icelandic (IS) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-is
#Icelandic (IS) language support for Thunderbird.
#%files i18n-is
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-is@thunderbird.mozilla.org/
#%package i18n-it
#Summary: Italian language support for Thunderbird
#Group: System/Internationalization
#Provides: %{name}-it = %{?epoch:%epoch:}%{version}-%{release}
#Obsoletes: %{name}-it
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-it
#Italian language support for Thunderbird.
#%files i18n-it
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-it@thunderbird.mozilla.org/
#%package i18n-ja
#Summary: Japanese language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ja
#Japanese language support for Thunderbird.
#%files i18n-ja
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ja@thunderbird.mozilla.org/
#%package i18n-ka
#Summary: Georgian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ka
#Georgian language support for Thunderbird.
#%files i18n-ka
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ka@thunderbird.mozilla.org/
#%package i18n-ko
#Summary: Korean language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ko
#Korean language support for Thunderbird.
#%files i18n-ko
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ko@thunderbird.mozilla.org/
#%package i18n-lt
#Summary: Lithuanian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-lt
#Lithuanian language support for Thunderbird.
#%files i18n-lt
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-lt@thunderbird.mozilla.org/
#%package i18n-mk
#Summary: Macedonian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-mk
#Macedonian language support for Thunderbird.
#%files i18n-mk
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-mk@thunderbird.mozilla.org/
#%package i18n-nb-NO
#Summary: Norwegian Bokmål language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Obsoletes: %{name}-i18n-nb
#Provides: %{name}-i18n-nb = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-nb-NO
#Norwegian Bokmål language support for Thunderbird.
#%files i18n-nb-NO
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-nb-NO@thunderbird.mozilla.org/
#%package i18n-nl
#Summary: Dutch language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-nl
#Dutch language support for Thunderbird.
#%files i18n-nl
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-nl@thunderbird.mozilla.org/
#%package i18n-nn-NO
#Summary: Norwegian Nynorsk language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Obsoletes: %{name}-i18n-nn
#Provides: %{name}-i18n-nn = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-nn-NO
#Norwegian Nynorsk language support for Thunderbird.
#%files i18n-nn-NO
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-nn-NO@thunderbird.mozilla.org/
#%package i18n-pa-IN
#Summary: Punjabi (IN) language support for Thunderbird
#Group: System/Internationalization
#Provides: %{name}-i18n-pa-IN = %{?epoch:%epoch:}%{version}-%{release}
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Obsoletes: %{name}-i18n-pa
#Provides: %{name}-i18n-pa = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-pa-IN
#Punjabi (IN) language support for Thunderbird.
#%files i18n-pa-IN
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-pa-IN@thunderbird.mozilla.org/
#%package i18n-pl
#Summary: Polish language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-pl
#Polish language support for Thunderbird.
#%files i18n-pl
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-pl@thunderbird.mozilla.org/
#%package i18n-pt-BR
#Summary: Portuguese (Brazilian) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-pt-BR
#Portuguese (Brazilian) language support for Thunderbird.
#%files i18n-pt-BR
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-pt-BR@thunderbird.mozilla.org/
#%package i18n-pt-PT
#Summary: Portuguese language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Obsoletes: %{name}-i18n-pt
#Provides: %{name}-i18n-pt = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-pt-PT
#Portuguese language support for Thunderbird.
#%files i18n-pt-PT
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-pt-PT@thunderbird.mozilla.org/
#%package i18n-ro
#Summary: Romanian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ro
#Romanian language support for Thunderbird.
#%files i18n-ro
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ro@thunderbird.mozilla.org/
#%package i18n-ru
#Summary: Russian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ru
#Russian language support for Thunderbird.
#%files i18n-ru
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ru@thunderbird.mozilla.org/
#%package i18n-si
#Summary: Sinhala (si-LK) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-si
#Sinhala (si-LK) language support for Thunderbird.
#%files i18n-si
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-si@thunderbird.mozilla.org/
#%package i18n-sk
#Summary: Slovak language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-sk
#Slovak language support for Thunderbird.
#%files i18n-sk
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-sk@thunderbird.mozilla.org/
#%package i18n-sl
#Summary: Slovenian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-sl
#Slovenian language support for Thunderbird.
#%files i18n-sl
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-sl@thunderbird.mozilla.org/
#%package i18n-sq
#Summary: Albanian language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-sq
#Albanian language support for Thunderbird.
#%files i18n-sq
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-sq@thunderbird.mozilla.org/
#%package i18n-sr
#Summary: Српски (sr) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-sr
#Српски (sr) language support for Thunderbird.
#%files i18n-sr
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-sr@thunderbird.mozilla.org/
#%package i18n-sv-SE
#Summary: Swedish language support for Thunderbird
#Group: System/Internationalization
#Provides: %{name}-i18n-sv-SE = %{?epoch:%epoch:}%{version}-%{release}
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#Obsoletes: %{name}-i18n-sv
#Provides: %{name}-i18n-sv = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-sv-SE
#Swedish language support for Thunderbird.
#%files i18n-sv-SE
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-sv-SE@thunderbird.mozilla.org/
#%package i18n-ta-LK
#Summary: Tamil (Sri Lanka) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-ta-LK
#Tamil (Sri Lanka) language support for Thunderbird.
#%files i18n-ta-LK
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-ta-LK@thunderbird.mozilla.org/
#%package i18n-tr
#Summary: Turkish language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-tr
#Turkish language support for Thunderbird.
#%files i18n-tr
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-tr@thunderbird.mozilla.org/
#%package i18n-uk
#Summary: Ukrainian (UA) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-uk
#Ukrainian (UA) language support for Thunderbird.
#%files i18n-uk
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-uk@thunderbird.mozilla.org/
#%package i18n-vi
#Summary: Tiếng Việt (VN) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-vi
#Tiếng Việt (VN) language support for Thunderbird
#%files i18n-vi
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-vi@thunderbird.mozilla.org/
#%package i18n-zh-CN
#Summary: Chinese (Simplified) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-zh-CN
#Chinese (Simplified) language support for Thunderbird.
#%files i18n-zh-CN
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-zh-CN@thunderbird.mozilla.org/
#%package i18n-zh-TW
#Summary: Chinese (Traditional) language support for Thunderbird
#Group: System/Internationalization
#Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
#%description i18n-zh-TW
#Chinese (Traditional) language support for Thunderbird.
#%files i18n-zh-TW
#%defattr(-,root,root)
#%{tbdir}/extensions/langpack-zh-TW@thunderbird.mozilla.org/
%changelog
* Sat Aug 10 2013 Automatic Build System <autodist@mambasoft.it> 17.0.8-1mamba
- automatic version update by autodist
* Mon Jul 15 2013 Automatic Build System <autodist@mambasoft.it> 17.0.7-1mamba
- automatic version update by autodist
* Sat May 18 2013 Automatic Build System <autodist@mambasoft.it> 17.0.6-1mamba
- automatic version update by autodist
* Sat Apr 06 2013 Automatic Build System <autodist@mambasoft.it> 17.0.5-1mamba
- automatic version update by autodist
* Tue Mar 12 2013 Automatic Build System <autodist@mambasoft.it> 17.0.4-1mamba
- automatic version update by autodist
* Wed Feb 27 2013 Automatic Build System <autodist@mambasoft.it> 17.0.3-1mamba
- automatic version update by autodist
* Fri Jan 11 2013 Automatic Build System <autodist@mambasoft.it> 17.0.2-1mamba
- automatic version update by autodist
* Wed Nov 21 2012 Automatic Build System <autodist@mambasoft.it> 17.0-1mamba
- automatic version update by autodist
* Wed Oct 31 2012 Automatic Build System <autodist@mambasoft.it> 16.0.2-1mamba
- automatic version update by autodist
* Sat Oct 13 2012 Automatic Build System <autodist@mambasoft.it> 16.0.1-1mamba
- automatic version update by autodist
* Tue Sep 11 2012 Automatic Build System <autodist@mambasoft.it> 15.0.1-1mamba
- automatic version update by autodist
* Sat Sep 01 2012 Automatic Build System <autodist@mambasoft.it> 15.0-1mamba
- automatic version update by autodist
* Tue Jul 17 2012 Automatic Build System <autodist@mambasoft.it> 14.0-1mamba
- automatic version update by autodist
* Wed Jun 20 2012 Automatic Build System <autodist@mambasoft.it> 13.0.1-1mamba
- automatic version update by autodist
* Tue Jun 12 2012 Automatic Build System <autodist@mambasoft.it> 13.0-1mamba
- automatic version update by autodist
* Thu Apr 12 2012 Automatic Build System <autodist@mambasoft.it> 11.0.1-1mamba
- automatic version update by autodist
* Thu Apr 12 2012 Automatic Build System <autodist@mambasoft.it> 11.0-1mamba
- automatic version update by autodist
* Thu Nov 17 2011 Automatic Build System <autodist@mambasoft.it> 8.0-1mamba
- automatic version update by autodist
* Tue Oct 11 2011 Automatic Build System <autodist@mambasoft.it> 7.0.1-1mamba
- automatic version update by autodist
* Tue Sep 20 2011 Automatic Build System <autodist@mambasoft.it> 6.0.2-1mamba
- automatic version update by autodist
* Wed Aug 24 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0-2mamba
- added devel package
- don't provide internal xul libraries also in sdk directory
* Sun Aug 21 2011 Automatic Build System <autodist@mambasoft.it> 6.0-1mamba
- automatic version update by autodist
* Sun Apr 10 2011 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 3.1.9-4mamba
- changed libjpeg-turbo in libjpeg buildrequirement
- rebuilt with --enable-system-sqlite, the new libsqlite fix the SQLITE_SECURE_DELETE bug
* Tue Mar 22 2011 gil <puntogil@libero.it> 3.1.9-3mamba
- add gio support and remove libgnome-vfs support
* Wed Mar 16 2011 gil <puntogil@libero.it> 3.1.9-2mamba
- rebuilt with new libhunspell 1.3.2
* Wed Mar 09 2011 gil <puntogil@libero.it> 3.1.9-1mamba
- update to 3.1.9
* Fri Dec 10 2010 gil <puntogil@libero.it> 3.1.7-1mamba
- update to 3.1.7
* Sun Nov 28 2010 gil <puntogil@libero.it> 3.1.6-3mamba
- build thunderbird lightning extension
* Mon Nov 08 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.6-2mamba
- removed ac_add_options --enable-system-sqlite to avoid the bug with the SQLITE_SECURE_DELETE directive
* Fri Oct 29 2010 gil <puntogil@libero.it> 3.1.6-1mamba
- update to 3.1.6
* Sun Oct 24 2010 gil <puntogil@libero.it> 3.1.5-1mamba
- update to 3.1.5
* Sat Oct 09 2010 gil <puntogil@libero.it> 3.1.4-1mamba
- update to 3.1.4
* Thu Sep 16 2010 gil <puntogil@libero.it> 3.1.3-1mamba
- update to 3.1.3
* Sun Jul 25 2010 gil <puntogil@libero.it> 3.1.1-1mamba
- update to 3.1.1
* Mon Jun 28 2010 gil <puntogil@libero.it> 3.1-1mamba
- update to 3.1 (codename Lanikai beach)
* Fri Apr 02 2010 gil <puntogil@libero.it> 3.0.4-1mamba
- update to 3.0.4
* Tue Mar 02 2010 gil <puntogil@libero.it> 3.0.3-2mamba
- fix launch URL from Thunderbird 3.x to external browser
* Tue Mar 02 2010 gil <puntogil@libero.it> 3.0.3-1mamba
- update to 3.0.3
* Mon Jan 25 2010 gil <puntogil@libero.it> 3.0.1-1mamba
- update to 3.0.1
* Wed Dec 23 2009 gil <puntogil@libero.it> 3.0-4mamba
- edit configure options
* Mon Dec 21 2009 gil <puntogil@libero.it> 3.0-3mamba
- edit configure options
* Mon Dec 21 2009 gil <puntogil@libero.it> 3.0-2mamba
- rebuilt with system mozldap
* Thu Dec 10 2009 gil <puntogil@libero.it> 3.0-1mamba
- update to 3.0
- edit spec file
- added thunderbird-script
* Sat Aug 22 2009 gil <puntogil@libero.it> 2.0.0.23-1mamba
- update to 2.0.0.23
* Wed Jun 24 2009 gil <puntogil@libero.it> 2.0.0.22-1mamba
- update to 2.0.0.22
* Fri Mar 20 2009 gil <puntogil@libero.it> 2.0.0.21-1mamba
- update to 2.0.0.21
* Fri Jan 02 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0.19-1mamba
- automatic update to 2.0.0.19 by autodist
* Wed Dec 03 2008 gil <puntogil@libero.it> 2.0.0.18-2mamba
- edit prefs.js
* Thu Nov 20 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0.18-1mamba
- update to 2.0.0.18
* Fri Sep 26 2008 gil <puntogil@libero.it> 2.0.0.17-1mamba
- update to 2.0.0.17
- edit prefs.js
* Sat Jul 26 2008 gil <puntogil@libero.it> 2.0.0.16-1mamba
- update to 2.0.0.16
* Tue Jun 24 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0.14-3mamba
- rebuild against system libnss
- change distribution name from "OpenMamba" to "openmamba"
* Thu May 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0.14-2mamba
- fix automatic requirements
- remove conflict for seamonkey
- license field changed from MPL to MPL 1.1
* Sat May 03 2008 gil <puntogil@libero.it> 2.0.0.14-1mamba
- update to 2.0.0.14
- update thunderbird-2.0.0.14-langpacks
- add new buildrequires: libpixman-devel
- add conflicts: seamonkey
* Tue Apr 22 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.0.12-2mamba
- fixed automatic provides and requirements to avoid conflicts with thunderbird
- fixed group description
* Wed Apr 09 2008 gil <puntogil@libero.it> 2.0.0.12-1mamba
- package created by autospec
- copy from thunderbird.spec
- add thunderbird-2.0.0.12-langpacks.tar.bz2
- add mozilla-thunderbird.desktop
- add mozilla-thunderbird128x128.png
- add MAKEFLAGS="-j1"
- add LDFLAGS='-lX11 -lXrender'