File devilspie.spec of Package devilspie
#
# spec file for package devilspie (Version 0.22)
#
# Copyright (c) 2009 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/
#
# norootforbuild
Name: devilspie
BuildRequires: fdupes
BuildRequires: libwnck-devel
BuildRequires: translation-update-upstream
Summary: Window-Matching Utility
Version: 0.22
Release: 1
License: GPL v2 or later
Group: System/X11/Utilities
Source0: %{name}-%{version}.tar.bz2
Url: http://www.burtonini.com/blog/computers/devilspie
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: %{name}-lang = %{version}
%description
Devil's Pie can be configured to detect windows as they are created and
match the window to a set of rules. If the window matches the rules, it
can perform a series of actions on that window.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure
%__make %{?jobs:-j%jobs}
%install
mkdir -p %{buildroot}%{_sysconfdir}/devilspie
%makeinstall
%find_lang %{name}
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc README TODO NEWS INSTALL ChangeLog COPYING AUTHORS
%{_sysconfdir}/%name
%{_bindir}/*
%{_mandir}/man?/*.*
%files lang -f %{name}.lang
%changelog