|
|
d5a4f1f |
%{?nodejs_find_provides_and_requires}
|
|
|
bdc5cd8 |
|
|
|
316b66b |
Name: node-gyp
|
|
|
316b66b |
Version: 3.2.1
|
|
|
1e9a677 |
Release: 5%{?dist}
|
|
|
316b66b |
Summary: Node.js native addon build tool
|
|
|
316b66b |
License: MIT
|
|
|
316b66b |
Group: System Environment/Libraries
|
|
|
316b66b |
URL: https://github.com/nodejs/node-gyp
|
|
|
316b66b |
Source0: http://registry.npmjs.org/node-gyp/-/node-gyp-%{version}.tgz
|
|
|
316b66b |
Source1: addon-rpm.gypi
|
|
|
887d12b |
# use RPM installed headers by default instead of downloading a source tree
|
|
|
887d12b |
# for the currently running node version
|
|
|
316b66b |
Patch1: node-gyp-addon-gypi.patch
|
|
|
887d12b |
# use the system gyp
|
|
|
316b66b |
Patch2: node-gyp-system-gyp.patch
|
|
|
316b66b |
BuildArch: noarch
|
|
|
316b66b |
ExclusiveArch: %{nodejs_arches} noarch
|
|
|
316b66b |
|
|
|
316b66b |
# gyp is the actual build framework node-gyp uses
|
|
|
316b66b |
Requires: gyp
|
|
|
316b66b |
# this is the standard set of headers expected to build any node native module
|
|
|
47201df |
Requires: nodejs-devel libuv-devel http-parser-devel
|
|
|
316b66b |
# we also need a C++ compiler to actually build stuff ;-)
|
|
|
316b66b |
Requires: gcc-c++
|
|
|
316b66b |
|
|
|
316b66b |
BuildRequires: nodejs-packaging
|
|
|
316b66b |
|
|
|
316b66b |
BuildRequires: npm(tape)
|
|
|
316b66b |
BuildRequires: npm(fstream)
|
|
|
316b66b |
BuildRequires: npm(glob)
|
|
|
316b66b |
BuildRequires: npm(graceful-fs)
|
|
|
316b66b |
BuildRequires: npm(minimatch)
|
|
|
316b66b |
BuildRequires: npm(mkdirp)
|
|
|
316b66b |
BuildRequires: npm(nopt)
|
|
|
316b66b |
BuildRequires: npm(npmlog)
|
|
|
316b66b |
BuildRequires: npm(osenv)
|
|
|
316b66b |
BuildRequires: npm(path-array)
|
|
|
316b66b |
BuildRequires: npm(request)
|
|
|
316b66b |
BuildRequires: npm(rimraf)
|
|
|
316b66b |
BuildRequires: npm(semver)
|
|
|
316b66b |
BuildRequires: npm(tar)
|
|
|
316b66b |
BuildRequires: npm(which)
|
|
|
887d12b |
|
|
|
887d12b |
%description
|
|
|
887d12b |
node-gyp is a cross-platform command-line tool written in Node.js for compiling
|
|
|
887d12b |
native addon modules for Node.js, which takes away the pain of dealing with the
|
|
|
887d12b |
various differences in build platforms. It is the replacement to the node-waf
|
|
|
887d12b |
program which is removed for node v0.8.
|
|
|
887d12b |
|
|
|
316b66b |
|
|
|
887d12b |
%prep
|
|
|
887d12b |
%setup -q -n package
|
|
|
887d12b |
%patch1 -p1
|
|
|
887d12b |
%patch2 -p1
|
|
|
383dbef |
%nodejs_fixdep minimatch "^3.0.0"
|
|
|
316b66b |
rm -rf gyp
|
|
|
316b66b |
|
|
|
887d12b |
|
|
|
887d12b |
%build
|
|
|
887d12b |
#nothing to do
|
|
|
887d12b |
|
|
|
887d12b |
|
|
|
316b66b |
%install
|
|
|
887d12b |
mkdir -p %{buildroot}%{nodejs_sitelib}/node-gyp
|
|
|
bfb65c1 |
cp -pr addon*.gypi bin lib package.json %{buildroot}%{nodejs_sitelib}/node-gyp
|
|
|
b80819d |
cp -p %{SOURCE1} %{buildroot}%{nodejs_sitelib}/node-gyp/addon-rpm.gypi
|
|
|
887d12b |
mkdir -p %{buildroot}%{_bindir}
|
|
|
887d12b |
ln -sf ../lib/node_modules/node-gyp/bin/node-gyp.js %{buildroot}%{_bindir}/node-gyp
|
|
|
887d12b |
%nodejs_symlink_deps
|
|
|
887d12b |
|
|
|
316b66b |
|
|
|
316b66b |
%check
|
|
|
316b66b |
%{nodejs_symlink_deps} --check
|
|
|
316b66b |
%{nodejs_sitelib}/tape/bin/tape test/test-*.js
|
|
|
316b66b |
|
|
|
887d12b |
|
|
|
887d12b |
%files
|
|
|
316b66b |
%doc README.md CHANGELOG.md History.md
|
|
|
316b66b |
%license LICENSE
|
|
|
887d12b |
%{nodejs_sitelib}/node-gyp
|
|
|
887d12b |
%{_bindir}/node-gyp
|
|
|
316b66b |
|
|
|
887d12b |
|
|
|
887d12b |
%changelog
|
|
|
1e9a677 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.1-5
|
|
|
1e9a677 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
1e9a677 |
|
|
|
47201df |
* Wed Jan 20 2016 Peter Robinson <pbrobinson@fedoraproject.org> 3.2.1-4
|
|
|
47201df |
- Drop v8-devel requires, bundled with nodejs
|
|
|
47201df |
|
|
|
9293e85 |
* Tue Jan 19 2016 Tom Hughes <tom@compton.nu> - 3.2.1-3
|
|
|
9293e85 |
- Build with node 4 compatible include path
|
|
|
9293e85 |
|
|
|
e6885d7 |
* Tue Jan 19 2016 Tom Hughes <tom@compton.nu> - 3.2.1-2
|
|
|
e6885d7 |
- Build with node 0.10 compatible include path
|
|
|
e6885d7 |
|
|
|
316b66b |
* Mon Jan 18 2016 Tom Hughes <tom@compton.nu> - 3.2.1-1
|
|
|
316b66b |
- Update to 3.2.1 upstream release
|
|
|
316b66b |
- Enable tests
|
|
|
316b66b |
|
|
|
221756b |
* Fri Jan 1 2016 Tom Hughes <tom@compton.nu> - 0.10.6-13
|
|
|
221756b |
- Update npm(semver) dependency for nodejs 4.2
|
|
|
221756b |
|
|
|
383dbef |
* Fri Jan 1 2016 Tom Hughes <tom@compton.nu> - 0.10.6-12
|
|
|
383dbef |
- Update npm(minimatch) dependency
|
|
|
383dbef |
- Update npm(glob) dependency
|
|
|
383dbef |
|
|
|
3e91a9b |
* Thu Dec 31 2015 Tom Hughes <tom@compton.nu> - 0.10.6-11
|
|
|
3e91a9b |
- Update npm(semver) dependency for nodejs 4.2
|
|
|
3e91a9b |
|
|
|
5afff55 |
* Thu Dec 31 2015 Tom Hughes <tom@compton.nu> - 0.10.6-10
|
|
|
5afff55 |
- Update npm(tar) dependency
|
|
|
5afff55 |
|
|
|
f21faec |
* Thu Dec 31 2015 Tom Hughes <tom@compton.nu> - 0.10.6-9
|
|
|
f21faec |
- Update npm(semver) dependency
|
|
|
f21faec |
|
|
|
37ccd2a |
* Thu Dec 31 2015 Tom Hughes <tom@compton.nu> - 0.10.6-8
|
|
|
37ccd2a |
- Update npm(fstream) dependency
|
|
|
37ccd2a |
|
|
|
f4856e5 |
* Thu Dec 31 2015 Tom Hughes <tom@compton.nu> - 0.10.6-7
|
|
|
f4856e5 |
- Update npm(graceful-fs) dependency
|
|
|
f4856e5 |
|
|
|
fac6e7a |
* Thu Dec 10 2015 Tom Hughes <tom@compton.nu> - 0.10.6-6
|
|
|
fac6e7a |
- Update npm(semver) dependency for nodejs 4.2
|
|
|
fac6e7a |
|
|
|
c22d7df |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.6-5
|
|
|
c22d7df |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c22d7df |
|
|
|
10133f6 |
* Wed Apr 29 2015 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.6-4
|
|
|
10133f6 |
- fixup include order for compat-libuv010 (RHBZ#1213047)
|
|
|
10133f6 |
|
|
|
d605d77 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.6-3
|
|
|
d605d77 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
d605d77 |
|
|
|
aa941db |
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.6-2
|
|
|
aa941db |
- fix semver dep
|
|
|
aa941db |
|
|
|
bfb65c1 |
* Fri Jul 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.6-1
|
|
|
bfb65c1 |
- new upstream release 0.10.6
|
|
|
bfb65c1 |
|
|
|
e093d9f |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.10.1-1
|
|
|
e093d9f |
- new upstream release 0.10.1
|
|
|
e093d9f |
|
|
|
f3a5809 |
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-3
|
|
|
f3a5809 |
- restrict to compatible arches
|
|
|
f3a5809 |
|
|
|
bdc5cd8 |
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-2
|
|
|
bdc5cd8 |
- add macro for EPEL6 dependency generation
|
|
|
bdc5cd8 |
|
|
|
c24651b |
* Wed Apr 03 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.5-1
|
|
|
c24651b |
- new upstream release 0.9.5
|
|
|
c24651b |
|
|
|
b80819d |
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.1-2
|
|
|
b80819d |
- update addon-rpm.gypi
|
|
|
b80819d |
- split out addon-rpm.gypi so it's easier to maintain
|
|
|
b80819d |
|
|
|
3da73a1 |
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.9.1-1
|
|
|
3da73a1 |
- new upstream release 0.9.1
|
|
|
3da73a1 |
|
|
|
c51195a |
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.8.4-1
|
|
|
c51195a |
- new upstream release 0.8.4
|
|
|
c51195a |
|
|
|
f0950f7 |
* Mon Jan 21 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.8.3-1
|
|
|
f0950f7 |
- new upstream release 0.8.3
|
|
|
f0950f7 |
- add missing Requires on http-parser-devel
|
|
|
f0950f7 |
|
|
|
887d12b |
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.8.2-3
|
|
|
887d12b |
- add missing build section
|
|
|
887d12b |
|
|
|
887d12b |
* Sat Jan 05 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.8.2-2
|
|
|
887d12b |
- use RPM-installed headers by default
|
|
|
887d12b |
- now patched to use the system gyp instead of relying on a symlink
|
|
|
887d12b |
|
|
|
887d12b |
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.8.2-1
|
|
|
887d12b |
- new upstream release 0.8.2
|
|
|
887d12b |
- clean up for submission
|
|
|
887d12b |
|
|
|
887d12b |
* Thu Apr 26 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.4.1-2
|
|
|
887d12b |
- fix dependencies
|
|
|
887d12b |
|
|
|
887d12b |
* Wed Apr 18 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.4.1-1
|
|
|
887d12b |
- New upstream release 0.4.1
|
|
|
887d12b |
|
|
|
887d12b |
* Fri Apr 06 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.11-1
|
|
|
887d12b |
- New upstream release 0.3.11
|
|
|
887d12b |
|
|
|
887d12b |
* Mon Apr 02 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.10-1
|
|
|
887d12b |
- New upstream release 0.3.10
|
|
|
887d12b |
|
|
|
887d12b |
* Thu Mar 29 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.9-1
|
|
|
887d12b |
- New upstream release 0.3.9
|
|
|
887d12b |
|
|
|
887d12b |
* Wed Mar 28 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.8-1
|
|
|
887d12b |
- new upstream release 0.3.8
|
|
|
887d12b |
|
|
|
887d12b |
* Thu Mar 22 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.7-1
|
|
|
887d12b |
- new upstream release 0.3.7
|
|
|
887d12b |
|
|
|
887d12b |
* Thu Mar 15 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.3.5-1
|
|
|
887d12b |
- initial package
|