SPECS: widgEditor.spec (NEW) - new

glen glen at pld-linux.org
Sun Jun 26 01:41:02 CEST 2005


Author: glen                         Date: Sat Jun 25 23:41:02 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/widgEditor.spec
diff -u /dev/null SPECS/widgEditor.spec:1.1
--- /dev/null	Sun Jun 26 01:41:02 2005
+++ SPECS/widgEditor.spec	Sun Jun 26 01:40:57 2005
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary:	widgEditor
+Name:		widgEditor
+# no version. use last changed date from sources.
+%define	_snap 20050309
+Version:	0.%{_snap}
+Release:	1.0
+Epoch:		0
+License:	GPL
+Group:		Applications/WWW
+Source0:	http://www.themaninblue.com/experiment/widgEditor/widgEditor.zip
+# Source0-md5:	3a9ef2cccaeea1302f0867d90f1a1be6
+URL:		http://www.themaninblue.com/experiment/widgEditor/
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+widgEditor is an easily installed, easily customisable WYSIWYG editor
+for simple content. It replaces existing textareas with an improved
+editing pane using JavaScript, therefore if you don't have JavaScript
+(or your browser doesn't support HTML editing) it degrades gracefully.
+Try it out by typing below, and submit to see the processed output.
+
+%prep
+%setup -q -c
+# undos the source
+mv example.htm example.html
+find . '(' -name '*.html' -o -name '*.css' -o -name '*.js' ')' -print0 | xargs -0 sed -i -e 's,
$,,'
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+cp -a css scripts images $RPM_BUILD_ROOT%{_datadir}/%{name}
+cp -a example.html $RPM_BUILD_ROOT%{_datadir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc readme.txt
+%{_datadir}/%{name}
+
+%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  2005/06/25 23:40:57  glen
+- new
+
================================================================



More information about the pld-cvs-commit mailing list