[nodejs-hoek/f18] initial import
T.C. Hollingsworth
patches at fedoraproject.org
Wed Apr 10 00:57:20 UTC 2013
commit d89604a3c90db97778773cb6e3103b981caf2a1d
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date: Tue Apr 9 17:57:17 2013 -0700
initial import
.gitignore | 1 +
nodejs-hoek.spec | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..223458b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/hoek-0.8.1.tgz
diff --git a/nodejs-hoek.spec b/nodejs-hoek.spec
new file mode 100644
index 0000000..dc9f0ac
--- /dev/null
+++ b/nodejs-hoek.spec
@@ -0,0 +1,50 @@
+Name: nodejs-hoek
+Version: 0.8.1
+Release: 1%{?dist}
+Summary: General purpose Node.js utilities
+License: BSD
+Group: Development/Libraries
+URL: https://github.com/spumko/hoek
+Source0: http://registry.npmjs.org/hoek/-/hoek-%{version}.tgz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+
+BuildRequires: nodejs-devel
+
+%description
+This package contains some general purpose Node.js utilities, including
+utilities for working with objects, timers, binary encoding/decoding, escaping
+characters, errors, and loading files.
+
+%prep
+%setup -q -n package
+
+#fix perms
+chmod 0644 README.md LICENSE images/* lib/* index.js package.json
+
+%build
+#nothing to do
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/hoek
+cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/hoek
+
+%nodejs_symlink_deps
+
+#Yet Another Unpackaged Test Framework (lab)
+#%%check
+#make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/hoek
+%doc README.md LICENSE images
+
+%changelog
+* Fri Apr 05 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.8.1-1
+- initial package
diff --git a/sources b/sources
index e69de29..2940ed8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+707aa826a44bd8fb13055dd231e8f418 hoek-0.8.1.tgz
More information about the scm-commits
mailing list