diff -r 00e3ab20fe25 -r d05aa91cd793 m2tstoavi/m2tstoavi.spec --- a/m2tstoavi/m2tstoavi.spec Tue Aug 28 18:33:20 2012 +0200 +++ b/m2tstoavi/m2tstoavi.spec Tue Aug 28 18:33:30 2012 +0200 @@ -1,6 +1,6 @@ ## ## m2tstoavi.spec -- OpenPKG RPM Package Specification -## Copyright (c) 2009 Michael Schloh von Bennewitz +## Copyright (c) 2012 Michael Schloh von Bennewitz ## ## Permission to use, copy, modify, and distribute this software for ## any purpose with or without fee is hereby granted, provided that @@ -21,6 +21,9 @@ ## SUCH DAMAGE. ## +# package versions +%define V_m2tstoavi_jm 18.4 + # package information Name: m2tstoavi Summary: AVCHD Video File Conversion Kit @@ -32,20 +35,16 @@ Group: Video License: Unknown Version: 1 -Release: 20081128 +Release: 20120800 # list of sources Source0: http://www.olmosconsulting.com/m2ts.tar.gz Source1: http://www.w6rz.net/xport.zip -Source2: http://iphome.hhi.de/suehring/tml/download/jm14.2.zip +Source2: http://iphome.hhi.de/suehring/tml/download/jm%{V_m2tstoavi_jm}.zip # build information -Prefix: %{l_prefix} -BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20040130, make, infozip -PreReq: OpenPKG, openpkg >= 20040130, ffmpeg, tcsh -AutoReq: no -AutoReqProv: no +BuildPreReq: OpenPKG, openpkg >= 20100101, make, infozip +PreReq: OpenPKG, openpkg >= 20100101, ffmpeg, tcsh %description M2ts is for people who have recorded .m2ts videos using a high @@ -62,7 +61,7 @@ %prep %setup -q -c %{name} %{l_prefix}/bin/unzip -x -d xport %{SOURCE xport.zip} - %{l_prefix}/bin/unzip -x %{SOURCE jm14.0.zip} + %{l_prefix}/bin/unzip -x %{SOURCE jm%{V_m2tstoavi_jm}.zip} %{l_shtool} subst -e 's;/bin/csh;%{l_prefix}/bin/tcsh;' m2ts/* %{l_shtool} mkdir -f -p -m 755 JM/ldecod/obj @@ -77,8 +76,6 @@ ) || exit $? %install - rm -rf $RPM_BUILD_ROOT - # create installation tree %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin @@ -101,5 +98,4 @@ %files -f files %clean - rm -rf $RPM_BUILD_ROOT