2010-01-07 11:51:54 +01:00
|
|
|
#
|
2010-07-20 01:33:19 +02:00
|
|
|
# spec file for package lxterminal (Version 0.1.8)
|
2010-01-07 11:51:54 +01:00
|
|
|
#
|
|
|
|
# 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
|
2010-07-20 01:33:19 +02:00
|
|
|
Version: 0.1.8
|
2010-08-02 10:34:01 +02:00
|
|
|
Release: 2
|
2010-01-07 11:51:54 +01:00
|
|
|
Summary: Lightweight LXDE Terminal
|
2010-07-20 00:26:05 +02:00
|
|
|
Group: System/GUI/LXDE
|
2010-01-07 11:51:54 +01:00
|
|
|
License: GPL
|
|
|
|
Url: http://www.lxde.org/
|
|
|
|
Source0: %name-%version.tar.bz2
|
2010-07-20 01:33:19 +02:00
|
|
|
# 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
|
2010-07-20 10:14:29 +02:00
|
|
|
# upstream patch to fix sf#3006779 (enable/disable Alt+n)
|
2010-07-20 20:56:53 +02:00
|
|
|
Patch1: %name-0.1.8-fix-alt_n-sf3006779.patch.bz2
|
2010-07-21 12:08:34 +02:00
|
|
|
# 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
|
2010-08-02 10:34:01 +02:00
|
|
|
Patch2: %name-0.1.8-hide_menu_bar-sf3032519.patch
|
2010-07-29 10:44:01 +02:00
|
|
|
# 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
|
2010-08-02 10:34:01 +02:00
|
|
|
Patch3: %name-0.1.8-fix_alt-key_after_tab_delete.patch
|
2010-01-07 11:51:54 +01:00
|
|
|
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
|
2010-07-20 20:56:53 +02:00
|
|
|
Recommends: %name-lang
|
2010-01-07 11:51:54 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
LXTerminal is a lightweight Terminal Emulator.
|
|
|
|
This package even if DE independent it's part
|
|
|
|
of the LXDE project
|
|
|
|
|
2010-07-20 10:14:29 +02:00
|
|
|
|
2010-07-20 20:56:53 +02:00
|
|
|
%lang_package
|
2010-01-07 11:51:54 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2010-07-20 10:14:29 +02:00
|
|
|
%patch1 -p1
|
2010-07-21 12:08:34 +02:00
|
|
|
%patch2 -p1
|
2010-07-29 10:44:01 +02:00
|
|
|
%patch3 -p1
|
2010-01-07 11:51:54 +01:00
|
|
|
|
|
|
|
%build
|
2010-08-31 08:34:12 +02:00
|
|
|
%if %suse_version > 1130
|
2010-08-31 10:50:37 +02:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS -U_VTE_SEAL_ENABLE"
|
2010-08-31 08:34:12 +02:00
|
|
|
%else
|
2010-01-07 11:51:54 +01:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2010-08-31 08:34:12 +02:00
|
|
|
%endif
|
2010-01-07 11:51:54 +01:00
|
|
|
%configure --enable-man
|
|
|
|
%__make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%makeinstall
|
2010-03-02 01:41:16 +01:00
|
|
|
# remove not available languages
|
2010-04-07 02:18:11 +02:00
|
|
|
%__rm -rf %buildroot/%_datadir/locale/{frp,es_VE,ur_PK}
|
2010-01-07 11:51:54 +01:00
|
|
|
%suse_update_desktop_file %name System
|
|
|
|
%find_lang %{name}
|
|
|
|
%fdupes -s %{buildroot}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
%__rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
2010-07-20 10:14:29 +02:00
|
|
|
%files
|
2010-01-07 11:51:54 +01:00
|
|
|
%defattr(-,root,root,0755)
|
|
|
|
%doc COPYING
|
|
|
|
%_bindir/%name
|
|
|
|
%_datadir/applications/lxterminal.desktop
|
|
|
|
%dir %_datadir/lxterminal
|
|
|
|
%_datadir/lxterminal/lxterminal.conf
|
2010-07-20 01:33:19 +02:00
|
|
|
%_datadir/lxterminal/lxterminal-preferences.ui
|
2010-01-07 11:51:54 +01:00
|
|
|
%_mandir/man1/lxterminal.1.gz
|
|
|
|
%_datadir/pixmaps/lxterminal.png
|
|
|
|
|
2010-07-20 10:14:29 +02:00
|
|
|
%files lang -f %name.lang
|
|
|
|
|
2010-01-07 11:51:54 +01:00
|
|
|
%changelog
|