[nodejs-inherits1] initial import

T.C. Hollingsworth patches at fedoraproject.org
Sun Jun 23 03:39:45 UTC 2013


commit 893ff52ecea328c8175df3aeccaca4b229934e7d
Author: T.C. Hollingsworth <tchollingsworth at gmail.com>
Date:   Sat Jun 22 18:03:05 2013 -0700

    initial import

 .gitignore            |    1 +
 LICENSE               |   14 ++++++++
 nodejs-inherits1.spec |   81 +++++++++++++++++++++++++++++++++++++++++++++++++
 sources               |    1 +
 4 files changed, 97 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..b422834 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/inherits-1.0.0.tgz
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..5a8e332
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,14 @@
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+                    Version 2, December 2004
+
+ Copyright (C) 2004 Sam Hocevar <sam at hocevar.net>
+
+ Everyone is permitted to copy and distribute verbatim or modified
+ copies of this license document, and changing it is allowed as long
+ as the name is changed.
+
+            DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. You just DO WHAT THE FUCK YOU WANT TO.
+
diff --git a/nodejs-inherits1.spec b/nodejs-inherits1.spec
new file mode 100644
index 0000000..78928ad
--- /dev/null
+++ b/nodejs-inherits1.spec
@@ -0,0 +1,81 @@
+%{?nodejs_find_provides_and_requires}
+
+Name:       nodejs-inherits1
+Version:    1.0.0
+Release:    10%{?dist}
+Summary:    A tiny simple way to do classic inheritance in JS - legacy version
+#the license is not included with the tarball so we retrieve it from the
+#upstream git repository in Source1
+License:    WTFPL
+Group:      Development/Libraries
+URL:        https://github.com/isaacs/inherits
+Source0:    http://registry.npmjs.org/inherits/-/inherits-%{version}.tgz
+Source1:    https://raw.github.com/isaacs/inherits/112807f2670160b6e3bafdf39e395c10ae7d0fac/LICENSE
+BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%description
+A tiny simple way to do classic inheritance in JavaScript.
+
+This is the legacy version used by many Node.js modules for many years, and is
+retained for backward compatibility.  New modules should use the inheritance
+functionality available in core Node.js or use the new version of inherits if
+they need browser support as well.
+
+%prep
+%setup -q -n package
+
+#copy the license into %%{_builddir} so it works with %%doc
+cp -p %{SOURCE1} LICENSE
+
+%build
+#nothing to do
+
+%install
+rm -rf %{buildroot}
+
+mkdir -p %{buildroot}%{nodejs_sitelib}/inherits at 1
+cp -pr inherits.js package.json %{buildroot}%{nodejs_sitelib}/inherits at 1
+
+%nodejs_symlink_deps
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%{nodejs_sitelib}/inherits at 1
+%doc README.md LICENSE
+
+%changelog
+* Fri Jun 07 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-10
+- include LICENSE file from upstream git
+
+* Tue Jun 04 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-9
+- rename to nodejs-inherits1
+
+* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-8
+- add macro for EPEL6 dependency generation
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0.0-7
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-6
+- add missing build section
+
+* Thu Jan 03 2013 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-5
+- correct license tag (thanks to Robin Lee)
+
+* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-4
+- clean up for submission
+
+* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-3
+- guard Requires for F17 automatic depedency generation
+
+* Sat Feb 11 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-2
+- switch to automatically generated provides/requires
+
+* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth at gmail.com> - 1.0.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..b762988 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ec96e0e077a0320f598975bae6000316  inherits-1.0.0.tgz


More information about the scm-commits mailing list