Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37514595
en ru br
Репозитории ALT

Группа :: Сети/WWW
Пакет: firefox-esr-noscript

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable palemoon   # Only compatible versions

%define cid     \{73a6fe31-595d-460b-a920-fcc0f8843232\}

%if_enabled palemoon
%define cid_dir        %palemoon_noarch_extensionsdir/%cid
%endif

%define cidf_dir       %firefox_noarch_extensionsdir/%cid

Summary: NoScript extension for Firefox and Pale Moon (for firefox-esr)
Summary (ru_RU.utf8): п■п╬п©п╬п╩п╫п╣п╫п╦п╣ NoScript п╢п╩я▐  Firefox п╦ Pale Moon
Name: firefox-esr-noscript
Version: 5.1.8.4
Release: alt2
Source: noscript-%version.xpi
License: GPL
Group: Networking/WWW
Url: http://noscript.net
Packager: Alexey Gladkov <legion at altlinux.ru>
BuildArch: noarch
Conflicts: firefox-noscript

BuildRequires(pre): rpm-build-firefox
#BuildRequires(pre): rpm-build-palemoon
BuildRequires: unzip

%if_enabled palemoon
%package -n palemoon-noscript
Group: System/Libraries
Summary: Plugin NoScript for Pale Moon
Requires: palemoon
%endif

%description
Extra protection for your Firefox: NoScript allows JavaScript,
Java (and other plugins) only for trusted domains of your
choice (e.g. your home-banking web site). This whitelist
based pre-emptive blocking approach  prevents exploitation
of security vulnerabilities (known and even unknown!) with
no loss of functionality.

%description -l ru_RU.utf8
п═п╟я│я┬п╦я─п╣п╫п╦п╣ п╢п╩я▐ п╡п╟я┬п╣пЁп╬ п╠я─п╟я┐п╥п╣я─:  NoScript п©п╬п╥п╡п╬п╩я▐п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄
я│п╨я─п╦п©я┌я▀ JavaScript, Java (п╦ п╢я─я┐пЁп╦п╣ я─п╟я│я┬п╦я─п╣п╫п╦я▐ ) я┌п╬п╩я▄п╨п╬ я│ п╢п╬п╡п╣я─п╣п╫п╫я▀я┘
п╢п╬п╪п╣п╫п╬п╡ п╡я▀п╠я─п╟п╫п╫я▀я┘ п╡п╟п╪п╦ (п╫п╟п©я─п╦п╪п╣я─: я│ я│п╟п╧я┌п╟ п╠п╟п╫п╨п╬п╡я│п╨п╬пЁп╬ п╬п╠я│п╩я┐п╤п╦п╡п╟п╫п╦я▐).
п║п©п╦я│п╬п╨ п╢п╬п╡п╣я─п╣п╫п╫я▀я┘ я│п╟п╧я┌п╬п╡ п╬я│п╫п╬п╡п╟п╫п╫ п╫п╟ п©я─п╦п╫я├п╦п©п╣ я┐п©я─п╣п╤п╢п╟я▌я┴п╣п╧ п╠п╩п╬п╨п╦я─п╬п╡п╨п╦
я┐пЁя─п╬п╥, п╦ п©п╬п╥п╡п╬п╩я▐п╣я┌ п©я─п╣п╢п╬я┌п╡я─п╟я┴п╟я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я┐я▐п╥п╡п╦п╪п╬я│я┌п╣п╧
(п╨п╟п╨ п╦п╥п╡п╣я│я┌п╫я▀я┘, я┌п╟п╨ п╦ п╣я┴я▒ п╫п╣п╦п╥п╡п╣я│я┌п╫я▀я┘) п╠п╣п╥ п©п╬я┌п╣я─п╦ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬я│я┌п╦.

%if_enabled palemoon
%description -n palemoon-noscript
Extra protection for your Pale Moon: NoScript allows JavaScript,
Java (and other plugins) only for trusted domains of your
choice (e.g. your home-banking web site). This whitelist
based pre-emptive blocking approach  prevents exploitation
of security vulnerabilities (known and even unknown!) with
no loss of functionality.

%description -l ru_RU.utf8 -n palemoon-noscript
п═п╟я│я┬п╦я─п╣п╫п╦п╣ п╢п╩я▐ п╡п╟я┬п╣пЁп╬ п╠я─п╟я┐п╥п╣я─:  NoScript п©п╬п╥п╡п╬п╩я▐п╣я┌ п╡я▀п©п╬п╩п╫я▐я┌я▄
я│п╨я─п╦п©я┌я▀ JavaScript, Java (п╦ п╢я─я┐пЁп╦п╣ я─п╟я│я┬п╦я─п╣п╫п╦я▐ ) я┌п╬п╩я▄п╨п╬ я│ п╢п╬п╡п╣я─п╣п╫п╫я▀я┘
п╢п╬п╪п╣п╫п╬п╡ п╡я▀п╠я─п╟п╫п╫я▀я┘ п╡п╟п╪п╦ (п╫п╟п©я─п╦п╪п╣я─: я│ я│п╟п╧я┌п╟ п╠п╟п╫п╨п╬п╡я│п╨п╬пЁп╬ п╬п╠я│п╩я┐п╤п╦п╡п╟п╫п╦я▐).
п║п©п╦я│п╬п╨ п╢п╬п╡п╣я─п╣п╫п╫я▀я┘ я│п╟п╧я┌п╬п╡ п╬я│п╫п╬п╡п╟п╫п╫ п╫п╟ п©я─п╦п╫я├п╦п©п╣ я┐п©я─п╣п╤п╢п╟я▌я┴п╣п╧ п╠п╩п╬п╨п╦я─п╬п╡п╨п╦
я┐пЁя─п╬п╥, п╦ п©п╬п╥п╡п╬п╩я▐п╣я┌ п©я─п╣п╢п╬я┌п╡я─п╟я┴п╟я┌я▄ п╦я│п©п╬п╩я▄п╥п╬п╡п╟п╫п╦п╣ я┐я▐п╥п╡п╦п╪п╬я│я┌п╣п╧
(п╨п╟п╨ п╦п╥п╡п╣я│я┌п╫я▀я┘, я┌п╟п╨ п╦ п╣я┴я▒ п╫п╣п╦п╥п╡п╣я│я┌п╫я▀я┘) п╠п╣п╥ п©п╬я┌п╣я─п╦ я└я┐п╫п╨я├п╦п╬п╫п╟п╩я▄п╫п╬я│я┌п╦.
%endif

%prep
%setup -n noscript

%install
%if_enabled palemoon
mkdir -p %buildroot/%cid_dir
cp -r * %buildroot/%cid_dir
%endif

mkdir -p %buildroot/%cidf_dir
cp -r * %buildroot/%cidf_dir

%if_enabled palemoon
%files -n palemoon-noscript
%cid_dir
%endif

%files
%cidf_dir

%postun
if [ "$1" = 0 ]; then
%if_enabled palemoon
[ ! -d "%cid_dir" ] || rm -rf "%cid_dir"
%endif
[ ! -d "%cidf_dir" ] || rm -rf "%cidf_dir"
fi

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin