[mingw-SDL_mixer] Update to 1.2.12

Erik van Pienbroek epienbro at fedoraproject.org
Sat Jun 2 17:22:48 UTC 2012


commit 160bb7f68c2db683d422f8de58e16c0571315920
Author: Erik van Pienbroek <epienbro at fedoraproject.org>
Date:   Sat Jun 2 19:22:25 2012 +0200

    Update to 1.2.12
    
    - Update to 1.2.12
    - Upstream switched license from LGPLv2+ to zlib
    - Removed rpath hacks as they are not relevant for the win32/win64 targets
    - Removed configure arguments which are not relevant for the win32/win64 targets

 mingw-SDL_mixer.spec |   29 ++++++++++++-----------------
 1 files changed, 12 insertions(+), 17 deletions(-)
---
diff --git a/mingw-SDL_mixer.spec b/mingw-SDL_mixer.spec
index 19aec76..90257b3 100644
--- a/mingw-SDL_mixer.spec
+++ b/mingw-SDL_mixer.spec
@@ -1,11 +1,11 @@
-%?mingw_package_header
+%{?mingw_package_header}
 
 Name:           mingw-SDL_mixer
-Version:        1.2.11
-Release:        8%{?dist}
+Version:        1.2.12
+Release:        1%{?dist}
 Summary:        MinGW Windows port of Simple DirectMedia Layer's Sample Mixer Library
 
-License:        LGPLv2+
+License:        zlib
 Group:          Development/Libraries
 URL:            http://www.libsdl.org/projects/SDL_mixer/
 Source0:        http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-%{version}.tar.gz
@@ -17,12 +17,14 @@ BuildRequires:  mingw32-gcc
 BuildRequires:  mingw32-binutils
 BuildRequires:  mingw32-win-iconv
 BuildRequires:  mingw32-SDL
+BuildRequires:  mingw32-libvorbis
 
 BuildRequires:  mingw64-filesystem >= 95
 BuildRequires:  mingw64-gcc
 BuildRequires:  mingw64-binutils
 BuildRequires:  mingw64-win-iconv
 BuildRequires:  mingw64-SDL
+BuildRequires:  mingw64-libvorbis
 
 
 %description
@@ -62,28 +64,15 @@ MikMod MOD library.
 
 %build
 %mingw_configure \
-    --disable-dependency-tracking \
-    --enable-music-mod \
     --disable-music-flac \
     --disable-static
 
-# Remove rpath as per https://fedoraproject.org/wiki/Packaging/Guidelines#Beware_of_Rpath
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' build_win32/libtool
-sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' build_win64/libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' build_win32/libtool
-sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' build_win64/libtool
-
 %mingw_make %{?_smp_mflags}
 
 
 %install
 %mingw_make DESTDIR=$RPM_BUILD_ROOT install
 
-# silence rpmlint:
-iconv --from=ISO-8859-1 --to=UTF-8 CHANGES > CHANGES.new && \
-touch -r CHANGES CHANGES.new && \
-mv CHANGES.new CHANGES
-
 # Drop all .la files
 find $RPM_BUILD_ROOT -name "*.la" -delete
 
@@ -106,6 +95,12 @@ find $RPM_BUILD_ROOT -name "*.la" -delete
 
 
 %changelog
+* Sat Jun 02 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.2.12-1
+- Update to 1.2.12
+- Upstream switched license from LGPLv2+ to zlib
+- Removed rpath hacks as they are not relevant for the win32/win64 targets
+- Removed configure arguments which are not relevant for the win32/win64 targets
+
 * Sat Apr 14 2012 Erik van Pienbroek <epienbro at fedoraproject.org> - 1.2.11-8
 - Added win64 support (contributed by Mikkel Kruse Johnsen)
 - Use parallel make


More information about the scm-commits mailing list