%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7) %global with_desktop_vendor_tag 1 %endif %global git_snapshot 1 %if 0%{?git_snapshot} %global git_rev 802919215c95bc2e03f3e16cf9ba39f414350144 %global git_date 20160809 %global git_short %(echo %{git_rev} | cut -c-8) %global git_version D%{git_date}git%{git_short} %endif Name: lxterminal Version: 0.2.0 Release: 6%{?git_version:.%{?git_version}}%{?dist} Summary: Desktop-independent VTE-based terminal emulator Summary(de): Desktop-unabhängiger VTE-basierter Terminal Emulator Group: User Interface/Desktops License: GPLv2+ URL: http://lxde.sourceforge.net/ %if 0%{?git_snapshot} Source0: %{name}-%{version}-%{?git_version}.tar.bz2 %else Source0: http://downloads.sourceforge.net/sourceforge/lxde/%{name}-%{version}.tar.gz %endif # Shell script to create tarball from git scm Source100: create-tarball-from-git.sh BuildRequires: pkgconfig(gtk+-2.0) >= 2.18.0 BuildRequires: pkgconfig(glib-2.0) >= 2.6.0 BuildRequires: pkgconfig(x11) BuildRequires: pkgconfig(vte) BuildRequires: %{_bindir}/xsltproc BuildRequires: docbook-utils BuildRequires: docbook-style-xsl BuildRequires: desktop-file-utils BuildRequires: intltool BuildRequires: gettext %if 0%{?git_snapshot} BuildRequires: automake BuildRequires: libtool %endif %description LXterminal is a VTE-based terminal emulator with support for multiple tabs. It is completely desktop-independent and does not have any unnecessary dependencies. In order to reduce memory usage and increase the performance all instances of the terminal are sharing a single process. %description -l de LXTerminal ist ein VTE-basierter Terminalemulator mit Unterstützung für mehrere Reiter. Er ist komplett desktop-unabhängig und hat keine unnötigen Abhängigkeiten. Um den Speicherverbrauch zu reduzieren und die Leistung zu erhöhen teilen sich alle Instanzen des Terminals einen einzigen Prozess. %prep %setup -q %{?git_version:-n %{name}-%{version}-%{?git_version}} %build %{?git_version:sh autogen.sh} %configure \ --enable-man \ --disable-silent-rules \ %{nil} make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p" desktop-file-install \ %if 0%{?with_desktop_vendor_tag} --vendor fedora \ %endif --delete-original \ --remove-category=Utility \ --add-category=System \ --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop %find_lang %{name} %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 %{name}.lang %doc AUTHORS %license COPYING %doc README %{_bindir}/%{name} %{_datadir}/%{name}/ %{_datadir}/applications/*%{name}.desktop %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_mandir}/man1/%{name}*.1.gz %changelog * Wed Aug 10 2016 Mamoru TASAKA - 0.2.0-6.D20160809git80291921 - Update to the latest git - https://github.com/lxde/lxterminal/pull/21 - https://github.com/lxde/lxterminal/issues/20 * Thu Aug 4 2016 Mamoru TASAKA - 0.2.0-5.D20160607gitd4014424 - Try the latest git * Thu Feb 04 2016 Fedora Release Engineering - 0.2.0-4.D20151126gitbe658ad3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Sun Nov 29 2015 Mamoru TASAKA - 0.2.0-3.D20151126gitbe658ad3 - Try the latest git * Thu Jul 23 2015 Mamoru TASAKA - 0.2.0-2 - Fix scriptlet * Thu Jun 18 2015 Mamoru TASAKA - 0.2.0-1 - 0.2.0 * Wed Jun 17 2015 Fedora Release Engineering - 0.1.11-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sun Aug 17 2014 Fedora Release Engineering - 0.1.11-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.1.11-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.1.11-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Jun 26 2013 Toshio Kuratomi - 0.1.11-7 - Really drop desktop vendor tag. * Fri Apr 26 2013 Jon Ciesla - 0.1.11-6 - Drop desktop vendor tag. * Thu Feb 14 2013 Fedora Release Engineering - 0.1.11-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 0.1.11-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 0.1.11-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Tue Dec 06 2011 Adam Jackson - 0.1.11-2 - Rebuild for new libpng * Tue Aug 30 2011 Christoph Wickert - 0.1.11-1 - Update to 0.1.11 - Remove upstreamed vte patch * Tue Feb 08 2011 Fedora Release Engineering - 0.1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Wed Sep 01 2010 Christoph Wickert - 0.1.9-1 - Update to 0.1.9 - Add patch for vte >= 0.20.0 * Mon Jul 19 2010 Christoph Wickert - 0.1.8-1 - Update to 0.1.8 - Drop all previous patches, they are part of 0.1.8 - Update German translation * Thu May 27 2010 Christoph Wickert - 0.1.7-2 - Major code rework from git (fixes #571591 and 596358) * Wed Mar 03 2010 Christoph Wickert - 0.1.7-1 - Update to 0.1.7 * Wed Feb 17 2010 Christoph Wickert - 0.1.6-3 - Add patch to fix DSO linking (#564717) * Sat Jul 25 2009 Fedora Release Engineering - 0.1.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sat Jul 11 2009 Christoph Wickert - 0.1.6-1 - Update to 0.1.6 - Remove missing-icons.patch, changes got upstreamed * Tue Jun 09 2009 Christoph Wickert - 0.1.5-2 - Rebuilt for libvte SONAME bump * Wed May 20 2009 Christoph Wickert - 0.1.5-1 - Update to 0.1.5 - Fix icon for Info menu entry * Wed Feb 25 2009 Fedora Release Engineering - 0.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Fri Dec 26 2008 Christoph Wickert - 0.1.4-1 - Update to 0.1.4 * Sat Jun 28 2008 Christoph Wickert - 0.1.3-1 - Update to 0.1.3 - Add the new manpage * Fri Jun 20 2008 Christoph Wickert - 0.1.2-1 - Initial Fedora package