|
|
@ -1,12 +1,12 @@
|
|
|
|
# debug info seem not works with D compiler
|
|
|
|
# debug info seem not works with D compiler
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global gtkd_major 0
|
|
|
|
%global gtkd_major 0
|
|
|
|
%global gtkd_minor 1
|
|
|
|
%global gtkd_minor 2
|
|
|
|
%global gtkd_bump 3
|
|
|
|
%global gtkd_bump 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: gtkd
|
|
|
|
Name: gtkd
|
|
|
|
Version: 3.1.4
|
|
|
|
Version: 3.2.1
|
|
|
|
Release: 52%{?dist}
|
|
|
|
Release: 56%{?dist}
|
|
|
|
Summary: D binding and OO wrapper of GTK+
|
|
|
|
Summary: D binding and OO wrapper of GTK+
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv3+ with exceptions
|
|
|
|
License: LGPLv3+ with exceptions
|
|
|
@ -15,10 +15,11 @@ Source0: https://github.com/gtkd-developers/GtkD/archive/v%{version}.tar.
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel, gtk3-devel, libcurl-devel
|
|
|
|
BuildRequires: ldc, ldc-phobos-devel, ldc-druntime-devel, gtk3-devel, libcurl-devel
|
|
|
|
# Explicit require since gtkd use dlopen internally so rpm can't detect this.
|
|
|
|
# Explicit require since gtkd use dlopen internally so rpm can't detect this.
|
|
|
|
Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, libglade, libcurl
|
|
|
|
Requires: atk, gtk3, gdk-pixbuf2, pango, cairo, gdk-pixbuf2, glade3-libgladeui, libcurl
|
|
|
|
Requires: gtkglext-devel, vte3
|
|
|
|
#Requires: gtkglext3-devel --> should te be packaged https://github.com/tdz/gtkglext
|
|
|
|
|
|
|
|
Requires: vt291
|
|
|
|
Requires: mesa-libGL, mesa-libGLU, gtksourceview3
|
|
|
|
Requires: mesa-libGL, mesa-libGLU, gtksourceview3
|
|
|
|
Requires: gstreamer, gstreamer-plugins-base, xz
|
|
|
|
Requires: gstreamer1, gstreamer1-plugins-base, xz
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/ldc-developers/ldc/issues/613
|
|
|
|
# https://github.com/ldc-developers/ldc/issues/613
|
|
|
|
ExcludeArch: %{arm}
|
|
|
|
ExcludeArch: %{arm}
|
|
|
@ -65,7 +66,7 @@ Active l'autocompletion pour pour la bibliothèque gtkd dans geany (IDE)
|
|
|
|
# temp geany config directory for allow geany to generate tags
|
|
|
|
# temp geany config directory for allow geany to generate tags
|
|
|
|
mkdir geany_config
|
|
|
|
mkdir geany_config
|
|
|
|
|
|
|
|
|
|
|
|
sed -i 's/GTKD_VERSION=2.4.1/GTKD_VERSION=2.4.2/g' GNUmakefile
|
|
|
|
# sed -i 's/GTKD_VERSION=2.4.1/GTKD_VERSION=2.4.2/g' GNUmakefile
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
make %{?_smp_mflags} -f ./GNUmakefile shared-libs DC=ldc2 CC=gcc libdir=%{?_lib} DCFLAGS="%{_d_optflags}"
|
|
|
|
make %{?_smp_mflags} -f ./GNUmakefile shared-libs DC=ldc2 CC=gcc libdir=%{?_lib} DCFLAGS="%{_d_optflags}"
|
|
|
@ -74,7 +75,7 @@ geany -c geany_config -g gtkd.d.tags $(find src* -name "*.d")
|
|
|
|
|
|
|
|
|
|
|
|
# Need to be update to gtk3
|
|
|
|
# Need to be update to gtk3
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
make DC=ldc2 test
|
|
|
|
make %{?_smp_mflags} DC=ldc2 test
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make %{?_smp_mflags} install-shared install-headers DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} datadir=%{_datadir}
|
|
|
|
make %{?_smp_mflags} install-shared install-headers DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} datadir=%{_datadir}
|
|
|
@ -110,6 +111,10 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
%{_datadir}/geany/tags/gtkd.d.tags
|
|
|
|
%{_datadir}/geany/tags/gtkd.d.tags
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Tue Jan 05 2016 Jonathan MERCIER <bioinfornatics@gmail.com> - 3.2.1-56
|
|
|
|
|
|
|
|
- Fix several deprecated requires
|
|
|
|
|
|
|
|
- update to latest release 3.2.1
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Sep 06 2015 Jonathan MERCIER <bioinfornatics@gmail.com> - 3.1.4-52
|
|
|
|
* Sun Sep 06 2015 Jonathan MERCIER <bioinfornatics@gmail.com> - 3.1.4-52
|
|
|
|
- update to latest release
|
|
|
|
- update to latest release
|
|
|
|
|
|
|
|
|
|
|
|