From cbc1d06b702c693bd459caf8ee27b71a7e2b9a85 Mon Sep 17 00:00:00 2001
From: bioifornatics <bioifornatics@fedoraproject.org>
Date: Mon, 19 May 2014 23:30:22 +0200
Subject: [PATCH] Update to latest rev

(cherry picked from commit ca7bfe497f7755fa174f64e7a59cfe3c35ac591e)

Conflicts:
	gtkd.spec
---
 .gitignore |  1 +
 gtkd.spec  | 33 +++++++++++++--------------------
 sources    |  2 +-
 3 files changed, 15 insertions(+), 21 deletions(-)

diff --git a/.gitignore b/.gitignore
index 77d7e0a..64fb9db 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@
 /gtkd-20131022git3948a30.tar.xz
 /gtkd-20131026git33f6aeb.tar.xz
 /gtkd-20140301gitaf01da8.tar.xz
+/v2.3.2.tar.gz
diff --git a/gtkd.spec b/gtkd.spec
index 7401b50..9f2e04e 100644
--- a/gtkd.spec
+++ b/gtkd.spec
@@ -1,26 +1,14 @@
 # debug info seem not works with D compiler
-%global     snapdate        20140301
-%global     gtkd_revision   af01da8
-%global     alphatag        %{snapdate}git%{gtkd_revision}
 %global     debug_package   %{nil}
 
-
-# The source for this package was pulled from upstream's subversion (git).
-# Use the following commands to generate the tarball:
-# git clone git://github.com/gtkd-developers/GtkD.git gtkd
-# cd gtkd
-# git rev-parse --short HEAD            -> for git_revision
-# git checkout %%{gtkd_revision}
-# git archive --prefix=gtkd-%%{alphatag}/ HEAD --format=tar | xz > ../gtkd-%%{alphatag}.tar.xz
-
 Name:           gtkd
-Version:        2.0.0
-Release:        45.%{alphatag}%{?dist}
+Version:        2.3.2
+Release:        47%{?dist}
 Summary:        D binding and OO wrapper of GTK+
 
 License:        LGPLv3+ with exceptions
 URL:            https://github.com/gtkd-developers/GtkD/
-Source0:        %{name}-%{alphatag}.tar.xz
+Source0:        https://github.com/gtkd-developers/GtkD/archive/v%{version}.tar.gz
 
 BuildRequires:  ldc, ldc-phobos-devel, ldc-druntime-devel, gtk2-devel
 # Explicit require since gtkd use dlopen internally so rpm can't detect this.
@@ -28,7 +16,7 @@ Requires:       atk, gtk2, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libglade2
 Requires:       mesa-libGL, mesa-libGLU, gtksourceview2
 Requires:       gstreamer, gstreamer-plugins-basexz
 
-# https://github.com/ldc-developers/ldc/issues/116
+# https://github.com/ldc-developers/ldc/issues/613
 ExcludeArch:    %{arm}
 
 
@@ -68,7 +56,7 @@ Enable autocompletion for gtkd library in geany (IDE)
 Active l'autocompletion pour pour la bibliothèque gtkd dans geany (IDE)
 
 %prep
-%setup -q -n %{name}-%{alphatag}
+%setup -q -n GtkD-%{version}
 
 # temp geany config directory for allow geany to generate tags
 mkdir geany_config
@@ -96,11 +84,11 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/
 %files
 %doc AUTHORS COPYING README
 %{_libdir}/libgtkd-2.so.0
-%{_libdir}/libgtkd-2.so.0.3.1
+%{_libdir}/libgtkd-2.so.0.3.2
 %{_libdir}/libgtkdgl-2.so.0
-%{_libdir}/libgtkdgl-2.so.0.3.1
+%{_libdir}/libgtkdgl-2.so.0.3.2
 %{_libdir}/libgtkdsv-2.so.0
-%{_libdir}/libgtkdsv-2.so.0.3.1
+%{_libdir}/libgtkdsv-2.so.0.3.2
 
 %files devel
 %{_d_includedir}/%{name}-2
@@ -116,6 +104,11 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/
 %{_datadir}/geany/tags/gtkd.d.tags
 
 %changelog
+* Mon May 19 2014 jonathan MERCIER <bioinfornatics@gmail.com> - 2.3.2-47
+- update to latest rev
+
+* Mon Mar 10 2014 jonathan MERCIER <bioinfornatics@gmail.com> - 2.0.0-46.20140301gitaf01da8
+- Fix requires
 * Sun Mar 09 2014 jonathan MERCIER <bioinfornatics@gmail.com> - 2.0.0-45.20140301gitaf01da8
 - Update to latest rev
 
diff --git a/sources b/sources
index 24ae90e..c7455bf 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3c8b5b6bafd94726d782d06856dc6725  gtkd-20140301gitaf01da8.tar.xz
+f7830ae85bb3da1422c41bffd4756aec  v2.3.2.tar.gz