Sisyphus repository
Last update: 16 october 2019 | SRPMs: 17499 | Visits: 15270937
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 

%set_firefox_version_specific

%define rname uk
%define cid \{f68df430-4534-4473-8ca4-d5de32268a8d\}
%define ciddir %firefox_extensionsdir/%cid

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

License: GPL
Group: Networking/WWW
URL: http://www.mozilla.org.ua

Source0: %firefox_name-1.0.5-uk-UA.xpi
Source1: S00firefox-uk.sh

BuildRequires: %firefox_name-devel unzip
BuildArch: noarch

Requires: firefox-switch-locales
Requires: %firefox_name = %firefox_version

Packager: LAKostis <lakostis at altlinux.ru>

%description
The Mozilla Firefox Ukrainian translation.

%prep
%setup -c

%install
%__mkdir_p %buildroot/%ciddir
%__cp -r * %buildroot/%ciddir

%__install -D -m 755 %SOURCE1                          %buildroot/%firefox_initd/S00%name.sh
%__subst 's, at cid at ,%cid,g'                              %buildroot/%firefox_initd/S00%name.sh

%post
%firefox_install_extension %ciddir

%postun
%firefox_uninstall_extension %cid
if [ "$1" = 0 ]; then
 [ ! -d "%ciddir" ] || rm -rf "%ciddir"
 [ ! -f "%firefox_chromedir/chrome.rdf" ] || %__rm -f %firefox_chromedir/chrome.rdf
 %firefox_register
fi

%files
%ciddir
%firefox_initd/S00%name.sh

%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