Hello community, here is the log from the commit of package tilix for openSUSE:Factory checked in at 2018-08-02 14:58:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tilix (Old) and /work/SRC/openSUSE:Factory/.tilix.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "tilix" Thu Aug 2 14:58:16 2018 rev:8 rq:626482 version:1.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/tilix/tilix.changes 2018-05-29 10:47:54.733867575 +0200 +++ /work/SRC/openSUSE:Factory/.tilix.new/tilix.changes 2018-08-02 14:58:22.316300559 +0200 @@ -1,0 +2,7 @@ +Sat Jul 28 12:55:51 UTC 2018 - matthias.eliasson@gmail.com + +- Start using ldc d-compiler with autotools for Tumbleweed now it is in the repo. +- Start using gtkd dependency from repo instead of included gtkd archive for Tumbleweed. +- Add licenses for x11 and icons included in tilix. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tilix.spec ++++++ --- /var/tmp/diff_new_pack.nilb9v/_old 2018-08-02 14:58:23.420302417 +0200 +++ /var/tmp/diff_new_pack.nilb9v/_new 2018-08-02 14:58:23.420302417 +0200 @@ -21,7 +21,7 @@ Version: 1.8.1 Release: 0 Summary: A tiling terminal emulator based on GTK+ 3 -License: MPL-2.0 +License: MPL-2.0 AND LGPL-3.0-only Group: System/X11/Terminals URL: https://github.com/gnunn1/tilix Source0: https://github.com/gnunn1/tilix/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -29,10 +29,7 @@ Source1: https://github.com/gtkd-developers/GtkD/archive/v%{gtkd_version}.tar.gz#/GtkD-%{gtkd_version}.tar.gz Patch0: gnome-ssh-agent.patch Patch1: dynamic-link.patch -BuildRequires: dmd -BuildRequires: dub BuildRequires: hicolor-icon-theme -BuildRequires: phobos-devel BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: xdg-utils @@ -44,6 +41,20 @@ Requires: vte Conflicts: nautilus-extension-terminix Conflicts: terminix +%if 0%{?suse_version} > 1500 +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: fdupes +BuildRequires: gettext +BuildRequires: gtkd-devel >= %{gtkd_version} +BuildRequires: ldc +BuildRequires: ldc-phobos-devel +BuildRequires: po4a +%else +BuildRequires: dmd +BuildRequires: dub +BuildRequires: phobos-devel +%endif %description A tiling terminal emulator for Linux using GTK+ 3 @@ -66,6 +77,11 @@ %patch1 -p 1 %build +%if 0%{?suse_version} > 1500 +./autogen.sh +%configure +%make_build +%else # Register local GtkD repository in dub dub add-local GtkD-%{gtkd_version} %{gtkd_version} @@ -74,15 +90,26 @@ # De-register local GtkD repository in dub dub remove-local GtkD-%{gtkd_version} +%endif + +# Rename license files so that we can include them in %%license +# Both x11 and icons use LGPL-3.0-only. +cp -a data/icons/LICENSE LICENSE-data-icons +cp -a source/x11/LICENSE LICENSE-source-x11 %install +%if 0%{?suse_version} > 1500 +%make_install +%fdupes %{buildroot} +%else ./install.sh %{buildroot}%{_prefix} rm %{buildroot}%{_datadir}/glib-2.0/schemas/gschemas.compiled +%endif %find_lang %{name} %{?no_lang_C} %files -%license LICENSE +%license LICENSE* %doc README.md %{_bindir}/%{name} %{_datadir}/%{name} @@ -112,5 +139,12 @@ %{_datadir}/nautilus-python/extensions/open-tilix.py %files lang -f %{name}.lang +%if 0%{?suse_version} > 1500 +%dir %{_mandir}/nb_NO +%dir %{_mandir}/sr +%dir %{_mandir}/uk +%dir %{_mandir}/*/man1 +%{_mandir}/*/man1/tilix.1%{?ext_man} +%endif %changelog