Accepting request 582771 from GNOME:Factory

spec-cleaner (forwarded request 581173 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/582771
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gtkmm2?expand=0&rev=62
This commit is contained in:
Dominique Leuenberger 2018-03-08 09:45:16 +00:00 committed by Git OBS Bridge
commit cf7f5ca3bc
2 changed files with 13 additions and 10 deletions

View File

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

View File

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