cleanup spec

OBS-URL: https://build.opensuse.org/package/show/games/SDL2_gfx?expand=0&rev=3
This commit is contained in:
Pavol Rusnak 2013-10-28 17:49:12 +00:00 committed by Git OBS Bridge
parent 81440fa47f
commit a831b7814e

View File

@ -17,15 +17,15 @@
Name: SDL2_gfx
BuildRequires: libSDL2-devel
Url: http://sourceforge.net/projects/sdl2gfx/
Version: 1.0.0
Release: 0
Summary: SDL2 Graphics Routines for Primitives and Other Support Functions
License: Zlib
Group: System/Libraries
Version: 1.0.0
Release: 0
Url: http://sourceforge.net/projects/sdl2gfx/
Source0: %{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: libSDL2-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -58,8 +58,8 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo
make %{?_smp_mflags}
%install
make install DESTDIR=$RPM_BUILD_ROOT
%{__rm} -f %{buildroot}%{_libdir}/*.la
%make_install
rm -f %{buildroot}%{_libdir}/*.la
%post -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig