Sync from SUSE:SLFO:Main glibmm2 revision c32d529ab0f85efff9ea7806a10ae35f

This commit is contained in:
Adrian Schröter 2024-05-03 12:54:49 +02:00
commit 260bcd7530
5 changed files with 3210 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

4
baselibs.conf Normal file
View File

@ -0,0 +1,4 @@
libglibmm-2_68-1
provides "glibmm2-<targettype> = <version>"
obsoletes "glibmm2-<targettype> < <version>"
libgiomm-2_68-1

BIN
glibmm-2.76.0.tar.xz (Stored with Git LFS) Normal file

Binary file not shown.

3060
glibmm2.changes Normal file

File diff suppressed because it is too large Load Diff

120
glibmm2.spec Normal file
View File

@ -0,0 +1,120 @@
#
# spec file for package glibmm2
#
# Copyright (c) 2023 SUSE LLC
#
# 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.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
# Update baselibs.conf when changing this
%define so_ver -2_68-1
# Define a baseversion to ease updates
%define base_ver 2.68
# Define upstream name
%define _name glibmm
Name: glibmm2
Version: 2.76.0
Release: 0
Summary: C++ Interface for Glib
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: https://www.gtkmm.org/
Source0: https://download.gnome.org/sources/glibmm/2.76/%{_name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: c++_compiler
BuildRequires: fdupes
BuildRequires: m4
BuildRequires: meson >= 0.55.0
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.76.0
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(sigc++-3.0) >= 2.99.5
%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
%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: Development files for the Glib C++ API
Group: Development/Libraries/C and C++
Requires: libgiomm%{so_ver} = %{version}
Requires: libglibmm%{so_ver} = %{version}
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
%autosetup -p1 -n %{_name}-%{version}
chmod -x NEWS
chmod -x glib/glibmm/environ.h
%build
%meson \
%{nil}
%meson_build
%check
# Temp disable test, currently needs internet during tests, disable until we figure out how to disable those
#%%meson_test
%install
%meson_install
%fdupes %{buildroot}%{_prefix}
%ldconfig_scriptlets -n libglibmm%{so_ver}
%ldconfig_scriptlets -n libgiomm%{so_ver}
%files -n libglibmm%{so_ver}
%license COPYING
%{_libdir}/libglibmm-%{base_ver}.so.*
%{_libdir}/libglibmm_generate_extra_defs-%{base_ver}.so.*
%files -n libgiomm%{so_ver}
%{_libdir}/libgiomm-%{base_ver}.so.*
%files devel
%doc AUTHORS ChangeLog NEWS README.md
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%{_includedir}/*
%{_libdir}/glibmm-%{base_ver}
%{_libdir}/giomm-%{base_ver}
%changelog