Browse Source

SDL_image: rebuit

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@9269 ec354946-7b23-47d6-9f5a-488ba84defc7
daisuke 7 years ago
parent
commit
199353ebb8
1 changed files with 11 additions and 3 deletions
  1. 11 3
      S/SDL_image/SDL_image-vl.spec

+ 11 - 3
S/SDL_image/SDL_image-vl.spec

@@ -1,7 +1,7 @@
 Summary: Simple DirectMedia Layer - Sample Image Loading Library
 Name: SDL_image
 Version: 1.2.12
-Release: 2%{?_dist_release}
+Release: 3%{?_dist_release}
 Source0: http://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz
 License: LGPL
 Group: System Environment/Libraries
@@ -43,7 +43,12 @@ This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats.
 %setup -q
 
 %build
-%configure
+%configure \
+        --enable-tif                            \
+        --disable-jpg-shared                    \
+        --disable-png-shared                    \
+        --disable-tif-shared                    \
+        --disable-static
 make
 
 %install
@@ -56,7 +61,7 @@ make install DESTDIR=$RPM_BUILD_ROOT
 /bin/sh ./libtool  --mode=install /usr/bin/install -c showimage \
 $RPM_BUILD_ROOT%{_bindir}
 
-rm $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
+rm -f %{buildroot}%{_libdir}/lib*.la
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -79,6 +84,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_includedir}/SDL/
 
 %changelog
+* Mon Jan  5 2015 Daisuke SUZUKI <daisuke@vinelinux.org> 1.2.12-3
+- rebuild
+
 * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-2
 - rebuild with VineSeed environment