]>
Commit | Line | Data |
---|---|---|
030310a9 ER |
1 | # TODO |
2 | # - make it generic for gecko based browsers (browser-plugins should first support this) | |
3 | # call it one of: (RFC welcome) | |
4 | # - browser-extension-gecko-firephp | |
5 | # - gecko-addon-firephp | |
6 | # - gecko-extension-firephp | |
7 | # - mozilla-extension-firephp | |
8 | # - mozilla-addon-firephp | |
9 | Summary: Firefox Extension for FirePHP | |
10 | Name: firephp | |
11 | Version: 0.1.0 | |
bc92cc39 | 12 | Release: 0.3 |
030310a9 ER |
13 | License: New BSD License |
14 | Group: Development/Languages/PHP | |
15 | URL: https://addons.mozilla.org/en-US/firefox/addon/6149 | |
16 | BuildRequires: sed >= 4.0 | |
17 | Source0: http://www.firephp.org/DownloadRelease/FirePHP-FirefoxExtension-%{version} | |
18 | # Source0-md5: 7546aedfb63f1fa5213fb99629cc5077 | |
bc92cc39 | 19 | Requires: firebug |
030310a9 ER |
20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
e4af8c87 ER |
23 | # extension id from install.rdf |
24 | %define extensionid FirePHPExtension-Build@firephp.org | |
25 | %define extensiondir %{_datadir}/mozilla-firefox/extensions/%{extensionid} | |
030310a9 ER |
26 | |
27 | %description | |
28 | FirePHP enables you to print to your Firebug Console using a simple | |
29 | PHP function call. | |
30 | ||
31 | You must have Firebug installed and the "Net" panel enabled to use | |
32 | this extension. | |
33 | ||
34 | %prep | |
35 | %setup -qc | |
36 | %{__sed} -i -e 's,\r$,,' update.rdf.tpl | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT%{extensiondir} | |
41 | cp -a chrome.manifest install.rdf update.rdf.tpl chrome $RPM_BUILD_ROOT%{extensiondir} | |
42 | ||
43 | %clean | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %files | |
47 | %defattr(644,root,root,755) | |
48 | %doc CHANGELOG | |
49 | %dir %{extensiondir} | |
50 | %{extensiondir}/chrome | |
51 | %{extensiondir}/install.rdf | |
52 | %{extensiondir}/update.rdf.tpl | |
53 | %{extensiondir}/chrome.manifest |