Name: tilix Version: 1.5.4 Release: 4%{?dist} Summary: Tiling terminal emulator # The tilix source code is MPLv2.0, # source/gx/gtk/x11.d is GPLv2+, # source/secret is LGPLv3+, # source/x11 and com.gexperts.Tilix.gschema.xml are GPLv3+, # icons are CC-BY-SA. # This makes the combined license: License: MPLv2.0 and GPLv3+ and CC-BY-SA URL: https://github.com/gnunn1/tilix Source0: https://github.com/gnunn1/tilix/archive/%{version}/%{name}-%{version}.tar.gz ExclusiveArch: %{ldc_arches} BuildRequires: autoconf BuildRequires: automake BuildRequires: gettext-devel BuildRequires: gdk-pixbuf2-devel BuildRequires: glib2-devel BuildRequires: ldc BuildRequires: pkgconfig(gtkd-3) BuildRequires: pkgconfig(vted-3) BuildRequires: pkgconfig(x11) BuildRequires: /usr/bin/appstream-util BuildRequires: /usr/bin/desktop-file-validate # For directory ownership Requires: dbus Requires: hicolor-icon-theme # Upgrade path from terminix copr Obsoletes: terminix < 1.5.4 Provides: terminix = %{version}-%{release} %description Tilix is a tiling terminal emulator with the following features: - Layout terminals in any fashion by splitting them horizontally or vertically - Terminals can be re-arranged using drag and drop both within and between windows - Terminals can be detached into a new window via drag and drop - Input can be synchronized between terminals so commands typed in one terminal are replicated to the others - The grouping of terminals can be saved and loaded from disk - Terminals support custom titles - Color schemes are stored in files and custom color schemes can be created by simply creating a new file - Transparent background - Supports notifications when processes are completed out of view The application was written using GTK 3 and an effort was made to conform to GNOME Human Interface Guidelines (HIG). %package nautilus Summary: Tilix extension for Nautilus Requires: %{name}%{?_isa} = %{version}-%{release} Requires: nautilus-python%{?_isa} %description nautilus This package provides a Nautilus extension that adds the 'Open in Tilix' option to the right-click context menu in Nautilus. %prep %autosetup %build NOCONFIGURE=1 ./autogen.sh %configure DCFLAGS="%{_d_optflags} -version=StdLoggerDisableTrace" %make_build # Rename license files so that we can include them in %%license cp -a data/icons/LICENSE LICENSE-data-icons cp -a source/x11/LICENSE LICENSE-source-x11 %install %make_install %find_lang tilix %check appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/metainfo/com.gexperts.Tilix.appdata.xml desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/com.gexperts.Tilix.desktop %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f tilix.lang %license LICENSE* %doc README.md %{_bindir}/tilix %{_datadir}/applications/com.gexperts.Tilix.desktop %{_datadir}/dbus-1/services/com.gexperts.Tilix.service %{_datadir}/glib-2.0/schemas/com.gexperts.Tilix.gschema.xml %{_datadir}/icons/hicolor/*/apps/com.gexperts.Tilix.png %{_datadir}/icons/hicolor/scalable/apps/com.gexperts.Tilix-symbolic.svg %{_datadir}/metainfo/com.gexperts.Tilix.appdata.xml %{_datadir}/tilix/ %{_mandir}/man1/tilix.1* %files nautilus %{_datadir}/nautilus-python/extensions/open-tilix.py* %changelog * Mon Mar 20 2017 Kalev Lember - 1.5.4-4 - Include data/icons/LICENSE and source/x11/LICENSE as %%license (#1434003) * Mon Mar 20 2017 Kalev Lember - 1.5.4-3 - Update licensing breakdown (#1434003) - Add explicit dbus and hicolor-icon-theme deps for directory ownership * Mon Mar 20 2017 Kalev Lember - 1.5.4-2 - Use _d_optflags and disable debug print to stderr * Mon Mar 20 2017 Kalev Lember - 1.5.4-1 - Initial Fedora packaging