1 Summary: A C++ interface for pango library - cross MinGW32 version
2 Summary(pl.UTF-8): Interfejs C++ dla biblioteki pango - wersja skrośna MinGW32
3 Name: crossmingw32-pangomm
7 Group: Development/Libraries
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.34/pangomm-%{version}.tar.xz
9 # Source0-md5: 2c702caede167323c9ed9eed2b933098
10 URL: http://www.gtkmm.org/
11 BuildRequires: autoconf >= 2.59
12 BuildRequires: automake >= 1:1.11
13 BuildRequires: crossmingw32-cairomm >= 1.6.3
14 BuildRequires: crossmingw32-gcc-c++
15 BuildRequires: crossmingw32-glibmm >= 2.36.0
16 BuildRequires: crossmingw32-pango >= 1.24.0
17 BuildRequires: libtool >= 2:2.0
18 BuildRequires: mm-common >= 0.9.5
19 BuildRequires: pkgconfig >= 1:0.15
20 BuildRequires: rpmbuild(macros) >= 1.446
21 BuildRequires: tar >= 1:1.22
23 Requires: crossmingw32-cairomm >= 1.6.3
24 Requires: crossmingw32-glibmm >= 2.36.0
25 Requires: crossmingw32-pango >= 1.24.0
26 Provides: crossmingw32-gtkmm-pango
27 Obsoletes: crossmingw32-gtkmm-pango
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
35 %define _sysprefix /usr
36 %define _prefix %{_sysprefix}/%{target}
37 %define _libdir %{_prefix}/lib
38 %define _pkgconfigdir %{_prefix}/lib/pkgconfig
39 %define _dlldir /usr/share/wine/windows/system
40 %define __cc %{target}-gcc
41 %define __cxx %{target}-g++
42 %define __pkgconfig_provides %{nil}
43 %define __pkgconfig_requires %{nil}
45 %define _ssp_cflags %{nil}
47 # arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
50 # -z options are invalid for mingw linker, most of -f options are Linux-specific
51 %define filterout_ld -Wl,-z,.*
52 %define filterout_c -f[-a-z0-9=]*
55 A C++ interface for pango library - cross MinGW32 version.
57 %description -l pl.UTF-8
58 Interfejs C++ dla biblioteki pango - wersja skrośna MinGW32.
61 Summary: Static pangomm library (cross MinGW32 version)
62 Summary(pl.UTF-8): Statyczna biblioteka pangomm (wersja skrośna MinGW32)
63 Group: Development/Libraries
64 Requires: %{name} = %{version}-%{release}
65 Provides: crossmingw32-gtkmm-pango-static
66 Obsoletes: crossmingw32-gtkmm-pango-static
69 Static pangomm library (cross MinGW32 version).
71 %description static -l pl.UTF-8
72 Statyczna biblioteka pangomm (wersja skrośna MinGW32).
75 Summary: DLL pangomm library for Windows
76 Summary(pl.UTF-8): Biblioteka DLL pangomm dla Windows
77 Group: Applications/Emulators
78 Requires: crossmingw32-cairomm-dll >= 1.6.3
79 Requires: crossmingw32-glibmm-dll >= 2.36.0
80 Requires: crossmingw32-pango-dll >= 1.24.0
82 Provides: crossmingw32-gtkmm-pango-dll
83 Obsoletes: crossmingw32-gtkmm-pango-dll
86 DLL pangomm library for Windows.
88 %description dll -l pl.UTF-8
89 Biblioteka DLL pangomm dla Windows.
92 %setup -q -n pangomm-%{version}
95 export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig:%{_npkgconfigdir}
104 --disable-documentation \
105 --disable-silent-rules \
111 rm -rf $RPM_BUILD_ROOT
114 DESTDIR=$RPM_BUILD_ROOT
116 install -d $RPM_BUILD_ROOT%{_dlldir}
117 mv -f $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
120 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
121 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
125 rm -rf $RPM_BUILD_ROOT
128 %defattr(644,root,root,755)
129 %doc AUTHORS ChangeLog NEWS README
130 %{_libdir}/libpangomm-1.4.dll.a
131 %{_libdir}/libpangomm-1.4.la
132 %{_libdir}/pangomm-1.4
133 %{_includedir}/pangomm-1.4
134 %{_pkgconfigdir}/pangomm-1.4.pc
137 %defattr(644,root,root,755)
138 %{_libdir}/libpangomm-1.4.a
141 %defattr(644,root,root,755)
142 %{_dlldir}/libpangomm-1.4-*.dll