]>
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 | |
12 | Release: 0.1 | |
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 | |
19 | BuildArch: noarch | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %define extensiondir %{_datadir}/mozilla-firefox/extensions/firephp | |
23 | ||
24 | %description | |
25 | FirePHP enables you to print to your Firebug Console using a simple | |
26 | PHP function call. | |
27 | ||
28 | You must have Firebug installed and the "Net" panel enabled to use | |
29 | this extension. | |
30 | ||
31 | %prep | |
32 | %setup -qc | |
33 | %{__sed} -i -e 's,\r$,,' update.rdf.tpl | |
34 | ||
35 | %install | |
36 | rm -rf $RPM_BUILD_ROOT | |
37 | install -d $RPM_BUILD_ROOT%{extensiondir} | |
38 | cp -a chrome.manifest install.rdf update.rdf.tpl chrome $RPM_BUILD_ROOT%{extensiondir} | |
39 | ||
40 | %clean | |
41 | rm -rf $RPM_BUILD_ROOT | |
42 | ||
43 | %files | |
44 | %defattr(644,root,root,755) | |
45 | %doc CHANGELOG | |
46 | %dir %{extensiondir} | |
47 | %{extensiondir}/chrome | |
48 | %{extensiondir}/install.rdf | |
49 | %{extensiondir}/update.rdf.tpl | |
50 | %{extensiondir}/chrome.manifest |