Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > f4e30befc9851e310571990426cf2eb9 > files > 1

firefox-ext-foxyproxy-4.1-2.mga3.src.rpm

Summary: Advanced proxy management tool for firefox
Name: firefox-ext-foxyproxy
Version: 4.1
Release: %mkrel 2
License: BSD
Group:	Networking/WWW
URL:	https://addons.mozilla.org/en-US/firefox/addon/foxyproxy-standard/
Source: https://addons.mozilla.org/firefox/downloads/file/178880/foxyproxy_standard-%{version}-fx+tb+sm.xpi
Requires:	mozilla-firefox => %{firefox_epoch}:%{firefox_version}
BuildRequires:	firefox-devel zip
Buildarch: noarch

%description
FoxyProxy is an advanced proxy management tool that completely replaces
Firefox's limited proxying capabilities.

FoxyProxy is a Firefox extension which automatically switches an internet
connection across one or more proxy servers based on URL patterns. Put simply,
FoxyProxy automates the manual process of editing Firefox's Connection Settings
dialog. Proxy server switching occurs based on the loading URL and the
switching rules you define.

Animated icons show you when a proxy is in use. Advanced logging shows you
which proxies were used and when. QuickAdd makes it a snap to create new URL
patterns on-the-fly. FoxyProxy is fully compatible with Portable Firefox, has
better support for PAC files than Firefox itself, and is translated into more
than 25 languages.

%prep
%setup -q -c -n %{name}-%{version}

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{firefox_extdir}

hash="$(sed -n '/.*em:id="\(.*\)"/{s//\1/p;q}' install.rdf)"
if [ -z "$hash" ]; then
    hash="$(sed -n '/.*em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf)"
fi
if [ -z "$hash" ]; then
    echo "Failed to find plugin hash."
    exit 1
fi
extdir="%{firefox_extdir}/"
mkdir -p "%{buildroot}$extdir"
cp -af %SOURCE0 .
zip -9 *xpi install.rdf
install -m 644 *xpi "%{buildroot}$extdir/$hash.xpi"


%clean
rm -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%{firefox_extdir}/*


%changelog

* Fri Jan 11 2013 umeabot <umeabot> 4.1-2.mga3
+ Revision: 350412
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Dec 06 2012 fwang <fwang> 4.1-1.mga3
+ Revision: 327116
- new version 4.1

* Wed Oct 10 2012 fwang <fwang> 4.0.1-1.mga3
+ Revision: 304170
- new version 4.0.1

* Wed Aug 01 2012 fwang <fwang> 3.6.2-1.mga3
+ Revision: 276877
- new version 3.6.2

* Fri Jan 06 2012 fwang <fwang> 3.4-1.mga2
+ Revision: 192517
- new version 3.4

* Sun Nov 06 2011 fwang <fwang> 3.3-1.mga2
+ Revision: 164157
- new version 3.3

* Tue Sep 27 2011 fwang <fwang> 3.2-1.mga2
+ Revision: 149232
- new version 3.2
- new version 3.1.2

  + dmorgan <dmorgan>
    - Rebuild to have a higher release in cauldron

* Tue May 03 2011 tv <tv> 2.22.6-1.mga1
+ Revision: 94461
- drop patch 0 (merged upstream)
- new release

* Thu Apr 07 2011 tv <tv> 2.22.5-1.mga1
+ Revision: 82002
- BuildRequires zip
- imported package firefox-ext-foxyproxy