diff --git a/.gitignore b/.gitignore index 7d629de..743279c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -gpac-0.5.0.tar.gz +gpac-20130820.tar.xz diff --git a/gpac-snapshot.sh b/gpac-snapshot.sh index 561df06..03b3cf4 100644 --- a/gpac-snapshot.sh +++ b/gpac-snapshot.sh @@ -15,10 +15,10 @@ pwd=$(pwd) svn=$(date +%Y%m%d) cd "$tmp" -svn co http://gpac.svn.sourceforge.net/svnroot/gpac/trunk/gpac gpac +svn co http://svn.code.sf.net/p/gpac/code/trunk/gpac gpac revision=$(svnversion gpac) echo "#define GPAC_SVN_REVISION \"$revision\"" > gpac/include/gpac/version.h -find gpac -name '.svn' -type d -exec rm -rf {} ';' || : +find gpac -name ".svn" -type d -exec rm -rf {} ';' || : rm -rf gpac/extra_lib/ -tar jcf "$pwd"/gpac-$svn.tar.bz2 gpac +tar Jcf "$pwd"/gpac-$svn.tar.xz gpac cd - >/dev/null diff --git a/gpac.spec b/gpac.spec index 03a9526..0c21a21 100644 --- a/gpac.spec +++ b/gpac.spec @@ -7,7 +7,7 @@ # - Fix unused-direct-shlib-dependency on libgpac %global osmo Osmo4 -#global svn 20120623 +%global svn 20130820 # Mozilla stuff fails. It's completely disabled for now. %global mozver 3.0 %global geckover 2.0.0 @@ -17,11 +17,12 @@ Name: gpac Summary: MPEG-4 multimedia framework Version: 0.5.0 -Release: 5%{?svn}%{?dist} +Release: 6%{?svn:.%{svn}svn}%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://gpac.sourceforge.net/ -Source0: http://downloads.sourceforge.net/gpac/gpac-%{version}.tar.gz +#Source0: http://downloads.sourceforge.net/gpac/gpac-%{version}.tar.gz +Source0: gpac-%{svn}.tar.xz Source9: gpac-snapshot.sh Patch1: gpac-0.5.0-libdir.patch Patch2: gpac-0.4.5-amr.patch @@ -325,6 +326,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Aug 20 2013 Nicolas Chauvet - 0.5.0-6.20130820svn +- Update to 20130820 + * Thu Aug 15 2013 Nicolas Chauvet - 0.5.0-5 - Rebuilt for FFmpeg 2.0.x diff --git a/sources b/sources index 1984e19..dbd7ac6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -19f7bb7c16913c22bdd453db1e653ca0 gpac-0.5.0.tar.gz +a7c51cfaf54c5c779ee6517c2dc55198 gpac-20130820.tar.xz