File firefox-ext-greasemonkey.spec of Package firefox-ext-greasemonkey

Name:           firefox-ext-greasemonkey
Version:        0.9.18
Release:        1
License:        MIT
Summary:        Greasemonkey extension for Firefox
Group:          Productivity/Networking/Web/Browsers
URL:            https://addons.mozilla.org/en-US/addon/748
Source0:        https://addons.mozilla.org/firefox/downloads/file/145602/greasemonkey-%{version}-fx.xpi
#Hash:          sha256:37408970b4fce3bc052ca15e4641c3edfe3556fe01e3c7c51004546ac52cb1e7
BuildRoot:      %{_tmppath}/%{name}-%{version}-buildroot
Requires:       firefox >= %{firefox_version}
BuildRequires:  firefox-devel
BuildRequires:  unzip
BuildRequires:  fdupes
Buildarch:      noarch

%description
Allows you to customize the way a web page displays or behaves, by using small bits of JavaScript. 

Hundreds of scripts, for a wide variety of popular sites, are already available at http://userscripts.org.

You can write your own scripts, too. Check out http://wiki.greasespot.net/ to get started.


Having trouble?  Please don't post comments here, nobody will see them.  If you need help, please read:
http://wiki.greasespot.net/Greasemonkey_Manual:Getting_Help

%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
openSUSE Build Service is sponsored by