Accepting request 443187 from GNOME:Next

Package rename - to make space for glibmm2 to become ABI/API version 2.52

OBS-URL: https://build.opensuse.org/request/show/443187
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glibmm2_4?expand=0&rev=1
This commit is contained in:
Dominique Leuenberger 2016-12-03 15:52:04 +00:00 committed by Git OBS Bridge
commit 366da936df
6 changed files with 2494 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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

2
baselibs.conf Normal file
View File

@ -0,0 +1,2 @@
libglibmm-2_4-1
libgiomm-2_4-1

3
glibmm-2.50.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:df726e3c6ef42b7621474b03b644a2e40ec4eef94a1c5a932c1e740a78f95e94
size 6435208

2331
glibmm2_4.changes Normal file

File diff suppressed because it is too large Load Diff

134
glibmm2_4.spec Normal file
View File

@ -0,0 +1,134 @@
#
# spec file for package glibmm2
#
# Copyright (c) 2016 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
# 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 http://bugs.opensuse.org/
#
# Update baselibs.conf when changing this
%define so_ver -2_4-1
Name: glibmm2_4
%define _name glibmm
Version: 2.50.0
Release: 0
Summary: C++ Interface for Glib
License: LGPL-2.1+
Group: System/Libraries
Url: http://www.gtkmm.org/
Source0: http://download.gnome.org/sources/glibmm/2.50/%{_name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.49.7
BuildRequires: pkgconfig(gmodule-2.0) >= 2.49.7
BuildRequires: pkgconfig(gobject-2.0) >= 2.49.7
BuildRequires: pkgconfig(sigc++-2.0) >= 2.9.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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
%setup -q -n %{_name}-%{version}
%build
%configure --disable-static
make %{?jobs:-j%jobs}
%install
%makeinstall
rm %{buildroot}%{_libdir}/*.la
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%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}
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_libdir}/libglibmm-2.4.so.*
%{_libdir}/libglibmm_generate_extra_defs-2.4.so.*
%files -n libgiomm%{so_ver}
%defattr (-, root, root)
%{_libdir}/libgiomm-2.4.so.*
%files devel
%defattr (-, root, root)
%{_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