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
This commit is contained in:
Bjørn Lie 2017-07-02 13:06:40 +00:00 committed by Git OBS Bridge
parent dac1301d9a
commit fbdcb96f30
2 changed files with 13 additions and 11 deletions

View File

@ -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

View File

@ -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