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.18/%{_realname}-%{version}.tar.bz2
10 # Source0-md5: 9fc33ec48fd32933f7f630479dfad667
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.12.11
16 BuildRequires: libtool >= 2:1.5.16
17 BuildRequires: perl-base
18 BuildRequires: pkgconfig
19 BuildRequires: rpmbuild(macros) >= 1.197
20 Requires: crossmingw32-glib2 >= 2.12.11
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
27 %define arch %{_prefix}/%{target}
29 %define _sysprefix /usr
30 %define _prefix %{_sysprefix}/%{target}
31 %define _pkgconfigdir %{_prefix}/lib/pkgconfig
32 %define _dlldir /usr/share/wine/windows/system
33 %define __cc %{target}-gcc
34 %define __cxx %{target}-g++
37 The ATK library provides a set of interfaces for adding accessibility
38 support to applications and graphical user interface toolkits. By
39 supporting the ATK interfaces, an application or toolkit can be used
40 as tools such as screen readers and magnifiers, and alternative input
43 This package contains the cross version for Win32.
45 %description -l pl.UTF-8
46 Biblioteka ATK udostępnia zestaw interfejsów ułatwiających
47 niepełnosprawnym korzystanie z aplikacji i poszczególnych elementów
48 graficznego interfejsu użytkownika. Poprzez wykorzystanie
49 interfejsów ATK, aplikacja lub element interfejsu może być używany
50 z takimi narzędziami jak czytniki ekranu i narzędzia powiększające
51 oraz alternatywnymi urządzeniami wejściowymi.
53 Ten pakiet zawiera wersję skrośną dla Win32.
56 Summary: Static atk library (cross mingw32 version)
57 Summary(pl.UTF-8): Statyczna biblioteka atk (wersja skrośna mingw32)
58 Group: Development/Libraries
59 Requires: %{name} = %{version}-%{release}
62 Static atk library (cross mingw32 version).
64 %description static -l pl.UTF-8
65 Statyczna biblioteka atk (wersja skrośna mingw32).
68 Summary: DLL atk library for Windows
69 Summary(pl.UTF-8): Biblioteka DLL atk dla Windows
70 Group: Applications/Emulators
71 Requires: crossmingw32-glib2-dll >= 2.12.11
75 DLL atk library for Windows.
77 %description dll -l pl.UTF-8
78 Biblioteka DLL atk dla Windows.
81 %setup -q -n %{_realname}-%{version}
84 export PKG_CONFIG_PATH=%{_prefix}/lib/pkgconfig
99 rm -rf $RPM_BUILD_ROOT
102 DESTDIR=$RPM_BUILD_ROOT
104 install -d $RPM_BUILD_ROOT%{_dlldir}
105 mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
108 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
109 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
112 rm -rf $RPM_BUILD_ROOT%{_datadir}/gtk-doc
114 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
117 rm -rf $RPM_BUILD_ROOT
120 %defattr(644,root,root,755)
121 %doc AUTHORS NEWS README
122 %{_libdir}/libatk-1.0.dll.a
123 %{_libdir}/libatk-1.0.la
124 %{_libdir}/atk-1.0.def
125 %{_includedir}/atk-1.0
126 %{_pkgconfigdir}/atk*
129 %defattr(644,root,root,755)
130 %{_libdir}/libatk-1.0.a
133 %defattr(644,root,root,755)
134 %{_dlldir}/libatk-1.0-*.dll