From 823babe1358dde12e20e590d77ae8a7ec1308d9e81c200c64e8930306391675d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Mon, 5 Mar 2018 13:52:04 +0000 Subject: [PATCH] Accepting request 581173 from GNOME:Next spec-cleaner OBS-URL: https://build.opensuse.org/request/show/581173 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gtkmm2?expand=0&rev=85 --- gtkmm2.changes | 5 +++++ gtkmm2.spec | 18 ++++++++---------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/gtkmm2.changes b/gtkmm2.changes index b904bab..9272f68 100644 --- a/gtkmm2.changes +++ b/gtkmm2.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Feb 28 16:32:39 UTC 2018 - dimstar@opensuse.org + +- Modernize spec-file by calling spec-cleaner + ------------------------------------------------------------------- Mon Dec 5 14:01:23 UTC 2016 - jengelh@inai.de diff --git a/gtkmm2.spec b/gtkmm2.spec index 45d6423..01941e2 100644 --- a/gtkmm2.spec +++ b/gtkmm2.spec @@ -1,7 +1,7 @@ # # spec file for package gtkmm2 # -# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 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 @@ -16,25 +16,25 @@ # -Name: gtkmm2 %define _name gtkmm +Name: gtkmm2 Version: 2.24.5 Release: 0 Summary: C++ Interface for GTK2 (a GUI Library for X) -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: Development/Libraries/GNOME -Url: http://www.gtkmm.org/ +URL: http://www.gtkmm.org/ Source: http://download.gnome.org/sources/gtkmm/2.24/%{_name}-%{version}.tar.xz Source99: baselibs.conf BuildRequires: fdupes BuildRequires: gcc-c++ +BuildRequires: pkgconfig BuildRequires: pkgconfig(atkmm-1.6) >= 2.22.2 BuildRequires: pkgconfig(cairomm-1.0) BuildRequires: pkgconfig(giomm-2.4) >= 2.27.93 BuildRequires: pkgconfig(gtk+-2.0) >= 2.24.0 BuildRequires: pkgconfig(pangomm-1.4) >= 2.27.1 BuildRequires: pkgconfig(sigc++-2.0) -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Gtkmm provides a C++ interface to the GTK+ GUI library. gtkmm2 wraps @@ -81,20 +81,18 @@ make %{?_smp_mflags} gtkmm_docdir=%{_docdir}/%{name}/docs %install %make_install -find %{buildroot}%{_libdir} -name '*.la' -type f -delete -print +find %{buildroot} -type f -name "*.la" -delete -print %fdupes %{buildroot} %post -n libgtkmm-2_4-1 -p /sbin/ldconfig - %postun -n libgtkmm-2_4-1 -p /sbin/ldconfig %files -n libgtkmm-2_4-1 -%defattr (-, root, root) -%doc AUTHORS COPYING ChangeLog NEWS README +%license COPYING +%doc AUTHORS ChangeLog NEWS README %{_libdir}/*.so.* %files devel -%defattr (-, root, root) %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc