1 Summary: The Gimp Toolkit - Ming32 cross version
2 Summary(pl.UTF-8): Gimp Toolkit - wersja skrośna dla Ming32
3 Name: crossmingw32-gtk+2
7 Group: Development/Libraries
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.12/gtk+-%{version}.tar.bz2
9 # Source0-md5: a789a8a333d418f47cda1dba106d9aac
10 URL: http://www.gtk.org/
11 BuildRequires: crossmingw32-atk >= 1.20.0
12 BuildRequires: crossmingw32-gcc
13 BuildRequires: crossmingw32-glib2 >= 2.14.2
14 BuildRequires: crossmingw32-libjpeg
15 BuildRequires: crossmingw32-libpng
16 BuildRequires: crossmingw32-libtiff
17 BuildRequires: crossmingw32-pango >= 1.18.3
18 BuildRequires: pkgconfig >= 1:0.15
19 Requires: crossmingw32-atk >= 1.20.0
20 Requires: crossmingw32-glib2 >= 2.14.2
21 Requires: crossmingw32-pango >= 1.18.3
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define abivers 2.10.0
26 %define no_install_post_strip 1
28 %define target i386-mingw32
29 %define target_platform i386-pc-mingw32
31 %define _sysprefix /usr
32 %define _prefix %{_sysprefix}/%{target}
33 %define _pkgconfigdir %{_prefix}/lib/pkgconfig
34 %define _dlldir /usr/share/wine/windows/system
35 %define __cc %{target}-gcc
36 %define __cxx %{target}-g++
38 %define filterout_ld (-Wl,)?-as-needed.*
41 GTK+, which stands for the Gimp ToolKit, is a library for creating
42 graphical user interfaces for the X Window System. It is designed to
43 be small, efficient, and flexible. GTK+ is written in C with a very
44 object-oriented approach. GDK (part of GTK+) is a drawing toolkit
45 which provides a thin layer over Xlib to help automate things like
46 dealing with different color depths, and GTK is a widget set for
47 creating user interfaces.
49 This package contains the cross version for Win32.
51 %description -l pl.UTF-8
52 GTK+, która to biblioteka stała się podstawą programu Gimp, zawiera
53 funkcje do tworzenia graficznego interfejsu użytkownika pod X Window.
54 Była tworzona z założeniem żeby była mała, efektywna i wygodna. GTK+
55 jest napisane w C z podejściem zorientowanym bardzo obiektowo. GDK
56 (część GTK+) jest warstwą pośrednią pomiędzy Xlib i resztą toolkitu
57 zapewniającą pracę niezależnie od głębi koloru (ilości bitów na
58 piksel). GTK (druga część GTK+) jest natomiast już zbiorem różnego
59 rodzaju kontrolek służących do tworzenia interfejsu użytkownika.
61 Ten pakiet zawiera wersję skrośną dla Win32.
64 Summary: DLL GTK+ libraries for Windows
65 Summary(pl.UTF-8): Biblioteki DLL GTK+ dla Windows
66 Group: Applications/Emulators
67 Requires: crossmingw32-atk-dll >= 1.20.0
68 Requires: crossmingw32-glib2-dll >= 2.14.2
69 Requires: crossmingw32-pango-dll >= 1.18.3
73 DLL GTK+ libraries for Windows.
75 %description dll -l pl.UTF-8
76 Biblioteki DLL GTK+ dla Windows.
79 %setup -q -n gtk+-%{version}
82 export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig
89 ac_cv_path_CUPS_CONFIG=no \
95 --with-gdk-target=win32 \
102 rm -rf $RPM_BUILD_ROOT
105 DESTDIR=$RPM_BUILD_ROOT
107 install -d $RPM_BUILD_ROOT%{_dlldir}
108 mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
111 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
112 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
115 # remove unsupported locale scheme
116 rm -rf $RPM_BUILD_ROOT%{_datadir}/{aclocal,gtk-2.0,gtk-doc,locale,man,themes}
117 # shut up check-files (static modules and *.la for modules)
118 rm -rf $RPM_BUILD_ROOT%{_libdir}/gtk-*/2.*/*/*.{a,la}
121 rm -rf $RPM_BUILD_ROOT
124 %defattr(644,root,root,755)
125 %{_libdir}/libg[dt]k*.dll.a
126 %{_libdir}/libg[dt]k*.la
127 %{_libdir}/g[dt]k*.def
128 %dir %{_libdir}/gtk-2.0
129 %{_libdir}/gtk-2.0/include
130 %{_includedir}/gtk-2.0
131 %{_includedir}/gtk-unix-print-2.0
132 %{_pkgconfigdir}/*.pc
135 %defattr(644,root,root,755)
136 %{_dlldir}/libg[dt]k*.dll