]> git.pld-linux.org Git - packages/SDL_gfx.git/blobdiff - SDL_gfx.spec
- massive attack s/pld.org.pl/pld-linux.org/
[packages/SDL_gfx.git] / SDL_gfx.spec
index ee355ec776491ca66bc19f9b51ba2c4913c83113..895fe01566dcb035ee6b9d768b6c66768913f807 100644 (file)
@@ -2,7 +2,7 @@ Summary:        SDL graphics drawing primitives and other support functions
 Summary(pl):   Funkcje rysowania grafiki i inne dla SDL
 Name:          SDL_gfx
 Version:       2.0.3
-Release:       1
+Release:       3
 License:       LGPL
 Group:         Libraries
 Source0:       http://www.ferzkopp.net/Software/%{name}-2.0/%{name}-%{version}.tar.gz
@@ -17,8 +17,7 @@ BuildRequires:        libtool
 BuildRequires: zlib-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define                _prefix         /usr/X11R6
-%define                _includedir     /usr/X11R6/include/SDL
+%define                _includedir     /usr/include/SDL
 
 %description
 The SDL_gfx library evolved out of the SDL_gfxPrimitives code.
@@ -74,11 +73,17 @@ Statyczne biblioteki SDL_gfx.
 
 %build
 rm -f missing acinclude.m4
-libtoolize --copy --force
-aclocal
+%{__libtoolize}
+%{__aclocal}
 %{__autoconf}
 %{__automake}
+
+%ifarch %{ix86}
 %configure
+%else
+%configure --disable-mmx
+%endif
+
 %{__make}
 
 %install
@@ -86,8 +91,6 @@ rm -rf $RPM_BUILD_ROOT
 
 %{__make} install DESTDIR=$RPM_BUILD_ROOT
 
-gzip -9nf README AUTHORS ChangeLog
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -96,12 +99,14 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README AUTHORS ChangeLog
 %attr(755,root,root) %{_libdir}/lib*.so.*.*
 
 %files devel
 %defattr(644,root,root,755)
-%doc *.gz Docs
+%doc Docs/*
 %attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
 %{_includedir}/*
 
 %files static
This page took 0.067138 seconds and 4 git commands to generate.