Summary: Ogg Bitstream Library - MinGW32 cross version
Summary(pl.UTF-8): Biblioteka obsługi strumieni bitowych Ogg - wersja skrośna dla MinGW32
Name: crossmingw32-%{realname}
-Version: 1.2.0
+Version: 1.2.1
Release: 1
License: BSD
Group: Development/Libraries
-Source0: http://downloads.xiph.org/releases/ogg/%{realname}-%{version}.tar.gz
-# Source0-md5: c95b73759acfc30712beef6ce4e88efa
+Source0: http://downloads.xiph.org/releases/ogg/%{realname}-%{version}.tar.xz
+# Source0-md5: 4f0e6e0e1df91ccedcae2a475dc38e09
Patch0: %{realname}-ac_fixes.patch
URL: http://www.xiph.org/ogg/
+BuildRequires: autoconf
+BuildRequires: automake >= 1:1.6
BuildRequires: crossmingw32-gcc
BuildRequires: crossmingw32-w32api
+BuildRequires: libtool
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
Requires: crossmingw32-runtime
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%patch0 -p1
%build
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
%configure \
--host=%{target} \
--target=%{target}
-diff -urN libogg-1.0rc1.org/configure.in libogg-1.0rc1/configure.in
---- libogg-1.0rc1.org/configure.in Wed Jun 27 12:09:19 2001
-+++ libogg-1.0rc1/configure.in Wed Jun 27 12:10:17 2001
-@@ -41,8 +41,8 @@
+--- libogg-1.2.1/configure.in.orig 2010-11-01 21:13:42.000000000 +0100
++++ libogg-1.2.1/configure.in 2010-11-03 21:34:19.187102452 +0100
+@@ -46,8 +46,8 @@
case $host in
*-*-linux*)
DEBUG="-g -Wall -fsigned-char"
-- CFLAGS="-O20 -ffast-math -fsigned-char"
+- CFLAGS="-O20 -Wall -ffast-math -fsigned-char"
- PROFILE="-Wall -W -pg -g -O20 -ffast-math -fsigned-char"
-+ CFLAGS="$CFLAGS -ffast-math -fsigned-char"
++ CFLAGS="$CFLAGS -Wall -ffast-math -fsigned-char"
+ PROFILE="$CFLAGS -Wall -W -pg -g -ffast-math -fsigned-char"
;;
sparc-sun-*)
- DEBUG="-g -Wall -fsigned-char -mv8"
-@@ -56,8 +56,8 @@
+ DEBUG="-g -Wall -fsigned-char"
+@@ -61,8 +61,8 @@
;;
*)
DEBUG="-g -Wall -fsigned-char"