File mate-netbook.spec of Package mate-netbook
#
# spec file for mate-netbook
#
# 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-netbook
Version: 1.8.1
Release: 0
License: GPL-3.0
Summary: MATE Desktop window management tool
Url: http://mate-desktop.org
Group: System/GUI/Other
Source: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz
Requires: mate-panel >= 1.8.0
Recommends: %{name}-lang
%glib2_gsettings_schema_requires
BuildRequires: mate-common
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(libwnck-1.0)
BuildRequires: pkgconfig(libmatepanelapplet-4.0)
BuildRequires: pkgconfig(libfakekey)
BuildRequires: pkgconfig(mate-desktop-2.0) >= 1.8.0
BuildRequires: pkgconfig(unique-1.0)
BuildRequires: pkgconfig(xtst)
%description
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-maximize
%lang_package
%prep
%setup -q
%build
%configure --libexecdir=%{_libexecdir}/%{name}
make %{?_smp_mflags}
%install
%makeinstall
%find_lang %{name} %{?no_lang_C}
if [ -d %{buildroot}%{_datadir}/MateConf ]; then
rm -r %{buildroot}%{_datadir}/MateConf
fi
%post
%glib2_gsettings_schema_post
%postun
%glib2_gsettings_schema_postun
%files
%defattr(-,root,root,-)
%doc ChangeLog README COPYING
%dir %{_libexecdir}/%{name}
%config %{_sysconfdir}/xdg/autostart/mate-maximus-autostart.desktop
%{_bindir}/mate-maximus
%{_mandir}/man1/mate-maximus.1.gz
%{_libexecdir}/%{name}/mate-window-picker-applet
%{_datadir}/dbus-1/services/*.service
%{_datadir}/glib-2.0/schemas/*.xml
%{_datadir}/mate-panel/
%files lang -f %{name}.lang
%defattr(-,root,root,-)
%changelog