This commit is contained in:
Matthias Clasen 2008-10-03 15:33:40 +00:00
parent e48628cd05
commit 26303152bf
3 changed files with 10 additions and 9 deletions

View File

@ -1 +1 @@
libtheora-1.0beta3.tar.gz libtheora-1.0RC1.tar.bz2

View File

@ -1,13 +1,12 @@
Summary: Theora Video Compression Codec Summary: Theora Video Compression Codec
Name: libtheora Name: libtheora
Version: 1.0beta3 Version: 1.0rc1
Release: 2%{?dist} Release: 1%{?dist}
Epoch: 0 Epoch: 0
License: BSD License: BSD
Group: System Environment/Libraries Group: System Environment/Libraries
URL: http://www.theora.org URL: http://www.theora.org
Source0: http://downloads.xiph.org/releases/theora/%{name}-%{version}.tar.gz Source0: http://downloads.xiph.org/releases/theora/libtheora-1.0RC1.tar.bz2
Patch1: libtheora-1.0alpha8-textreloc.patch
Patch2: libtheora-1.0beta3-undef-nonweak-symbols.patch Patch2: libtheora-1.0beta3-undef-nonweak-symbols.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: libogg-devel >= 2:1.1 BuildRequires: libogg-devel >= 2:1.1
@ -54,8 +53,7 @@ with theora bitstreams.
%prep %prep
%setup -q %setup -q -n libtheora-1.0RC1
%patch1 -p1
%patch2 -p1 %patch2 -p1
# no custom CFLAGS please # no custom CFLAGS please
sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure sed -i 's/CFLAGS="$CFLAGS $cflags_save"/CFLAGS="$cflags_save"/g' configure
@ -75,7 +73,7 @@ rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_libdir}/*.la rm $RPM_BUILD_ROOT/%{_libdir}/*.la
rm -r $RPM_BUILD_ROOT/%{_docdir}/%{name}-%{version} rm -r $RPM_BUILD_ROOT/%{_docdir}/*
mkdir -p $RPM_BUILD_ROOT/%{_bindir} mkdir -p $RPM_BUILD_ROOT/%{_bindir}
install -m 755 examples/.libs/dump_video $RPM_BUILD_ROOT/%{_bindir}/theora_dump_video install -m 755 examples/.libs/dump_video $RPM_BUILD_ROOT/%{_bindir}/theora_dump_video
@ -112,6 +110,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Fri Oct 3 2008 Matthias Clasen <mclasen@redhat.com> 1.0rc1-1
- Update to 1.0rc1
* Wed May 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0:1.0beta3-2 * Wed May 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0:1.0beta3-2
- Fix libtheoraenc getting build but not installed - Fix libtheoraenc getting build but not installed

View File

@ -1 +1 @@
98fbf4a7a61486db17803e0f521f6ac8 libtheora-1.0beta3.tar.gz 93fc6783b263a6576b488f7b1821df10 libtheora-1.0RC1.tar.bz2