2 Summary: ATK - Accessibility Toolkit - cross Mingw32 version
3 Summary(pl.UTF-8): ATK - biblioteka ułatwiająca niepełnosprawnym korzystanie z komputerów - wersja skrośna dla Mingw32
4 Name: crossmingw32-%{_realname}
8 Group: Development/Libraries
9 Source0: http://ftp.gnome.org/pub/GNOME/sources/atk/1.20/%{_realname}-%{version}.tar.bz2
10 # Source0-md5: b1a9e28d9f54ea306bd85a4c84b25fb8
11 URL: http://developer.gnome.org/projects/gap/
12 BuildRequires: autoconf >= 2.54
13 BuildRequires: automake
14 BuildRequires: crossmingw32-gcc
15 BuildRequires: crossmingw32-glib2 >= 2.14.1
16 BuildRequires: libtool >= 2:1.5.16
17 BuildRequires: perl-base
18 BuildRequires: pkgconfig >= 1:0.15
19 BuildRequires: rpmbuild(macros) >= 1.197
20 Requires: crossmingw32-glib2 >= 2.14.1
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define no_install_post_strip 1
25 %define target i386-mingw32
26 %define target_platform i386-pc-mingw32
28 %define _sysprefix /usr
29 %define _prefix %{_sysprefix}/%{target}
30 %define _pkgconfigdir %{_prefix}/lib/pkgconfig
31 %define _dlldir /usr/share/wine/windows/system
32 %define __cc %{target}-gcc
33 %define __cxx %{target}-g++
36 The ATK library provides a set of interfaces for adding accessibility
37 support to applications and graphical user interface toolkits. By
38 supporting the ATK interfaces, an application or toolkit can be used
39 as tools such as screen readers and magnifiers, and alternative input
42 This package contains the cross version for Win32.
44 %description -l pl.UTF-8
45 Biblioteka ATK udostępnia zestaw interfejsów ułatwiających
46 niepełnosprawnym korzystanie z aplikacji i poszczególnych elementów
47 graficznego interfejsu użytkownika. Poprzez wykorzystanie
48 interfejsów ATK, aplikacja lub element interfejsu może być używany
49 z takimi narzędziami jak czytniki ekranu i narzędzia powiększające
50 oraz alternatywnymi urządzeniami wejściowymi.
52 Ten pakiet zawiera wersję skrośną dla Win32.
55 Summary: Static atk library (cross mingw32 version)
56 Summary(pl.UTF-8): Statyczna biblioteka atk (wersja skrośna mingw32)
57 Group: Development/Libraries
58 Requires: %{name} = %{version}-%{release}
61 Static atk library (cross mingw32 version).
63 %description static -l pl.UTF-8
64 Statyczna biblioteka atk (wersja skrośna mingw32).
67 Summary: DLL atk library for Windows
68 Summary(pl.UTF-8): Biblioteka DLL atk dla Windows
69 Group: Applications/Emulators
70 Requires: crossmingw32-glib2-dll >= 2.14.1
74 DLL atk library for Windows.
76 %description dll -l pl.UTF-8
77 Biblioteka DLL atk dla Windows.
80 %setup -q -n %{_realname}-%{version}
83 export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig
98 rm -rf $RPM_BUILD_ROOT
100 %{__make} -j1 install \
101 DESTDIR=$RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT%{_dlldir}
104 mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
107 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
108 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
111 rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
113 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
116 rm -rf $RPM_BUILD_ROOT
119 %defattr(644,root,root,755)
120 %doc AUTHORS NEWS README
121 %{_libdir}/libatk-1.0.dll.a
122 %{_libdir}/libatk-1.0.la
123 %{_libdir}/atk-1.0.def
124 %{_includedir}/atk-1.0
125 %{_pkgconfigdir}/atk*
128 %defattr(644,root,root,755)
129 %{_libdir}/libatk-1.0.a
132 %defattr(644,root,root,755)
133 %{_dlldir}/libatk-1.0-*.dll