ALT Linux repositórios
Group :: Rede/WWW
RPM: thunderbird-ru
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define rname ru
%define cid \{3fc84598-f0dd5-4bbc-a55f-97e68da60e9b\}
%define ciddir %tbird_extensionsdir/%cid
Name: %tbird_name-%rname
Version: %tbird_version
Release: alt1
Summary: Russian (RU) Language Pack for Thunderbird
License: GPL
Group: Networking/WWW
URL: http://www.chuonthis.com/extensions/
Source0: %tbird_name.%tbird_version.ru-RU.langpack.xpi
Source1: spell-ru-yo.xpi
Source2: spell-ru-ie.xpi
BuildRequires: %tbird_name-devel unzip
BuildArch: noarch
Requires: thunderbird-switch-locales
Requires: %tbird_name = %tbird_version
%description
The Mozilla Thunderbird in Russian.
%prep
%setup -c
%__mkdir_p dic1 dic2
unzip %SOURCE1 ru.aff ru.dic -d dic1
unzip %SOURCE2 ru.aff ru.dic -d dic2
%__mv dic1/ru.aff ru_RU1.aff
%__mv dic2/ru.aff ru_RU2.aff
%__mv dic1/ru.dic ru_RU1.dic
%__mv dic2/ru.dic ru_RU2.dic
%install
%__mv chrome/ru-{ru,RU}-mail.jar
%__mkdir_p %buildroot/%ciddir
%__cp -r * %buildroot/%ciddir
%__mkdir_p %buildroot/%tbird_componentsdir/myspell
%__cp *.aff *.dic %buildroot/%tbird_componentsdir/myspell
%post
%tbird_install_extension %ciddir
%postun
%tbird_uninstall_extension %cid
if [ -d "%ciddir" ]; then
rm -rf "%ciddir"
fi
%files
%ciddir
%tbird_componentsdir/myspell
%changelog
…
Todas as alterações você pod ver aqui
%define cid \{3fc84598-f0dd5-4bbc-a55f-97e68da60e9b\}
%define ciddir %tbird_extensionsdir/%cid
Name: %tbird_name-%rname
Version: %tbird_version
Release: alt1
Summary: Russian (RU) Language Pack for Thunderbird
License: GPL
Group: Networking/WWW
URL: http://www.chuonthis.com/extensions/
Source0: %tbird_name.%tbird_version.ru-RU.langpack.xpi
Source1: spell-ru-yo.xpi
Source2: spell-ru-ie.xpi
BuildRequires: %tbird_name-devel unzip
BuildArch: noarch
Requires: thunderbird-switch-locales
Requires: %tbird_name = %tbird_version
%description
The Mozilla Thunderbird in Russian.
%prep
%setup -c
%__mkdir_p dic1 dic2
unzip %SOURCE1 ru.aff ru.dic -d dic1
unzip %SOURCE2 ru.aff ru.dic -d dic2
%__mv dic1/ru.aff ru_RU1.aff
%__mv dic2/ru.aff ru_RU2.aff
%__mv dic1/ru.dic ru_RU1.dic
%__mv dic2/ru.dic ru_RU2.dic
%install
%__mv chrome/ru-{ru,RU}-mail.jar
%__mkdir_p %buildroot/%ciddir
%__cp -r * %buildroot/%ciddir
%__mkdir_p %buildroot/%tbird_componentsdir/myspell
%__cp *.aff *.dic %buildroot/%tbird_componentsdir/myspell
%post
%tbird_install_extension %ciddir
%postun
%tbird_uninstall_extension %cid
if [ -d "%ciddir" ]; then
rm -rf "%ciddir"
fi
%files
%ciddir
%tbird_componentsdir/myspell
%changelog
…
Todas as alterações você pod ver aqui