1 Summary: System for layout and rendering of internationalized text - cross Mingw32 version
2 Summary(pl.UTF-8): System renderowania międzynarodowego tekstu - wersja skrośna dla Mingw32
3 %define _realname pango
4 Name: crossmingw32-%{_realname}
8 Group: Development/Libraries
9 Source0: http://ftp.gnome.org/pub/gnome/sources/pango/1.16/%{_realname}-%{version}.tar.bz2
10 # Source0-md5: 3ff23998479e98c5dd9a7eaf08f6249d
11 Patch0: %{_realname}-xfonts.patch
12 URL: http://www.pango.org/
13 BuildRequires: autoconf >= 2.59-9
14 BuildRequires: automake >= 1:1.7
15 BuildRequires: crossmingw32-cairo >= 1.2.4
16 BuildRequires: crossmingw32-fontconfig >= 2.4.0
17 BuildRequires: crossmingw32-freetype >= 2.1.7
18 BuildRequires: crossmingw32-gcc
19 BuildRequires: crossmingw32-glib2 >= 2.12.9
20 BuildRequires: libtool >= 1:1.4.2-9
21 BuildRequires: perl-base
22 BuildRequires: pkgconfig
23 BuildRequires: rpmbuild(macros) >= 1.197
24 Requires: crossmingw32-cairo >= 1.2.4
25 Requires: crossmingw32-fontconfig >= 2.4.0
26 Requires: crossmingw32-freetype >= 2.1.7
27 Requires: crossmingw32-glib2 >= 2.12.9
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 %define no_install_post_strip 1
32 %define target i386-mingw32
33 %define target_platform i386-pc-mingw32
34 %define arch %{_prefix}/%{target}
36 %define _sysprefix /usr
37 %define _prefix %{_sysprefix}/%{target}
38 %define _pkgconfigdir %{_prefix}/lib/pkgconfig
39 %define _dlldir /usr/share/wine/windows/system
40 %define __cc %{target}-gcc
41 %define __cxx %{target}-g++
44 System for layout and rendering of internationalized text (cross
47 %description -l pl.UTF-8
48 System obsługi i renderowania międzynarodowego tekstu (wersja skrośna
52 Summary: DLL pango libraries for Windows
53 Summary(pl.UTF-8): Biblioteki DLL pango dla Windows
54 Group: Applications/Emulators
55 Requires: crossmingw32-cairo-dll >= 1.2.4
56 Requires: crossmingw32-fontconfig-dll >= 2.4.0
57 Requires: crossmingw32-freetype-dll >= 2.1.7
58 Requires: crossmingw32-glib2-dll >= 2.12.9
62 DLL pango libraries for Windows.
64 %description dll -l pl.UTF-8
65 Biblioteki DLL pango dla Windows.
68 %setup -q -n %{_realname}-%{version}
72 export PKG_CONFIG_PATH=%{_pkgconfigdir}
87 rm -rf $RPM_BUILD_ROOT
90 DESTDIR=$RPM_BUILD_ROOT
92 install -d $RPM_BUILD_ROOT%{_dlldir}
93 mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
96 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
97 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
100 rm -rf $RPM_BUILD_ROOT%{_datadir}/{gtk-doc,man}
101 # useless (modules loaded through libgmodule)
102 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/1.6.0/modules/*.{la,a}
105 rm -rf $RPM_BUILD_ROOT
108 %defattr(644,root,root,755)
109 %doc AUTHORS NEWS README
110 %{_libdir}/libpango*-1.0.dll.a
111 %{_libdir}/libpango*-1.0.la
112 %{_libdir}/pango*-1.0.def
113 %{_includedir}/pango-1.0
114 %{_pkgconfigdir}/pango*.pc
117 %defattr(644,root,root,755)
118 %{_dlldir}/libpango*-1.0-*.dll