File devilspie2.spec of Package devilspie2
#
# spec file for package devilspie2
#
# 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 http://bugs.opensuse.org/
#
Name: devilspie2
Version: 0.41
Release: 0
Summary: A window matching utility
License: GPL-3.0
Group: System/X11/Utilities
Url: http://www.gusnan.se/devilspie2
Source0: http://download.savannah.gnu.org/releases/devilspie2/%{name}_%{version}-src.tar.gz
Source1: http://download.savannah.gnu.org/releases/devilspie2/%{name}_%{version}-src.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: pkgconfig
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libwnck-3.0)
BuildRequires: pkgconfig(lua) >= 5.1
BuildRequires: pkgconfig(pkg-config)
%description
Devilspie 2 is based on the excellent program Devil's Pie by Ross Burton, and
takes a folder as in-data, and checks that folder for LUA scripts. These
scripts are run each time a window is opened, and the rules in them are applied
on the window.
Unfortunately the rules of the original Devil's Pie are not supported.
%prep
%setup -q
%build
make %{?_smp_mflags} CC="cc %{optflags}"
%install
%make_install PREFIX=%{_usr}
install -D -m 644 %{name}.1 %{buildroot}/%{_mandir}/man1/%{name}.1
%find_lang %{name}
%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS COPYING README
%{_bindir}/%{name}
%{_mandir}/man1/%{name}.1%{ext_man}
%changelog