File mate-netbook.spec of Package mate-netbook

# spec file for package mate-netbook
# Copyright (c) 2016 SUSE LINUX 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

%define _version 1.16
Name:           mate-netbook
Version:        1.16.1
Release:        0
Summary:        MATE Desktop window management tool
License:        GPL-3.0
Group:          System/GUI/Other
BuildRequires:  mate-common >= %{_version}
BuildRequires:  pkgconfig
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(gtk+-2.0)
BuildRequires:  pkgconfig(libfakekey)
BuildRequires:  pkgconfig(libmatepanelapplet-4.0) >= %{_version}
BuildRequires:  pkgconfig(libwnck-1.0)
BuildRequires:  pkgconfig(xtst)
Requires:       mate-panel >= %{_version}
Recommends:     %{name}-lang

This package provides a simple window management tool which provides the
following functionality:
 * Allow to set basic rules for window types;
 * Allow exceptions to the rules based on string matching for window
   name and window class;
 * Allows reversing of rules when the user manually changes something;
 * Re-decorates windows on un-maximise


%setup -q

NOCONFIGURE=1 mate-autogen
%configure \
  --libexecdir=%{_libexecdir}/%{name} \
make %{?_smp_mflags} V=1

%find_lang %{name} %{?no_lang_C}



%config %{_sysconfdir}/xdg/autostart/mate-maximus-autostart.desktop
%dir %{_datadir}/mate-panel/
%dir %{_datadir}/mate-panel/applets/
%dir %{_datadir}/mate-panel/ui/
%dir %{_datadir}/dbus-1/
%dir %{_datadir}/dbus-1/services/

%files lang -f %{name}.lang