rpms/mingw32-glibmm24/F-12 mingw32-glibmm24.spec,1.10,1.11
sailer
sailer at fedoraproject.org
Tue Dec 8 17:43:26 UTC 2009
Author: sailer
Update of /cvs/extras/rpms/mingw32-glibmm24/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25863
Modified Files:
mingw32-glibmm24.spec
Log Message:
fix for rhbz #527494
Index: mingw32-glibmm24.spec
===================================================================
RCS file: /cvs/extras/rpms/mingw32-glibmm24/F-12/mingw32-glibmm24.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -p -r1.10 -r1.11
--- mingw32-glibmm24.spec 27 Sep 2009 16:31:24 -0000 1.10
+++ mingw32-glibmm24.spec 8 Dec 2009 17:43:26 -0000 1.11
@@ -7,13 +7,13 @@
Name: mingw32-glibmm24
Version: 2.22.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: MinGW Windows C++ interface for GTK2 (a GUI library for X)
License: LGPLv2+
Group: Development/Libraries
URL: http://gtkmm.sourceforge.net/
-Source0: http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.20/glibmm-%{version}.tar.bz2
+Source0: http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.22/glibmm-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
@@ -56,6 +56,11 @@ rm -r $RPM_BUILD_ROOT%{_mingw32_docdir}/
rm -r $RPM_BUILD_ROOT%{_mingw32_datadir}/devhelp
rm -r $RPM_BUILD_ROOT%{_mingw32_datadir}/glibmm-2.4/doctool/
+# hack: desktopappinfo is not available on win32
+sed -i -e "s,#include <giomm/desktopappinfo.h>,," $RPM_BUILD_ROOT/%{_mingw32_includedir}/giomm-2.4/giomm.h
+sed -i -e "s,#include <giomm/unixinputstream.h>,," $RPM_BUILD_ROOT/%{_mingw32_includedir}/giomm-2.4/giomm.h
+sed -i -e "s,#include <giomm/unixoutputstream.h>,," $RPM_BUILD_ROOT/%{_mingw32_includedir}/giomm-2.4/giomm.h
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -82,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
+* Tue Dec 8 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.22.1-2
+- remove nonexisting (on windows) files from giomm.h header
+
* Sun Sep 27 2009 Thomas Sailer <t.sailer at alumni.ethz.ch> - 2.22.1-1
- update to 2.22.1 to match native package
More information about the scm-commits
mailing list