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