Name: termite Version: 14 Release: 1%{?dist} Summary: Terminal emulator based on GTK and VTE Group: User Interface/X License: GPLv2 URL: https://github.com/thestinger/termite BuildRequires: make BuildRequires: gcc-c++ BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: vte3-ng-devel >= 0.52 BuildRequires: desktop-file-utils BuildRequires: git Requires: xdg-utils Requires: desktop-file-utils %description Termite is a terminal emulator based on GTK and VTE. It's a terminal emulator with few dependencies, so you don't need a full GNOME desktop installed to have a decent terminal emulator. This package requires a patched vte, for the "select text" features utilized by termite. %prep rm -rf %{name} git clone --recursive https://github.com/thestinger/termite.git cd %{name} git checkout v%{version} # Generate debug symbols sed -i -e 's/-O3/-O3 -g/g' Makefile # Do not strip output file sed -i -e 's/LDFLAGS := -s/LDFLAGS :=/g' Makefile %build cd %{name} make VERBOSE=1 %{?_smp_mflags} %install cd %{name} make PREFIX=/usr DESTDIR=%{buildroot} install install -Dm644 config %{buildroot}/etc/xdg/termite/config %post /usr/bin/update-desktop-database -q xdg-icon-resource forceupdate --theme hicolor &> /dev/null %postun /usr/bin/update-desktop-database -q xdg-icon-resource forceupdate --theme hicolor &> /dev/null %files %doc %{name}/README.rst %{name}/TODO.rst %{_bindir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/terminfo/x/xterm-termite %{_mandir}/man1/%{name}.1.* %{_mandir}/man5/%{name}.config.5.* %{_sysconfdir}/xdg/termite/config %changelog * Sat Nov 17 2018 Sergey Korolev - 14-1 - New release, fix dependencies