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_extensionsdir/%cid
Summary: Plugin switchproxy for Firefox
Name: %firefox_name-%rname
Version: 1.3.2
Release: alt2.2
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
%define cid \{27A2FD41-CB23-4518-AB5C-C25BAFFDE531\}
%define ciddir %firefox_extensionsdir/%cid
Summary: Plugin switchproxy for Firefox
Name: %firefox_name-%rname
Version: 1.3.2
Release: alt2.2
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