lxterminal/lxterminal.spec
Michael Vetter 03270fa8a1 Accepting request 563409 from home:kbabioch:branches:X11:lxde
- new upstream version 0.3.1:
 * Fix CVE-2016-10369, a Denial-of-Service vulnerability. (boo#1038127)
 * Fix bug that prevents changing tab name, which is introduced since 0.3.0.
 * The keyboard shortcut can be changed by pressing key combinations.
- added lxterminal-0.3.1-return-value-unixterminal.patch to fix compiler warnings

OBS-URL: https://build.opensuse.org/request/show/563409
OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxterminal?expand=0&rev=67
2018-01-12 14:55:55 +00:00

83 lines
2.2 KiB
RPMSpec

#
# spec file for package lxterminal
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: lxterminal
Version: 0.3.1
Release: 0
Summary: Lightweight LXDE Terminal
License: GPL-2.0
Group: System/GUI/LXDE
Url: http://www.lxde.org/
Source0: %{name}-%{version}.tar.xz
# PATCH-FEATURE-OPENSUSE lxterminal-0.1.8-disable-f10.patch andrea@opensuse.org
# disable f10 shortcut because yast use it
Patch0: %{name}-0.1.8-disable-f10.patch
Patch1: lxterminal-0.3.1-return-value-unixterminal.patch
BuildRequires: docbook-utils
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
BuildRequires: gtk2-devel
BuildRequires: intltool
BuildRequires: libxslt-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
BuildRequires: vte2-devel
Recommends: %{name}-lang
%description
LXTerminal is a lightweight Terminal Emulator.
This package even if DE independent is part
of the LXDE project.
%lang_package
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%build
%configure --enable-man
make %{?_smp_mflags} V=1
%install
%make_install
%suse_update_desktop_file %{name} System
%find_lang %{name}
%fdupes -s %{buildroot}
%post
%desktop_database_post
%postun
%desktop_database_postun
%files
%doc COPYING
%{_bindir}/%{name}
%{_datadir}/applications/lxterminal.desktop
%dir %{_datadir}/lxterminal
%{_datadir}/lxterminal/lxterminal.conf
%{_datadir}/lxterminal/*.ui
%{_datadir}/icons/hicolor/128x128/apps/lxterminal.png
%{_mandir}/man1/lxterminal.1%{ext_man}
%files lang -f %{name}.lang
%changelog