From 6151bdc5de1f61921791e9cc274eb1d276a7791b Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 25 Oct 2024 14:49:20 +0300 Subject: [PATCH] import glibmm2.68-2.78.1-4.el10 --- .gitignore | 1 + .glibmm2.68.metadata | 1 + SPECS/glibmm2.68.spec | 162 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 164 insertions(+) create mode 100644 .gitignore create mode 100644 .glibmm2.68.metadata create mode 100644 SPECS/glibmm2.68.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4ec3709 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/glibmm-2.78.1.tar.xz diff --git a/.glibmm2.68.metadata b/.glibmm2.68.metadata new file mode 100644 index 0000000..05e966a --- /dev/null +++ b/.glibmm2.68.metadata @@ -0,0 +1 @@ +a488d5a2634b8fabe521f8e577eae19c1888c87d SOURCES/glibmm-2.78.1.tar.xz diff --git a/SPECS/glibmm2.68.spec b/SPECS/glibmm2.68.spec new file mode 100644 index 0000000..4b6ed35 --- /dev/null +++ b/SPECS/glibmm2.68.spec @@ -0,0 +1,162 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%global apiver 2.68 +# first two digits of version +%define release_version %(echo %{version} | awk -F. '{print $1"."$2}') + +%global libsigc_version 3.0.0 +%global glib2_version 2.77.0 + +Name: glibmm2.68 +Version: 2.78.1 +Release: %autorelease +Summary: C++ interface for the GLib library + +License: LGPL-2.1-or-later AND GPL-2.0-or-later +URL: http://www.gtkmm.org/ +Source0: https://download.gnome.org/sources/glibmm/%{release_version}/glibmm-%{version}.tar.xz + +BuildRequires: doxygen +BuildRequires: gcc-c++ +BuildRequires: pkgconfig(glib-2.0) >= %{glib2_version} +BuildRequires: pkgconfig(sigc++-3.0) >= %{libsigc_version} +BuildRequires: libxslt +BuildRequires: m4 +BuildRequires: meson +BuildRequires: mm-common +BuildRequires: perl-generators +BuildRequires: perl-interpreter +BuildRequires: perl(Getopt::Long) + +Requires: glib2%{?_isa} >= %{glib2_version} +Requires: libsigc++30%{?_isa} >= %{libsigc_version} + +# Do not export private Perl modules +%global __provides_exclude %{?__provides_exclude:%{__provides_exclude}|}^perl\\( +%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^perl\\((DocsParser|Enum|Function|FunctionBase|GtkDefs|Object|Output|Property|Util|WrapParser)\\) + +%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 devel +Summary: Headers for developing programs that will use %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +This package contains the static libraries and header files needed for +developing glibmm applications. + + +%package doc +Summary: Documentation for %{name}, includes full API docs +BuildArch: noarch +Requires: %{name} = %{version}-%{release} +Requires: libsigc++30-doc + +%description doc +This package contains the full API documentation for %{name}. + + +%prep +%autosetup -p1 -n glibmm-%{version} + + +%build +%meson -Dbuild-documentation=true +%meson_build + + +%install +%meson_install + +chmod +x $RPM_BUILD_ROOT%{_libdir}/glibmm-%{apiver}/proc/generate_wrap_init.pl +chmod +x $RPM_BUILD_ROOT%{_libdir}/glibmm-%{apiver}/proc/gmmproc + + +%files +%license COPYING +%doc NEWS README.md +%{_libdir}/libgiomm-%{apiver}.so.1* +%{_libdir}/libglibmm-%{apiver}.so.1* +%{_libdir}/libglibmm_generate_extra_defs-%{apiver}.so.1* + +%files devel +%{_includedir}/glibmm-%{apiver}/ +%{_includedir}/giomm-%{apiver}/ +%{_libdir}/*.so +%{_libdir}/glibmm-%{apiver}/ +%{_libdir}/giomm-%{apiver}/ +%{_libdir}/pkgconfig/*.pc + +%files doc +%doc %{_datadir}/devhelp/ +%doc %{_docdir}/glibmm-%{apiver}/ + + +%changelog +## START: Generated by rpmautospec +* Mon Sep 02 2024 Tomas Popela - 2.78.1-4 +- Require libsigc++30 and not 20 + +* Mon Jun 24 2024 Troy Dawson - 2.78.1-3 +- Bump release for June 2024 mass rebuild + +* Wed Apr 17 2024 Tomas Pelka - 2.78.1-2 +- gating enabled + +* Fri Feb 02 2024 David King - 2.78.1-1 +- Update to 2.78.1 + +* Wed Jan 24 2024 Fedora Release Engineering - 2.78.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 2.78.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Tue Sep 19 2023 Kalev Lember - 2.78.0-1 +- Update to 2.78.0 + +* Wed Jul 19 2023 Fedora Release Engineering - 2.77.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Jul 17 2023 David King - 2.77.0-1 +- Update to 2.77.0 + +* Mon Mar 20 2023 David King - 2.76.0-1 +- Update to 2.76.0 (#2179996) + +* Thu Jan 19 2023 Fedora Release Engineering - 2.74.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Mon Sep 19 2022 Kalev Lember - 2.74.0-1 +- Update to 2.74.0 + +* Thu Jul 21 2022 Fedora Release Engineering - 2.72.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu May 05 2022 David King - 2.72.1-1 +- Update to 2.72.1 + +* Sat Apr 09 2022 David King - 2.72.0-1 +- Update to 2.72.0 + +* Thu Jan 20 2022 Fedora Release Engineering - 2.70.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Oct 27 2021 Kalev Lember - 2.70.0-1 +- Update to 2.70.0 + +* Tue Sep 14 2021 Kalev Lember - 2.68.1-1 +- Initial build of the new parallel installable glibmm-2.68 ABI version +## END: Generated by rpmautospec