Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37732615
en ru br
ALT Linux repos
5.0: 1.4.2-alt1
4.1: 1.4.1-alt1.1
4.0: 1.4.1-alt1.1
3.0: 1.3.2-alt2.2
+updates:1.3.4.1-alt0.M30.1

Group :: Networking/WWW
RPM: firefox-switchproxy

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define version 1.3.4.1
%define rname Switchproxy_%version
%define cid \{27A2FD41-CB23-4518-AB5C-C25BAFFDE531\}
%define ciddir %firefox_extensionsdir/%cid

Summary: Plugin switchproxy for Firefox
Name: %firefox_name-switchproxy
Version: %version
Release: alt0.M30.1
# http://www.unghost.ru/firefox/extensions/switchproxy/Switchproxy_1.3.4.1.xpi
Source0: %rname.xpi
License: GPL
Group: Networking/WWW
URL: http://mozmonkey.com/packages/switchproxy/
Buildrequires:  %firefox_name-devel unzip
BuildArch: noarch

Requires: %firefox_name = %firefox_version

Packager: Alexey Shabalin <shaba at altlinux.ru>

%description
A tool that allows you to manage and switch between multiple proxy configurations quickly and easily.

%prep
%setup -c

%install
%__mkdir_p %buildroot/%ciddir
%__cp -r * %buildroot/%ciddir
# XXX ugly hack
find %buildroot/%ciddir -name *.jar -exec chmod 644 {} \;

%post
%firefox_install_extension %ciddir

%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