[521] | 1 | Summary: Simple DirectMedia Layer - Sample Image Loading Library |
---|
| 2 | Name: SDL_image |
---|
[1840] | 3 | Version: 1.2.10 |
---|
[5569] | 4 | Release: 2%{?_dist_release} |
---|
[521] | 5 | Source0: http://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz |
---|
| 6 | License: LGPL |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 9 | BuildRequires: SDL-devel |
---|
| 10 | BuildRequires: libjpeg-devel |
---|
| 11 | BuildRequires: libpng-devel |
---|
| 12 | BuildRequires: libtiff-devel |
---|
| 13 | BuildRequires: autoconf automake libtool |
---|
| 14 | BuildRequires: sane |
---|
| 15 | #BuildRequires: XOrg-devel |
---|
| 16 | |
---|
| 17 | %description |
---|
| 18 | This is a simple library to load images of various formats as SDL surfaces. |
---|
| 19 | This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats. |
---|
| 20 | |
---|
| 21 | %description -l ja |
---|
| 22 | これはSDLにて様々な画像フォーマットを扱うライブラリです。 |
---|
| 23 | このライブラリはBMP, PPM, PCX, GIF, JPEG, PNG, TIFF形式をサポートします。 |
---|
| 24 | |
---|
| 25 | %package devel |
---|
| 26 | Summary: Libraries, includes and more to develop SDL applications. |
---|
| 27 | Group: Development/Libraries |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
| 29 | Requires: SDL-devel |
---|
| 30 | |
---|
| 31 | %description devel |
---|
| 32 | This is a simple library to load images of various formats as SDL surfaces. |
---|
| 33 | This library supports BMP, PPM, PCX, GIF, JPEG, PNG, and TIFF formats. |
---|
| 34 | |
---|
| 35 | %description devel -l ja |
---|
| 36 | これはSDLにて様々な画像フォーマットを扱うライブラリです。 |
---|
| 37 | このライブラリはBMP, PPM, PCX, GIF, JPEG, PNG, TIFF形式をサポートします。 |
---|
| 38 | |
---|
| 39 | |
---|
| 40 | %prep |
---|
| 41 | %setup -q |
---|
| 42 | |
---|
| 43 | %build |
---|
| 44 | %configure |
---|
| 45 | make |
---|
| 46 | |
---|
| 47 | %install |
---|
| 48 | rm -rf $RPM_BUILD_ROOT |
---|
| 49 | |
---|
| 50 | %makeinstall |
---|
| 51 | |
---|
| 52 | #install showimage |
---|
| 53 | %__mkdir_p $RPM_BUILD_ROOT%{_bindir} |
---|
| 54 | /bin/sh ./libtool --mode=install /usr/bin/install -c showimage \ |
---|
| 55 | $RPM_BUILD_ROOT%{_bindir} |
---|
| 56 | |
---|
[1840] | 57 | rm $RPM_BUILD_ROOT%{_libdir}/*.{a,la} |
---|
[521] | 58 | |
---|
| 59 | %clean |
---|
| 60 | rm -rf $RPM_BUILD_ROOT |
---|
| 61 | |
---|
| 62 | %post -p /sbin/ldconfig |
---|
| 63 | |
---|
| 64 | %postun -p /sbin/ldconfig |
---|
| 65 | |
---|
| 66 | |
---|
| 67 | %files |
---|
| 68 | %defattr(-,root,root) |
---|
| 69 | %doc README CHANGES COPYING |
---|
| 70 | %{_bindir}/showimage* |
---|
| 71 | %{_libdir}/lib*.so.* |
---|
| 72 | |
---|
| 73 | %files devel |
---|
| 74 | %defattr(-,root,root) |
---|
| 75 | %{_libdir}/lib*.so |
---|
[1840] | 76 | %{_libdir}/pkgconfig/SDL_image.pc |
---|
[521] | 77 | %{_includedir}/SDL/ |
---|
| 78 | |
---|
| 79 | %changelog |
---|
[5569] | 80 | * Fri Feb 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.10-2 |
---|
| 81 | - rebuild with Vine6 environment |
---|
| 82 | |
---|
[1840] | 83 | * Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.10-1 |
---|
| 84 | - new upstream release |
---|
| 85 | - add pkg-config file in devel package |
---|
| 86 | - remove *.a |
---|
| 87 | |
---|
[521] | 88 | * Sat Sep 20 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-1 |
---|
| 89 | - new upstream release |
---|
| 90 | - applied new versioning policy |
---|
| 91 | - spec in UTF-8 |
---|
| 92 | |
---|
| 93 | * Mon Mar 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.5-0vl2 |
---|
| 94 | - add BuildRequires: libtiff-devel |
---|
| 95 | |
---|
| 96 | * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1 |
---|
| 97 | - new upstream release |
---|
| 98 | - added %post and %postun section |
---|
| 99 | |
---|
| 100 | * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
| 103 | * Wed Jan 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.2.3-0vl6 |
---|
| 104 | - rebuilt as -0vl6, release number should be greater than VinePlus/3.1 |
---|
| 105 | - added BuildRequires: XOrg-devel |
---|
| 106 | |
---|
| 107 | * Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.3-0vl4 |
---|
| 108 | - rebuilt without linking libasound.so.2 (ppc only fix) |
---|
| 109 | |
---|
| 110 | * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl3 |
---|
| 111 | - added japanese description |
---|
| 112 | - built by SDL-1.2.7 |
---|
| 113 | |
---|
| 114 | * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl2 |
---|
| 115 | - fixed typo in spec |
---|
| 116 | |
---|
| 117 | * Wed May 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1 |
---|
| 118 | - New upstream version (SDL_image-1.2.3) |
---|
| 119 | - Used rpmmacros |
---|
| 120 | |
---|
| 121 | * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.2-0vl1 |
---|
| 122 | - updated SDL_image-1.2.2 |
---|
| 123 | |
---|
| 124 | * Wed Jan 19 2000 Sam Lantinga |
---|
| 125 | - converted to get package information from configure |
---|
| 126 | * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com> |
---|
| 127 | - initial spec file |
---|
| 128 | |
---|
| 129 | |
---|