0f1cd6fe8b
add 0001-Revert-Fix-handling-email-addresses.patch (boo#1071961, bxo#14076) OBS-URL: https://build.opensuse.org/request/show/556030 OBS-URL: https://build.opensuse.org/package/show/X11:xfce/xfce4-terminal?expand=0&rev=31
97 lines
3.1 KiB
RPMSpec
97 lines
3.1 KiB
RPMSpec
#
|
|
# spec file for package xfce4-terminal
|
|
#
|
|
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
|
# Copyright (c) 2012 Guido Berhoerster.
|
|
#
|
|
# 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: xfce4-terminal
|
|
Version: 0.8.6
|
|
Release: 0
|
|
Summary: Terminal Emulator for the Xfce Desktop Environment
|
|
License: GPL-2.0+
|
|
Group: System/X11/Terminals
|
|
Url: http://docs.xfce.org/apps/terminal/start
|
|
Source0: http://archive.xfce.org/src/apps/xfce4-terminal/0.8/%{name}-%{version}.tar.bz2
|
|
# PATCH-FIX-UPSTREAM - revert wrong email address handling (boo#1071961, bxo#14076) - seife+dev@b1-systems.com
|
|
Patch0: 0001-Revert-Fix-handling-email-addresses.patch
|
|
BuildRequires: intltool
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
BuildRequires: pkgconfig(exo-1)
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
|
BuildRequires: pkgconfig(libxfce4ui-2)
|
|
BuildRequires: pkgconfig(vte-2.91)
|
|
Recommends: %{name}-lang
|
|
|
|
%description
|
|
xfce4-terminal is a lightweight and easy to use terminal emulator for the Xfce
|
|
desktop environment. Its major features include a simple configuration
|
|
interface, the ability to use multiple tabs with terminals within a single
|
|
window, the possibility to have a pseudo-transparent terminal background, and a
|
|
compact mode where both the menubar and the window decorations are hidden which
|
|
helps to save space on the desktop.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
|
|
%build
|
|
%configure
|
|
make %{?_smp_mflags} V=1
|
|
|
|
%install
|
|
%make_install
|
|
|
|
# create a list of localized man directories, these need to be owned
|
|
(
|
|
printf '%%%%defattr(-,root,root)\n'
|
|
cd '%{buildroot}'
|
|
for dir in ".%{_mandir}/"*; do
|
|
[ -d "${dir}" ] || continue
|
|
case ${dir##*/} in
|
|
man*) continue ;;
|
|
*) lang="${dir##*/}"
|
|
printf "%%%%dir %%%%lang(%%s) %%s\n" "${lang}" "${dir#.}"
|
|
for subdir in "${dir}/"*; do
|
|
[ -d "${subdir}" ] || continue
|
|
printf "%%%%dir %%%%lang(%%s) %%s\n" "${lang}" \
|
|
"${subdir#.}"
|
|
done
|
|
;;
|
|
esac
|
|
done
|
|
) >> %{name}.lang
|
|
|
|
%find_lang %{name} --with-man %{?no_lang_C}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc AUTHORS COPYING HACKING NEWS README THANKS
|
|
%{_bindir}/xfce4-terminal
|
|
%dir %{_datadir}/xfce4
|
|
%{_datadir}/xfce4/terminal
|
|
%{_datadir}/applications/xfce4-terminal.desktop
|
|
%dir %{_datadir}/gnome-control-center
|
|
%{_datadir}/gnome-control-center/default-apps
|
|
%{_mandir}/man1/xfce4-terminal.1*
|
|
|
|
%files lang -f %{name}.lang
|
|
%defattr(-,root,root)
|
|
|
|
%changelog
|