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

Revision 8073, 3.6 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Summary: Simple DirectMedia Layer - Sample Image Loading Library
2Name: SDL_image
3Version: 1.2.12
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
16Vendor: Project Vine
17Distribution: Vine Linux
18
19%description
20This is a simple library to load images of various formats as SDL surfaces.
21This 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
28Summary: Libraries, includes and more to develop SDL applications.
29Group: Development/Libraries
30Requires: %{name} = %{version}-%{release}
31Requires: SDL-devel
32
33%description devel
34This is a simple library to load images of various formats as SDL surfaces.
35This 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
47make
48
49%install
50rm -rf $RPM_BUILD_ROOT
51
52make install DESTDIR=$RPM_BUILD_ROOT
53
54#install showimage
55%__mkdir_p $RPM_BUILD_ROOT%{_bindir}
56/bin/sh ./libtool  --mode=install /usr/bin/install -c showimage \
57$RPM_BUILD_ROOT%{_bindir}
58
59rm $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%post -p /sbin/ldconfig
65
66%postun -p /sbin/ldconfig
67
68
69%files
70%defattr(-,root,root)
71%doc README CHANGES COPYING
72%{_bindir}/showimage*
73%{_libdir}/lib*.so.*
74
75%files devel
76%defattr(-,root,root)
77%{_libdir}/lib*.so
78%{_libdir}/pkgconfig/SDL_image.pc
79%{_includedir}/SDL/
80
81%changelog
82* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-2
83- rebuild with VineSeed environment
84
85* Sun Jun 24 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.12-1
86- new upstream release
87
88* Mon Sep 20 2010 IWAI, Masaharu <iwai@alib.jp> 1.2.10-1
89- new upstream release
90- add pkg-config file in devel package
91- remove *.a
92
93* Sat Sep 20 2008 Ryoiochi INAGAKI <ryo1@bc.wakwak.com> 1.2.6-1
94- new upstream release
95- applied new versioning policy
96- spec in UTF-8
97
98* Mon Mar 12 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.5-0vl2
99- add BuildRequires: libtiff-devel
100
101* Mon Jan 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.2.5-0vl1
102- new upstream release
103- added %post and %postun section
104
105* Sat Mar 19 2005 Satoshi MACHINO <machino@vinelinux.org> 1.2.4-0vl1
106- new upstream release
107
108* Wed Jan 19 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 1.2.3-0vl6
109- rebuilt as -0vl6, release number should be greater than VinePlus/3.1
110- added BuildRequires: XOrg-devel
111
112* Sun Oct 24 2004 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.3-0vl4
113- rebuilt without linking libasound.so.2 (ppc only fix)
114
115* Wed May 05 2004 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl3
116- added japanese description
117- built by SDL-1.2.7
118
119* Sun May 11 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl2
120- fixed typo in spec
121
122* Wed May 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.2.3-0vl1
123- New upstream version (SDL_image-1.2.3)
124- Used rpmmacros
125
126* Tue Apr 30 2002 Satoshi MACHINO <machino@vinelinux.org> 1.2.2-0vl1
127- updated SDL_image-1.2.2
128
129* Wed Jan 19 2000 Sam Lantinga
130- converted to get package information from configure
131* Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
132- initial spec file
133
134
Note: See TracBrowser for help on using the repository browser.