]> git.pld-linux.org Git - packages/SDL_gfx.git/blobdiff - SDL_gfx.spec
- updated to 2.0.11
[packages/SDL_gfx.git] / SDL_gfx.spec
index afa0c91d1c6a94c39ec7c0932476d9e89850681e..60e42654cf9c029b30463757b863ea28fbb89d28 100644 (file)
@@ -1,13 +1,14 @@
 Summary:       SDL graphics drawing primitives and other support functions
 Summary(pl):   Funkcje rysowania grafiki i inne dla SDL
 Name:          SDL_gfx
-Version:       2.0.7
+Version:       2.0.11
 Release:       1
 License:       LGPL
 Group:         Libraries
-Source0:       http://www.ferzkopp.net/Software/%{name}-2.0/%{name}-%{version}.tar.gz
-# Source0-md5: 311b158ff8413dc3b550700f34dd72a5
-URL:           http://www.ferzkopp.net/Software/%{name}-2.0/index.html
+Source0:       http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/%{name}-%{version}.tar.gz
+# Source0-md5: 10f6432ede2b239796f2924bdc7224b4
+Patch0:                %{name}-local-labels.patch
+URL:           http://www.ferzkopp.net/~aschiffler/Software/SDL_gfx-2.0/index.html
 BuildRequires: SDL-devel >= 1.2.0
 BuildRequires: autoconf
 BuildRequires: automake
@@ -18,8 +19,6 @@ BuildRequires:        libtool
 BuildRequires: zlib-devel
 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.
 
@@ -48,7 +47,7 @@ napisana w czystym C, mo
 Summary:       Header files and more to develop SDL_gfx applications
 Summary(pl):   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
@@ -61,28 +60,27 @@ Pliki nag
 Summary:       Static SDL_gfx libraries
 Summary(pl):   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
 Statyczne biblioteki SDL_gfx.
 
 %prep
 %setup -q
+%patch -p1
 
 %build
-rm -f missing acinclude.m4
+rm -f acinclude.m4
 %{__libtoolize}
 %{__aclocal}
 %{__autoconf}
 %{__automake}
 
-%ifarch %{ix86}
-%configure
-%else
 %configure \
+%ifnarch %{ix86}
        --disable-mmx
 %endif
 
@@ -110,7 +108,7 @@ rm -rf $RPM_BUILD_ROOT
 %doc Docs/*
 %attr(755,root,root) %{_libdir}/lib*.so
 %{_libdir}/lib*.la
-%{_includedir}/*
+%{_includedir}/SDL/*
 
 %files static
 %defattr(644,root,root,755)
This page took 0.074786 seconds and 4 git commands to generate.