update to 1.2.0alpha1.20201211git
aded debug package and aarch64 build fix [release 1.2.0alpha1.20201211git-1mamba;Fri Dec 11 2020]
This commit is contained in:
parent
ad89b3cba6
commit
f0e2240fa3
@ -1,7 +1,5 @@
|
|||||||
#%d efine prever RC2
|
|
||||||
|
|
||||||
Name: libtheora
|
Name: libtheora
|
||||||
Version: 1.1.1
|
Version: 1.2.0alpha1.20201211git
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: Theora video compression codec
|
Summary: Theora video compression codec
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
@ -9,20 +7,22 @@ Vendor: openmamba
|
|||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Aleph0 <aleph0@openmamba.org>
|
Packager: Aleph0 <aleph0@openmamba.org>
|
||||||
URL: http://www.theora.org/
|
URL: http://www.theora.org/
|
||||||
Source0: http://downloads.xiph.org/releases/theora/libtheora-%{version}%{?prever}.tar.bz2
|
Source0: https://gitlab.xiph.org/xiph/theora.git/master/theora-%{version}%{?prever}.tar.bz2
|
||||||
# missing from tarball
|
# missing from tarball
|
||||||
Source1: dct_decode_mmx.c
|
Source1: dct_decode_mmx.c
|
||||||
Patch0: libtheora-1.0RC2-docdir.patch
|
Patch0: libtheora-1.0RC2-docdir.patch
|
||||||
Patch1: libtheora-1.0beta3-undef-nonweak-symbols.patch
|
Patch1: libtheora-1.0beta3-undef-nonweak-symbols.patch
|
||||||
License: BSD
|
License: BSD
|
||||||
BuildRequires: libalsa-devel
|
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ldconfig
|
||||||
BuildRequires: libogg-devel
|
BuildRequires: libogg-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libSDL-devel
|
BuildRequires: libSDL-devel
|
||||||
BuildRequires: libvorbis-devel
|
BuildRequires: libvorbis-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libalsa-devel
|
||||||
BuildRequires: doxygen
|
BuildRequires: doxygen
|
||||||
BuildRequires: tetex-latex
|
BuildRequires: tetex-latex
|
||||||
BuildRequires: transfig
|
BuildRequires: transfig
|
||||||
@ -64,22 +64,23 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description tools
|
%description tools
|
||||||
Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed video format.
|
Ogg Theora is a fully open, non-proprietary, patent-and-royalty-free, general-purpose compressed video format.
|
||||||
|
|
||||||
The %{name}-tools package contains simple command line tools for use with theora bitstreams
|
The %{name}-tools package contains simple command line tools for use with theora bitstreams
|
||||||
|
|
||||||
%prep
|
%debug_package
|
||||||
#%{?prever}
|
|
||||||
%setup -q -n %{name}-%{version}
|
|
||||||
#if [ ! -f lib/enc/x86_64/dct_decode_mmx.c ] ; then
|
|
||||||
# cp %{S:1} lib/enc/x86_64
|
|
||||||
#fi
|
|
||||||
#%patch0 -p1
|
|
||||||
#%patch1 -p1
|
|
||||||
|
|
||||||
sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure
|
%prep
|
||||||
|
%setup -q -n theora-%{version}
|
||||||
|
./autogen.sh
|
||||||
|
#sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --enable-shared --disable-static
|
%configure \
|
||||||
|
--enable-shared \
|
||||||
|
--disable-static \
|
||||||
|
%ifarch arm
|
||||||
|
--disable-asflag-probe
|
||||||
|
%endif
|
||||||
|
|
||||||
# Don't use rpath!
|
# Don't use rpath!
|
||||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||||
@ -95,7 +96,7 @@ make -C doc/spec
|
|||||||
mkdir -p %{buildroot}%{_bindir}
|
mkdir -p %{buildroot}%{_bindir}
|
||||||
install -m 755 examples/.libs/dump_video %{buildroot}%{_bindir}/theora_dump_video
|
install -m 755 examples/.libs/dump_video %{buildroot}%{_bindir}/theora_dump_video
|
||||||
install -m 755 examples/.libs/encoder_example %{buildroot}%{_bindir}/theora_encode
|
install -m 755 examples/.libs/encoder_example %{buildroot}%{_bindir}/theora_encode
|
||||||
install -m 755 examples/.libs/player_example %{buildroot}%{_bindir}/theora_player
|
#install -m 755 examples/.libs/player_example %{buildroot}%{_bindir}/theora_player
|
||||||
install -m 755 examples/.libs/png2theora %{buildroot}%{_bindir}/png2theora
|
install -m 755 examples/.libs/png2theora %{buildroot}%{_bindir}/png2theora
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
@ -109,7 +110,7 @@ install -m 755 examples/.libs/png2theora %{buildroot}%{_bindir}/png2theora
|
|||||||
%{_libdir}/libtheora.so.*
|
%{_libdir}/libtheora.so.*
|
||||||
%{_libdir}/libtheoradec.so.*
|
%{_libdir}/libtheoradec.so.*
|
||||||
%{_libdir}/libtheoraenc.so.*
|
%{_libdir}/libtheoraenc.so.*
|
||||||
%doc README COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
@ -124,19 +125,21 @@ install -m 755 examples/.libs/png2theora %{buildroot}%{_bindir}/png2theora
|
|||||||
%{_libdir}/pkgconfig/theora.pc
|
%{_libdir}/pkgconfig/theora.pc
|
||||||
%{_libdir}/pkgconfig/theoradec.pc
|
%{_libdir}/pkgconfig/theoradec.pc
|
||||||
%{_libdir}/pkgconfig/theoraenc.pc
|
%{_libdir}/pkgconfig/theoraenc.pc
|
||||||
#%doc %{_datadir}/doc/%{name}-%{version}%{?prever}/
|
%dir %{_datadir}/doc/libtheora
|
||||||
%doc doc/libtheora/html doc/vp3-format.txt doc/spec/Theora.pdf
|
%{_datadir}/doc/libtheora/*
|
||||||
%doc doc/color.html doc/draft-ietf-avt-rtp-theora-00.txt
|
|
||||||
#%doc doc/libtheora/latex
|
|
||||||
|
|
||||||
%files tools
|
%files tools
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_bindir}/png2theora
|
%{_bindir}/png2theora
|
||||||
%{_bindir}/theora_dump_video
|
%{_bindir}/theora_dump_video
|
||||||
%{_bindir}/theora_encode
|
%{_bindir}/theora_encode
|
||||||
%{_bindir}/theora_player
|
#%{_bindir}/theora_player
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Dec 11 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.0alpha1.20201211git-1mamba
|
||||||
|
- update to 1.2.0alpha1.20201211git
|
||||||
|
- aded debug package and aarch64 build fix
|
||||||
|
|
||||||
* Sat Dec 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
* Sat Dec 11 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.1-1mamba
|
||||||
- update to 1.1.1
|
- update to 1.1.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user