|
|
@ -1,22 +1,21 @@
|
|
|
|
# debug info seem not works with D compiler
|
|
|
|
# debug info seem not works with D compiler
|
|
|
|
%global snapdate 20131026
|
|
|
|
%global snapdate 20140301
|
|
|
|
%global gtkd_revision 33f6aeb
|
|
|
|
%global gtkd_revision af01da8
|
|
|
|
%global alphatag %{snapdate}git%{gtkd_revision}
|
|
|
|
%global alphatag %{snapdate}git%{gtkd_revision}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# The source for this package was pulled from upstream's subversion (git).
|
|
|
|
# The source for this package was pulled from upstream's subversion (git).
|
|
|
|
# Use the following commands to generate the tarball:
|
|
|
|
# Use the following commands to generate the tarball:
|
|
|
|
# git clone git://github.com/gtkd-developers/GtkD.git
|
|
|
|
# git clone git://github.com/gtkd-developers/GtkD.git gtkd
|
|
|
|
# cd GtkD
|
|
|
|
# cd gtkd
|
|
|
|
# git co Gtk-3.x
|
|
|
|
|
|
|
|
# git rev-parse --short HEAD -> for git_revision
|
|
|
|
# git rev-parse --short HEAD -> for git_revision
|
|
|
|
# git checkout %%{gtkd_revision}
|
|
|
|
# git checkout %%{gtkd_revision}
|
|
|
|
# git archive --prefix=gtkd-%%{alphatag}/ HEAD --format=tar | xz > ../gtkd-%%{alphatag}.tar.xz
|
|
|
|
# git archive --prefix=gtkd-%%{alphatag}/ HEAD --format=tar | xz > ../gtkd-%%{alphatag}.tar.xz
|
|
|
|
|
|
|
|
|
|
|
|
Name: gtkd
|
|
|
|
Name: gtkd
|
|
|
|
Version: 2.0.0
|
|
|
|
Version: 2.0.0
|
|
|
|
Release: 44.%{alphatag}%{?dist}
|
|
|
|
Release: 45.%{alphatag}%{?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
|
|
|
@ -85,8 +84,7 @@ make 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}
|
|
|
|
# fix right to lib
|
|
|
|
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/libgtkd*.so.0.2.0
|
|
|
|
|
|
|
|
# geany tags
|
|
|
|
# geany tags
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
mkdir -p %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
install -m0644 gtkd.d.tags %{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
|
|
|
|
%files
|
|
|
|
%doc AUTHORS COPYING README
|
|
|
|
%doc AUTHORS COPYING README
|
|
|
|
%{_libdir}/libgtkd-2.so.0
|
|
|
|
%{_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
|
|
|
|
%{_libdir}/libgtkdgl-2.so.0.2.0
|
|
|
|
%{_libdir}/libgtkdgl-2.so.0.3.1
|
|
|
|
%{_libdir}/libgtkdsv-2.so.0
|
|
|
|
%{_libdir}/libgtkdsv-2.so.0
|
|
|
|
%{_libdir}/libgtkdsv-2.so.0.2.0
|
|
|
|
%{_libdir}/libgtkdsv-2.so.0.3.1
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%{_d_includedir}/%{name}-2
|
|
|
|
%{_d_includedir}/%{name}-2
|
|
|
@ -118,6 +116,9 @@ install -m0644 gtkd.d.tags %{buildroot}/%{_datadir}/geany/tags/
|
|
|
|
%{_datadir}/geany/tags/gtkd.d.tags
|
|
|
|
%{_datadir}/geany/tags/gtkd.d.tags
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Mon Oct 28 2013 Jonathan MERCIER <bioinfornatics@gmail.com> - 2.0.0-44.20131026git33f6aeb
|
|
|
|
- Update to rev 33f6aeb
|
|
|
|
- Update to rev 33f6aeb
|
|
|
|
|
|
|
|
|
|
|
|