Compare commits

...

20 Commits
el8 ... el9

Author SHA1 Message Date
Leigh Scott 9663159ca4 Update to 2.0.0
3 years ago
Sérgio M. Basto 7e607e66f6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
3 years ago
Leigh Scott 368df0506a fix
3 years ago
Leigh Scott edba0a9eb1 fix
3 years ago
Leigh Scott 604a15c34b Use git snapshot
3 years ago
Leigh Scott 99c92a9277 Rebuilt for new ffmpeg snapshot
3 years ago
Leigh Scott d41028f400 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
3 years ago
Leigh Scott 83d5336a4b - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
4 years ago
Leigh Scott 415187d066 Rebuilt for new ffmpeg snapshot
4 years ago
Sérgio M. Basto 8835403e63 Update to 1.0.1
4 years ago
Leigh Scott 9d9dfa42a9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
4 years ago
Leigh Scott 71c8976f0a Make build verbose
4 years ago
Nicolas Chauvet 319d03b35c Update changelog
5 years ago
Nicolas Chauvet 7646af4781 Disable freenect on i686
5 years ago
Nicolas Chauvet 3da594d37c Switch to openjpeg2 instead
5 years ago
Sérgio M. Basto 6a19d6b3fb Update to 1.0.0
5 years ago
Leigh Scott b042ed26b6 Rebuilt for i686
5 years ago
leigh123linux f5fb952ba3 Rebuild for ffmpeg-4.3 git
5 years ago
leigh123linux d1bdf00a82 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
5 years ago
leigh123linux f2a703eff6 Mass rebuild for x264
5 years ago

@ -5,20 +5,32 @@
# - Fix unused-direct-shlib-dependency on libgpac
#global git 20150924
#global commit 413cd94f24ebf09668cc90434af81729a01e6306
#global date 20211104
#global shortcommit0 %(c=%{commit}; echo ${c:0:7})
%if 0%{?el9}
%global _without_jack 1
%global _without_freenect 1
%endif
Name: gpac
Summary: MPEG-4 multimedia framework
Version: 0.8.0
Release: 1%{?dist}
Version: 2.0.0
Release: 1%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
License: LGPLv2+
URL: http://gpac.sourceforge.net/
Source0: https://github.com/gpac/gpac/archive/v%{version}/gpac-%{version}.tar.gz
#Source0: https://github.com/gpac/gpac/archive/%{commit}/gpac-%{commit}.tar.gz
#Source9: gpac-snapshot.sh
#Debian dependencies provide by gpac
#Build-Depends: debhelper (>= 6), libc6, libc6-dev, libx11-dev (>= 1.3), zlib1g-dev (>= 1), libfreetype6-dev, libjpeg62-dev | libjpeg62-turbo-dev, libpng-dev, libmad0-dev, libfaad-dev, libogg-dev, libvorbis-dev, libtheora-dev, liba52-dev | liba52-0.7.4-dev, libavcodec-dev, libavformat-dev, libavutil-dev, libswscale-dev, libavdevice-dev, libavfilter-dev, libxv-dev, x11proto-video-dev, libgl1-mesa-dev, x11proto-gl-dev, libxvidcore-dev, libssl-dev (>= 0.9.8), libjack-dev (>= 0.118), libasound2-dev (>= 1.0), libpulse-dev (>= 0.9), libsdl-dev (>= 1.2) | libsdl2-dev, ccache
#BuildRequires: ImageMagick
#BuildRequires: SDL-devel
BuildRequires: SDL2-devel
BuildRequires: a52dec-devel
BuildRequires: librsvg2-devel >= 2.5.0
BuildRequires: libGLU-devel
BuildRequires: freeglut-devel
BuildRequires: freetype-devel >= 2.1.4
BuildRequires: faad2-devel
BuildRequires: libjpeg-devel
@ -28,6 +40,7 @@ BuildRequires: xvidcore-devel >= 1.0.0
BuildRequires: ffmpeg-devel
BuildRequires: libxml2-devel
BuildRequires: openssl-devel
BuildRequires: openjpeg2-devel
BuildRequires: pulseaudio-libs-devel
BuildRequires: zlib-devel
BuildRequires: libogg-devel
@ -36,9 +49,14 @@ BuildRequires: libtheora-devel
BuildRequires: libXt-devel
BuildRequires: libXpm-devel
BuildRequires: libXv-devel
%{!?_without_jack:BuildRequires: jack-audio-connection-kit-devel}
# Disable optional freenect for i686 multilibs gpac usage
%ifnarch i686
%{!?_without_freenect:BuildRequires: libfreenect-devel}
%endif
BuildRequires: xmlrpc-c-devel
BuildRequires: doxygen graphviz
BuildRequires: gcc
BuildRequires: gcc-c++
%{?_with_amr:BuildRequires: amrnb-devel
BuildRequires: amrwb-devel}
@ -87,11 +105,14 @@ Static library for gpac.
%prep
%autosetup -p1
rm -r extra_lib/
pushd share/doc
# 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
cp -p ipmpx_syntax.bt ipmpx_syntax.bt.origine
iconv -f ISO-8859-1 -t UTF8 ipmpx_syntax.bt.origine > ipmpx_syntax.bt
touch -r ipmpx_syntax.bt.origine ipmpx_syntax.bt
rm -rf share/doc/ipmpx_syntax.bt.origine
popd
sed -i 's/dh_link/ln -s -r/' Makefile
%build
@ -103,7 +124,8 @@ rm -rf doc/ipmpx_syntax.bt.origine
--disable-oss-audio \
%{?_with_amr:--enable-amr} \
--disable-static \
--use-js=no
--use-js=no \
--verbose
#Avoid mess with setup.h
cp -p config.h include/gpac
@ -112,7 +134,7 @@ cp -p config.h include/gpac
%{make_build} sggen
## kwizart - build doxygen doc for devel
pushd doc
pushd share/doc
doxygen
popd
@ -129,7 +151,7 @@ for b in MPEG4 X3D; do
done
#Fix doxygen timestamp
touch -r Changelog doc/html-libgpac/*
touch -r Changelog share/doc/html-libgpac/*
#config.h like but not only
#Usual multilib bug https://bugzilla.rpmfusion.org/show_bug.cgi?id=270
@ -138,17 +160,18 @@ touch -r Changelog %{buildroot}%{_includedir}/gpac/*.h
touch -r Changelog %{buildroot}%{_includedir}/gpac/internal/*.h
touch -r Changelog %{buildroot}%{_includedir}/gpac/modules/*.h
rm %{buildroot}%{_includedir}/gpac/config.h
rm %{buildroot}%{_includedir}/win32/*
rm %{buildroot}%{_includedir}/wince/errno.h
#rm %{buildroot}%{_includedir}/win32/*
#rm %{buildroot}%{_includedir}/wince/errno.h
%ldconfig_scriptlets libs
%files
%doc AUTHORS BUGS Changelog README.md TODO
%doc Changelog README.md
%license COPYING
%{_bindir}/DashCast
%{_bindir}/MP42TS
%{_bindir}/gpac
#{_bindir}/DashCast
#{_bindir}/MP42TS
%{_bindir}/MP4Box
%{_bindir}/MP4Client
%{_bindir}/MPEG4Gen
@ -156,24 +179,75 @@ rm %{buildroot}%{_includedir}/wince/errno.h
%{_bindir}/X3DGen
%{_datadir}/gpac/
%{_mandir}/man1/*.1.*
%{_datadir}/applications/*.desktop
%{_datadir}/icons/hicolor/*/apps/gpac.png
%files libs
%{_libdir}/libgpac.so.*
%{_libdir}/gpac/
%files doc
%doc doc/html-libgpac/*
%doc share/doc/html-libgpac/*
%files devel
%doc doc/CODING_STYLE doc/ipmpx_syntax.bt
%doc share/doc/CODING_STYLE share/doc/ipmpx_syntax.bt
%{_includedir}/gpac/
%{_libdir}/libgpac.so
%{_libdir}/pkgconfig/gpac.pc
%files static
%{_libdir}/libgpac_static.a
%changelog
* Sat Feb 26 2022 Leigh Scott <leigh123linux@gmail.com> - 2.0.0-1
- Update to 2.0.0
* Wed Feb 09 2022 RPM Fusion Release Engineering <sergiomb@rpmfusion.org> - 1.0.2-0.2.20211104git413cd94
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Nov 09 2021 Leigh Scott <leigh123linux@gmail.com> - 1.0.2-0.1.20211104git413cd94
- Use git snapshot
* Tue Nov 09 2021 Leigh Scott <leigh123linux@gmail.com> - 1.0.1-5
- Rebuilt for new ffmpeg snapshot
* Mon Aug 02 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.0.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Wed Feb 03 2021 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.0.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 1 2021 Leigh Scott <leigh123linux@gmail.com> - 1.0.1-2
- Rebuilt for new ffmpeg snapshot
* Sun Nov 22 2020 Sérgio Basto <sergio@serjux.com> - 1.0.1-1
- Update to 1.0.1
* Mon Aug 17 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 1.0.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 06 2020 Nicolas Chauvet <kwizart@gmail.com> - 1.0.0-2
- Adjust BR
* Fri Jul 03 2020 Sérgio Basto <sergio@serjux.com> - 1.0.0-1
- Update to 1.0.0
- BR SDL2-devel instead SDL-devel
- Add BR jack-audio-connection-kit-devel and libfreenect-devel
- Remove BR js-devel, wxGTK3-devel, gtk+-devel and gtk2-devel
* Thu Mar 12 2020 Leigh Scott <leigh123linux@gmail.com> - 0.8.0-5
- Rebuilt for i686
* Sat Feb 22 2020 Leigh Scott <leigh123linux@googlemail.com> - 0.8.0-4
- Rebuild for ffmpeg-4.3 git
* Tue Feb 04 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 0.8.0-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Dec 17 2019 Leigh Scott <leigh123linux@googlemail.com> - 0.8.0-2
- Mass rebuild for x264
* Tue Aug 06 2019 Sérgio Basto <sergio@serjux.com> - 0.8.0-1
- Update GPAC to 0.8.0

@ -1 +1 @@
06ecb86b4da83e2d38e108f513c2ed8a gpac-0.8.0.tar.gz
SHA512 (gpac-2.0.0.tar.gz) = e95e6d78167fc306917b3ac89e56ba511bbcb0c825da118f5ba374504499352104b5c1f3ee71e7ec018015b8e302f9b07162d22287ddb21c8564b097d900913f

Loading…
Cancel
Save