File firefox-ext-adblock_plus.spec of Package firefox-ext-adblock_plus
Name: firefox-ext-adblock_plus
Version: 2.6.9
Release: 1
License: MPL-1.1
Summary: Adblock Plus extension for Firefox
Group: Productivity/Networking/Web/Browsers
URL: https://addons.mozilla.org/en-US/addon/1865
Source0: https://addons.mozilla.org/firefox/downloads/file/306996/adblock_plus-%{version}-an+sm+tb+fx.xpi
#Hash: sha256:b30b997decd8d185709be5ab0b7d3378255526e15925f053ace71f013ae0e27a
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires: firefox >= %{firefox_version}
BuildRequires: firefox-devel
BuildRequires: unzip
BuildRequires: fdupes
Buildarch: noarch
%description
Adblock Plus allows you to regain control of the internet and view the web the way you want to. The add-on is supported by over forty filter subscriptions in dozens of languages which automatically configure it for purposes ranging from removing online advertising to blocking all known malware domains. Adblock Plus also allows you to customize your filters with the assistance of a variety of useful features, including a context option for images, a block tab for Flash and Java objects, and a list of blockable items to remove scripts and stylesheets.
Starting with Adblock Plus 2.0 there is an option in Filter Preferences to allow some non-intrusive advertising. The goal is to support websites using non-intrusive ways to advertise and to encourage more websites to do the same. Read more
%prep
%setup -qTcn %{name}-%{version}
%build
%install
%firefox_ext_install %SOURCE0
%fdupes "%{buildroot}%{firefox_extdir}"
%clean
rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%{firefox_extdir}
%changelog