source: projects/specs/trunk/S/SDL_image/SDL_image-vl.spec @ 521

Revision 521, 3.3 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Summary: Simple DirectMedia Layer - Sample Image Loading Library
2Name: SDL_image
3Version: 1.2.6
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}/*.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*.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
Note: See TracBrowser for help on using the repository browser.