File kpie.spec of Package kpie

# spec file for package kpie
# Copyright (c) 2015 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

Name:           kpie
Version:        0.7
Release:        0
Summary:        Simple devilspie-like program for window manipulation, with Lua
License:        GPL-2.0+
Group:          System/Packages
Source:         %{name}-%{version}.tar.bz2
BuildArch:      noarch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  pkgconfig(libwnck-1.0)
BuildRequires:  pkgconfig(lua)
BuildRequires:  pkgconfig(gdk-3.0)
Patch:          0001-quick-hack-to-get-it-compiling-on-openSUSE.patch

KPie is a simple window manipulation tool, modeled after devilspie,
with a Lua-based configuration file.

%patch -p1


rm -rf %{buildroot}
mkdir %{buildroot}

install -d %{buildroot}%{_bindir}
install kpie %{buildroot}%{_bindir}

install -d %{buildroot}%{_mandir}/man1
install -m 0644 kpie.1 %{buildroot}%{_mandir}/man1

install -d %{buildroot}%{_sysconfdir}

%doc LICENSE samples

rm -rf %{buildroot}