]> git.pld-linux.org Git - packages/SDL_gfx.git/blame - SDL_gfx.spec
- rel.2
[packages/SDL_gfx.git] / SDL_gfx.spec
CommitLineData
1798792b 1Summary: SDL graphics drawing primitives and other support functions
8339736f 2Summary(pl.UTF-8): Funkcje rysowania grafiki i inne dla SDL
1798792b 3Name: SDL_gfx
d82b051b 4Version: 2.0.19
e23e2f48 5Release: 2
d82b051b 6License: LGPL v2.1+
1798792b 7Group: Libraries
c7a61c0e 8Source0: http://www.ferzkopp.net/Software/SDL_gfx-2.0/%{name}-%{version}.tar.gz
d82b051b 9# Source0-md5: cf01ad6539ceea65887fc9ebdfe04b83
48a8a37d 10Patch0: %{name}-local-labels.patch
c7a61c0e 11URL: http://www.ferzkopp.net/Software/SDL_gfx-2.0/
1798792b 12BuildRequires: SDL-devel >= 1.2.0
54caf23a 13BuildRequires: autoconf >= 2.59-9
1798792b
JK
14BuildRequires: automake
15BuildRequires: libjpeg-devel
16BuildRequires: libpng >= 1.0.8
17BuildRequires: libtiff-devel
18BuildRequires: libtool
d82b051b 19BuildRequires: pkgconfig
1798792b
JK
20BuildRequires: zlib-devel
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
1798792b
JK
23%description
24The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
25
26The current components of the SDL_gfx library are:
91b3341b
JB
27- Graphic Primitives (SDL_gfxPrimitves.h)
28- Rotozoomer (SDL_rotozoom.h)
29- Framerate control (SDL_framerate.h)
30- MMX image filters (SDL_imageFilter.h)
1798792b 31
91b3341b 32The library is backwards compatible to the above mentioned code. It's
1798792b
JK
33is written in plain C and can be used in C++ code.
34
653e5dc2
JR
35%description -l pl.UTF-8
36Biblioteka SDL_gfx wyewoluowała z kodu SDL_gfxPrimitives.
91b3341b 37
653e5dc2 38Aktualnie SDL_gfx zawiera następujące komponenty:
91b3341b
JB
39- prymitywy graficzne (SDL_gfxPrimitives.h)
40- Rotozoomer (SDL_rotozoom.h)
653e5dc2
JR
41- kontrola szybkości rysowania obrazu (SDL_framerate.h)
42- filtry obrazów używające MMX (SDL_imageFilter.h).
91b3341b 43
653e5dc2
JR
44Biblioteka jest wstecznie kompatybilna z wyżej wspomnianym kodem. Jest
45napisana w czystym C, może też być używana w kodzie C++.
1798792b
JK
46
47%package devel
91b3341b 48Summary: Header files and more to develop SDL_gfx applications
8339736f 49Summary(pl.UTF-8): Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx
1798792b 50Group: Development/Libraries
b2912e0e 51Requires: %{name} = %{version}-%{release}
1798792b
JK
52Requires: SDL-devel
53
54%description devel
55Header files and more to develop SDL_gfx applications.
56
653e5dc2
JR
57%description devel -l pl.UTF-8
58Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx.
1798792b
JK
59
60%package static
61Summary: Static SDL_gfx libraries
8339736f 62Summary(pl.UTF-8): Statyczne biblioteki SDL_gfx
1798792b 63Group: Development/Libraries
b2912e0e 64Requires: %{name}-devel = %{version}-%{release}
1798792b
JK
65
66%description static
b6668e1d 67Static SDL_gfx libraries.
1798792b 68
653e5dc2 69%description static -l pl.UTF-8
1798792b
JK
70Statyczne biblioteki SDL_gfx.
71
72%prep
73%setup -q
80678106 74%patch0 -p1
1798792b
JK
75
76%build
b2912e0e 77rm -f acinclude.m4
490fa9ba 78%{__libtoolize}
ed62963b 79%{__aclocal}
b4cbb2ef 80%{__autoconf}
81%{__automake}
7662e164 82
bbecf461 83%configure \
b2912e0e 84%ifnarch %{ix86}
bbecf461 85 --disable-mmx
7662e164 86%endif
87
1798792b
JK
88%{__make}
89
90%install
91rm -rf $RPM_BUILD_ROOT
92
bbecf461
PG
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
1798792b 95
1798792b
JK
96%clean
97rm -rf $RPM_BUILD_ROOT
98
6a9f7e90 99%post -p /sbin/ldconfig
100%postun -p /sbin/ldconfig
91b3341b 101
1798792b
JK
102%files
103%defattr(644,root,root,755)
4592532e 104%doc README AUTHORS ChangeLog
c1d051e8 105%attr(755,root,root) %{_libdir}/libSDL_gfx.so.*.*.*
d82b051b 106%attr(755,root,root) %ghost %{_libdir}/libSDL_gfx.so.13
1798792b
JK
107
108%files devel
109%defattr(644,root,root,755)
4592532e 110%doc Docs/*
c1d051e8
JB
111%attr(755,root,root) %{_libdir}/libSDL_gfx.so
112%{_libdir}/libSDL_gfx.la
99aead48
JB
113%{_includedir}/SDL/SDL_framerate.h
114%{_includedir}/SDL/SDL_gfx*.h
115%{_includedir}/SDL/SDL_imageFilter.h
116%{_includedir}/SDL/SDL_rotozoom.h
d82b051b 117%{_pkgconfigdir}/SDL_gfx.pc
1798792b
JK
118
119%files static
120%defattr(644,root,root,755)
c1d051e8 121%{_libdir}/libSDL_gfx.a
This page took 0.053155 seconds and 4 git commands to generate.