|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|