2012-12-28 11:54:10 +01:00
|
|
|
#
|
|
|
|
# spec file for package xfce4-terminal
|
|
|
|
#
|
2022-04-07 10:49:06 +02:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2012-12-28 11:54:10 +01:00
|
|
|
# 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.
|
|
|
|
|
2019-07-11 10:50:09 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2012-12-28 11:54:10 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2019-07-11 10:50:09 +02:00
|
|
|
%bcond_with git
|
2012-12-28 11:54:10 +01:00
|
|
|
Name: xfce4-terminal
|
2022-04-25 18:42:40 +02:00
|
|
|
Version: 1.0.2
|
2012-12-28 11:54:10 +01:00
|
|
|
Release: 0
|
|
|
|
Summary: Terminal Emulator for the Xfce Desktop Environment
|
2018-03-03 22:37:52 +01:00
|
|
|
License: GPL-2.0-or-later
|
2012-12-28 11:54:10 +01:00
|
|
|
Group: System/X11/Terminals
|
2019-07-11 10:50:09 +02:00
|
|
|
URL: https://docs.xfce.org/apps/terminal/start
|
2022-04-07 10:49:06 +02:00
|
|
|
Source0: https://archive.xfce.org/src/apps/xfce4-terminal/1.0/%{name}-%{version}.tar.bz2
|
2012-12-28 11:54:10 +01:00
|
|
|
BuildRequires: intltool
|
2016-08-11 17:11:20 +02:00
|
|
|
BuildRequires: pkgconfig
|
2019-02-13 10:49:52 +01:00
|
|
|
BuildRequires: update-desktop-files
|
2018-03-03 22:37:52 +01:00
|
|
|
BuildRequires: utempter-devel
|
2012-12-28 11:54:10 +01:00
|
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
2019-07-11 10:50:09 +02:00
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
2018-03-03 22:37:52 +01:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.20.8
|
2019-10-26 12:09:58 +02:00
|
|
|
BuildRequires: pkgconfig(libpcre2-8)
|
2022-04-07 10:49:06 +02:00
|
|
|
BuildRequires: pkgconfig(libxfce4ui-2) >= 4.16
|
|
|
|
BuildRequires: pkgconfig(libxfconf-0) >= 4.16
|
|
|
|
BuildRequires: pkgconfig(vte-2.91) >= 0.51.3
|
2016-08-11 17:11:20 +02:00
|
|
|
Recommends: %{name}-lang
|
2012-12-28 11:54:10 +01:00
|
|
|
|
|
|
|
%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.
|
|
|
|
|
2016-08-11 17:11:20 +02:00
|
|
|
%lang_package
|
2012-12-28 11:54:10 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2019-07-11 10:50:09 +02:00
|
|
|
%if %{with git}
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2018-03-03 22:37:52 +01:00
|
|
|
%configure \
|
2019-07-11 10:50:09 +02:00
|
|
|
--enable-maintainer-mode \
|
2019-10-26 12:09:58 +02:00
|
|
|
--with-utempter
|
2019-07-11 10:50:09 +02:00
|
|
|
%else
|
|
|
|
%configure \
|
2019-10-26 12:09:58 +02:00
|
|
|
--with-utempter
|
2019-07-11 10:50:09 +02:00
|
|
|
%endif
|
|
|
|
%make_build
|
2012-12-28 11:54:10 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
|
2019-02-13 10:49:52 +01:00
|
|
|
# Fix name issue with xfce4-terminal-settings desktop file name entries boo#1125146
|
|
|
|
desktop-file-edit %{buildroot}%{_datadir}/applications/%{name}-settings.desktop --set-name='Xfce Terminal Settings'
|
|
|
|
|
2016-08-11 17:11:20 +02:00
|
|
|
%find_lang %{name} --with-man %{?no_lang_C}
|
2012-12-28 11:54:10 +01:00
|
|
|
|
|
|
|
%files
|
2021-01-06 19:39:23 +01:00
|
|
|
%doc AUTHORS HACKING NEWS README.md THANKS
|
2019-02-13 10:49:52 +01:00
|
|
|
%license COPYING
|
2012-12-28 11:54:10 +01:00
|
|
|
%{_bindir}/xfce4-terminal
|
|
|
|
%dir %{_datadir}/xfce4
|
|
|
|
%{_datadir}/xfce4/terminal
|
2021-01-06 19:39:23 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/org.xfce.terminal*
|
2012-12-28 11:54:10 +01:00
|
|
|
%{_datadir}/applications/xfce4-terminal.desktop
|
2018-05-21 13:45:17 +02:00
|
|
|
%{_datadir}/applications/xfce4-terminal-settings.desktop
|
2012-12-28 11:54:10 +01:00
|
|
|
%dir %{_datadir}/gnome-control-center
|
|
|
|
%{_datadir}/gnome-control-center/default-apps
|
2016-08-11 17:11:20 +02:00
|
|
|
%{_mandir}/man1/xfce4-terminal.1*
|
2012-12-28 11:54:10 +01:00
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|