* Thu Mar 12 2009 Thomas Sailer <t.sailer@alumni.ethz.ch> - 4.5.0-1
[fedora-mingw.git] / glibmm24 / mingw32-glibmm24.spec
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}
6
7 Name:           mingw32-glibmm24
8 Version:        2.18.1
9 Release:        5%{?dist}
10 Summary:        MinGW Windows C++ interface for GTK2 (a GUI library for X)
11
12 License:        LGPLv2+
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)
17
18 BuildArch:      noarch
19
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
27
28 Requires:       pkgconfig
29
30
31 %description
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.
36
37
38 %prep
39 %setup -q -n glibmm-%{version}
40
41
42 %build
43 %{_mingw32_configure} --disable-static
44 make %{?_smp_mflags}
45
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 make DESTDIR=$RPM_BUILD_ROOT install
50
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
54
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59
60 %files
61 %defattr(-,root,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
79
80
81 %changelog
82 * Fri Feb 20 2009 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-5
83 - Rebuild for mingw32-gcc 4.4
84
85 * Fri Feb  6 2009 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-4
86 - Include license.
87
88 * Fri Jan 23 2009 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-3
89 - Use _smp_mflags.
90
91 * Fri Oct 24 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.1-2
92 - Initial RPM release.