[nodejs-csslint] Initial import (#1115666)

Ralph Bean ralph at fedoraproject.org
Tue Jul 22 18:56:28 UTC 2014


commit b75c590bf9fb41d933a81af4ca3e1fa117631665
Author: Ralph Bean <rbean at redhat.com>
Date:   Tue Jul 22 14:56:19 2014 -0400

    Initial import (#1115666)

 .gitignore          |    1 +
 nodejs-csslint.spec |   69 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 71 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..fb5fa64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/csslint-0.10.0.tgz
diff --git a/nodejs-csslint.spec b/nodejs-csslint.spec
new file mode 100644
index 0000000..3d145be
--- /dev/null
+++ b/nodejs-csslint.spec
@@ -0,0 +1,69 @@
+# This macro is needed at the start for building on EL6
+%{?nodejs_find_provides_and_requires}
+
+%global barename csslint
+
+Name:               nodejs-csslint
+Version:            0.10.0
+Release:            1%{?dist}
+Summary:            CSSLint
+
+Group:              Development/Libraries
+License:            MIT
+URL:                https://www.npmjs.org/package/csslint
+Source0:            http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz
+BuildArch:          noarch
+
+%if 0%{?fedora} >= 19
+ExclusiveArch:      %{nodejs_arches} noarch
+%else
+ExclusiveArch:      %{ix86} x86_64 %{arm} noarch
+%endif
+
+BuildRequires:      nodejs-packaging >= 6
+
+BuildRequires:      npm(parserlib)
+
+Requires:           npm(parserlib)
+
+%description
+CSSLint is a tool to help point out problems with your CSS code. It does
+basic syntax checking as well as applying a set of rules to the code that
+look for problematic patterns or signs of inefficiency. The rules are all
+pluggable, so you can easily write your own or omit ones you don't want.
+
+You can find information about both using CSS Lint and contributing to the
+project in the wiki: https://github.com/stubbornella/csslint/wiki
+
+%prep
+%setup -q -n package
+
+# Remove bundled node_modules if there are any..
+rm -rf node_modules/
+
+%nodejs_fixdep --caret
+
+%build
+%nodejs_symlink_deps --build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/csslint
+cp -pr package.json lib \
+    %{buildroot}%{nodejs_sitelib}/csslint
+
+%nodejs_symlink_deps
+
+%files
+%doc README.md
+%{nodejs_sitelib}/csslint/
+
+%changelog
+* Mon Jul 21 2014 Ralph Bean <rbean at redhat.com> - 0.10.0-1
+- Latest upstream.
+- Specify arch.
+- Include readme.
+- Ditch cli.js for now.
+- Added new dep on npm(parserlib)
+
+* Tue Jul 08 2014 Ralph Bean <rbean at redhat.com> - 0.9.9-1
+- Initial packaging for Fedora.
diff --git a/sources b/sources
index e69de29..84f9f2b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ed3ab44d1a03949f1eafdd85ee83771e  csslint-0.10.0.tgz


More information about the scm-commits mailing list