## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 4.0 # first two digits of version %define release_version %(echo %{version} | awk -F. '{print $1"."$2}') %global glibmm_version 2.68.0 %global gtk4_version 4.15.5 %global cairomm_version 1.15.4 %global pangomm_version 2.50.0 %global gdk_pixbuf2_version 2.35.5 Name: gtkmm4.0 Version: 4.16.0 Release: %autorelease Summary: C++ interface for the GTK+ library License: LGPL-2.1-or-later URL: https://www.gtkmm.org/ Source0: https://download.gnome.org/sources/gtkmm/%{release_version}/gtkmm-%{version}.tar.xz BuildRequires: doxygen BuildRequires: gcc-c++ BuildRequires: libxslt BuildRequires: m4 BuildRequires: meson BuildRequires: mm-common BuildRequires: pkgconfig(cairomm-1.16) >= %{cairomm_version} BuildRequires: pkgconfig(epoxy) BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= %{gdk_pixbuf2_version} BuildRequires: pkgconfig(glibmm-2.68) >= %{glibmm_version} BuildRequires: pkgconfig(gtk4) >= %{gtk4_version} BuildRequires: pkgconfig(pangomm-2.48) >= %{pangomm_version} Requires: cairomm1.16%{?_isa} >= %{cairomm_version} Requires: gdk-pixbuf2%{?_isa} >= %{gdk_pixbuf2_version} Requires: glibmm2.68%{?_isa} >= %{glibmm_version} Requires: gtk4%{?_isa} >= %{gtk4_version} Requires: pangomm2.48%{?_isa} >= %{pangomm_version} %description gtkmm is the official C++ interface for the popular GUI library GTK+. Highlights include type safe callbacks, and a comprehensive set of widgets that are easily extensible via inheritance. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %package doc Summary: API documentation for %{name} BuildArch: noarch Requires: %{name} = %{version}-%{release} Requires: glibmm2.68-doc %description doc This package contains the full API documentation for %{name}. %prep %setup -q -n gtkmm-%{version} # Copy demos before build to avoid including built binaries in -doc package mkdir -p _docs cp -a demos/ _docs/ %build %meson -Dbuild-documentation=true %meson_build %install %meson_install %files %license COPYING %doc NEWS README.md %{_libdir}/libgtkmm-%{apiver}.so.0* %files devel %{_includedir}/gtkmm-%{apiver}/ %{_libdir}/libgtkmm-%{apiver}.so %{_libdir}/gtkmm-%{apiver}/ %{_libdir}/pkgconfig/gtkmm-%{apiver}.pc %files doc %doc %{_docdir}/gtkmm-%{apiver}/ %doc %{_datadir}/devhelp/ %doc _docs/* %changelog ## START: Generated by rpmautospec * Wed Sep 11 2024 David King - 4.16.0-1 - Update to 4.16.0 * Mon Sep 02 2024 David King - 4.15.1-1 - Update to 4.15.1 * Sat Aug 03 2024 David King - 4.15.0-1 - Update to 4.15.0 * Thu Jul 18 2024 Fedora Release Engineering - 4.14.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Tue Mar 19 2024 David King - 4.14.0-1 - Update to 4.14.0 * Sun Feb 18 2024 David King - 4.13.3-1 - Update to 4.13.3 * Wed Jan 24 2024 Fedora Release Engineering - 4.13.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 20 2024 Fedora Release Engineering - 4.13.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Nov 22 2023 Kalev Lember - 4.13.2-1 - Update to 4.13.2 * Thu Oct 26 2023 Kalev Lember - 4.13.1-1 - Update to 4.13.1 * Wed Aug 09 2023 Kalev Lember - 4.12.0-1 - Update to 4.12.0 * Wed Aug 09 2023 Kalev Lember - 4.11.3-3 - Drop COPYING.tools and remove GPL-2.0-or-later from license tag * Thu Jul 20 2023 Fedora Release Engineering - 4.11.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jun 14 2023 Kalev Lember - 4.11.3-1 - Update to 4.11.3 * Tue May 16 2023 David King - 4.11.2-1 - Update to 4.11.2 * Tue May 09 2023 David King - 4.11.1-1 - Update to 4.11.1 * Thu Mar 09 2023 David King - 4.10.0-2 - Update to 4.10.0 * Thu Mar 09 2023 David King - 4.10.0-1 - Update to 4.10.0 * Fri Feb 10 2023 David King - 4.9.3-1 - Update to 4.9.3 * Thu Jan 19 2023 Fedora Release Engineering - 4.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Mon Jan 16 2023 David King - 4.9.2-1 - Update to 4.9.2 * Sun Jan 01 2023 David King - 4.9.1-1 - Update to 4.9.1 * Fri Sep 16 2022 Kalev Lember - 4.8.0-1 - Update to 4.8.0 * Mon Aug 08 2022 Kalev Lember - 4.7.1-1 - Update to 4.7.1 * Thu Jul 21 2022 Fedora Release Engineering - 4.6.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Mar 28 2022 David King - 4.6.1-1 - Update to 4.6.1 * Thu Jan 20 2022 Fedora Release Engineering - 4.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Tue Sep 14 2021 Kalev Lember - 4.4.0-1 - Initial build of the new parallel installable gtkmm-4.0 ABI version ## END: Generated by rpmautospec