-Vendor: James Henstridge <james@daa.com.au>
-# this for final releases
-#Source0: ftp://ftp.gnome.org/pub/GNOME/sources/dia/%{version}/%{name}-%{version}.tar.gz
-# this only for snapshots
-Source0: http://www.crans.org/~chepelov/dia/snapshots/%{name}-CVS-%(echo %snap | sed 's/\./-/').tar.gz
-URL: http://www.lysator.liu.se/~alla/dia/dia.html
-BuildRequires: autoconf
+Source0: http://ftp.gnome.org/pub/gnome/sources/dia/0.97/%{name}-%{version}.tar.xz
+# Source0-md5: 1e1180a513fb567709b09bc19f12105e
+Source1: http://dia-installer.de/shapes/central_data_processing/central_data_processing.zip
+# Source1-md5: 103865b35609d2a0f8a0e034c49cf130
+Source2: http://dia-installer.de/shapes/chemistry_lab/chemistry_lab.zip
+# Source2-md5: ad752d7dfb733b6a9f8c54e05685223c
+Source3: http://dia-installer.de/shapes/cmos/cmos.zip
+# Source3-md5: 65f319c9c0c15d0691f9e97fd034c005
+Source4: http://dia-installer.de/shapes/digital/digital.zip
+# Source4-md5: 8eef8562b618254fc5ebd4ac3f4f15ed
+Source5: http://dia-installer.de/shapes/edpc/edpc.zip
+# Source5-md5: 6d62a586419b5ed616cc2a67f80a2e3d
+Source6: http://dia-installer.de/shapes/electronic/electronic.zip
+# Source6-md5: ddeca421f725af66be41f14ab170b2b8
+Source7: http://dia-installer.de/shapes/lst/lst.zip
+# Source7-md5: 84d216457305ae53eb1635f6abaa4368
+Source8: http://dia-installer.de/shapes/optics/optics.zip
+# Source8-md5: 6c2bb1ffa6229b832e2d24fb1fd927c9
+Source9: http://dia-installer.de/shapes/Racks/Racks.zip
+# Source9-md5: 5ca48da8899b28ed266e21ba522d1e64
+Source10: http://dia-installer.de/shapes/renewable_energy/renewable_energy.zip
+# Source10-md5: 13e7e934ab87b924101faaf56414ad00
+Source11: http://dia-installer.de/shapes/scenegraph/scenegraph.zip
+# Source11-md5: 2bca8efa9bae10c13968ebacc9f1a00b
+Patch0: %{name}-python.patch
+Patch1: %{name}-wmf-cast.patch
+Patch2: %{name}-glib2.patch
+Patch3: %{name}-glib.patch
+URL: https://live.gnome.org/Dia
+BuildRequires: autoconf >= 2.50