[nodejs-uri-js] Initial import
Tom Hughes
tomh at fedoraproject.org
Wed Mar 20 11:22:20 UTC 2013
commit eef918c67d7d6186cfab84cf02cc99752fa51053
Author: Tom Hughes <tom at compton.nu>
Date: Wed Mar 20 11:22:10 2013 +0000
Initial import
.gitignore | 1 +
nodejs-uri-js.spec | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 51 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ae7c6fd 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/uri-js-1.4.2.tgz
diff --git a/nodejs-uri-js.spec b/nodejs-uri-js.spec
new file mode 100644
index 0000000..567f540
--- /dev/null
+++ b/nodejs-uri-js.spec
@@ -0,0 +1,49 @@
+Name: nodejs-uri-js
+Version: 1.4.2
+Release: 2%{?dist}
+Summary: URI parsing/validating/resolving library for Javascript
+
+# License text is in README.md
+License: BSD
+URL: https://github.com/garycourt/uri-js
+Source0: http://registry.npmjs.org/uri-js/-/uri-js-%{version}.tgz
+BuildArch: noarch
+
+BuildRequires: nodejs-devel
+
+%description
+URI.js is an RFC 3986 compliant, scheme extendable URI
+parsing/validating/resolving library for all JavaScript
+environments (browsers, Node.js, etc).
+
+
+%prep
+%setup -q -n package
+sed -i -e 's/\r//' README.md
+rm -rf node_modules bin/closure src/externs.js
+
+
+%build
+
+
+%install
+mkdir -p %{buildroot}/%{nodejs_sitelib}/uri-js
+cp -pr package.json dist src %{buildroot}/%{nodejs_sitelib}/uri-js
+%nodejs_symlink_deps
+
+
+%check
+# Tests are only runnable in a web browser at present
+
+
+%files
+%doc README.md
+%{nodejs_sitelib}/uri-js
+
+
+%changelog
+* Tue Mar 19 2013 Tom Hughes <tom at compton.nu> - 1.4.2-2
+- Remove DOS line endings from README.md
+
+* Sun Mar 17 2013 Tom Hughes <tom at compton.nu> - 1.4.2-1
+- Initial build of 1.4.2
diff --git a/sources b/sources
index e69de29..de4b942 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+166dd7b71b8fc2dfc5f27d072ea5a7a0 uri-js-1.4.2.tgz
More information about the scm-commits
mailing list