el8
Nicolas Chauvet 11 years ago
parent 245b519ca8
commit 9029ac78c0

2
.gitignore vendored

@ -1 +1 @@
gpac-20130820.tar.xz gpac-20130914.tar.xz

@ -7,7 +7,7 @@
# - Fix unused-direct-shlib-dependency on libgpac # - Fix unused-direct-shlib-dependency on libgpac
%global osmo Osmo4 %global osmo Osmo4
%global svn 20130820 %global svn 20130914
# Mozilla stuff fails. It's completely disabled for now. # Mozilla stuff fails. It's completely disabled for now.
%global mozver 3.0 %global mozver 3.0
%global geckover 2.0.0 %global geckover 2.0.0
@ -17,7 +17,7 @@
Name: gpac Name: gpac
Summary: MPEG-4 multimedia framework Summary: MPEG-4 multimedia framework
Version: 0.5.0 Version: 0.5.0
Release: 6%{?svn:.%{svn}svn}%{?dist} Release: 7%{?svn:.%{svn}svn}%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://gpac.sourceforge.net/ URL: http://gpac.sourceforge.net/
@ -139,18 +139,20 @@ web browsers.
%prep %prep
%setup -q -n gpac %setup -q -n gpac
exit 0
# Fix encoding warnings # Fix encoding warnings
cp -p doc/ipmpx_syntax.bt doc/ipmpx_syntax.bt.origine 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 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 touch -r doc/ipmpx_syntax.bt.origine doc/ipmpx_syntax.bt
rm -rf doc/ipmpx_syntax.bt.origine 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 %build
%configure \ %configure \
--enable-debug \ --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} \ --X11-path=%{_prefix} \
--libdir=%{_lib} \ --libdir=%{_lib} \
--disable-oss-audio \ --disable-oss-audio \
@ -191,9 +193,9 @@ popd
} }
# Parallele build will fail # Parallele build will fail
make all OPTFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" make all
#{?_smp_mflags} #{?_smp_mflags}
make sggen OPTFLAGS="$RPM_OPT_FLAGS -fPIC -DPIC" make sggen
#{?_smp_mflags} #{?_smp_mflags}
## kwizart - build doxygen doc for devel ## kwizart - build doxygen doc for devel
@ -272,6 +274,7 @@ rm -rf $RPM_BUILD_ROOT
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS BUGS Changelog COPYING README TODO %doc AUTHORS BUGS Changelog COPYING README TODO
%{_bindir}/DashCast
%{_bindir}/MP4Box %{_bindir}/MP4Box
%{_bindir}/MP4Client %{_bindir}/MP4Client
%{_bindir}/MPEG4Gen %{_bindir}/MPEG4Gen
@ -317,6 +320,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sat Sep 14 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.5.0-7.20130914svn
- Update to 20130914
* Tue Aug 20 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.5.0-6.20130820svn * Tue Aug 20 2013 Nicolas Chauvet <kwizart@gmail.com> - 0.5.0-6.20130820svn
- Update to 20130820 - Update to 20130820

@ -1 +1 @@
a7c51cfaf54c5c779ee6517c2dc55198 gpac-20130820.tar.xz 448b52e8ae09355685b61a3767b83e56 gpac-20130914.tar.xz

Loading…
Cancel
Save