File mingw32-atk.spec of Package mingw32-atk
%define __strip %{_mingw32_strip}
%define __objdump %{_mingw32_objdump}
%define _use_internal_dependency_generator 0
%define __find_requires %{_mingw32_findrequires}
%define __find_provides %{_mingw32_findprovides}
%define __os_install_post %{_mingw32_debug_install_post} \
%{_mingw32_install_post}
Name: mingw32-atk
Version: 2.6.0
Release: 0
Summary: Accessibility Toolkit
License: LGPLv2+
Group: System/Libraries
Url: http://developer.gnome.org/projects/gap/
Source: http://ftp.gnome.org/pub/GNOME/sources/atk/2.6/atk-%{version}.tar.xz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
#!BuildIgnore: post-build-checks
BuildRequires: mingw32-filesystem
BuildRequires: mingw32-cross-gcc
BuildRequires: mingw32-cross-binutils
BuildRequires: mingw32-cross-pkg-config
BuildRequires: mingw32-win_iconv-devel
BuildRequires: mingw32-libintl-devel
BuildRequires: mingw32-glib2-devel
# Need native one too for glib-genmarshal
BuildRequires: glib2-devel
Requires: %{name}-lang = %{version}
BuildRequires: xz
%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 devel
Summary: Accessibility Toolkit (development files)
Group: Development/Libraries
%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
echo "lt_cv_deplibs_check_method='pass_all'" >>%{_mingw32_cache}
%{_mingw32_configure}
make %{?_smp_mflags} || make
%install
make DESTDIR=$RPM_BUILD_ROOT install
chmod -x $RPM_BUILD_ROOT%{_mingw32_libdir}/*.def
%find_lang atk10
%clean
rm -rf $RPM_BUILD_ROOT
%files
%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}/atk-1.0.def
%{_mingw32_libdir}/libatk-1.0.dll.a
%{_mingw32_libdir}/pkgconfig/atk.pc
%{_mingw32_datadir}/gtk-doc/html/atk/
%changelog