|
|
|
@ -1,22 +1,21 @@
|
|
|
|
|
# debug info seem not works with D compiler
|
|
|
|
|
%global snapdate 20131026
|
|
|
|
|
%global gtkd_revision 33f6aeb
|
|
|
|
|
%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
|
|
|
|
|
# cd GtkD
|
|
|
|
|
# git co Gtk-3.x
|
|
|
|
|
# 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: 44.%{alphatag}%{?dist}
|
|
|
|
|
Release: 45.%{alphatag}%{?dist}
|
|
|
|
|
Summary: D binding and OO wrapper of GTK+
|
|
|
|
|
|
|
|
|
|
License: LGPLv3+ with exceptions
|
|
|
|
@ -85,8 +84,7 @@ make test
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
make %{?_smp_mflags} install-shared install-headers DESTDIR=%{buildroot} prefix=%{_prefix} libdir=%{?_lib} datadir=%{_datadir}
|
|
|
|
|
# fix right to lib
|
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/libgtkd*.so.0.2.0
|
|
|
|
|
|
|
|
|
|
# geany tags
|
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
|
install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
@ -98,11 +96,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.2.0
|
|
|
|
|
%{_libdir}/libgtkd-2.so.0.3.1
|
|
|
|
|
%{_libdir}/libgtkdgl-2.so.0
|
|
|
|
|
%{_libdir}/libgtkdgl-2.so.0.2.0
|
|
|
|
|
%{_libdir}/libgtkdgl-2.so.0.3.1
|
|
|
|
|
%{_libdir}/libgtkdsv-2.so.0
|
|
|
|
|
%{_libdir}/libgtkdsv-2.so.0.2.0
|
|
|
|
|
%{_libdir}/libgtkdsv-2.so.0.3.1
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%{_d_includedir}/%{name}-2
|
|
|
|
@ -118,6 +116,9 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
|
%{_datadir}/geany/tags/gtkd.d.tags
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sun Mar 09 2014 jonathan MERCIER <bioinfornatics@gmail.com> - 2.0.0-45.20140301gitaf01da8
|
|
|
|
|
- Update to latest rev
|
|
|
|
|
|
|
|
|
|
* Mon Oct 28 2013 Jonathan MERCIER <bioinfornatics@gmail.com> - 2.0.0-44.20131026git33f6aeb
|
|
|
|
|
- Update to rev 33f6aeb
|
|
|
|
|
|
|
|
|
|