diff --git a/gtkmm-3.24.4.tar.xz b/gtkmm-3.24.5.tar.xz similarity index 61% rename from gtkmm-3.24.4.tar.xz rename to gtkmm-3.24.5.tar.xz index a27c22f0303db86e548f0985a615aec852dbd209..916752d5d81ab9029e9cfba4be55685e735bf863 100644 Binary files a/gtkmm-3.24.4.tar.xz and b/gtkmm-3.24.5.tar.xz differ diff --git a/gtkmm30.spec b/gtkmm30.spec index 3fb89d2d8089b0a1cf99c51f8ad2a421fd93d964..da321e84e282a2e5207452bae770f2d3312f245d 100644 --- a/gtkmm30.spec +++ b/gtkmm30.spec @@ -1,17 +1,34 @@ +%global apiver 3.0 +%global glibmm24_version 2.54.0 +%global gtk3_version 3.24.0 +%global cairomm_version 1.12.0 +%global pangomm_version 2.38.2 +%global gdk_pixbuf2_version 2.35.5 +%global atkmm_version 2.24.2 + Name: gtkmm30 -Version: 3.24.4 +Version: 3.24.5 Release: 1 Summary: C++ Interfaces for GTK+ and GNOME License: LGPLv2+ -URL: https://www.gtkmm.org/en/ -Source0: http://download.gnome.org/sources/gtkmm/3.24/gtkmm-%{version}.tar.xz +URL: https://www.gtkmm.org/ +Source0: https://download.gnome.org/sources/gtkmm/3.24/gtkmm-%{version}.tar.xz -BuildRequires: gcc-c++ atkmm-devel >= 2.24.2 cairomm-devel >= 1.12.0 gdk-pixbuf2-devel >= 2.36.0 -BuildRequires: glibmm24-devel >= 2.50.0 gtk3-devel >= 3.23.0 pangomm-devel >= 2.39.0 meson -BuildRequires: mm-common m4 perl doxygen graphviz libxslt +BuildRequires: meson gcc-c++ m4 doxygen mm-common libxslt +BuildRequires: gdk-pixbuf2-devel >= %{gdk_pixbuf2_version} +BuildRequires: glibmm24-devel >= %{glibmm24_version} +BuildRequires: gtk3-devel >= %{gtk3_version} +BuildRequires: atkmm-devel >= %{atkmm_version} +BuildRequires: cairomm-devel >= %{cairomm_version} +BuildRequires: pangomm-devel >= %{pangomm_version} -Requires: atkmm >= 2.24.2 cairomm >= 1.12.0 gdk-pixbuf2 >= 2.36.0 -Requires: glibmm24 >= 2.50.0 gtk3 >= 3.23.0 pangomm >= 2.39.0 glibmm24-doc +Requires: atkmm%{?_isa} >= %{atkmm_version} +Requires: cairomm%{?_isa} >= %{cairomm_version} +Requires: gdk-pixbuf2%{?_isa} >= %{gdk_pixbuf2_version} +Requires: glibmm24%{?_isa} >= %{glibmm24_version} +Requires: gtk3%{?_isa} >= %{gtk3_version} +Requires: pangomm%{?_isa} >= %{pangomm_version} +Requires: glibmm24-doc Provides: %{name}-doc = %{version}-%{release} Obsoletes: %{name}-doc < %{version}-%{release} @@ -31,7 +48,8 @@ This pacakge contains development files for %{name}. %prep %autosetup -n gtkmm-%{version} -mv demos/README demos/README.demo +mkdir -p _docs +cp -a demos/ _docs/ %build %meson -Dbuild-documentation=true @@ -42,20 +60,27 @@ mv demos/README demos/README.demo %delete_la_and_a %files -%doc NEWS README -%license COPYING AUTHORS -%doc %{_docdir}/gtkmm-3.0/ +%license COPYING +%doc AUTHORS NEWS README +%{_libdir}/libgdkmm-%{apiver}.so.1* +%{_libdir}/libgtkmm-%{apiver}.so.1* +%doc %{_docdir}/gtkmm-%{apiver}/ %doc %{_datadir}/devhelp/ -%doc demos/* -%{_libdir}/*.so.* +%doc _docs/* %files devel -%{_includedir}/g*kmm-3.0/ -%{_libdir}/*.so -%{_libdir}/g*kmm-3.0/ +%{_includedir}/gtkmm-%{apiver}/ +%{_includedir}/gdkmm-%{apiver}/ +%{_libdir}/libgdkmm-%{apiver}.so +%{_libdir}/libgtkmm-%{apiver}.so +%{_libdir}/gtkmm-%{apiver}/ +%{_libdir}/gdkmm-%{apiver}/ %{_libdir}/pkgconfig/*.pc %changelog +* Mon Mar 28 2022 lin zhang - 3.24.5-1 +- Update to 3.24.5 + * Fri Jun 18 2021 weijin deng - 3.24.4-1 - Upgrade to 3.24.4 - Use meson rebuild