File mate-terminal.spec of Package mate-terminal
# spec file for mate-terminal
#
# Copyright (c) 2014 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/
Name: mate-terminal
Version: 1.8.1
Release: 0
License: GPL-3.0+
Summary: MATE Desktop system tools
Url: http://mate-desktop.org
Group: System/GUI/Other
Source: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
Requires: gsettings-backend-dconf
Recommends: %{name}-lang
%glib2_gsettings_schema_requires
BuildRequires: mate-common
BuildRequires: libxml2-python
BuildRequires: pkgconfig(dconf)
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(gladeui-2.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(sm)
BuildRequires: pkgconfig(vte)
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
%description
MATE Terminal is a terminal emulation application that you can use to
perform the following actions:
- Access a UNIX shell in the MATE environment.
- Run any application that is designed to run on VT102, VT220, and
xterm terminals.
%lang_package
%prep
%setup -q
%build
%configure
make %{?_smp_mflags}
%install
%makeinstall
%find_lang %{name} %{?no_lang_C}
%suse_update_desktop_file %{name}
if [ -d %{buildroot}%{_datadir}/MateConf ]; then
rm -rf %{buildroot}%{_datadir}/MateConf
fi
# axe out scrollkeeper stuff
rm -rf %{buildroot}/var
%post
%glib2_gsettings_schema_postun
%desktop_database_post
%postun
%glib2_gsettings_schema_postun
%desktop_database_postun
%files
%defattr(-,root,root)
%doc ChangeLog README COPYING
%{_bindir}/%{name}
%{_bindir}/%{name}.wrapper
%{_datadir}/applications/%{name}.desktop
%{_datadir}/%{name}/
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/help/C/%{name}
%{_mandir}/man1/%{name}.1.gz
%files lang -f %{name}.lang
%defattr(-,root,root,-)
%changelog