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.42/pangomm-%{version}.tar.xz
9 # Source0-md5: 6cffedf2225c4e72645a7d757fb5b832
10 URL: https://www.gtkmm.org/
11 BuildRequires: autoconf >= 2.59
12 BuildRequires: automake >= 1:1.11
13 BuildRequires: crossmingw32-cairomm >= 1.12.0
14 BuildRequires: crossmingw32-gcc-c++ >= 1:4.7
15 BuildRequires: crossmingw32-glibmm >= 2.48.0
16 BuildRequires: crossmingw32-pango >= 1.41.0
17 BuildRequires: libtool >= 2:2.0
18 BuildRequires: mm-common >= 0.9.10
19 BuildRequires: pkgconfig >= 1:0.15
20 BuildRequires: rpmbuild(macros) >= 1.446
21 BuildRequires: tar >= 1:1.22
23 Requires: crossmingw32-cairomm >= 1.12.0
24 Requires: crossmingw32-gcc-c++ >= 1:4.7
25 Requires: crossmingw32-glibmm >= 2.48.0
26 Requires: crossmingw32-pango >= 1.41.0
27 Provides: crossmingw32-gtkmm-pango
28 Obsoletes: crossmingw32-gtkmm-pango
29 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 %define no_install_post_strip 1
33 %define target i386-mingw32
34 %define target_platform i386-pc-mingw32
36 %define _sysprefix /usr
37 %define _prefix %{_sysprefix}/%{target}
38 %define _libdir %{_prefix}/lib
39 %define _pkgconfigdir %{_prefix}/lib/pkgconfig
40 %define _dlldir /usr/share/wine/windows/system
41 %define __cc %{target}-gcc
42 %define __cxx %{target}-g++
43 %define __pkgconfig_provides %{nil}
44 %define __pkgconfig_requires %{nil}
46 %define _ssp_cflags %{nil}
48 # arch-specific flags (like alpha's -mieee) are not valid for i386 gcc
51 # -z options are invalid for mingw linker, most of -f options are Linux-specific
52 %define filterout_ld -Wl,-z,.*
53 %define filterout_c -f[-a-z0-9=]*
56 A C++ interface for pango library - cross MinGW32 version.
58 %description -l pl.UTF-8
59 Interfejs C++ dla biblioteki pango - wersja skrośna MinGW32.
62 Summary: Static pangomm library (cross MinGW32 version)
63 Summary(pl.UTF-8): Statyczna biblioteka pangomm (wersja skrośna MinGW32)
64 Group: Development/Libraries
65 Requires: %{name} = %{version}-%{release}
66 Provides: crossmingw32-gtkmm-pango-static
67 Obsoletes: crossmingw32-gtkmm-pango-static
70 Static pangomm library (cross MinGW32 version).
72 %description static -l pl.UTF-8
73 Statyczna biblioteka pangomm (wersja skrośna MinGW32).
76 Summary: DLL pangomm library for Windows
77 Summary(pl.UTF-8): Biblioteka DLL pangomm dla Windows
78 Group: Applications/Emulators
79 Requires: crossmingw32-cairomm-dll >= 1.12.0
80 Requires: crossmingw32-glibmm-dll >= 2.48.0
81 Requires: crossmingw32-pango-dll >= 1.41.0
83 Provides: crossmingw32-gtkmm-pango-dll
84 Obsoletes: crossmingw32-gtkmm-pango-dll
87 DLL pangomm library for Windows.
89 %description dll -l pl.UTF-8
90 Biblioteka DLL pangomm dla Windows.
93 %setup -q -n pangomm-%{version}
96 export PKG_CONFIG_LIBDIR=%{_prefix}/lib/pkgconfig:%{_npkgconfigdir}
102 # std-threads required by glibmm requires at least WinXP API
103 CPPFLAGS="%{rpmcppflags} -DWINVER=0x0501"
107 --disable-documentation \
108 --disable-silent-rules \
114 rm -rf $RPM_BUILD_ROOT
117 DESTDIR=$RPM_BUILD_ROOT
119 install -d $RPM_BUILD_ROOT%{_dlldir}
120 %{__mv} $RPM_BUILD_ROOT%{_prefix}/bin/*.dll $RPM_BUILD_ROOT%{_dlldir}
122 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libpangomm-*.la
125 %{target}-strip --strip-unneeded -R.comment -R.note $RPM_BUILD_ROOT%{_dlldir}/*.dll
126 %{target}-strip -g -R.comment -R.note $RPM_BUILD_ROOT%{_libdir}/*.a
130 rm -rf $RPM_BUILD_ROOT
133 %defattr(644,root,root,755)
134 %doc AUTHORS ChangeLog NEWS README
135 %{_libdir}/libpangomm-1.4.dll.a
136 %{_libdir}/pangomm-1.4
137 %{_includedir}/pangomm-1.4
138 %{_pkgconfigdir}/pangomm-1.4.pc
141 %defattr(644,root,root,755)
142 %{_libdir}/libpangomm-1.4.a
145 %defattr(644,root,root,755)
146 %{_dlldir}/libpangomm-1.4-1.dll