From a831b7814e39bffdd02132ae7f5e9bcc7a2bb2c2d8650118c873406c76db50de Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 28 Oct 2013 17:49:12 +0000 Subject: [PATCH] cleanup spec OBS-URL: https://build.opensuse.org/package/show/games/SDL2_gfx?expand=0&rev=3 --- SDL2_gfx.spec | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SDL2_gfx.spec b/SDL2_gfx.spec index 604e611..5efcbe1 100644 --- a/SDL2_gfx.spec +++ b/SDL2_gfx.spec @@ -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