Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > 31ff85c25d5e200c149ec8f3218b667a > files > 2

firefox-ext-firebug-1.5.4-2mdv2010.1.src.rpm

%define _mozillaextpath %{firefox_mozillapath}/extensions

Summary: Web development tool extension for firefox
Name: firefox-ext-firebug
Version: 1.5.4
Release: %mkrel 2
License: MPL
Group:	Networking/WWW
URL:	https://addons.mozilla.org/en-US/firefox/addon/1843
Source: http://www.gtlib.gatech.edu/pub/mozilla.org/addons/1843/firebug-%{version}-fx.xpi
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
Requires:	mozilla-firefox => %{firefox_epoch}:%{firefox_version}
BuildRequires:	firefox-devel

%description
The most popular and powerful web development tool

    * Inspect HTML and modify style and layout in real-time
    * Use the most advanced JavaScript debugger available for any browser
    * Accurately analyze network usage and performance
    * Extend Firebug and add features to make Firebug even more powerful
    * Get the information you need to get it done with Firebug.


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

%build

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

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="%{_mozillaextpath}/$hash"
mkdir -p "%{buildroot}$extdir"
cp -af * "%{buildroot}$extdir/"

%clean
rm -rf %{buildroot}

%files
%defattr(0644,root,root,0755)
%dir %firefox_mozillapath
%{_mozillaextpath}



%changelog
* Mon Jun 28 2010 Frederic Crozat <fcrozat@mandriva.com> 1.5.4-2mdv2010.1
+ Revision: 549365
- rebuild with FF 3.6.6

  + Funda Wang <fwang@mandriva.org>
    - New version 1.5.4

* Fri Apr 30 2010 Thierry Vignaud <tv@mandriva.org> 1.5.3-1mdv2010.1
+ Revision: 541247
- import firefox-ext-firebug


* Fri Apr 30 2010 Thierry Vignaud <tvignaud@mandriva.com> 1.5.3-1mdv2010.1
- initial release