source: projects/specs/branches/6/S/SDL_image/SDL_image-vl.spec @ 5569

Revision 5569, 3.5 KB checked in by Takemikaduchi, 12 years ago (diff)

rebuild packages

Line 
1Summary: Simple DirectMedia Layer - Sample Image Loading Library
2Name: SDL_image
3Version: 1.2.10
4Release: 2%{?_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* Fri Feb 03 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.10-2
81- rebuild with Vine6 environment
82
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
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
Note: See TracBrowser for help on using the repository browser.