[nodejs-tobi-cookie/f18] initial import

T.C. Hollingsworth patches at fedoraproject.org
Tue Jan 29 00:08:23 UTC 2013


commit 8f824ed76871328c5ed493c6a8bb613c4700178e
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Mon Jan 28 17:07:06 2013 -0700

    initial import

 .gitignore                      |    1 +
 nodejs-tobi-cookie-package.json |   13 +++++++++
 nodejs-tobi-cookie.spec         |   54 +++++++++++++++++++++++++++++++++++++++
 sources                         |    1 +
 4 files changed, 69 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..17bb204 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/tobi-0.3.2.tgz
diff --git a/nodejs-tobi-cookie-package.json b/nodejs-tobi-cookie-package.json
new file mode 100644
index 0000000..16d275c
--- /dev/null
+++ b/nodejs-tobi-cookie-package.json
@@ -0,0 +1,13 @@
+{   "name": "tobi-cookie"
+  , "description": "Cookie handling library and cookie jar implementation"
+  , "version": "@VERSION@"
+  , "author": "TJ Holowaychuk <tj at vision-media.ca>"
+  , "keywords": ["test", "testing", "browser", "jquery", "css"]
+  , "private": "true"
+  , "main": "./index.js"
+  , "engines": { "node": ">= 0.4.x < 0.7.0" }
+  , "repository": {
+      "type": "git"
+    , "url": "git://github.com/LearnBoost/tobi.git"
+  }
+}
diff --git a/nodejs-tobi-cookie.spec b/nodejs-tobi-cookie.spec
new file mode 100644
index 0000000..1387211
--- /dev/null
+++ b/nodejs-tobi-cookie.spec
@@ -0,0 +1,54 @@
+Name:           nodejs-tobi-cookie
+Version:        0.3.2
+Release:        2%{?dist}
+Summary:        A cookie handling and cookie jar library for Node.js
+BuildArch:      noarch
+
+Group:          System Environment/Libraries
+# a copy of the MIT license is included in Readme.md
+License:        MIT
+URL:            https://github.com/LearnBoost/tobi
+Source0:        http://registry.npmjs.org/tobi/-/tobi-%{version}.tgz
+Source1:        nodejs-tobi-cookie-package.json
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires:  nodejs-devel
+
+%description
+%summary.
+
+%prep
+%setup -q -n package
+
+%build
+#nothing to do
+
+%install
+rm -rf %buildroot
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/tobi-cookie
+cp -p lib/cookie/* %{buildroot}%{nodejs_sitelib}/tobi-cookie
+install -pm0644 %{SOURCE1} %{buildroot}%{nodejs_sitelib}/tobi-cookie/package.json
+sed -i 's/@VERSION@/%{version}/' \
+    %{buildroot}%{nodejs_sitelib}/tobi-cookie/package.json
+
+# This tries to work on the full tobi, because it checks the package.json in
+# the current working directory.  I'm going to fix it to always use the one in
+# the buildroot soon.  We can safely skip it since this package doesn't have
+# any dependencies.
+#%%nodejs_symlink_deps
+
+%clean
+rm -rf %buildroot
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/tobi-cookie
+%doc Readme.md History.md
+
+%changelog
+* Sat Jan 26 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.3.2-2
+- add missing build section
+
+* Tue Jan 22 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 0.3.2-1
+- initial package
diff --git a/sources b/sources
index e69de29..1ad22c7 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+b8074c845ee0f008a6393077576bdac7  tobi-0.3.2.tgz


More information about the scm-commits mailing list