-diff -ur avifile-0.47.1.orig/samples/benchmark/Makefile.in avifile-0.47.1/samples/benchmark/Makefile.in
---- avifile-0.47.1.orig/samples/benchmark/Makefile.in Wed Aug 23 12:49:24 2000
-+++ avifile-0.47.1/samples/benchmark/Makefile.in Thu Sep 14 16:28:27 2000
+diff -urN avifile-0.48.orig/samples/benchmark/Makefile.in avifile-0.48/samples/benchmark/Makefile.in
+--- avifile-0.48.orig/samples/benchmark/Makefile.in Wed Sep 27 16:46:06 2000
++++ avifile-0.48/samples/benchmark/Makefile.in Wed Sep 27 16:46:23 2000
@@ -6,7 +6,7 @@
MOC=@MOC@
CDOPT=@CD_OPT@
-Only in avifile-0.47.1/samples/benchmark: Makefile.in~
-diff -ur avifile-0.47.1.orig/samples/extractor/Makefile.in avifile-0.47.1/samples/extractor/Makefile.in
---- avifile-0.47.1.orig/samples/extractor/Makefile.in Sun Sep 10 11:10:21 2000
-+++ avifile-0.47.1/samples/extractor/Makefile.in Thu Sep 14 16:28:42 2000
+diff -urN avifile-0.48.orig/samples/extractor/Makefile.in avifile-0.48/samples/extractor/Makefile.in
+--- avifile-0.48.orig/samples/extractor/Makefile.in Wed Sep 27 16:46:06 2000
++++ avifile-0.48/samples/extractor/Makefile.in Wed Sep 27 16:46:23 2000
@@ -1,5 +1,5 @@
CPPFLAGS=-g -I../../include
-LIBS=@X_LDFLAGS@ @LIBS@ -laviplay -L../../lib
OBJS=extractor.o
-Only in avifile-0.47.1/samples/extractor: Makefile.in~
-diff -ur avifile-0.47.1.orig/samples/plustest/Makefile.in avifile-0.47.1/samples/plustest/Makefile.in
---- avifile-0.47.1.orig/samples/plustest/Makefile.in Sat Sep 9 19:53:32 2000
-+++ avifile-0.47.1/samples/plustest/Makefile.in Thu Sep 14 16:29:03 2000
+diff -urN avifile-0.48.orig/samples/plustest/Makefile.in avifile-0.48/samples/plustest/Makefile.in
+--- avifile-0.48.orig/samples/plustest/Makefile.in Wed Sep 27 16:46:06 2000
++++ avifile-0.48/samples/plustest/Makefile.in Wed Sep 27 16:46:23 2000
@@ -1,6 +1,6 @@
CPPFLAGS=-g -I../../include
OPTFLAGS=-I..
OBJS=main.o
-Only in avifile-0.47.1/samples/plustest: Makefile.in~
-diff -ur avifile-0.47.1.orig/samples/qtvidcap/Makefile.in avifile-0.47.1/samples/qtvidcap/Makefile.in
---- avifile-0.47.1.orig/samples/qtvidcap/Makefile.in Tue Sep 12 17:43:45 2000
-+++ avifile-0.47.1/samples/qtvidcap/Makefile.in Thu Sep 14 16:29:21 2000
+diff -urN avifile-0.48.orig/samples/qtvidcap/Makefile.in avifile-0.48/samples/qtvidcap/Makefile.in
+--- avifile-0.48.orig/samples/qtvidcap/Makefile.in Wed Sep 27 16:46:06 2000
++++ avifile-0.48/samples/qtvidcap/Makefile.in Wed Sep 27 16:47:24 2000
@@ -9,7 +9,7 @@
MOC=@MOC@
- LIBS=@LIBS@ -lX11 -lXext -lXxf86dga -lqt -laviplay $(DGA_LDADD) @SDL_LIBS@
+ LIBS=@LIBS@ -lX11 -lXext -lqt -laviplay $(DGA_LDADD) @SDL_LIBS@
-LIB_DIRS=$(QT_LDADD) -L/usr/X11R6/lib -L../../lib
-+LIB_DIRS=-L../../lib $(QT_LDADD) -L/usr/X11R6/lib
++LIB_DIRS=-L../../lib $(QT_LDADD) -L/usr/X11R6/lib
CDOPT=@CD_OPT@
LDOPT=@LD_OPT@
QT_LDADD=@QT_LDFLAGS@
-Only in avifile-0.47.1/samples/qtvidcap: Makefile.in~
-diff -ur avifile-0.47.1.orig/samples/recompressor/Makefile.in avifile-0.47.1/samples/recompressor/Makefile.in
---- avifile-0.47.1.orig/samples/recompressor/Makefile.in Mon Sep 11 15:44:03 2000
-+++ avifile-0.47.1/samples/recompressor/Makefile.in Thu Sep 14 16:29:34 2000
+diff -urN avifile-0.48.orig/samples/recompressor/Makefile.in avifile-0.48/samples/recompressor/Makefile.in
+--- avifile-0.48.orig/samples/recompressor/Makefile.in Wed Sep 27 16:46:06 2000
++++ avifile-0.48/samples/recompressor/Makefile.in Wed Sep 27 16:46:23 2000
@@ -1,5 +1,5 @@
CPPFLAGS=-g -I../../include
-LIBS=@X_LDFLAGS@ @LIBS@ -laviplay -L../../lib
OBJS=recompr.o
-Only in avifile-0.47.1/samples/recompressor: Makefile.in~
-diff -ur avifile-0.47.1.orig/samples/regeditor/Makefile.in avifile-0.47.1/samples/regeditor/Makefile.in
---- avifile-0.47.1.orig/samples/regeditor/Makefile.in Sat Aug 19 09:46:14 2000
-+++ avifile-0.47.1/samples/regeditor/Makefile.in Thu Sep 14 16:30:03 2000
+diff -urN avifile-0.48.orig/samples/regeditor/Makefile.in avifile-0.48/samples/regeditor/Makefile.in
+--- avifile-0.48.orig/samples/regeditor/Makefile.in Wed Sep 27 16:46:06 2000
++++ avifile-0.48/samples/regeditor/Makefile.in Wed Sep 27 16:46:23 2000
@@ -13,4 +13,4 @@
$(CC) $(CFLAGS) $(DEFINES) -c $<
regeditor: $(LIB_OBJECTS)
- $(CC) $(LIB_OBJECTS) -lloader -L../../lib -o ../../bin/regeditor
+ $(CC) $(LIB_OBJECTS) -L../../lib -lloader -o ../../bin/regeditor
-Only in avifile-0.47.1/samples/regeditor: Makefile.in~
Summary: Library and sample program for playing AVI files
Summary(pl): Biblioteka i przyk³adowy program do odtwarzania plików AVI
Name: avifile
-Version: 0.47.1
+Version: 0.48
Release: 1
Group: X11/Applications/Multimedia
Group(pl): X11/Aplikacje/Multimedia
License: GPL
Source0: http://divx.euro.ru/%{name}-%{version}.tar.gz
-Patch1: %{name}-DESTDIR.patch
-Patch2: %{name}-old_ver_conflict.patch
+Patch0: %{name}-DESTDIR.patch
+Patch1: %{name}-old_ver_conflict.patch
# Note: using non-standard optimizations generated non-working binary.
-#Patch3: %{name}-OPT_FLAGS.patch
+#Patch2: %{name}-OPT_FLAGS.patch
Requires: avi-codecs
BuildRequires: unzip
BuildRequires: libstdc++-devel
%prep
%setup -q
+%patch0 -p1
%patch1 -p1
-%patch2 -p1
find . -exec touch {} \;
%build