Sisyphus repository
Last update: 18 october 2019 | SRPMs: 17501 | Visits: 15288031
en ru br
ALT Linux repos
S:69.0-alt2
5.0: 3.0-alt2
4.1: 3.0-alt0.M41.1
4.0: 2.0-alt2
3.0: 1.0.7-alt1
+updates:1.0.8-alt1

Group :: Networking/WWW
RPM: firefox-uk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define rname uk

%define cid langpack-uk at firefox.mozilla.org
%define ciddir %firefox_noarch_extensionsdir/%cid

Name: %firefox_name-%rname
Version: 3.0
Release: alt2
Summary: Ukrainian (UA) Language Pack for Firefox

License: GPL
Group: Networking/WWW
URL: http://www.mozilla.org.ua
Packager: Alexey Gladkov <legion at altlinux.ru>
BuildArch: noarch

Source0: uk-%version.xpi

Requires: hunspell-uk
BuildRequires(pre): rpm-build-firefox
BuildRequires: unzip

%description
The Mozilla Firefox Ukrainian translation.

%prep
%setup -c -n %name-%version/%cid

%install
cd ..

%__mkdir_p %buildroot/%ciddir/dictionaries
%__cp -r %cid/* %buildroot/%ciddir
ln -s %_datadir/myspell/uk_UA.aff %buildroot/%ciddir/dictionaries/uk-UA.aff
ln -s %_datadir/myspell/uk_UA.dic %buildroot/%ciddir/dictionaries/uk-UA.dic

sed -r -i \
   -e 's,<em:maxVersion>3.0</em:maxVersion>,<em:maxVersion>3.*</em:maxVersion>,g' \
   -e 's,<em:minVersion>3.0</em:minVersion>,<em:minVersion>3.0</em:minVersion>,g' \
   %buildroot/%ciddir/install.rdf

%postun
%firefox_uninstall_extension %cid
if [ "$1" = 0 ]; then
[ ! -d "%ciddir" ]  || 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