[nodejs-github-url-from-git/el6] initial package
T.C. Hollingsworth
patches at fedoraproject.org
Fri Jun 14 06:20:03 UTC 2013
commit 8028ceb3f46093ea928412383fecd3bfe385fc4e
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date: Thu Jun 13 23:18:31 2013 -0700
initial package
.gitignore | 1 +
LICENSE | 22 ++++++++++++++
nodejs-github-url-from-git.spec | 62 +++++++++++++++++++++++++++++++++++++++
sources | 1 +
4 files changed, 86 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..3a3e13a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/github-url-from-git-1.1.1.tgz
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..b740930
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,22 @@
+(The MIT License)
+
+Copyright (c) 2013 TJ Holowaychuk <tj at vision-media.ca>
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+'Software'), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/nodejs-github-url-from-git.spec b/nodejs-github-url-from-git.spec
new file mode 100644
index 0000000..bc2f507
--- /dev/null
+++ b/nodejs-github-url-from-git.spec
@@ -0,0 +1,62 @@
+%{?nodejs_find_provides_and_requires}
+
+Name: nodejs-github-url-from-git
+Version: 1.1.1
+Release: 1%{?dist}
+Summary: Parse a GitHub git URL and return the GitHub repo URL
+
+BuildArch: noarch
+
+Group: Development/Libraries
+#No license file included, "MIT" indicated in README and package.json
+#A copy of the MIT license based on the version included with express, another
+#node module by the same author, is included in Source1, and has been sent
+#upstream: https://github.com/visionmedia/github-url-from-git/pull/5
+License: MIT
+URL: https://github.com/visionmedia/node-github-url-from-git
+Source0: http://registry.npmjs.org/github-url-from-git/-/github-url-from-git-%{version}.tgz
+Source1: https://raw.github.com/tchollingsworth/node-github-url-from-git/154fb09296b79637e25952638782995ad6812612/LICENSE
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: nodejs-devel
+
+#for tests
+BuildRequires: npm(mocha)
+BuildRequires: npm(should)
+BuildRequires: npm(better-assert)
+
+%description
+%{summary}.
+
+%prep
+%setup -q -n package
+
+#copy LICENSE file into %%_builddir so it works with %%doc
+cp %{SOURCE1} LICENSE
+
+%build
+#nothing to do
+
+%install
+rm -rf %buildroot
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/github-url-from-git
+cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/github-url-from-git
+
+%nodejs_symlink_deps
+
+%check
+%nodejs_symlink_deps --check
+mocha test.js --reporter spec --require should
+
+%clean
+rm -rf %buildroot
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/github-url-from-git
+%doc Readme.md LICENSE History.md
+
+%changelog
+* Sun Jun 02 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.1.1-1
+- initial package
diff --git a/sources b/sources
index e69de29..b738ae5 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+add0d23f8decfa5c3b6a5f45875f5f73 github-url-from-git-1.1.1.tgz
More information about the scm-commits
mailing list