]> git.pld-linux.org Git - packages/SDL_image.git/blob - SDL_image.spec
- raw version.
[packages/SDL_image.git] / SDL_image.spec
1 %define name SDL_image
2 %define version 1.0.4
3 %define release 1
4
5 Summary: Simple DirectMedia Layer - Sample Image Loading Library
6 Name: %{name}
7 Version: %{version}
8 Release: %{release}
9 Source0: %{name}-%{version}.tar.gz
10 Copyright: LGPL
11 Group: System Environment/Libraries
12 BuildRoot: /var/tmp/%{name}-buildroot
13 Prefix: %{_prefix}
14 Packager: Hakan Tandogan <hakan@iconsult.com>
15 BuildRequires: SDL-devel
16 BuildRequires: libjpeg-devel
17 BuildRequires: libpng-devel
18 #BuildRequires: libtiff-devel
19
20 %description
21 This is a simple library to load images of various formats as SDL surfaces.
22 This library currently supports BMP, PPM, PCX, GIF, JPEG, and PNG formats.
23
24 %package devel
25 Summary: Libraries, includes and more to develop SDL applications.
26 Group: Development/Libraries
27 Requires: %{name}
28 Requires: SDL-devel
29
30 %description devel
31 This is a simple library to load images of various formats as SDL surfaces.
32 This library currently supports BMP, PPM, PCX, GIF, JPEG, and PNG formats.
33
34 %prep
35 rm -rf ${RPM_BUILD_ROOT}
36
37 %setup 
38
39 %build
40 CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{prefix}
41 make
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 make install prefix=$RPM_BUILD_ROOT/%{prefix}
46
47 %clean
48 rm -rf $RPM_BUILD_ROOT
49
50 %files
51 %defattr(-,root,root)
52 %doc README CHANGES COPYING
53 %{prefix}/bin/showimage
54 %{prefix}/lib/lib*.so.*
55 %{prefix}/lib/lib*.so
56
57 %files devel
58 %defattr(-,root,root)
59 %{prefix}/lib/*a
60 %{prefix}/include/SDL/
61
62 %changelog
63 * Wed Jan 19 2000 Sam Lantinga 
64 - converted to get package information from configure
65 * Tue Jan 18 2000 Hakan Tandogan <hakan@iconsult.com>
66 - initial spec file
This page took 0.076181 seconds and 3 git commands to generate.