SPECS: firephp.spec (NEW) - new (actually i have no idea how to package moz...

glen glen at pld-linux.org
Thu Jul 31 12:03:33 CEST 2008


Author: glen                         Date: Thu Jul 31 10:03:33 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new (actually i have no idea how to package mozilla extensions)

---- Files affected:
SPECS:
   firephp.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/firephp.spec
diff -u /dev/null SPECS/firephp.spec:1.1
--- /dev/null	Thu Jul 31 12:03:33 2008
+++ SPECS/firephp.spec	Thu Jul 31 12:03:27 2008
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+# TODO
+# - make it generic for gecko based browsers (browser-plugins should first support this)
+#   call it one of: (RFC welcome)
+#   - browser-extension-gecko-firephp
+#   - gecko-addon-firephp
+#   - gecko-extension-firephp
+#   - mozilla-extension-firephp
+#   - mozilla-addon-firephp
+Summary:	Firefox Extension for FirePHP
+Name:		firephp
+Version:	0.1.0
+Release:	0.1
+License:	New BSD License
+Group:		Development/Languages/PHP
+URL:		https://addons.mozilla.org/en-US/firefox/addon/6149
+BuildRequires:	sed >= 4.0
+Source0:	http://www.firephp.org/DownloadRelease/FirePHP-FirefoxExtension-%{version}
+# Source0-md5:	7546aedfb63f1fa5213fb99629cc5077
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		extensiondir	%{_datadir}/mozilla-firefox/extensions/firephp
+
+%description
+FirePHP enables you to print to your Firebug Console using a simple
+PHP function call.
+
+You must have Firebug installed and the "Net" panel enabled to use
+this extension.
+
+%prep
+%setup -qc
+%{__sed} -i -e 's,\r$,,' update.rdf.tpl
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{extensiondir}
+cp -a chrome.manifest install.rdf update.rdf.tpl chrome $RPM_BUILD_ROOT%{extensiondir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG
+%dir %{extensiondir}
+%{extensiondir}/chrome
+%{extensiondir}/install.rdf
+%{extensiondir}/update.rdf.tpl
+%{extensiondir}/chrome.manifest
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008/07/31 10:03:27  glen
+- new (actually i have no idea how to package mozilla extensions)
+
================================================================


More information about the pld-cvs-commit mailing list