%global ext_name downthemall #Frefox globals %global moz_extensions %{_datadir}/mozilla/extensions %global firefox_app_id \{ec8030f7-c20a-464f-9b0e-13a3a9e97384\} #Addon %global src_ext_id \{DDC359D1-844A-42a7-9AA1-88A850A938A8\} %global inst_dir %{moz_extensions}/%{firefox_app_id}/%{src_ext_id} Name: mozilla-%{ext_name} Version: 3.0.8 Release: 1%{?dist} Summary: Firefox download manager Summary(ar): مدير تحميل لفيرفكس License: GPLv2 and LGPLv2.1 and MPLv2 URL: http://downthemall.net Source0: %{ext_name}-%{version}.xpi BuildArch: noarch %description DownThemAll is all you can desire from a download manager: it features an advanced accelerator that increases speed up to 4x and it allows you to pause and resume downloads at any time. %install mkdir -p %{buildroot}%{moz_extensions}/%{firefox_app_id} install -Dp -m 644 %{SOURCE0} %{buildroot}%{inst_dir}.xpi %files %{inst_dir}.xpi %changelog * Sat Feb 18 2017 Mosaab Alzoubi - 3.0.8-1 - Re-write the spec, shortest - Update to 3.0.8 * Sat Jul 26 2014 Ian Firns - 2.0.17-1 - Upstream 2.0.17 release. - Re-wrapped description. * Sun Jun 16 2013 Chris Smart - 2.0.16-1 - Upstream 2.0.16 release. * Tue Jan 15 2013 Chris Smart - 2.0.15-1 - Upstream 2.0.15 release. * Wed Sep 12 2012 Chris Smart - 2.0.14-1 - Upstream 2.0.14 release. * Sat Feb 16 2012 Chris Smart - 2.0.13-1 - Upstream 2.0.13 release. * Wed Sep 12 2011 Chris Smart - 2.0.8-1 - Upstream release, Firefox 8 compatible. * Sat Sep 10 2011 Chris Smart - 2.0.7-1 - Initial port.