source: projects/specs/tags/6_0_REL/S/SDL_image/SDL_image-vl.spec @ 1840

Revision 1840, 3.4 KB checked in by iwaim, 14 years ago (diff)

SDL_image 1.2.10-1

Line 
1Summary: Simple DirectMedia Layer - Sample Image Loading Library
2Name: SDL_image
3Version: 1.2.10
4Release: 1%{?_dist_release}
5Source0: http://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz
6License: LGPL
7Group: System Environment/Libraries
8BuildRoot: %{_tmppath}/%{name}-%{version}-root
9BuildRequires: SDL-devel
10BuildRequires: libjpeg-devel
11BuildRequires: libpng-devel
12BuildRequires: libtiff-devel
13BuildRequires: autoconf automake libtool
14BuildRequires: sane
15#BuildRequires: XOrg-devel
16
17%description
18This is a simple library to load images of various formats as SDL surfaces.
19This 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
26Summary: Libraries, includes and more to develop SDL applications.
27Group: Development/Libraries
28Requires: %{name} = %{version}-%{release}
29Requires: SDL-devel
30
31%description devel
32This is a simple library to load images of various formats as SDL surfaces.
33This 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
45make
46
47%install
48rm -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
57rm $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
58
59%clean
60rm -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
76%{_libdir}/pkgconfig/SDL_image.pc
77%{_includedir}/SDL/
78
79%changelog
80* Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.10-1
81- new upstream release
82- add pkg-config file in devel package
83- remove *.a
84
85* Sat Sep 20 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-1
86- new upstream release
87- applied new versioning policy
88- spec in UTF-8
89
90* Mon Mar 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.5-0vl2
91- add BuildRequires: libtiff-devel
92
93* Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1
94- new upstream release
95- added %post and %postun section
96
97* Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
98- new upstream release
99
100* Wed Jan 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.2.3-0vl6
101- rebuilt as -0vl6, release number should be greater than VinePlus/3.1
102- added BuildRequires: XOrg-devel
103
104* Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.3-0vl4
105- rebuilt without linking libasound.so.2 (ppc only fix)
106
107* Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl3
108- added japanese description
109- built by SDL-1.2.7
110
111* Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl2
112- fixed typo in spec
113
114* Wed May 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1
115- New upstream version (SDL_image-1.2.3)
116- Used rpmmacros
117
118* Thu Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.2-0vl1
119- updated SDL_image-1.2.2
120
121* Wed Jan 19 2000 Sam Lantinga
122- converted to get package information from configure
123* Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
124- initial spec file
125
126
Note: See TracBrowser for help on using the repository browser.