Update to 0.5.2

el8
Michael Kuhn 9 years ago committed by Nicolas Chauvet
parent fe0f1aca18
commit 6f37385d1c

@ -1,21 +1,12 @@
#!/bin/bash #!/bin/sh
set -e set -e
tmp=$(mktemp -d) DIRNAME=gpac-$(date +%Y%m%d)
trap cleanup EXIT git clone --depth 1 https://github.com/gpac/gpac.git ${DIRNAME}
cleanup() {
set +e
[ -z "$tmp" -o ! -d "$tmp" ] || rm -rf "$tmp"
}
unset CDPATH rm -rf ${DIRNAME}/.git
pwd=$(pwd) rm -rf ${DIRNAME}/extra_lib
svn=$(date +%Y%m%d)
cd "$tmp" tar cJf ${DIRNAME}.tar.xz ${DIRNAME}
svn export http://svn.code.sf.net/p/gpac/code/trunk/gpac gpac
rm -rf gpac/extra_lib/
tar Jcf "$pwd"/gpac-$svn.tar.xz gpac
cd - >/dev/null

@ -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 20141206 #global git 20150924
# 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
@ -16,14 +16,14 @@
Name: gpac Name: gpac
Summary: MPEG-4 multimedia framework Summary: MPEG-4 multimedia framework
Version: 0.5.1 Version: 0.5.2
Release: 14%{?svn:.%{svn}svn}%{?dist} Release: 1%{?git:.%{git}git}%{?dist}
License: LGPLv2+ License: LGPLv2+
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://gpac.sourceforge.net/ URL: http://gpac.sourceforge.net/
#Source0: http://downloads.sourceforge.net/gpac/gpac-%{version}.tar.gz Source0: https://github.com/gpac/gpac/archive/v%{version}.tar.gz
Source0: gpac-%{svn}.tar.xz #Source0: gpac-%{git}.tar.xz
Source9: gpac-snapshot.sh #Source9: gpac-snapshot.sh
BuildRequires: ImageMagick BuildRequires: ImageMagick
BuildRequires: SDL-devel BuildRequires: SDL-devel
@ -137,7 +137,7 @@ web browsers.
} }
%prep %prep
%setup -q -n gpac %setup -q
# 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
@ -264,6 +264,7 @@ rm $RPM_BUILD_ROOT%{_includedir}/gpac/config.h
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS BUGS Changelog COPYING README TODO %doc AUTHORS BUGS Changelog COPYING README TODO
%{_bindir}/DashCast %{_bindir}/DashCast
%{_bindir}/MP42TS
%{_bindir}/MP4Box %{_bindir}/MP4Box
%{_bindir}/MP4Client %{_bindir}/MP4Client
%{_bindir}/MPEG4Gen %{_bindir}/MPEG4Gen
@ -309,6 +310,9 @@ rm $RPM_BUILD_ROOT%{_includedir}/gpac/config.h
%changelog %changelog
* Sun Oct 11 2015 Michael Kuhn <suraia@ikkoku.de> - 0.5.2-1
- Update to 0.5.2.
* Sat Dec 06 2014 Nicolas Chauvet <kwizart@gmail.com> - 0.5.1-14.20141206svn * Sat Dec 06 2014 Nicolas Chauvet <kwizart@gmail.com> - 0.5.1-14.20141206svn
- Update to svn20141206 - last svn rev 5542 - Update to svn20141206 - last svn rev 5542
- Fix invalid SONAME - rfbz#3365 - Fix invalid SONAME - rfbz#3365

Loading…
Cancel
Save