• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Node.jsの公式配布バイナリからrpm/debパッケージを作成するための設定ファイル


Commit MetaInfo

Revision89d3ea564adc8972d2ac2315e9e90277b614f52e (tree)
Time2015-06-14 17:35:02
Authorhylom <hylom@hylo...>
Commiterhylom

Log Message

add 0.12.x/nodejs.spec for nodejs v.0.12.4

Change Summary

Incremental Difference

--- /dev/null
+++ b/rpm/0.12.x/nodejs.spec
@@ -0,0 +1,52 @@
1+Name: nodejs
2+Version: 0.12.4
3+Release: private1
4+Group: Development
5+Vendor: hylom
6+URL: http://nodejs.org/
7+Packager: hylom <hylom@hylom.net>
8+License: BSD and MIT and ASL 2.0 and GPLv3
9+Summary: Evented I/O for V8 JavaScript
10+Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
11+Source: node-v%{version}-linux-x64.tar.gz
12+
13+# disable debug package
14+%global _enable_debug_package 0
15+%global debug_package %{nil}
16+%global __os_install_post /usr/lib/rpm/brp-compress %{nil}
17+
18+%description
19+Node.js is a server-side JavaScript environment that uses an asynchronous event-driven model. Node's goal is to provide an easy way to build scalable network programs.
20+
21+%prep
22+%setup -q -n node-v%{version}-linux-x64
23+
24+%build
25+
26+%install
27+rm -rf $RPM_BUILD_ROOT
28+mkdir -p $RPM_BUILD_ROOT/usr/
29+for i in {bin,lib,share}
30+do
31+ cp -pr $i $RPM_BUILD_ROOT/usr/$i
32+done
33+
34+%clean
35+rm -rf $RPM_BUILD_ROOT
36+
37+%files
38+/usr/bin
39+/usr/lib
40+/usr/share
41+
42+%defattr(-,root,root,-)
43+
44+%doc ChangeLog LICENSE README.md
45+
46+%changelog
47+* Sun Jun 14 2015 hylom Mhylom@hylom.net>
48+- Bump to v0.12.4.
49+* Fri Jan 17 2014 hylom <hylom@hylom.net>
50+- Bump to v0.10.24.
51+* Wed Oct 1 2012 hylom <hylom@hylom.net>
52+- Initial build.