From 9029ac78c04d27d673bc80f992631b880eba5846 Mon Sep 17 00:00:00 2001 From: Nicolas Chauvet Date: Sat, 14 Sep 2013 13:19:02 +0000 Subject: [PATCH] Fix build --- .gitignore | 2 +- gpac.spec | 18 ++++++++++++------ sources | 2 +- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index 743279c..8e74bcd 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -gpac-20130820.tar.xz +gpac-20130914.tar.xz diff --git a/gpac.spec b/gpac.spec index 5bc8723..1645b29 100644 --- a/gpac.spec +++ b/gpac.spec @@ -7,7 +7,7 @@ # - Fix unused-direct-shlib-dependency on libgpac %global osmo Osmo4 -%global svn 20130820 +%global svn 20130914 # Mozilla stuff fails. It's completely disabled for now. %global mozver 3.0 %global geckover 2.0.0 @@ -17,7 +17,7 @@ Name: gpac Summary: MPEG-4 multimedia framework Version: 0.5.0 -Release: 6%{?svn:.%{svn}svn}%{?dist} +Release: 7%{?svn:.%{svn}svn}%{?dist} License: LGPLv2+ Group: System Environment/Libraries URL: http://gpac.sourceforge.net/ @@ -139,18 +139,20 @@ web browsers. %prep %setup -q -n gpac -exit 0 # Fix encoding warnings cp -p doc/ipmpx_syntax.bt doc/ipmpx_syntax.bt.origine iconv -f ISO-8859-1 -t UTF8 doc/ipmpx_syntax.bt.origine > doc/ipmpx_syntax.bt touch -r doc/ipmpx_syntax.bt.origine doc/ipmpx_syntax.bt rm -rf doc/ipmpx_syntax.bt.origine +echo "#define GPAC_FULL_VERSION GPAC_SVN_REVISION" >> include/gpac/version.h +echo "#define GPAC_VERSION GPAC_FULL_VERSION" >> include/gpac/version.h + %build %configure \ --enable-debug \ - --extra-cflags="$RPM_OPT_FLAGS -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -DGPAC_FULL_VERSION=%{version}-%{release}" \ + --extra-cflags="$RPM_OPT_FLAGS -fPIC -DPIC -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 $(pkg-config --cflags libavformat)" \ --X11-path=%{_prefix} \ --libdir=%{_lib} \ --disable-oss-audio \ @@ -191,9 +193,9 @@ popd } # Parallele build will fail -make all OPTFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" +make all #{?_smp_mflags} -make sggen OPTFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" +make sggen #{?_smp_mflags} ## kwizart - build doxygen doc for devel @@ -272,6 +274,7 @@ rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc AUTHORS BUGS Changelog COPYING README TODO +%{_bindir}/DashCast %{_bindir}/MP4Box %{_bindir}/MP4Client %{_bindir}/MPEG4Gen @@ -317,6 +320,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sat Sep 14 2013 Nicolas Chauvet - 0.5.0-7.20130914svn +- Update to 20130914 + * Tue Aug 20 2013 Nicolas Chauvet - 0.5.0-6.20130820svn - Update to 20130820 diff --git a/sources b/sources index dbd7ac6..913b4e7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -a7c51cfaf54c5c779ee6517c2dc55198 gpac-20130820.tar.xz +448b52e8ae09355685b61a3767b83e56 gpac-20130914.tar.xz