2012-12-28 11:54:10 +01:00
|
|
|
#
|
|
|
|
# spec file for package xfce4-terminal
|
|
|
|
#
|
2013-03-11 08:13:04 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
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.
|
|
|
|
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: xfce4-terminal
|
2013-05-05 21:24:56 +02:00
|
|
|
Version: 0.6.2
|
2012-12-28 11:54:10 +01:00
|
|
|
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.6/%{name}-%{version}.tar.bz2
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: intltool
|
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: pkgconfig(dbus-glib-1)
|
|
|
|
BuildRequires: pkgconfig(exo-1)
|
|
|
|
BuildRequires: pkgconfig(gio-2.0)
|
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
|
|
|
BuildRequires: pkgconfig(libxfce4ui-1)
|
2013-03-11 08:13:04 +01:00
|
|
|
BuildRequires: pkgconfig(vte)
|
2012-12-28 11:54:10 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
Recommends: %{name}-lang = %{version}
|
|
|
|
Provides: Terminal = %{version}
|
|
|
|
Obsoletes: Terminal < %{version}
|
2013-03-11 08:13:04 +01:00
|
|
|
Obsoletes: Terminal-doc < %{version}
|
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.
|
|
|
|
|
2012-12-28 16:05:02 +01:00
|
|
|
# expanded %%lang_package with Obsoletes/Provides added
|
|
|
|
%package lang
|
2013-03-11 08:13:04 +01:00
|
|
|
Summary: Languages for package %{name}
|
|
|
|
Group: System/Localization
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
Provides: %{name}-lang-all = %{version}
|
|
|
|
Supplements: packageand(bundle-lang-other:%{name})
|
|
|
|
Provides: Terminal-lang = %{version}
|
|
|
|
Obsoletes: Terminal-lang < %{version}
|
|
|
|
BuildArch: noarch
|
|
|
|
|
2012-12-28 16:05:02 +01:00
|
|
|
%description lang
|
|
|
|
Provides translations to the package %{name}
|
2012-12-28 11:54:10 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
make %{?_smp_mflags} V=1
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
|
|
|
|
%suse_update_desktop_file %{name}
|
|
|
|
|
|
|
|
# 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}
|
|
|
|
|
|
|
|
%fdupes %{buildroot}/%{_mandir}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%post
|
|
|
|
%desktop_database_post
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%desktop_database_postun
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README ChangeLog COPYING AUTHORS HACKING NEWS 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
|
|
|
|
%doc %{_mandir}/man1/xfce4-terminal.1*
|
|
|
|
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
|
|
|
%changelog
|