Changed files:
earth3d.spec -> 1.5
libs.patch -> 1.1
# Source0-md5: d273437a473f66401b01acf7521808c3
Patch0: gcc.patch
Patch1: libpng.patch
+Patch2: libs.patch
URL: http://www.earth3d.org/
BuildRequires: ImageMagick-devel
BuildRequires: qt-devel
%setup -q -n %{name}
%patch0 -p1
%patch1 -p1
+%patch2 -p1
echo "#include <gltest.h>" > gltestwidget.h
%build
--- /dev/null
+diff -Naur earth3d-orig/earth3d.pro earth3d/earth3d.pro
+--- earth3d-orig/earth3d.pro 2005-10-28 04:06:01 +0300
++++ earth3d/earth3d.pro 2006-03-07 18:05:13 +0200
+@@ -19,6 +19,7 @@
+ OBJECTS_DIR = .obj
+ !mac {
+ DEFINES += LINUX
++ LIBS += -lpng
+ # LIBS += -ljsw
+ # QMAKE_CXXFLAGS_RELEASE += -march=pentium4 -O2 -pipe -fomit-frame-pointer
+ # QMAKE_CXXFLAGS_RELEASE += -march=athlon-xp -O2 -pipe -fomit-frame-pointer