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