ALT Linux repos
Group :: Networking/WWW
RPM: firefox-switchproxy
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
%define rname switchproxy
%define cid \{27A2FD41-CB23-4518-AB5C-C25BAFFDE531\}
%define ciddir %firefox_noarch_extensionsdir/%cid
Summary: Plugin switchproxy for Firefox
Name: %firefox_name-%rname
Version: 1.4.2
Release: alt1
Source0: %rname-%version.xpi
Source1: switchproxy-chrome.manifest
License: GPL
Group: Networking/WWW
URL: http://mozmonkey.com/packages/switchproxy
Packager: Alexey Shabalin <shaba at altlinux.ru>
BuildArch: noarch
BuildRequires(pre): rpm-build-firefox
BuildRequires: unzip
%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
cp %SOURCE1 %buildroot/%ciddir/chrome.manifest
%postun
if [ "$1" = 0 ]; then
[ ! -d "%ciddir" ] || rm -rf "%ciddir"
fi
%files
%ciddir
%changelog
…
Full changelog you can see here
%define cid \{27A2FD41-CB23-4518-AB5C-C25BAFFDE531\}
%define ciddir %firefox_noarch_extensionsdir/%cid
Summary: Plugin switchproxy for Firefox
Name: %firefox_name-%rname
Version: 1.4.2
Release: alt1
Source0: %rname-%version.xpi
Source1: switchproxy-chrome.manifest
License: GPL
Group: Networking/WWW
URL: http://mozmonkey.com/packages/switchproxy
Packager: Alexey Shabalin <shaba at altlinux.ru>
BuildArch: noarch
BuildRequires(pre): rpm-build-firefox
BuildRequires: unzip
%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
cp %SOURCE1 %buildroot/%ciddir/chrome.manifest
%postun
if [ "$1" = 0 ]; then
[ ! -d "%ciddir" ] || rm -rf "%ciddir"
fi
%files
%ciddir
%changelog
…
Full changelog you can see here