diff --git a/atkmm-2.28.1.tar.xz b/atkmm-2.28.1.tar.xz
deleted file mode 100644
index 9c01afb..0000000
Binary files a/atkmm-2.28.1.tar.xz and /dev/null differ
diff --git a/atkmm-2.28.2.tar.xz b/atkmm-2.28.2.tar.xz
new file mode 100644
index 0000000..533fb6f
Binary files /dev/null and b/atkmm-2.28.2.tar.xz differ
diff --git a/atkmm.spec b/atkmm.spec
index f8848e0..0152189 100644
--- a/atkmm.spec
+++ b/atkmm.spec
@@ -1,23 +1,24 @@
%global apiver 1.6
-%define version_no_minor %(echo %{version} | awk -F. '{print $1"."$2}')
+%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
+
+%global glibmm24_version 2.46.2
Name: atkmm
-Version: 2.28.1
+Version: 2.28.2
Release: 1
Summary: C++ bindings for the ATK library
-License: GPL-2.0+ and LGPL-2.1+
-URL: http://www.gtkmm.org/
-Source0: http://ftp.gnome.org/pub/GNOME/sources/atkmm/%{version_no_minor}/atkmm-%{version}.tar.xz
+License: LGPLv2+
+URL: https://www.gtkmm.org/
+Source0: https://download.gnome.org/sources/atkmm/%{release_version}/atkmm-%{version}.tar.xz
-BuildRequires: gcc-c++ atk-devel glibmm24-devel >= 2.46.1 meson
+BuildRequires: meson gcc-c++ atk-devel glibmm24-devel >= %{glibmm24_version}
BuildRequires: mm-common m4 perl doxygen graphviz libxslt
-Requires: glibmm24%{?_isa} >= 2.46.1
+Requires: glibmm24%{?_isa} >= %{glibmm24_version}
%description
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort .
-
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
@@ -36,11 +37,9 @@ Requires: glibmm24-doc
%description help
This package provides the documentation files for the ATK library's C++ bindings.
-
%prep
%autosetup -p1
-
%build
%meson -Dbuild-documentation=true
%meson_build
@@ -50,14 +49,13 @@ This package provides the documentation files for the ATK library's C++ bindings
%delete_la
%ldconfig_scriptlets
-
%files
%license COPYING
-%{_libdir}/*.so.*
+%{_libdir}/libatkmm-%{apiver}.so.1*
%files devel
%{_includedir}/atkmm-%{apiver}/
-%{_libdir}/*.so
+%{_libdir}/libatkmm-%{apiver}.so
%{_libdir}/pkgconfig/*.pc
%{_libdir}/atkmm-%{apiver}/
@@ -66,8 +64,10 @@ This package provides the documentation files for the ATK library's C++ bindings
%doc %{_docdir}/atkmm-%{apiver}/
%doc %{_datadir}/devhelp/
-
%changelog
+* Mon Mar 28 2022 lin zhang - 2.28.2-1
+- Update to 2.28.2
+
* Fri Jun 18 2021 weijin deng - 2.28.1-1
- Upgrade to 2.28.1
- Use meson rebuild