From e48628cd0579bf49aa7690f963b3814b0fd6305c Mon Sep 17 00:00:00 2001
From: Hans de Goede <jwrdegoede@fedoraproject.org>
Date: Wed, 14 May 2008 20:48:26 +0000
Subject: [PATCH] - Fix libtheoraenc getting build but not installed

---
 libtheora-1.0beta3-undef-nonweak-symbols.patch | 6 +++---
 libtheora.spec                                 | 5 ++++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/libtheora-1.0beta3-undef-nonweak-symbols.patch b/libtheora-1.0beta3-undef-nonweak-symbols.patch
index 7327740..7117b18 100644
--- a/libtheora-1.0beta3-undef-nonweak-symbols.patch
+++ b/libtheora-1.0beta3-undef-nonweak-symbols.patch
@@ -5,7 +5,7 @@ diff -up libtheora-1.0beta3/lib/Makefile.am.foo libtheora-1.0beta3/lib/Makefile.
  libtheoraenc_la_LDFLAGS = \
    -version-info @THENC_LIB_CURRENT@:@THENC_LIB_REVISION@:@THENC_LIB_AGE@ \
    @THEORAENC_LDFLAGS@ $(OGG_LIBS)
-+libtheoraenc_la_LIBADD = libtheora.la
++libtheoraenc_la_LIBADD = libtheoradec.la
  
  libtheora_la_SOURCES = \
    cpu.c \
@@ -17,8 +17,8 @@ diff -up libtheora-1.0beta3/lib/Makefile.in.foo libtheora-1.0beta3/lib/Makefile.
  	$(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
  	$(libtheoradec_la_LDFLAGS) $(LDFLAGS) -o $@
 -libtheoraenc_la_LIBADD =
-+libtheoraenc_la_LIBADD = libtheora.la
-+libtheoraenc_la_DEPENDENCIES = libtheora.la
++libtheoraenc_la_LIBADD = libtheoradec.la
++libtheoraenc_la_DEPENDENCIES = libtheoradec.la
  am__libtheoraenc_la_SOURCES_DIST = cpu.c \
  	$(enc_arch_dir)/dct_decode_mmx.c $(enc_arch_dir)/dsp_mmx.c \
  	$(enc_arch_dir)/dsp_mmxext.c $(enc_arch_dir)/recon_mmx.c \
diff --git a/libtheora.spec b/libtheora.spec
index 67e9844..fe7ae39 100644
--- a/libtheora.spec
+++ b/libtheora.spec
@@ -1,7 +1,7 @@
 Summary: Theora Video Compression Codec
 Name: libtheora
 Version: 1.0beta3
-Release: 1%{?dist}
+Release: 2%{?dist}
 Epoch: 0
 License: BSD
 Group: System Environment/Libraries
@@ -112,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed May 14 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0:1.0beta3-2
+- Fix libtheoraenc getting build but not installed
+
 * Thu Apr 17 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.0beta3-1
 - New upstream release 1.0beta3