]> git.pld-linux.org Git - packages/avifile.git/blobdiff - avifile.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/avifile.git] / avifile.spec
index 9de5a067e5203f9c58b65eaec020f49c2eea3614..45f93ef8d53672b05e105c63fb515f69d9865ef0 100644 (file)
@@ -11,7 +11,7 @@ Summary(pl):  Biblioteka do odtwarzania plik
 Summary(pt_BR):        Biblioteca para reproduzir formatos de áudio e vídeo usando binários win32
 Name:          avifile
 Version:       0.7.16
-Release:       0.%{_snap}.1
+Release:       0.%{_snap}.3%{?_with_divx4:+divx4}
 Epoch:         3
 License:       GPL
 Group:         X11/Libraries
@@ -19,6 +19,8 @@ Source0:      http://avifile.sourceforge.net/%{name}-%{version}-%{_snap}.tgz
 Source1:       %{name}.desktop
 Patch0:                %{name}-shareware.patch
 Patch1:                %{name}-no_libnsl.patch
+Patch2:                %{name}-vidix.patch
+Patch3:                %{name}-configure.patch
 URL:           http://avifile.sourceforge.net/
 BuildRequires: SDL-devel >= 1.2.0
 BuildRequires: XFree86-devel
@@ -214,12 +216,14 @@ Dekoder i koder XVID.
 %setup -q -n avifile0.7-%{version}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 %build
 rm -f missing aclocal.m4
 %{__libtoolize}
 %{__aclocal}
-autoheader
+%{__autoheader}
 %{__autoconf}
 %{__automake}
 
@@ -245,11 +249,7 @@ for f in $GEN_MOC; do moc -o "${f%.[!.]*}.moc" "$f"; done
        --enable-ffmpeg \
        --enable-ffmpeg-a52 \
        %{?_with_divx4:--enable-divx4} \
-%ifarch i586 i686 athlon
-       --enable-x86opt \
-%else
        --disable-x86opt \
-%endif
        %{?_without_qt:--without-qt}
 
 touch lib/dummy.cpp
@@ -304,6 +304,7 @@ rm -rf $RPM_BUILD_ROOT
 %files aviplay
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/aviplay
+%{_mandir}/man1/aviplay.1*
 %{_datadir}/%{name}*
 %{_applnkdir}/Multimedia/*
 %{_pixmapsdir}/*
@@ -348,7 +349,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_libdir}/avifile*/mp3lamebin_audioenc.so*
 %attr(755,root,root) %{_libdir}/avifile*/mp3lamebin_audioenc.la
 
-%ifarch %{ix86} ppc sparc sparc64 sparcv9
+%ifarch %{ix86} ppc
 %files xvid
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/avifile*/xvid.so*
This page took 0.054489 seconds and 4 git commands to generate.