1086e74260
checked in (request 44164) OBS-URL: https://build.opensuse.org/request/show/44164 OBS-URL: https://build.opensuse.org/package/show/X11:lxde/lxterminal?expand=0&rev=32
92 lines
3.0 KiB
RPMSpec
92 lines
3.0 KiB
RPMSpec
#
|
|
# spec file for package lxterminal (Version 0.1.8)
|
|
#
|
|
# Copyright (c) 2010 SUSE LINUX Products 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: lxterminal
|
|
Version: 0.1.8
|
|
Release: 2
|
|
Summary: Lightweight LXDE Terminal
|
|
Group: System/GUI/LXDE
|
|
License: GPL
|
|
Url: http://www.lxde.org/
|
|
Source0: %name-%version.tar.bz2
|
|
# 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
|
|
# PATCH-FIX-UPSTREAM lxterminal-0.1.8-fix-alt_n-sf3006779.patch andrea@opensuse.org
|
|
# upstream patch to fix sf#3006779 (enable/disable Alt+n)
|
|
Patch1: %name-0.1.8-fix-alt_n-sf3006779.patch.bz2
|
|
# PATCH-FIX-UPSTREAM lxterminal-0.1.8-hide_menu_bar-sf3032519.patch andrea@opensuse.org
|
|
# upstream patch to fix sf#3032519 if toggle on hide menu bar in preference, then exit
|
|
# and restart lxterminal, lxterminal will not hide menu bar, This patch fix this problem
|
|
Patch2: %name-0.1.8-hide_menu_bar-sf3032519.patch
|
|
# PATCH-FIX-UPSTREAM lxterminal-0.1.8-fix_alt-key_after_tab_delete.patch andrea@opensuse.org
|
|
# upstream patch to fix sf#3036189 Fix Alt-key assignment after tab deleted
|
|
Patch3: %name-0.1.8-fix_alt-key_after_tab_delete.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildRequires: fdupes gtk2-devel intltool pkg-config update-desktop-files
|
|
BuildRequires: docbook-utils docbook-xsl-stylesheets libxslt-devel vte-devel
|
|
Recommends: %name-lang
|
|
|
|
%description
|
|
LXTerminal is a lightweight Terminal Emulator.
|
|
This package even if DE independent it's part
|
|
of the LXDE project
|
|
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
%patch2 -p1
|
|
%patch3 -p1
|
|
|
|
%build
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
|
export CXXFLAGS="$RPM_OPT_FLAGS"
|
|
%configure --enable-man
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
# remove not available languages
|
|
%__rm -rf %buildroot/%_datadir/locale/{frp,es_VE,ur_PK}
|
|
%suse_update_desktop_file %name System
|
|
%find_lang %{name}
|
|
%fdupes -s %{buildroot}
|
|
|
|
%clean
|
|
%__rm -rf $RPM_BUILD_ROOT
|
|
|
|
%files
|
|
%defattr(-,root,root,0755)
|
|
%doc COPYING
|
|
%_bindir/%name
|
|
%_datadir/applications/lxterminal.desktop
|
|
%dir %_datadir/lxterminal
|
|
%_datadir/lxterminal/lxterminal.conf
|
|
%_datadir/lxterminal/lxterminal-preferences.ui
|
|
%_mandir/man1/lxterminal.1.gz
|
|
%_datadir/pixmaps/lxterminal.png
|
|
|
|
%files lang -f %name.lang
|
|
|
|
%changelog
|