From fbdcb96f30aeeaebd32335998abf88c5f14645572a612b3aa12a53ce57a7d089 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Lie?= Date: Sun, 2 Jul 2017 13:06:40 +0000 Subject: [PATCH] Accepting request 507035 from home:jengelh:branches:GNOME:Factory - Fix RPM groups and remove redundant %clean section. OBS-URL: https://build.opensuse.org/request/show/507035 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtkglext?expand=0&rev=6 --- gtkglext.changes | 5 +++++ gtkglext.spec | 19 ++++++++----------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/gtkglext.changes b/gtkglext.changes index 0d5fa20..49027cf 100644 --- a/gtkglext.changes +++ b/gtkglext.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jun 29 10:48:08 UTC 2017 - jengelh@inai.de + +- Fix RPM groups and remove redundant %clean section. + ------------------------------------------------------------------- Wed Jan 9 14:58:11 UTC 2013 - dmitry_r@opensuse.org diff --git a/gtkglext.spec b/gtkglext.spec index 180e2e5..3d6b45b 100644 --- a/gtkglext.spec +++ b/gtkglext.spec @@ -1,7 +1,7 @@ # # spec file for package gtkglext # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -21,10 +21,10 @@ Name: gtkglext %define git_date 20110529 Version: 1.2.0git%{git_date} Release: 0 -License: LGPL-2.1+ and GPL-2.0+ Summary: OpenGL Extension to GTK +License: LGPL-2.1+ and GPL-2.0+ +Group: Development/Libraries/C and C++ Url: http://projects.gnome.org/gtkglext/ -Group: System/Libraries # git clone git://git.gnome.org/gtkglext # git archive %{git_commit} --prefix=gtkglext-git%{git_date}/ | bzip2 > ../gtkglext-git%{git_date}.tar.bz2 Source: %{name}-git%{git_date}.tar.bz2 @@ -45,8 +45,8 @@ that support OpenGL rendering in GTK and GtkWidget API add-ons, to make GTK+ widgets OpenGL-capable. %package -n libgtkglext-x11-1_0-0 -License: LGPL-2.1+ Summary: OpenGL Extension to GTK +License: LGPL-2.1+ Group: System/Libraries Provides: %{name} = %{version} Obsoletes: %{name} < %{version} @@ -57,9 +57,9 @@ that support OpenGL rendering in GTK and GtkWidget API add-ons, to make GTK+ widgets OpenGL-capable. %package devel -License: LGPL-2.1+ Summary: OpenGL Extension to GTK -Group: System/Libraries +License: LGPL-2.1+ +Group: Development/Libraries/C and C++ Requires: Mesa-devel Requires: libgtkglext-x11-1_0-0 = %{version} # Those are listed as Libs in gdkglext-1.0.pc, and therefore are not @@ -72,9 +72,9 @@ which support OpenGL rendering in GTK, and GtkWidget API add-ons to make GTK+ widgets OpenGL-capable. %package doc -License: LGPL-2.1+ Summary: Documentation of the OpenGL Extension to GTK -Group: System/Libraries +License: LGPL-2.1+ +Group: Documentation/HTML Requires: libgtkglext-x11-1_0-0 = %{version} %description doc @@ -98,9 +98,6 @@ make %{?_smp_mflags} %make_install rm -f %{buildroot}%{_libdir}/*.la -%clean -rm -rf %{buildroot} - %post -n libgtkglext-x11-1_0-0 -p /sbin/ldconfig %postun -n libgtkglext-x11-1_0-0 -p /sbin/ldconfig