packages: jshint/jshint.spec (NEW) - new, just .js itself for now

glen glen at pld-linux.org
Tue May 24 07:59:23 CEST 2011


Author: glen                         Date: Tue May 24 05:59:23 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- new, just .js itself for now

---- Files affected:
packages/jshint:
   jshint.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/jshint/jshint.spec
diff -u /dev/null packages/jshint/jshint.spec:1.1
--- /dev/null	Tue May 24 07:59:23 2011
+++ packages/jshint/jshint.spec	Tue May 24 07:59:18 2011
@@ -0,0 +1,47 @@
+# $Revision$, $Date$
+# TODO
+# - add something to run it with, bindir wrapper
+Summary:	JSHint, A JavaScript Code Quality Tool
+Name:		jshint
+Version:	20110219
+Release:	1
+License:	MIT
+Group:		Development/Tools
+URL:		http://www.jshint.com/
+Source0:	http://www.jshint.com/%{name}.js
+# Source0-md5:	69b2644418640ee42ed093c11a361eea
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_appdir		%{_datadir}/%{name}
+
+%description
+JSHint is a community-driven tool to detect errors and potential
+problems in JavaScript code and to enforce your team's coding
+conventions. It is very flexible so you can easily adjust it to your
+particular coding guidelines and the environment you expect your code
+to execute in.
+
+%prep
+%setup -qcT
+cp -p %{SOURCE0} .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_appdir}
+install -p jshint.js $RPM_BUILD_ROOT%{_appdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_appdir}
+
+%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  2011/05/24 05:59:18  glen
+- new, just .js itself for now
================================================================


More information about the pld-cvs-commit mailing list