[nodejs-path-case] Initial import (#1171327).

piotrp piotrp at fedoraproject.org
Fri Dec 19 18:43:17 UTC 2014


commit 46c49bf18d6c70d2ed1fb25c35cd0159febc9d06
Author: Piotr Popieluch <piotr1212 at gmail.com>
Date:   Fri Dec 19 19:43:04 2014 +0100

    Initial import (#1171327).

 .gitignore            |    1 +
 nodejs-path-case.spec |   57 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a75976b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/path-case-1.0.1.tgz
diff --git a/nodejs-path-case.spec b/nodejs-path-case.spec
new file mode 100644
index 0000000..98d9f05
--- /dev/null
+++ b/nodejs-path-case.spec
@@ -0,0 +1,57 @@
+%global enable_tests 1
+%global srcname path-case
+
+Name:           nodejs-%{srcname}
+Version:        1.0.1
+Release:        1%{?dist}
+Summary:        Path case a string
+License:        MIT
+Group:          System Environment/Libraries
+URL:            https://github.com/blakeembrey/%{srcname}
+Source0:        http://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz
+
+BuildArch:      noarch
+ExclusiveArch: %{nodejs_arches} noarch
+
+BuildRequires:  nodejs-packaging
+
+%if 0%{?enable_tests}
+BuildRequires:  npm(istanbul)
+BuildRequires:  npm(sentence-case)
+BuildRequires:  npm(mocha)
+%endif
+
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname}
+cp -pr package.json path-case.js %{buildroot}%{nodejs_sitelib}/%{srcname}
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+%nodejs_symlink_deps --check
+istanbul-js cover mocha -- -R spec
+%endif
+
+
+%files
+%doc README.md LICENSE
+%{nodejs_sitelib}/%{srcname}
+
+
+%changelog
+* Sun Nov 16 2014 Piotr Popieluch <piotr1212 at gmail.com> - 1.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..c011d11 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1880bdc89c7f9127bd545096c37ae545  path-case-1.0.1.tgz


More information about the scm-commits mailing list