2016-12-03 16:52:04 +01:00
|
|
|
#
|
2017-06-07 15:34:17 +02:00
|
|
|
# spec file for package glibmm2_4
|
2016-12-03 16:52:04 +01:00
|
|
|
#
|
2021-01-27 17:15:27 +01:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2016-12-03 16:52:04 +01:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2018-12-13 16:18:20 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2016-12-03 16:52:04 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
# Update baselibs.conf when changing this
|
|
|
|
%define so_ver -2_4-1
|
|
|
|
%define _name glibmm
|
2018-02-28 09:30:06 +01:00
|
|
|
Name: glibmm2_4
|
2021-01-27 17:15:27 +01:00
|
|
|
Version: 2.66.0
|
2016-12-03 16:52:04 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: C++ Interface for Glib
|
2018-02-28 09:28:12 +01:00
|
|
|
License: LGPL-2.1-or-later
|
2016-12-03 20:52:02 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2018-03-05 14:47:46 +01:00
|
|
|
URL: http://www.gtkmm.org/
|
2021-01-27 17:15:27 +01:00
|
|
|
Source0: https://download.gnome.org/sources/glibmm/2.66/%{_name}-%{version}.tar.xz
|
2016-12-03 16:52:04 +01:00
|
|
|
Source99: baselibs.conf
|
2020-04-18 00:43:33 +02:00
|
|
|
|
2020-11-26 13:24:15 +01:00
|
|
|
BuildRequires: doxygen
|
2016-12-03 16:52:04 +01:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2020-11-26 13:24:15 +01:00
|
|
|
BuildRequires: graphviz-devel
|
|
|
|
BuildRequires: meson
|
2018-02-28 09:30:06 +01:00
|
|
|
BuildRequires: pkgconfig
|
2020-11-26 13:24:15 +01:00
|
|
|
BuildRequires: xsltproc
|
2016-12-03 16:52:04 +01:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2019-10-04 17:37:03 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0) >= 2.61.2
|
2016-12-03 16:52:04 +01:00
|
|
|
BuildRequires: pkgconfig(gmodule-2.0) >= 2.49.7
|
|
|
|
BuildRequires: pkgconfig(gobject-2.0) >= 2.49.7
|
|
|
|
BuildRequires: pkgconfig(sigc++-2.0) >= 2.9.1
|
|
|
|
|
|
|
|
%description
|
|
|
|
Glibmm is the official C++ interface for the popular cross-platform
|
|
|
|
library Glib. It provides non-UI API that is not available in standard
|
|
|
|
C++ and makes it possible for gtkmm to wrap GObject-based APIs.
|
|
|
|
|
|
|
|
%package -n libglibmm%{so_ver}
|
|
|
|
Summary: C++ Interface for Glib
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: glibmm2 = %{version}
|
|
|
|
Obsoletes: glibmm2 < %{version}
|
|
|
|
Provides: glibmm24 = %{version}
|
|
|
|
Obsoletes: glibmm24 < %{version}
|
|
|
|
|
|
|
|
%description -n libglibmm%{so_ver}
|
|
|
|
Glibmm is the official C++ interface for the popular cross-platform
|
|
|
|
library Glib. It provides non-UI API that is not available in standard
|
|
|
|
C++ and makes it possible for gtkmm to wrap GObject-based APIs.
|
|
|
|
|
|
|
|
%package -n libgiomm%{so_ver}
|
|
|
|
Summary: C++ Interface for Gio
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
%description -n libgiomm%{so_ver}
|
|
|
|
Glibmm is the official C++ interface for the popular cross-platform
|
|
|
|
library Glib. It provides non-UI API that is not available in standard
|
|
|
|
C++ and makes it possible for gtkmm to wrap GObject-based APIs.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: C++ Interface for GLib
|
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: libgiomm%{so_ver} = %{version}
|
|
|
|
Requires: libglibmm%{so_ver} = %{version}
|
|
|
|
Provides: glibmm24-devel = %{version}
|
|
|
|
Obsoletes: glibmm24-devel < %{version}
|
|
|
|
# glibmm2-devel keeps on existing beyond version 2.50 - make it easy for upgraders
|
|
|
|
Provides: glibmm2-devel = %{version}
|
|
|
|
Obsoletes: glibmm2-devel < 2.51
|
|
|
|
Provides: %{name}-doc = %{version}
|
|
|
|
Obsoletes: %{name}-doc < %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
Glibmm is the official C++ interface for the popular cross-platform
|
|
|
|
library Glib. It provides non-UI API that is not available in standard
|
|
|
|
C++ and makes it possible for gtkmm to wrap GObject-based APIs.
|
|
|
|
|
|
|
|
%prep
|
2020-04-18 00:43:33 +02:00
|
|
|
%autosetup -p1 -n %{_name}-%{version}
|
2016-12-03 16:52:04 +01:00
|
|
|
|
|
|
|
%build
|
2020-11-26 13:24:15 +01:00
|
|
|
%meson \
|
|
|
|
-Dbuild-documentation=true \
|
|
|
|
%{nil}
|
|
|
|
%meson_build
|
2016-12-03 16:52:04 +01:00
|
|
|
|
|
|
|
%install
|
2020-11-26 13:24:15 +01:00
|
|
|
%meson_install
|
2020-04-18 00:43:33 +02:00
|
|
|
%fdupes %{buildroot}/{_prefix}
|
2016-12-03 16:52:04 +01:00
|
|
|
|
|
|
|
%post -n libglibmm%{so_ver} -p /sbin/ldconfig
|
|
|
|
%postun -n libglibmm%{so_ver} -p /sbin/ldconfig
|
|
|
|
%post -n libgiomm%{so_ver} -p /sbin/ldconfig
|
|
|
|
%postun -n libgiomm%{so_ver} -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -n libglibmm%{so_ver}
|
2018-02-28 09:30:06 +01:00
|
|
|
%license COPYING
|
2016-12-03 16:52:04 +01:00
|
|
|
%{_libdir}/libglibmm-2.4.so.*
|
|
|
|
%{_libdir}/libglibmm_generate_extra_defs-2.4.so.*
|
|
|
|
|
|
|
|
%files -n libgiomm%{so_ver}
|
|
|
|
%{_libdir}/libgiomm-2.4.so.*
|
|
|
|
|
|
|
|
%files devel
|
2020-04-18 00:43:33 +02:00
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2016-12-03 16:52:04 +01:00
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/glibmm-2.4
|
|
|
|
%{_libdir}/giomm-2.4
|
|
|
|
%{_datadir}/devhelp/books/%{_name}-2.4
|
|
|
|
%{_datadir}/doc/%{_name}-2.4
|
|
|
|
# Avoid BuildRequires on devhelp
|
|
|
|
%dir %{_datadir}/devhelp
|
|
|
|
%dir %{_datadir}/devhelp/books
|
|
|
|
|
|
|
|
%changelog
|