1 %define __strip %{_mingw32_strip}
2 %define __objdump %{_mingw32_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw32_findrequires}
5 %define __find_provides %{_mingw32_findprovides}
10 Summary: MinGW Windows C++ interface for GTK2 (a GUI library for X)
13 Group: Development/Libraries
14 URL: http://gtkmm.sourceforge.net/
15 Source0: http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.18/glibmm-%{version}.tar.bz2
16 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
20 BuildRequires: mingw32-filesystem >= 30
21 BuildRequires: mingw32-gcc
22 BuildRequires: mingw32-gcc-c++
23 BuildRequires: mingw32-binutils
24 BuildRequires: mingw32-libsigc++20 >= 2.0.0
25 BuildRequires: mingw32-glib2 >= 2.17.3
26 BuildRequires: pkgconfig
32 glibmm provides a C++ interface to the GTK+ GLib low-level core
33 library. Highlights include typesafe callbacks, widgets extensible via
34 inheritance and a comprehensive set of widget classes that can be
35 freely combined to quickly create complex user interfaces.
39 %setup -q -n glibmm-%{version}
43 %{_mingw32_configure} --disable-static
48 rm -rf $RPM_BUILD_ROOT
49 make DESTDIR=$RPM_BUILD_ROOT install
51 # Remove docs, duplicate native package.
52 rm -r $RPM_BUILD_ROOT%{_mingw32_docdir}/glibmm-2.4
53 rm -r $RPM_BUILD_ROOT%{_mingw32_datadir}/devhelp
57 rm -rf $RPM_BUILD_ROOT
62 %doc COPYING COPYING.tools
63 %{_mingw32_bindir}/libgiomm-2.4-1.dll
64 %{_mingw32_bindir}/libglibmm_generate_extra_defs-2.4-1.dll
65 %{_mingw32_bindir}/libglibmm-2.4-1.dll
66 %{_mingw32_libdir}/libgiomm-2.4.dll.a
67 %{_mingw32_libdir}/libgiomm-2.4.la
68 %{_mingw32_libdir}/libglibmm_generate_extra_defs-2.4.dll.a
69 %{_mingw32_libdir}/libglibmm_generate_extra_defs-2.4.la
70 %{_mingw32_libdir}/libglibmm-2.4.dll.a
71 %{_mingw32_libdir}/libglibmm-2.4.la
72 %{_mingw32_libdir}/giomm-2.4
73 %{_mingw32_libdir}/glibmm-2.4
74 %{_mingw32_includedir}/giomm-2.4
75 %{_mingw32_includedir}/glibmm-2.4
76 %{_mingw32_libdir}/pkgconfig/giomm-2.4.pc
77 %{_mingw32_libdir}/pkgconfig/glibmm-2.4.pc
78 %{_mingw32_datadir}/aclocal/glibmm_check_perl.m4
82 * Fri Feb 6 2009 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-4
85 * Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-3
88 * Fri Oct 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-2
89 - Initial RPM release.