Update atk to 1.24.0 release
[fedora-mingw.git] / glib2 / mingw-glib2.spec
1 %define __strip %{_mingw_strip}
2 %define __objdump %{_mingw_objdump}
3 %define _use_internal_dependency_generator 0
4 %define __find_requires %{_mingw_findrequires}
5 %define __find_provides %{_mingw_findprovides}
6
7 Name:           mingw-glib2
8 Version:        2.18.0
9 Release:        3%{?dist}
10 Summary:        MinGW Windows GLib2 library
11
12 License:        LGPLv2+
13 Group:          Development/Libraries
14 URL:            http://www.gtk.org
15 Source0:        http://download.gnome.org/sources/glib/2.18/glib-%{version}.tar.bz2
16 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18 BuildArch:      noarch
19
20 Patch2:         gio-2.16-only-pass-uri-to-gio-apps.patch
21
22 BuildRequires:  mingw-filesystem >= 23
23 BuildRequires:  mingw-gcc
24 BuildRequires:  mingw-binutils
25 BuildRequires:  mingw-iconv
26 BuildRequires:  mingw-gettext
27 BuildRequires:  pkgconfig
28 # Native version required for msgfmt use in build
29 BuildRequires:  gettext
30 # Native version required for glib-genmarshal
31 BuildRequires:  glib2-devel
32
33 %description
34 MinGW Windows Glib2 library.
35
36
37 %prep
38 %setup -q -n glib-%{version}
39 %patch2 -p1
40
41
42 %build
43 %{_mingw_configure}
44 make
45
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 make DESTDIR=$RPM_BUILD_ROOT install
51
52 rm -f $RPM_BUILD_ROOT/%{_mingw_libdir}/charset.alias
53
54 # Remove manpages which duplicate Fedora native.
55 rm -rf $RPM_BUILD_ROOT%{_mingw_mandir}
56
57
58 %clean
59 rm -rf $RPM_BUILD_ROOT
60
61
62 %files
63 %defattr(-,root,root)
64 %{_mingw_bindir}/glib-genmarshal.exe
65 %{_mingw_bindir}/glib-gettextize
66 %{_mingw_bindir}/glib-mkenums
67 %{_mingw_bindir}/gobject-query.exe
68 %{_mingw_bindir}/gspawn-win32-helper-console.exe
69 %{_mingw_bindir}/gspawn-win32-helper.exe
70 %{_mingw_bindir}/libgio-2.0-0.dll
71 %{_mingw_bindir}/libglib-2.0-0.dll
72 %{_mingw_bindir}/libgmodule-2.0-0.dll
73 %{_mingw_bindir}/libgobject-2.0-0.dll
74 %{_mingw_bindir}/libgthread-2.0-0.dll
75 %{_mingw_includedir}/glib-2.0/
76 %{_mingw_libdir}/gio-2.0.def
77 %{_mingw_libdir}/glib-2.0.def
78 %{_mingw_libdir}/glib-2.0/
79 %{_mingw_libdir}/gmodule-2.0.def
80 %{_mingw_libdir}/gobject-2.0.def
81 %{_mingw_libdir}/gthread-2.0.def
82 %{_mingw_libdir}/libgio-2.0.dll.a
83 %{_mingw_libdir}/libgio-2.0.la
84 %{_mingw_libdir}/libglib-2.0.dll.a
85 %{_mingw_libdir}/libglib-2.0.la
86 %{_mingw_libdir}/libgmodule-2.0.dll.a
87 %{_mingw_libdir}/libgmodule-2.0.la
88 %{_mingw_libdir}/libgobject-2.0.dll.a
89 %{_mingw_libdir}/libgobject-2.0.la
90 %{_mingw_libdir}/libgthread-2.0.dll.a
91 %{_mingw_libdir}/libgthread-2.0.la
92 %{_mingw_libdir}/pkgconfig/gio-2.0.pc
93 %{_mingw_libdir}/pkgconfig/gio-unix-2.0.pc
94 %{_mingw_libdir}/pkgconfig/glib-2.0.pc
95 %{_mingw_libdir}/pkgconfig/gmodule-2.0.pc
96 %{_mingw_libdir}/pkgconfig/gmodule-export-2.0.pc
97 %{_mingw_libdir}/pkgconfig/gmodule-no-export-2.0.pc
98 %{_mingw_libdir}/pkgconfig/gobject-2.0.pc
99 %{_mingw_libdir}/pkgconfig/gthread-2.0.pc
100 %{_mingw_datadir}/aclocal/glib-2.0.m4
101 %{_mingw_datadir}/aclocal/glib-gettext.m4
102 %{_mingw_datadir}/glib-2.0/
103 %{_mingw_datadir}/gtk-doc/html/gio/
104 %{_mingw_datadir}/gtk-doc/html/glib/
105 %{_mingw_datadir}/gtk-doc/html/gobject/
106 %{_mingw_datadir}/locale/*/LC_MESSAGES/glib20.mo
107
108
109 %changelog
110 * Sun Sep 21 2008 Richard W.M. Jones <rjones@redhat.com> - 2.18.0-3
111 - Remove manpages which duplicate Fedora native.
112
113 * Thu Sep 11 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.0-2
114 - Add BR on pkgconfig, gettext and glib2 (native)
115
116 * Tue Sep  9 2008 Daniel P. Berrange <berrange@redhat.com> - 2.18.0-1
117 - Initial RPM release