Name: mingw-gtk2
Version: 2.14.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows Gtk2 library
License: LGPLv2+
BuildRequires: mingw-pango
BuildRequires: mingw-atk
+Requires(post): wine
+
+
%description
MinGW Windows Gtk2 library.
rm -rf $RPM_BUILD_ROOT
+%post
+wine %{_mingw_bindir}/gdk-pixbuf-query-loaders.exe \
+ > %{_mingw_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
+
+%preun
+rm -f %{_mingw_sysconfdir}/gtk-2.0/gdk-pixbuf.loaders
+
+
%files
%defattr(-,root,root)
%{_mingw_datadir}/gtk-doc/html/gail-libgail-util
%{_mingw_mandir}/man1/gtk-query-immodules-2.0.1*
%{_mingw_mandir}/man1/gtk-update-icon-cache.1*
+
%changelog
+* Thu Sep 11 2008 Richard W.M. Jones <rjones@redhat.com> - 2.14.0-3
+- post/preun scripts to update the gdk-pixbuf.loaders list.
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 2.14.0-2
- Jasper DLLs now fixed.
- Fix source URL.
Name: mingw-pango
Version: 1.21.6
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: MinGW Windows Pango library
License: LGPLv2+
BuildRequires: mingw-freetype
BuildRequires: mingw-fontconfig
+Requires(post): wine
+
+
%description
MinGW Windows Pango library.
make DESTDIR=$RPM_BUILD_ROOT install
+mkdir -p $RPM_BUILD_ROOT%{_mingw_sysconfdir}/pango/
+
rm -f $RPM_BUILD_ROOT/%{_mingw_libdir}/charset.alias
+
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+wine %{_mingw_bindir}/pango-querymodules.exe \
+ > %{_mingw_sysconfdir}/pango/pango.modules
+
+%preun
+rm -f %{_mingw_sysconfdir}/pango/pango.modules
+
+
%files
%defattr(-,root,root)
%{_mingw_bindir}/libpango-1.0-0.dll
%{_mingw_libdir}/pkgconfig/pangowin32.pc
%{_mingw_datadir}/gtk-doc/html/pango/
%{_mingw_mandir}/man1/pango-querymodules.1*
+%{_mingw_sysconfdir}/pango/
+
%changelog
+* Thu Sep 11 2008 Richard W.M. Jones <rjones@redhat.com> - 1.21.6-3
+- post/preun scripts to update the pango.modules list.
+
* Wed Sep 10 2008 Richard W.M. Jones <rjones@redhat.com> - 1.21.6-2
- Run the correct glib-mkenums.