diff --git a/dhtml/dhtml.spec b/dhtml/dhtml.spec index 0c3525779c..14e5ead721 100644 --- a/dhtml/dhtml.spec +++ b/dhtml/dhtml.spec @@ -71,6 +71,7 @@ %define V_mootools 1.2.4 %define V_mochaui 0.9.7 %define V_pure bc00883 +%define V_ddbelatedpng 0.0.8a # package information Name: dhtml @@ -135,7 +136,8 @@ Source45: http://canto-js.googlecode.com/files/canto-%{V_canto}.js Source46: http://mootools.net/download/get/mootools-%{V_mootools}-core-yc.js Source47: http://github.com/downloads/mui/mochaui/mochaui-%{V_mochaui}.zip Source48: http://download.github.com/pure-pure-%{V_pure}.zip -Source49: dhtml.txt +Source49: http://www.dillerdesign.com/experiment/DD_belatedPNG/DD_belatedPNG_%{V_ddbelatedpng}.js +Source50: dhtml.txt # build information BuildPreReq: OpenPKG, openpkg >= 20100101, infozip @@ -392,6 +394,11 @@ PreReq: OpenPKG, openpkg >= 20100101 url = http://beebole.com/pure/documentation/pure-with-your-js-library/ regex = pure-pure-(__VER__)\.zip } + prog dhtml:ddbelatedpng = { + version = %{V_ddbelatedpng} + url = http://www.dillerdesign.com/experiment/DD_belatedPNG/ + regex = DD_belartedPNG_(__VER__)\.js + } %prep %setup -q -c -T @@ -479,7 +486,8 @@ PreReq: OpenPKG, openpkg >= 20100101 $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/canto \ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mootools \ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/mochaui \ - $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/pure + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/pure \ + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ddbelatedpng ( echo "Alias /openpkg-dhtml/ %{l_prefix}/share/dhtml/" echo "" echo " Options Indexes" @@ -640,6 +648,9 @@ PreReq: OpenPKG, openpkg >= 20100101 %{l_shtool} install -c -m 644 \ pure-pure-%{V_pure}/libs/pure.js \ $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/pure/ + %{l_shtool} install -c -m 644 \ + %{SOURCE DD_belatedPNG_%{V_ddbelatedpng}.js} \ + $RPM_BUILD_ROOT%{l_prefix}/share/dhtml/ddbelatedpng/ddbelatedpng.js %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} %files -f files