packages: crossmingw32-SDL_image/crossmingw32-SDL_image.spec - updated to 1...
qboosh
qboosh at pld-linux.org
Tue Sep 7 20:41:15 CEST 2010
Author: qboosh Date: Tue Sep 7 18:41:15 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- updated to 1.2.10
---- Files affected:
packages/crossmingw32-SDL_image:
crossmingw32-SDL_image.spec (1.18 -> 1.19)
---- Diffs:
================================================================
Index: packages/crossmingw32-SDL_image/crossmingw32-SDL_image.spec
diff -u packages/crossmingw32-SDL_image/crossmingw32-SDL_image.spec:1.18 packages/crossmingw32-SDL_image/crossmingw32-SDL_image.spec:1.19
--- packages/crossmingw32-SDL_image/crossmingw32-SDL_image.spec:1.18 Mon Jul 28 00:22:42 2008
+++ packages/crossmingw32-SDL_image/crossmingw32-SDL_image.spec Tue Sep 7 20:41:10 2010
@@ -3,22 +3,22 @@
Summary: Simple DirectMedia Layer - Sample Image Loading Library - Mingw32 cross version
Summary(pl.UTF-8): Przykładowa biblioteka do ładowania obrazków - wersja skrośna dla Mingw32
Name: crossmingw32-%{realname}
-Version: 1.2.6
-Release: 2
+Version: 1.2.10
+Release: 1
License: LGPL v2.1+
Group: Libraries
Source0: http://www.libsdl.org/projects/SDL_image/release/%{realname}-%{version}.tar.gz
-# Source0-md5: b866dc4f647517bdaf57f6ffdefd013e
+# Source0-md5: 6c06584b31559e2b59f2b982d0d1f628
URL: http://www.libsdl.org/projects/SDL_image/
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: crossmingw32-SDL >= 1.2.10
BuildRequires: crossmingw32-gcc
-BuildRequires: crossmingw32-libjpeg >= 6b
+BuildRequires: crossmingw32-libjpeg >= 7
BuildRequires: crossmingw32-libpng >= 1.2.0
BuildRequires: crossmingw32-w32api
-BuildRequires: crossmingw32-zlib
-BuildRequires: libtool
+BuildRequires: libtool >= 2:2.0
+BuildRequires: pkgconfig >= 1:0.9.0
Requires: crossmingw32-SDL >= 1.2.10
Requires: crossmingw32-runtime
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -31,14 +31,17 @@
%define _sysprefix /usr
%define _prefix %{_sysprefix}/%{target}
%define _libdir %{_prefix}/lib
+%define _pkgconfigdir %{_prefix}/lib/pkgconfig
%define _dlldir /usr/share/wine/windows/system
%define __cc %{target}-gcc
%define __cxx %{target}-g++
-%ifarch alpha sparc sparc64 sparcv9
-# alpha's -mieee and sparc's -mtune=* are not valid for target's gcc
+%ifnarch %{ix86}
+# arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
%define optflags -O2
%endif
+# -z options are invalid for mingw linker
+%define filterout_ld -Wl,-z,.*
%description
This is a simple library to load images of various formats as SDL
@@ -82,26 +85,18 @@
%prep
%setup -q -n %{realname}-%{version}
-rm -f acinclude.m4
-
%build
+export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig
%{__libtoolize}
%{__aclocal}
%{__autoconf}
%{__automake}
# no sdl test, because it requires configured wine to work
%configure \
- png_lib=libpng12-0.dll \
--host=%{target} \
--target=%{target} \
--with-sdl-prefix=%{_prefix} \
- --disable-sdltest \
- --enable-bmp \
- --enable-gif \
- --enable-jpg \
- --enable-pcx \
- --enable-png \
- --enable-tga
+ --disable-sdltest
# LIBS hack for libtool not detecting libraries without .la files
%{__make} \
@@ -130,6 +125,7 @@
%{_libdir}/libSDL_image.dll.a
%{_libdir}/libSDL_image.la
%{_includedir}/SDL/SDL_image.h
+%{_pkgconfigdir}/SDL_image.pc
%files static
%defattr(644,root,root,755)
@@ -145,6 +141,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.19 2010/09/07 18:41:10 qboosh
+- updated to 1.2.10
+
Revision 1.18 2008/07/27 22:22:42 arekm
- release 2
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/crossmingw32-SDL_image/crossmingw32-SDL_image.spec?r1=1.18&r2=1.19&f=u
More information about the pld-cvs-commit
mailing list