File mingw32-atk.spec of Package mingw32-atk
#
# spec file for package mingw32-atk
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
%define introspection 0
Name: mingw32-atk
Version: 2.36.0
Release: 0
Summary: Accessibility Toolkit
License: LGPL-2.1-or-later
Group: Development/Libraries/GNOME
Url: http://developer.gnome.org/projects/gap/
Source: http://ftp.gnome.org/pub/GNOME/sources/atk/2.36/atk-%{version}.tar.xz
# Need native one too for glib-genmarshal
BuildRequires: glib2-devel
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-meson
BuildRequires: mingw32-glib2-devel
%if %introspection
BuildRequires: mingw32-gobject-introspection-1.0
%endif
BuildRequires: mingw32-libintl-devel
BuildRequires: mingw32-win_iconv-devel
BuildRequires: xz
Requires: %{name}-lang = %{version}
%_mingw32_package_header_debug
BuildArch: noarch
%description
The Accessibility Toolkit (ATK) describes a set of interfaces that need to be implemented by GUI components to make them
accessible. The interfaces are toolkit-independent - implementations could be written for any widget set, such as GTK,
Motif or Qt.
%package -n mingw32-libatk-1_0-0
Summary: MinGW Windows port of the Accessibility Toolkit
Group: System/Libraries
Obsoletes: mingw32-atk
Provides: mingw32-atk
%description -n mingw32-libatk-1_0-0
The Accessibility Toolkit (ATK) describes a set of interfaces that need to be implemented by GUI components to make them
accessible. The interfaces are toolkit-independent - implementations could be written for any widget set, such as GTK,
Motif or Qt.
%package devel
Summary: Accessibility Toolkit (development files)
Group: Development/Libraries/C and C++
%description devel
The Accessibility Toolkit (ATK) describes a set of interfaces that need to be implemented by GUI components to make them
accessible. The interfaces are toolkit-independent - implementations could be written for any widget set, such as GTK,
Motif or Qt.
%_mingw32_debug_package
%lang_package
%prep
%setup -q -n atk-%{version}
%build
%_mingw32_cross_wine_init
%_mingw32_meson \
%if %introspection
-Dintrospection=true
%else
-Dintrospection=false
%endif
%_mingw32_meson_build
%install
%_mingw32_meson_install
%find_lang atk10
%files -n mingw32-libatk-1_0-0
%defattr(-,root,root)
%{_mingw32_bindir}/libatk-1.0-0.dll
%files lang -f atk10.lang
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%{_mingw32_includedir}/atk-1.0
%{_mingw32_libdir}/libatk-1.0.dll.a
%{_mingw32_libdir}/pkgconfig/atk.pc
#%%{_mingw32_datadir}/gtk-doc/html/atk/
%changelog