atkmm1_6/atkmm1_6.spec

96 lines
2.8 KiB
RPMSpec

#
# spec file for package atkmm1_6
#
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define _name atkmm
Name: atkmm1_6
Version: 2.28.3
Release: 0
Summary: C++ Binding for the ATK library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
URL: http://www.gtkmm.org/
Source: https://download.gnome.org/sources/atkmm/2.28/%{_name}-%{version}.tar.xz
Source99: baselibs.conf
# PATCH-FIX-OPENSUSE atkmm1_6-remove-unnecessary-executable-flag-from-file.patch bsc#1209094 bsc#1209139 qzhao@suse.com -- cancel executable permission for file /usr/share/doc/packages/libatkmm-1_6-1/NEWS
Patch0: atkmm1_6-remove-unnecessary-executable-flag-from-file.patch
BuildRequires: c++_compiler
BuildRequires: doxygen
BuildRequires: fdupes
BuildRequires: graphviz
BuildRequires: meson >= 0.55.0
BuildRequires: pkgconfig
BuildRequires: xsltproc
BuildRequires: pkgconfig(atk) >= 1.12.0
BuildRequires: pkgconfig(glibmm-2.4) >= 2.46.2
%description
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort.
%package -n libatkmm-1_6-1
Summary: C++ Binding for the ATK library
License: LGPL-2.1-or-later
Group: System/Libraries
%description -n libatkmm-1_6-1
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort.
%package devel
Summary: C++ Binding for the ATK library
License: LGPL-2.1-or-later
Group: Development/Libraries/C and C++
Requires: libatkmm-1_6-1 = %{version}
%description devel
atkmm is the C++ binding for the ATK library.
This module is part of the GNOME C++ bindings effort.
%prep
%autosetup -p1 -n %{_name}-%{version}
%build
%meson \
-Dbuild-documentation=false \
%{nil}
%meson_build
%install
%meson_install
%fdupes %{buildroot}/%{prefix}
%ldconfig_scriptlets -n libatkmm-1_6-1
%files -n libatkmm-1_6-1
%license COPYING
%doc AUTHORS ChangeLog NEWS README.md
%{_libdir}/libatkmm-1.6.so.*
%files devel
%{_includedir}/atkmm-1.6/
%{_libdir}/libatkmm-1.6.so
%{_libdir}/pkgconfig/atkmm-1.6.pc
%dir %{_libdir}/atkmm-1.6
%{_libdir}/atkmm-1.6/include/
%dir %{_libdir}/atkmm-1.6/proc
%{_libdir}/atkmm-1.6/proc/m4/
%changelog