forked from vibol/node-rpm-spec
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnodejs.spec
More file actions
76 lines (57 loc) · 1.92 KB
/
nodejs.spec
File metadata and controls
76 lines (57 loc) · 1.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
%define ver 0.10.4
%define rel 1
%define jobs 2
Name: nodejs
Version: %{ver}
Release: %{rel}
Summary: Node.js programs
Group: Applications/Internet
License: Copyright Joyent, Inc. and other Node contributors.
URL: http://nodejs.org
Source0: http://nodejs.org/dist/node-v%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: python >= 2.6, openssl-devel, gcc-c++
Provides: nodejs
Obsoletes: nodejs
%description
Node.js is a server-side JavaScript environment that uses an asynchronous
event-driven model. This allows Node.js to get excellent performance based on
the architectures of many Internet applications.
%prep
%setup -q -n node-v%{version}
%build
export JOBS=%{jobs}
python ./configure --prefix=/usr
make
%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS ChangeLog LICENSE README.md
/usr/bin/node
/usr/bin/npm
/usr/share/man/man1/node.1.gz
/usr/lib/node_modules
/usr/lib/dtrace/node.d
%changelog
* Sun Apr 14 2013 Ryan Bohn <bohnman@gmail.com> 0.10.4-1
- RPM using upstream v0.10.4
* Wed Apr 3 2013 Krishan Taylor <krishan.taylor@gmail.com> 0.10.2-1
- RPM using upstream v0.10.2
* Tue Mar 12 2013 Krishan Taylor <krishan.taylor@gmail.com> 0.10.0-1
- RPM using upstream v0.10.0
* Wed Feb 27 2013 Krishan Taylor <krishan.taylor@gmail.com> 0.8.21-1
- RPM using upstream v0.8.21
* Fri Feb 15 2013 Josh Strater <jstrater@gmail.com> 0.8.20-1
- RPM using upstream v0.8.20
* Tue Jan 22 2013 Joseph Hajduk <joseph@solidys.com> 0.8.18-1
- RPM using upstream v0.8.18
* Wed Oct 31 2012 Andre von Deetzen <vondeetzen@mgail.com> 0.8.14-1
- RPM using upstream v0.8.14
* Thu Apr 12 2012 Vibol Hou <vibol@hou.cc> 0.6.15-1
- RPM using upstream v0.6.15
* Thu Apr 14 2011 Chris Abernethy <cabernet@chrisabernethy.com> 0.4.6-1
- Initial rpm using upstream v0.4.6