|
|
|
|
@ -22,8 +22,8 @@
|
|
|
|
|
## |
|
|
|
|
|
|
|
|
|
# package version |
|
|
|
|
%define V_coffeescript 1.1.1 |
|
|
|
|
%define V_git d4d0271 |
|
|
|
|
%define V_coffeescript 1.1.3 |
|
|
|
|
%define V_git 621e564 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: coffeescript |
|
|
|
|
@ -36,7 +36,7 @@ Class: EVAL
|
|
|
|
|
Group: Language |
|
|
|
|
License: MIT |
|
|
|
|
Version: %{V_coffeescript} |
|
|
|
|
Release: 20110605 |
|
|
|
|
Release: 20111211 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: https://download.github.com/jashkenas-coffee-script-%{V_coffeescript}-0-g%{V_git}.tar.gz |
|
|
|
|
@ -65,12 +65,12 @@ PreReq: OpenPKG, openpkg >= 20100101, node
|
|
|
|
|
%install |
|
|
|
|
%{l_shtool} mkdir -f -p -m 755 \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/bin \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/coffeescript |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/lib/coffeescript/coffee-script |
|
|
|
|
%{l_shtool} install -c -m 755 \ |
|
|
|
|
-e 's;/lib;/lib/coffeescript;g' \ |
|
|
|
|
bin/coffee $RPM_BUILD_ROOT%{l_prefix}/bin/ |
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
lib/*.js $RPM_BUILD_ROOT%{l_prefix}/lib/coffeescript/ |
|
|
|
|
lib/coffee-script/*.js $RPM_BUILD_ROOT%{l_prefix}/lib/coffeescript/coffee-script/ |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|