|
|
|
|
@ -67,6 +67,7 @@
|
|
|
|
|
%define V_extjs 3.2.2 |
|
|
|
|
%define V_raphael 1.4.7 |
|
|
|
|
%define V_svgweb 2010-04-09-dracolisk |
|
|
|
|
%define V_canto 0.11 |
|
|
|
|
|
|
|
|
|
# package information |
|
|
|
|
Name: dhtml |
|
|
|
|
@ -79,7 +80,7 @@ Class: BASE
|
|
|
|
|
Group: HTML |
|
|
|
|
License: Open Source |
|
|
|
|
Version: 0 |
|
|
|
|
Release: 20100716 |
|
|
|
|
Release: 20100730 |
|
|
|
|
|
|
|
|
|
# list of sources |
|
|
|
|
Source0: http://download.openpkg.org/components/versioned/dhtml/prototype-%{V_prototype}.js |
|
|
|
|
@ -127,7 +128,8 @@ Source41: http://switch.dl.sourceforge.net/oat/oat-%{V_oat}.tar.gz
|
|
|
|
|
Source42: http://extjs.com/deploy/ext-%{V_extjs}.zip |
|
|
|
|
Source43: http://download.openpkg.org/components/versioned/dhtml/raphael-%{V_raphael}.js |
|
|
|
|
Source44: http://svgweb.googlecode.com/files/svgweb-%{V_svgweb}.zip |
|
|
|
|
Source45: dhtml.txt |
|
|
|
|
Source45: http://canto-js.googlecode.com/files/canto-%{V_canto}.js |
|
|
|
|
Source46: dhtml.txt |
|
|
|
|
|
|
|
|
|
# build information |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20100101, infozip |
|
|
|
|
@ -364,6 +366,11 @@ PreReq: OpenPKG, openpkg >= 20100101
|
|
|
|
|
url = http://code.google.com/p/svgweb/downloads/list |
|
|
|
|
regex = svgweb-(.*?)\.zip |
|
|
|
|
} |
|
|
|
|
prog dhtml:canto = { |
|
|
|
|
version = %{V_canto} |
|
|
|
|
url = http://code.google.com/p/canto-js/downloads/list |
|
|
|
|
regex = canto-(__VER__)\.js |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
|
%setup -q -c -T |
|
|
|
|
@ -445,7 +452,8 @@ PreReq: OpenPKG, openpkg >= 20100101
|
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/oat \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ext \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/svgweb \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto |
|
|
|
|
( echo "Alias /openpkg-dhtml/ %{l_prefix}/share/dhtml/" |
|
|
|
|
echo "<Directory %{l_prefix}/share/dhtml/>" |
|
|
|
|
echo " Options Indexes" |
|
|
|
|
@ -595,6 +603,9 @@ PreReq: OpenPKG, openpkg >= 20100101
|
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
%{SOURCE raphael-%{V_raphael}.js} \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/raphael/raphael.js |
|
|
|
|
%{l_shtool} install -c -m 644 \ |
|
|
|
|
%{SOURCE canto-%{V_canto}.js} \ |
|
|
|
|
$RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto/canto.js |
|
|
|
|
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} |
|
|
|
|
|
|
|
|
|
%files -f files |
|
|
|
|
|