]> git.pld-linux.org Git - packages/SDL_gfx.git/blobdiff - SDL_gfx.spec
- updated URL
[packages/SDL_gfx.git] / SDL_gfx.spec
index 0500aaf934a365d299f403519942793e7d3a56f7..35a5a75d936ddaa82d7c1115cd453a70e9147393 100644 (file)
@@ -1,25 +1,24 @@
 Summary:       SDL graphics drawing primitives and other support functions
-Summary(pl):   Funkcje rysowania grafiki i inne dla SDL
+Summary(pl.UTF-8):     Funkcje rysowania grafiki i inne dla SDL
 Name:          SDL_gfx
-Version:       2.0.3
-Release:       3
-License:       LGPL
+Version:       2.0.21
+Release:       1
+License:       LGPL v2.1+
 Group:         Libraries
-Source0:       http://www.ferzkopp.net/Software/%{name}-2.0/%{name}-%{version}.tar.gz
-# Source0-md5: 45bbe736da6f25db917eab9801cb085e
-URL:           http://www.ferzkopp.net/Software/%{name}-2.0/index.html
+#Source0Download: http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx
+Source0:       http://www.ferzkopp.net/Software/SDL_gfx-2.0/%{name}-%{version}.tar.gz
+# Source0-md5: f3794d809ed6a415fb20dcc4c8ab9f5e
+Patch0:                %{name}-local-labels.patch
+URL:           http://www.ferzkopp.net/joomla/software-mainmenu-14/4-ferzkopps-linux-software/19-sdlgfx
 BuildRequires: SDL-devel >= 1.2.0
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.59-9
 BuildRequires: automake
-BuildRequires: libjpeg-devel
-BuildRequires: libpng >= 1.0.8
-BuildRequires: libtiff-devel
 BuildRequires: libtool
-BuildRequires: zlib-devel
+BuildRequires: pkgconfig
+BuildRequires: rpmbuild(macros) >= 1.566
+BuildRequires: sed >= 4.0
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _includedir     /usr/include/SDL
-
 %description
 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
 
@@ -32,57 +31,57 @@ The current components of the SDL_gfx library are:
 The library is backwards compatible to the above mentioned code. It's
 is written in plain C and can be used in C++ code.
 
-%description -l pl
-Biblioteka SDL_gfx wyewoluowa³a z kodu SDL_gfxPrimitives.
+%description -l pl.UTF-8
+Biblioteka SDL_gfx wyewoluowała z kodu SDL_gfxPrimitives.
 
-Aktualnie SDL_gfx zawiera nastêpuj±ce komponenty:
+Aktualnie SDL_gfx zawiera następujące komponenty:
 - prymitywy graficzne (SDL_gfxPrimitives.h)
 - Rotozoomer (SDL_rotozoom.h)
-- kontrola szybkoci rysowania obrazu (SDL_framerate.h)
-- filtry obrazów u¿ywaj±ce MMX (SDL_imageFilter.h).
+- kontrola szybkości rysowania obrazu (SDL_framerate.h)
+- filtry obrazów używające MMX (SDL_imageFilter.h).
 
-Biblioteka jest wstecznie kompatybilna z wy¿ej wspomnianym kodem. Jest
-napisana w czystym C, mo¿e te¿ byæ u¿ywana w kodzie C++.
+Biblioteka jest wstecznie kompatybilna z wyżej wspomnianym kodem. Jest
+napisana w czystym C, może też być używana w kodzie C++.
 
 %package devel
 Summary:       Header files and more to develop SDL_gfx applications
-Summary(pl):   Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx
+Summary(pl.UTF-8):     Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx
 Group:         Development/Libraries
-Requires:      %{name} = %{version}
+Requires:      %{name} = %{version}-%{release}
 Requires:      SDL-devel
 
 %description devel
 Header files and more to develop SDL_gfx applications.
 
-%description devel -l pl
-Pliki nag³ówkowe do rozwijania aplikacji u¿ywaj±cych SDL_gfx.
+%description devel -l pl.UTF-8
+Pliki nagłówkowe do rozwijania aplikacji używających SDL_gfx.
 
 %package static
 Summary:       Static SDL_gfx libraries
-Summary(pl):   Statyczne biblioteki SDL_gfx
+Summary(pl.UTF-8):     Statyczne biblioteki SDL_gfx
 Group:         Development/Libraries
-Requires:      %{name}-devel = %{version}
+Requires:      %{name}-devel = %{version}-%{release}
 
 %description static
-Statis SDL_gfx libraries.
+Static SDL_gfx libraries.
 
-%description static -l pl
+%description static -l pl.UTF-8
 Statyczne biblioteki SDL_gfx.
 
 %prep
 %setup -q
+%undos SDL_imageFilter.c
+%patch0 -p1
 
 %build
-rm -f missing acinclude.m4
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 
-%ifarch %{ix86}
-%configure
-%else
-%configure --disable-mmx
+%configure \
+%ifnarch %{ix86}
+       --disable-mmx
 %endif
 
 %{__make}
@@ -90,26 +89,32 @@ rm -f missing acinclude.m4
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post   -p /sbin/ldconfig
-%postun -p /sbin/ldconfig
+%post  -p /sbin/ldconfig
+%postun        -p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc README AUTHORS ChangeLog
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/libSDL_gfx.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libSDL_gfx.so.13
 
 %files devel
 %defattr(644,root,root,755)
 %doc Docs/*
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
-%{_includedir}/*
+%attr(755,root,root) %{_libdir}/libSDL_gfx.so
+%{_libdir}/libSDL_gfx.la
+%{_includedir}/SDL/SDL_framerate.h
+%{_includedir}/SDL/SDL_gfx*.h
+%{_includedir}/SDL/SDL_imageFilter.h
+%{_includedir}/SDL/SDL_rotozoom.h
+%{_pkgconfigdir}/SDL_gfx.pc
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libSDL_gfx.a
This page took 0.073585 seconds and 4 git commands to generate.