1 | Summary: Simple DirectMedia Layer - Sample Image Loading Library |
---|
2 | Name: SDL_image |
---|
3 | Version: 1.2.6 |
---|
4 | Release: 1%{?_dist_release} |
---|
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 | |
---|
57 | rm $RPM_BUILD_ROOT%{_libdir}/*.la |
---|
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*.a |
---|
76 | %{_libdir}/lib*.so |
---|
77 | %{_includedir}/SDL/ |
---|
78 | |
---|
79 | %changelog |
---|
80 | * Sat Sep 20 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-1 |
---|
81 | - new upstream release |
---|
82 | - applied new versioning policy |
---|
83 | - spec in UTF-8 |
---|
84 | |
---|
85 | * Mon Mar 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.5-0vl2 |
---|
86 | - add BuildRequires: libtiff-devel |
---|
87 | |
---|
88 | * Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1 |
---|
89 | - new upstream release |
---|
90 | - added %post and %postun section |
---|
91 | |
---|
92 | * Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1 |
---|
93 | - new upstream release |
---|
94 | |
---|
95 | * Wed Jan 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.2.3-0vl6 |
---|
96 | - rebuilt as -0vl6, release number should be greater than VinePlus/3.1 |
---|
97 | - added BuildRequires: XOrg-devel |
---|
98 | |
---|
99 | * Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.3-0vl4 |
---|
100 | - rebuilt without linking libasound.so.2 (ppc only fix) |
---|
101 | |
---|
102 | * Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl3 |
---|
103 | - added japanese description |
---|
104 | - built by SDL-1.2.7 |
---|
105 | |
---|
106 | * Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl2 |
---|
107 | - fixed typo in spec |
---|
108 | |
---|
109 | * Wed May 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1 |
---|
110 | - New upstream version (SDL_image-1.2.3) |
---|
111 | - Used rpmmacros |
---|
112 | |
---|
113 | * Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.2-0vl1 |
---|
114 | - updated SDL_image-1.2.2 |
---|
115 | |
---|
116 | * Wed Jan 19 2000 Sam Lantinga |
---|
117 | - converted to get package information from configure |
---|
118 | * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com> |
---|
119 | - initial spec file |
---|
120 | |
---|
121 | |
---|