From 463e2152e61607fb46e2e9d5fa9c6250b28cb633 Mon Sep 17 00:00:00 2001 From: bioinfornatics Date: Sun, 1 Feb 2015 16:11:55 +0100 Subject: [PATCH] new sources and release --- .gitignore | 1 + gtkd.spec | 31 ++++++++++++++++++++----------- sources | 2 +- 3 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 64fb9db..aa03c57 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /gtkd-20131026git33f6aeb.tar.xz /gtkd-20140301gitaf01da8.tar.xz /v2.3.2.tar.gz +/v2.4.2.tar.gz diff --git a/gtkd.spec b/gtkd.spec index 90cc44c..690548f 100644 --- a/gtkd.spec +++ b/gtkd.spec @@ -1,9 +1,12 @@ # debug info seem not works with D compiler %global debug_package %{nil} +%global gtkd_major 0 +%global gtkd_minor 4 +%global gtkd_bump 2 Name: gtkd -Version: 2.3.2 -Release: 49%{?dist} +Version: 2.4.2 +Release: 50%{?dist} Summary: D binding and OO wrapper of GTK+ License: LGPLv3+ with exceptions @@ -12,8 +15,9 @@ Source0: https://github.com/gtkd-developers/GtkD/archive/v%{version}.tar. BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel, gtk2-devel # Explicit require since gtkd use dlopen internally so rpm can't detect this. -Requires: atk, gtk2, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libglade2 -Requires: mesa-libGL, mesa-libGLU, gtksourceview2 +Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libglade +Requires: gtkglext-devel, vte3 +Requires: mesa-libGL, mesa-libGLU, gtksourceview3 Requires: gstreamer, gstreamer-plugins-base, xz # https://github.com/ldc-developers/ldc/issues/613 @@ -61,6 +65,8 @@ Active l'autocompletion pour pour la bibliothèque gtkd dans geany (IDE) # temp geany config directory for allow geany to generate tags mkdir geany_config +sed -i 's/GTKD_VERSION=2.4.1/GTKD_VERSION=2.4.2/g' GNUmakefile + %build make %{?_smp_mflags} -f ./GNUmakefile shared-libs DC=ldc2 CC=gcc libdir=%{?_lib} DCFLAGS="%{_d_optflags}" # generate geany tags @@ -68,7 +74,7 @@ geany -c geany_config -g gtkd.d.tags $(find src* -name "*.d") # Need to be update to gtk3 %check -make test +make DC=ldc2 test %install make %{?_smp_mflags} install-shared install-headers DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} datadir=%{_datadir} @@ -83,12 +89,12 @@ 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.2 -%{_libdir}/libgtkdgl-2.so.0 -%{_libdir}/libgtkdgl-2.so.0.3.2 -%{_libdir}/libgtkdsv-2.so.0 -%{_libdir}/libgtkdsv-2.so.0.3.2 +%{_libdir}/libgtkd-2.so.%{gtkd_major} +%{_libdir}/libgtkd-2.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} +%{_libdir}/libgtkdgl-2.so.%{gtkd_major} +%{_libdir}/libgtkdgl-2.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} +%{_libdir}/libgtkdsv-2.so.%{gtkd_major} +%{_libdir}/libgtkdsv-2.so.%{gtkd_major}.%{gtkd_minor}.%{gtkd_bump} %files devel %{_d_includedir}/%{name}-2 @@ -104,6 +110,9 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/ %{_datadir}/geany/tags/gtkd.d.tags %changelog +* Sun Feb 01 2015 bioinfornatics - 2.4.2-50 +- Update to latest revision + * Sat Aug 16 2014 Fedora Release Engineering - 2.3.2-49 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild diff --git a/sources b/sources index c7455bf..d6d7879 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -f7830ae85bb3da1422c41bffd4756aec v2.3.2.tar.gz +5b4a8d0974ba49d357c0a35425ede983 v2.4.2.tar.gz