SPECS: iceape-addon-greasemonkey.spec (NEW) - greasemonkey addon, can't be ...

sparky sparky at pld-linux.org
Thu Sep 25 23:39:59 CEST 2008


Author: sparky                       Date: Thu Sep 25 21:39:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- greasemonkey addon, can't be installed in profile directory, must be
  installed by root, that's why the spec
- BUG: somehow stops the browser from recognizing © entity

---- Files affected:
SPECS:
   iceape-addon-greasemonkey.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/iceape-addon-greasemonkey.spec
diff -u /dev/null SPECS/iceape-addon-greasemonkey.spec:1.1
--- /dev/null	Thu Sep 25 23:39:59 2008
+++ SPECS/iceape-addon-greasemonkey.spec	Thu Sep 25 23:39:53 2008
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+%define		_realname	greasemonkey
+Summary:	Greasemonkey lets you add Javascript to any web page
+Name:		iceape-addon-%{_realname}
+Version:	0.8.2
+Release:	0.1
+License:	AS-IS
+Group:		X11/Applications/Networking
+Source0:	http://downloads.mozdev.org/xsidebar/mods/%{_realname}-%{version}-mod.xpi
+# Source0-md5:	fec6e717552e2e5c9653a0316f6f9d06
+URL:		http://xsidebar.mozdev.org/modifiedmisc.html#greasemonkey
+Requires(post,postun):	iceape >= 1.1
+Requires(post,postun):	textutils
+Requires:	iceape >= 1.1
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_iceapedir	%{_libdir}/iceape
+%define		_iceapedatadir	%{_datadir}/iceape
+
+%description
+Greasemonkey is an iceape extension which lets you to add bits of
+DHTML ("user scripts") to any web page to change its behavior. In much
+the same way that user CSS lets you take control of a web page's
+style, user scripts let you easily control any aspect of a web page's
+design or interaction.
+
+%prep
+%setup -q -c -T
+install %{SOURCE0} %{_realname}.xpi
+unzip %{_realname}.xpi
+
+INST="chrome/%{_realname}-installed-chrome.txt"
+echo 'content,install,url,jar:resource:/chrome/greasemonkey.jar!/content/' > $INST
+
+for LANG in en-US ca-AD cs-CZ da-DK de-DE es-ES eu-ES fa-IR \
+		fi-FI fr-FR gl-ES he-IL it-IT ja-JP ko-KR nl-NL \
+		pl-PL pt-BR pt-PT ru-RU sk-SK sl-SI sv-SE tr-TR \
+		uk-UA zh-CN zh-TW; do
+	echo "locale,install,url,jar:resource:/chrome/greasemonkey.jar!/locale/$LANG/"
+done >> $INST
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_iceapedir} \
+	$RPM_BUILD_ROOT%{_iceapedatadir}/defaults/pref
+
+cp -rv components $RPM_BUILD_ROOT%{_iceapedir}
+cp -rv chrome $RPM_BUILD_ROOT%{_iceapedatadir}
+install defaults/preferences/greasemonkey.js $RPM_BUILD_ROOT%{_iceapedatadir}/defaults/pref
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%postun
+%{_sbindir}/iceape-chrome+xpcom-generate
+
+%files
+%defattr(644,root,root,755)
+%{_iceapedatadir}/chrome/%{_realname}.jar
+%{_iceapedatadir}/chrome/%{_realname}-installed-chrome.txt
+%{_iceapedatadir}/chrome/icons/default/%{_realname}.ico
+%{_iceapedatadir}/defaults/pref/%{_realname}.js
+%{_iceapedir}/components/gm*.xpt
+%{_iceapedir}/components/%{_realname}.js
+
+%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/09/25 21:39:53  sparky
+- greasemonkey addon, can't be installed in profile directory, must be
+  installed by root, that's why the spec
+- BUG: somehow stops the browser from recognizing &copy; entity
+
+Revision 1.2  2008/06/26 20:55:44  hawk
+- replaced non-free logos, O: for seamonkey-theme
+
+Revision 1.1  2008/06/26 13:43:18  hawk
+- theme for Iceape
+
================================================================


More information about the pld-cvs-commit mailing list