diff --git a/gnome-calculator-3.10.2.tar.xz b/gnome-calculator-3.10.2.tar.xz
deleted file mode 100644
index ee66748..0000000
--- a/gnome-calculator-3.10.2.tar.xz
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2e583252e9332d8c7be52f1512a113869be1ad27fa829f7b49c89c9ea66d6d3e
-size 1086400
diff --git a/gnome-calculator-3.12.1.tar.xz b/gnome-calculator-3.12.1.tar.xz
new file mode 100644
index 0000000..120daa7
--- /dev/null
+++ b/gnome-calculator-3.12.1.tar.xz
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:15a75bbe19f6d2280d864f0504f6fc5b1f148fea9738b5548b64b7b8c0c64740
+size 1213544
diff --git a/gnome-calculator-appdata_xml.patch b/gnome-calculator-appdata_xml.patch
deleted file mode 100644
index 96b6ee5..0000000
--- a/gnome-calculator-appdata_xml.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: gnome-calculator-3.10.2/data/gnome-calculator.appdata.xml
-===================================================================
---- gnome-calculator-3.10.2.orig/data/gnome-calculator.appdata.xml
-+++ gnome-calculator-3.10.2/data/gnome-calculator.appdata.xml
-@@ -28,7 +28,7 @@
-
- https://wiki.gnome.org/Calculator
-
-- https://wiki.gnome.org/Calculator?action=AttachFile&do=get&target=gcalctool.png
-+ https://wiki.gnome.org/Calculator?action=AttachFile&do=get&target=gcalctool.png
-
-
--
-\ No newline at end of file
-+
diff --git a/gnome-calculator.changes b/gnome-calculator.changes
index 0b60fba..95b86e4 100644
--- a/gnome-calculator.changes
+++ b/gnome-calculator.changes
@@ -1,3 +1,82 @@
+-------------------------------------------------------------------
+Thu Apr 10 09:00:21 UTC 2014 - dimstar@opensuse.org
+
+- Update to version 3.12.1:
+ + Fix crash on entering decimal saperator.
+ + Fix failing test-case.
+ + Remove unimplemented trunc button.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Mon Mar 24 19:14:39 UTC 2014 - zaitor@opensuse.org
+
+- Update to version 3.12.0:
+ + Updated translations.
+
+-------------------------------------------------------------------
+Wed Mar 19 12:43:16 UTC 2014 - dimstar@opensuse.org
+
+- Update to version 3.11.92:
+ + Fix: Lost text focus on click.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Wed Mar 5 19:09:11 UTC 2014 - dimstar@opensuse.org
+
+- Update to version 3.11.91:
+ + Fix Precision loss.
+ + Fix 0^0 should be indeterminate.
+ + Fix Precision error for ln () calculations.
+ + Build fixes and improvements.
+ + Rename desktop file.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Wed Mar 5 13:58:18 UTC 2014 - zaitor@opensuse.org
+
+- Update to version 3.11.90:
+ + Fix :
+ - Window specific mode and actions.
+ - About dialog.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Wed Mar 5 13:57:18 UTC 2014 - dimstar@opensuse.org
+
+- Update to version 3.11.5:
+ + Fix Appdata.
+ + Updated translations.
+- Drop gnome-calculator-appdata_xml.patch: fixed upstream, with a
+ slight different approach (other screenshot URLs references).
+
+-------------------------------------------------------------------
+Wed Mar 5 13:56:18 UTC 2014 - dimstar@opensuse.org
+
+- Update to version 3.11.4:
+ + Fixes:
+ - Add tooltip to custom functions.
+ - Bug in representation mode for non-decimal answers.
+ + Updated translations.
+
+-------------------------------------------------------------------
+Wed Mar 5 13:55:18 UTC 2014 - dimstar@opensuse.org
+
+- Update to version 3.11.3:
+ + New:
+ - Custom functions.
+ - Support for factorials of positive decimal numbers.
+ + Updated:
+ - Depend on newer versions of GTK, Vala.
+ - Use HeaderBar.
+ + Fixes:
+ - Stop using stock icons.
+ - Compilation warnings.
+ - Typos.
+ - AppData.
+ - Misc cleanup.
+ + Updated translations.
+- Add pkgconfig(gtksourceview-3.0) BuildRequires: new dependency.
+
-------------------------------------------------------------------
Wed Mar 5 13:54:18 UTC 2014 - coolo@suse.com
diff --git a/gnome-calculator.spec b/gnome-calculator.spec
index 343eaed..36019e2 100644
--- a/gnome-calculator.spec
+++ b/gnome-calculator.spec
@@ -17,22 +17,21 @@
Name: gnome-calculator
-Version: 3.10.2
+Version: 3.12.1
Release: 0
Summary: A GNOME Calculator Application
License: GPL-2.0+
Group: Productivity/Scientific/Math
Url: http://www.gnome.org
-Source: http://download.gnome.org/sources/gnome-calculator/3.10/%{name}-%{version}.tar.xz
-# PATCH-FIX-UPSTREAM gnome-calculator-appdata_xml.patch coolo@suse.de -- fix invalid XML in appdata, not submitted upstream, as the screenshot links change for gnome-calculator 3.12 anyway.
-Patch0: gnome-calculator-appdata_xml.patch
+Source: http://download.gnome.org/sources/gnome-calculator/3.12/%{name}-%{version}.tar.xz
BuildRequires: fdupes
-BuildRequires: intltool
+BuildRequires: intltool >= 0.50
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(gio-2.0) >= 2.31
-BuildRequires: pkgconfig(gtk+-3.0) >= 3.0
+BuildRequires: pkgconfig(gtk+-3.0) >= 3.10
+BuildRequires: pkgconfig(gtksourceview-3.0) >= 3.0.0
BuildRequires: pkgconfig(libxml-2.0)
Recommends: %{name}-lang
# gcactool was renamed to gnome-calculator. Last known version was 6.6.2
@@ -49,7 +48,6 @@ A GNOME calculator package based on calctool and MP library.
%lang_package
%prep
%setup -q
-%patch0 -p1
translation-update-upstream
%build
@@ -58,7 +56,7 @@ make %{?_smp_mflags}
%install
%make_install
-%suse_update_desktop_file gcalctool Calculator
+%suse_update_desktop_file %{name} Calculator
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
@@ -79,7 +77,7 @@ rm -rf %{buildroot}
%doc %{_datadir}/help/C/%{name}
%{_bindir}/*
%dir %{_datadir}/appdata
-%{_datadir}/appdata/gnome-calculator.appdata.xml
+%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/glib-2.0/schemas/org.gnome.calculator.gschema.xml
%doc %{_mandir}/man?/*.*