[nodejs-i18n-transform] Initial build

anish anishpatil at fedoraproject.org
Mon Jul 28 08:30:21 UTC 2014


commit bf80329233da1e9f91ad44f1999a395f11d7334e
Author: anish <apatil at redhat.com>
Date:   Mon Jul 28 13:59:57 2014 +0530

    Initial build

 .gitignore                 |    1 +
 nodejs-i18n-transform.spec |   62 ++++++++++++++++++++++++++++++++++++++++++++
 sources                    |    1 +
 3 files changed, 64 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b24c1a7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/i18n-transform-1.0.1.tgz
diff --git a/nodejs-i18n-transform.spec b/nodejs-i18n-transform.spec
new file mode 100644
index 0000000..a18c880
--- /dev/null
+++ b/nodejs-i18n-transform.spec
@@ -0,0 +1,62 @@
+%{?nodejs_find_provides_and_requires}
+%global enable_tests 0
+
+Name:       nodejs-i18n-transform
+Version:    1.0.1
+Release:    2%{?dist}
+Summary:    i18n transforms to a json object.
+License:    MIT
+URL:        https://github.com/andyroyle/i18n-transform
+Source:     http://registry.npmjs.org/i18n-transform/-/i18n-transform-%{version}.tgz
+
+
+BuildArch:  noarch
+
+BuildRequires:  nodejs-packaging
+Requires:  npm(hoek)
+
+ExclusiveArch: %{nodejs_arches} noarch
+
+%if 0%{?enable_tests}
+BuildRequires:  npm(grunt)
+BuildRequires:  npm(grunt-cli)
+BuildRequires:  npm(grunt-mocha-test)
+BuildRequires:  npm(grunt-contrib-jshint)
+BuildRequires:  npm(should)
+%endif
+
+%description
+i18n transforms to a json object.
+
+%prep
+%setup -q -n package
+%nodejs_fixdep hoek
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/i18n-transform
+cp -pr Gruntfile.js index.js package.json lib/ \
+    %{buildroot}%{nodejs_sitelib}/i18n-transform
+
+
+%check
+%if 0%{?enable_tests}
+%check
+grunt
+%endif
+
+%files
+%doc LICENSE README.md tests/
+%{nodejs_sitelib}/i18n-transform
+
+
+%changelog
+* Tue Jul 22 2014 Anish Patil <apatil at redhat.com> - 1.0.1-2
+- Incorporated package review comments
+
+* Fri May 09 2014 Anish Patil <apatil at redhat.com> - 1.0.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..659e5fb 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+21dcf30d74ec17c85671fbc9589f0daf  i18n-transform-1.0.1.tgz


More information about the scm-commits mailing list