[nodejs-i] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Tue Jun 18 05:24:26 UTC 2013


commit e0d247796276998bad53b7521bf69ba07949b4cd
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Tue Jun 18 06:24:01 2013 +0100

    Initial import

 .gitignore    |    1 +
 nodejs-i.spec |   55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources       |    1 +
 3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..932fec2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/i-0.3.1.tgz
diff --git a/nodejs-i.spec b/nodejs-i.spec
new file mode 100644
index 0000000..305ec27
--- /dev/null
+++ b/nodejs-i.spec
@@ -0,0 +1,55 @@
+%{?nodejs_find_provides_and_requires}
+
+%global enable_tests 0
+
+Name:       nodejs-i
+Version:    0.3.1
+Release:    1%{?dist}
+Summary:    Custom inflections for Node.js
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/pksunkara/inflect
+Source0:    http://registry.npmjs.org/i/-/i-%{version}.tgz
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%if 0%{?enable_tests}
+BuildRequires:  npm(vows)
+%endif
+
+%description
+%{summary}.
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/i
+cp -pr package.json lib/ \
+    %{buildroot}%{nodejs_sitelib}/i
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+ln -sf %{nodejs_sitelib} .
+%{nodejs_sitelib}/vows/bin/vows --spec $(find test -name '*-test.js')
+%endif
+
+
+%files
+%doc LICENSE README.md
+%{nodejs_sitelib}/i
+
+
+%changelog
+* Wed Feb 13 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.3.1-1
+- initial package
diff --git a/sources b/sources
index e69de29..1ef6118 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+0572edc975ac97452f4e6fa07ec6426a  i-0.3.1.tgz


More information about the scm-commits mailing list