- Add some langpacks back in

- Stop providing MozillaThunderbird
This commit is contained in:
Christopher Aillon 2006-01-28 06:15:16 +00:00
parent 926c0b4118
commit 415b20a66b
4 changed files with 23 additions and 3 deletions

View File

@ -7,3 +7,4 @@ thunderbird-1.5b1-source.tar.bz2
thunderbird-1.5b2-source.tar.bz2
thunderbird-1.5rc1-source.tar.bz2
thunderbird-1.5-source.tar.bz2
thunderbird-langpacks-20060127.tar.bz2

View File

@ -1 +1,2 @@
781c1cd1a01583d9b666d8c2fe4288e6 thunderbird-1.5-source.tar.bz2
df32df3b18b0f9af5687d8a0cab08782 thunderbird-langpacks-20060127.tar.bz2

View File

@ -1,8 +1,10 @@
pref("app.update.enabled", false);
pref("app.update.autoInstallEnabled", false);
pref("general.useragent.vendor", "Fedora");
pref("general.useragent.vendorSub", "THUNDERBIRD_RPM_VR");
pref("intl.locale.matchOS", true);
# Make hyperlinks work
pref("network.protocol-handler.app.http", "COMMAND");
pref("network.protocol-handler.app.https", "COMMAND");
pref("network.protocol-handler.app.ftp", "COMMAND");

View File

@ -8,7 +8,7 @@
Summary: Mozilla Thunderbird mail/newsgroup client
Name: thunderbird
Version: 1.5
Release: 1
Release: 2
Epoch: 0
URL: http://www.mozilla.org/projects/thunderbird/
License: MPL
@ -19,6 +19,7 @@ Group: Applications/Internet
%define tarball thunderbird-1.5rc1-source.tar.bz2
%endif
Source0: %{tarball}
Source1: thunderbird-langpacks-20060127.tar.bz2
Source10: thunderbird-mozconfig
Source11: thunderbird-mozconfig-branded
Source12: thunderbird-redhat-default-prefs.js
@ -65,7 +66,6 @@ BuildRequires: tcsh
BuildRequires: freetype-devel
Prereq: desktop-file-utils >= %{desktop_file_utils_version}
Obsoletes: MozillaThunderbird
Provides: MozillaThunderbird = %{epoch}:%{version}
%define tbdir %{_libdir}/thunderbird-%{version}
@ -161,6 +161,18 @@ perl -pi -e 's|LIBDIR|%{_libdir}|g' $RPM_BUILD_ROOT/%{tbdir}/open-browser.sh
# own mozilla plugin dir (#135050)
%{__mkdir_p} $RPM_BUILD_ROOT%{_libdir}/mozilla/plugins
# Install langpacks
%{__mkdir_p} $RPM_BUILD_ROOT%{tbdir}/extensions
%{__tar} xjf %{SOURCE1}
for langpack in `ls thunderbird-langpacks/*.xpi`; do
language=`basename $langpack .xpi`
extensiondir=$RPM_BUILD_ROOT%{tbdir}/extensions/langpack-$language@thunderbird.mozilla.org
%{__mkdir_p} $extensiondir
unzip $langpack -d $extensiondir
done
%{__rm} -rf thunderbird-langpacks
%{__rm} -f $RPM_BUILD_ROOT%{tbdir}/thunderbird-config
cd $RPM_BUILD_ROOT%{tbdir}/chrome
@ -187,6 +199,10 @@ update-desktop-database %{_datadir}/applications
#===============================================================================
%changelog
* Fri Jan 27 2006 Christopher Aillon <caillon@redhat.com> - 1.5-2
- Add some langpacks back in
- Stop providing MozillaThunderbird
* Thu Jan 12 2006 Christopher Aillon <caillon@redhat.com> - 1.5-1
- Official 1.5 release is out