From c02979156ff32ed9792ab7a1312a06f74e948dfa4dfb672c4994f53f2b99f4b7 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 11 Nov 2013 04:02:10 +0000 Subject: [PATCH] Set RPM groups, URL OBS-URL: https://build.opensuse.org/package/show/games/SDL2_gfx?expand=0&rev=4 --- SDL2_gfx.changes | 6 ++++++ SDL2_gfx.spec | 13 +++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/SDL2_gfx.changes b/SDL2_gfx.changes index 7065840..d6726b3 100644 --- a/SDL2_gfx.changes +++ b/SDL2_gfx.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Nov 11 04:00:40 UTC 2013 - jengelh@inai.de + +- Set RPM groups to the same values as on the main SDL packages +- Own /usr/include/SDL2 as well + ------------------------------------------------------------------- Mon Oct 28 17:37:37 UTC 2013 - prusnak@opensuse.org diff --git a/SDL2_gfx.spec b/SDL2_gfx.spec index 5efcbe1..5090fb9 100644 --- a/SDL2_gfx.spec +++ b/SDL2_gfx.spec @@ -21,9 +21,10 @@ Version: 1.0.0 Release: 0 Summary: SDL2 Graphics Routines for Primitives and Other Support Functions License: Zlib -Group: System/Libraries -Url: http://sourceforge.net/projects/sdl2gfx/ -Source0: %{name}-%{version}.tar.gz +Group: Development/Libraries/X11 + +Url: http://www.ferzkopp.net/joomla/content/view/19/14/ +Source: %{name}-%{version}.tar.gz Source1: baselibs.conf BuildRequires: libSDL2-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -41,7 +42,7 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo %package -n libSDL2_gfx-devel Summary: Libraries, includes and more to develop SDL2_gfx applications -Group: Development/Libraries/C and C++ +Group: Development/Libraries/X11 Requires: libSDL2-devel Requires: libSDL2_gfx-1_0-0 = %{version} Requires: pkgconfig @@ -58,7 +59,7 @@ Library containing 20+ graphics primitives (line, box, circle, polygon, etc.) fo make %{?_smp_mflags} %install -%make_install +make install DESTDIR="%buildroot" rm -f %{buildroot}%{_libdir}/*.la %post -n libSDL2_gfx-1_0-0 -p /sbin/ldconfig @@ -72,7 +73,7 @@ rm -f %{buildroot}%{_libdir}/*.la %files -n libSDL2_gfx-devel %defattr(-,root,root) -%{_includedir}/SDL2/* +%{_includedir}/SDL2/ %{_libdir}/lib*.so %changelog