]> git.pld-linux.org Git - packages/SDL_image.git/blame - SDL_image.spec
- no longer needed
[packages/SDL_image.git] / SDL_image.spec
CommitLineData
7f4d1a21 1Summary: Simple DirectMedia Layer - Sample Image Loading Library
6a02ff81
ER
2Summary(pl.UTF-8): Przykładowa biblioteka do ładowania obrazków
3Summary(pt_BR.UTF-8): Simple DirectMedia Layer - Biblioteca exemplo para carga de Imagens
ea1b2ce1 4Name: SDL_image
14ab01ba 5Version: 1.2.7
6Release: 1
6a4c1856 7License: LGPL v2.1+
ea1b2ce1 8Group: Libraries
983150b6 9Source0: http://www.libsdl.org/projects/SDL_image/release/%{name}-%{version}.tar.gz
14ab01ba 10# Source0-md5: a729ff61f74f0a45ec7fe36354cf938e
fff12f80 11URL: http://www.libsdl.org/projects/SDL_image/
2ddf60ef 12BuildRequires: SDL-devel >= 1.2.10
8d9d3b5e 13BuildRequires: autoconf
14BuildRequires: automake
d89af22e 15BuildRequires: libjpeg-devel >= 6b
6a4c1856
JB
16BuildRequires: libpng-devel >= 2:1.2.0
17BuildRequires: libtiff-devel >= 3
8d9d3b5e 18BuildRequires: libtool
2ddf60ef 19Requires: SDL >= 1.2.10
1843ad0e 20Obsoletes: libSDL_image1.2
fee6c0ad 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ea1b2ce1 22
6533b2c9 23%description
e06ff6de 24This is a simple library to load images of various formats as SDL
25surfaces. This library currently supports BMP, PPM, PCX, GIF, JPEG,
26and PNG formats.
6533b2c9 27
6cacee76
JR
28%description -l pl.UTF-8
29jest to prosta biblioteka służąca do ładowania różnego formatu obrazków
30jako powierzchni SDL. W chwili obecnej biblioteka obsługuje
31następujące formaty: BMP, PPM, PCX, GIF, JPEG oraz PNG.
d65af93b 32
6cacee76 33%description -l pt_BR.UTF-8
4add988f 34Simple DirectMedia Layer - Biblioteca exemplo para carga de Imagens.
35
6533b2c9 36%package devel
4add988f 37Summary: Header files and more to develop SDL_image applications
6a02ff81
ER
38Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_image
39Summary(pt_BR.UTF-8): Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações SDL
ea1b2ce1 40Group: Development/Libraries
2c78cf22 41Requires: %{name} = %{version}-%{release}
2ddf60ef 42Requires: SDL-devel >= 1.2.10
1843ad0e 43Obsoletes: libSDL_image1.2-devel
6533b2c9 44
45%description devel
ea1b2ce1 46Header files and more to develop SDL_image applications.
6533b2c9 47
6cacee76
JR
48%description devel -l pl.UTF-8
49Pliki nagłówkowe do rozwijania aplikacji używających SDL_image.
fff12f80 50
6cacee76
JR
51%description devel -l pt_BR.UTF-8
52Bibliotecas e arquivos de inclusão para desenvolvimento de aplicações
4add988f 53SDL.
54
ea1b2ce1 55%package static
fff12f80 56Summary: Static SDL_image libraries
6a02ff81
ER
57Summary(pl.UTF-8): Statyczne biblioteki SDL_image
58Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento de aplicações SDL
ea1b2ce1 59Group: Development/Libraries
2c78cf22 60Requires: %{name}-devel = %{version}-%{release}
ea1b2ce1 61
62%description static
63Statis SDL_image libraries.
6533b2c9 64
6cacee76 65%description static -l pl.UTF-8
fff12f80
AM
66Statyczne biblioteki SDL_image.
67
6cacee76
JR
68%description static -l pt_BR.UTF-8
69Bibliotecas estáticas para desenvolvimento de aplicações SDL.
4add988f 70
ea1b2ce1 71%prep
4add988f 72%setup -q
6533b2c9 73
a27eb965 74rm -f acinclude.m4
9d17b6f2
JB
75
76%build
d2548248 77%{__libtoolize}
c1e28d9f 78%{__aclocal}
9b7600fc 79%{__autoconf}
80%{__automake}
199fb27d 81%configure \
d89af22e
JB
82 jpg_lib=libjpeg.so.62 \
83 png_lib=libpng12.so.0 \
84 tif_lib=libtiff.so.3 \
6f9850dd 85 --enable-bmp \
86 --enable-gif \
87 --enable-jpg \
88 --enable-pcx \
89 --enable-png \
90 --enable-ppm \
91 --enable-tif
ea1b2ce1 92
b7ebbe93 93%{__make}
6533b2c9 94
95%install
96rm -rf $RPM_BUILD_ROOT
b9acb865 97install -d $RPM_BUILD_ROOT%{_bindir}
ea1b2ce1 98
43fa5666
PG
99%{__make} install \
100 DESTDIR=$RPM_BUILD_ROOT
8d9d3b5e 101
c2b81651 102install .libs/showimage $RPM_BUILD_ROOT%{_bindir}/sdlshow
6533b2c9 103
104%clean
105rm -rf $RPM_BUILD_ROOT
106
999f21b0 107%post -p /sbin/ldconfig
108%postun -p /sbin/ldconfig
199fb27d 109
6533b2c9 110%files
ea1b2ce1 111%defattr(644,root,root,755)
d89af22e 112%doc CHANGES README
6a4c1856
JB
113%attr(755,root,root) %{_bindir}/sdlshow
114%attr(755,root,root) %{_libdir}/libSDL_image-*.so.*.*.*
14ab01ba 115%attr(755,root,root) %ghost %{_libdir}/libSDL_image-1.2.so.0
6533b2c9 116
117%files devel
ea1b2ce1 118%defattr(644,root,root,755)
6a4c1856
JB
119%attr(755,root,root) %{_libdir}/libSDL_image.so
120%{_libdir}/libSDL_image.la
121%{_includedir}/SDL/SDL_image.h
ea1b2ce1 122
123%files static
e06ff6de 124%defattr(644,root,root,755)
6a4c1856 125%{_libdir}/libSDL_image.a
This page took 0.072837 seconds and 4 git commands to generate.