]> git.pld-linux.org Git - packages/nodejs-inherits.git/commitdiff
- initial node pkgs for npm deps auto/th/nodejs-inherits-1_0_0-1
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 25 Jan 2012 22:44:46 +0000 (22:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  based on specs from http://nodejs.tchol.org/ repo

Changed files:
    nodejs-inherits.spec -> 1.1

nodejs-inherits.spec [new file with mode: 0644]

diff --git a/nodejs-inherits.spec b/nodejs-inherits.spec
new file mode 100644 (file)
index 0000000..ac2e085
--- /dev/null
@@ -0,0 +1,35 @@
+%define                pkg     inherits
+Summary:       A tiny simple way to do classic inheritance in js
+Name:          nodejs-%{pkg}
+Version:       1.0.0
+Release:       1
+License:       MIT
+Group:         Development/Libraries
+URL:           https://github.com/isaacs/inherits
+Source0:       http://registry.npmjs.org/inherits/-/%{pkg}-%{version}.tgz
+# Source0-md5: ec96e0e077a0320f598975bae6000316
+BuildRequires: rpmbuild(macros) >= 1.634
+Requires:      nodejs
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A tiny simple way to do classic inheritance in js.
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -pr %{pkg}.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{nodejs_libdir}/%{pkg}
This page took 0.038033 seconds and 4 git commands to generate.