File jshint.spec of Package jshint
#
# spec file for package jshint
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: jshint
Version: 2.9.1
Release: 0
Summary: Static analysis tool for JavaScript
License: MIT and ISC and BSD-3-Clause
Group: Development/Languages/NodeJS
Url: https://github.com/jshint/jshint
Source0: %{name}.json
# DO NOT CHANGE MANUALLY START
# pasted from %{name}.source generated by nova
Source1: http://registry.npmjs.org/lru-cache/-/lru-cache-2.0.0.tgz
Source2: http://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz
Source3: http://registry.npmjs.org/minimatch/-/minimatch-0.2.14.tgz
Source4: http://registry.npmjs.org/minimatch/-/minimatch-2.0.10.tgz
Source5: http://registry.npmjs.org/graceful-fs/-/graceful-fs-1.2.3.tgz
Source6: http://registry.npmjs.org/inherits/-/inherits-1.0.0.tgz
Source7: http://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz
Source8: http://registry.npmjs.org/glob/-/glob-3.2.1.tgz
Source9: http://registry.npmjs.org/exit/-/exit-0.1.2.tgz
Source10: http://registry.npmjs.org/cli/-/cli-0.6.6.tgz
Source11: http://registry.npmjs.org/date-now/-/date-now-0.1.4.tgz
Source12: http://registry.npmjs.org/console-browserify/-/console-browserify-1.1.0.tgz
Source13: http://registry.npmjs.org/domelementtype/-/domelementtype-1.0.0.tgz
Source14: http://registry.npmjs.org/domhandler/-/domhandler-2.3.0.tgz
Source15: http://registry.npmjs.org/domutils/-/domutils-1.5.0.tgz
Source16: http://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz
Source17: http://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz
Source18: http://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz
Source19: http://registry.npmjs.org/readable-stream/-/readable-stream-1.1.13.tgz
Source20: http://registry.npmjs.org/entities/-/entities-1.0.0.tgz
Source21: http://registry.npmjs.org/htmlparser2/-/htmlparser2-3.8.3.tgz
Source22: http://registry.npmjs.org/balanced-match/-/balanced-match-0.3.0.tgz
Source23: http://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz
Source24: http://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.3.tgz
Source25: http://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz
Source26: http://registry.npmjs.org/strip-json-comments/-/strip-json-comments-1.0.4.tgz
Source27: http://registry.npmjs.org/lodash/-/lodash-3.7.0.tgz
Source28: http://registry.npmjs.org/jshint/-/jshint-2.9.1.tgz
# DO NOT CHANGE MANUALLY END
BuildRequires: fdupes
BuildRequires: nodejs-packaging
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%{nodejs_find_provides_and_requires}
%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. JSHint is open source and will always stay
this way.
%prep
%nodejs_prep
%build
#nothing to do
%install
%nodejs_mkdir
%nodejs_copy
%nodejs_build
%nodejs_clean
%nodejs_filelist
# "~ 3.2.1"
%nodejs_fixdep glob "~3.2.1"
# readable-stream has no version "1.1" but "1.1.7"
%nodejs_fixdep readable-stream "^1.1.7"
%fdupes %{buildroot}
%files -f %{_sourcedir}/files.lst
%defattr(-,root,root,-)
%changelog