atkmm/atkmm.spec

83 lines
2.1 KiB
RPMSpec
Raw Normal View History

2019-12-14 18:52:46 +08:00
%global apiver 1.6
2022-04-13 15:38:10 +08:00
%define release_version %(echo %{version} | awk -F. '{print $1"."$2}')
%global glibmm24_version 2.46.2
2019-12-14 18:52:46 +08:00
Name: atkmm
2023-01-30 19:31:18 +08:00
Version: 2.28.3
2021-06-28 11:31:24 +08:00
Release: 1
2019-12-14 18:52:46 +08:00
Summary: C++ bindings for the ATK library
2022-04-13 15:38:10 +08:00
License: LGPLv2+
URL: https://www.gtkmm.org/
Source0: https://download.gnome.org/sources/atkmm/%{release_version}/atkmm-%{version}.tar.xz
2019-12-14 18:52:46 +08:00
2022-04-13 15:38:10 +08:00
BuildRequires: meson gcc-c++ atk-devel glibmm24-devel >= %{glibmm24_version}
2021-06-28 11:31:24 +08:00
BuildRequires: mm-common m4 perl doxygen graphviz libxslt
2022-04-13 15:38:10 +08:00
Requires: glibmm24%{?_isa} >= %{glibmm24_version}
2019-12-14 18:52:46 +08:00
%description
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort <http://www.gtkmm.org/>.
%package devel
Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package help
Summary: Developer's documentation for the atkmm library
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: glibmm24-doc
%description help
This package provides the documentation files for the ATK library's C++ bindings.
%prep
%autosetup -p1
%build
2021-06-28 11:31:24 +08:00
%meson -Dbuild-documentation=true
%meson_build
2019-12-14 18:52:46 +08:00
%install
2021-06-28 11:31:24 +08:00
%meson_install
2019-12-14 18:52:46 +08:00
%delete_la
%ldconfig_scriptlets
%files
%license COPYING
2022-04-13 15:38:10 +08:00
%{_libdir}/libatkmm-%{apiver}.so.1*
2019-12-14 18:52:46 +08:00
%files devel
%{_includedir}/atkmm-%{apiver}/
2022-04-13 15:38:10 +08:00
%{_libdir}/libatkmm-%{apiver}.so
2019-12-14 18:52:46 +08:00
%{_libdir}/pkgconfig/*.pc
%{_libdir}/atkmm-%{apiver}/
%files help
2023-01-30 19:31:18 +08:00
%doc AUTHORS NEWS
2019-12-14 18:52:46 +08:00
%doc %{_docdir}/atkmm-%{apiver}/
%doc %{_datadir}/devhelp/
%changelog
2023-01-30 19:31:18 +08:00
* Mon Jan 2 2023 lin zhang <lin.zhang@turbolinux.com.cn> - 2.28.3-1
- Update to 2.28.3 for gnome 42.6
2022-04-13 15:38:10 +08:00
* Mon Mar 28 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 2.28.2-1
- Update to 2.28.2
2021-06-28 11:31:24 +08:00
* Fri Jun 18 2021 weijin deng <weijin.deng@turbolinux.com.cn> - 2.28.1-1
- Upgrade to 2.28.1
- Use meson rebuild
2021-01-04 17:04:29 +08:00
* Mon Jan 4 2021 Ge Wang <wangge20@huawei.com> - 2.24.2-9
- Modify license infomation
2019-12-14 18:52:46 +08:00
* Tue Nov 19 2019 mengxian <mengxian@huawei.com> - 2.24.2-8
- Package init