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