[nodejs-amdefine/f18] initial import
T.C. Hollingsworth
patches at fedoraproject.org
Wed Feb 6 22:59:23 UTC 2013
commit 439eef851728e0b83e7e7e7da7b7b37f5db676b6
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date: Wed Feb 6 15:58:49 2013 -0700
initial import
.gitignore | 1 +
nodejs-amdefine.spec | 43 +++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 45 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..1651053 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/amdefine-0.0.4.tgz
diff --git a/nodejs-amdefine.spec b/nodejs-amdefine.spec
new file mode 100644
index 0000000..5bedc18
--- /dev/null
+++ b/nodejs-amdefine.spec
@@ -0,0 +1,43 @@
+Name: nodejs-amdefine
+Version: 0.0.4
+Release: 1%{?dist}
+Summary: Provide AMD's define() API for declaring modules in the AMD format
+BuildArch: noarch
+
+Group: System Environment/Libraries
+# "amdefine is released under two licenses: new BSD, and MIT. You may pick the
+# license that best suits your development needs."
+License: BSD or MIT
+URL: https://github.com/jrburke/amdefine
+Source0: http://registry.npmjs.org/amdefine/-/amdefine-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: nodejs-devel
+
+%description
+A module that can be used to implement the Asynchronous Module Definition's
+define() in Node. This allows you to code to the AMD API and have the module
+work in node programs without requiring those other programs to use AMD.
+
+%prep
+%setup -q -n package
+
+%build
+#nothing to do
+
+%install
+rm -rf %buildroot
+mkdir -p %{buildroot}%{nodejs_sitelib}/amdefine
+cp -pr package.json amdefine.js %{buildroot}%{nodejs_sitelib}/amdefine
+
+%clean
+rm -rf %buildroot
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/amdefine
+%doc LICENSE README.md
+
+%changelog
+* Fri Jan 18 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.0.4-1
+- initial package generated by npm2rpm
diff --git a/sources b/sources
index e69de29..f5e9c3c 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+4fdd8e2400b7e5c54fc86a88cc38b9b0 amdefine-0.0.4.tgz
More information about the scm-commits
mailing list