LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File pytyle.spec of Package pytyle (Project X11:windowmanagers)

#
# spec file for package
#
# Copyright (c) 2010 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:           pytyle
Version:        0.7.5
Release:        1
License:        GPL v3
Summary:        Manual tiling manager
Url:            http://pytyle.com/wiki/Main_Page
Group:          System/X11/Utilities
Source:         %{name}-%{version}.tar.bz2
Source100:      %{name}-rpmlintrc
BuildRequires:  python-devel
BuildRequires:  python-xlib
Requires:       python-xlib
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%if 0%{?suse_version} >= 1120
BuildArch:      noarch
%endif
%py_requires

%description
PyTyle is a manual tiling manager that can slide into any EWMH compliant window
manager, inspired by XMonad. It will allow you to enable/disable tiling on a
per screen per workspace basis, and continually tile your windows.

%prep
%setup -q
chmod -x CHANGELOG INSTALL LICENSE README TODO pytylerc

%build
%__python ./setup.py build

%install
%__python ./setup.py install --root=%{buildroot} \
	--prefix="%{_prefix}" \
	--record-rpm=INSTALLED_FILES

%clean
%__rm -rf %{buildroot}

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc README TODO CHANGELOG LICENSE

%changelog