A new user interface for you!

File kde4-windeco-nitrogen.spec of Package kde4-windeco-nitrogen

# spec file for package kde4-windeco-nitrogen (Version 3.3.2)
# Copyright 2009-2010 Buschmann <buschmann23@opensuse.org>
# 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.

# norootforbuild

BuildRequires:      kdebase4-workspace-devel >= 4.2.0
BuildRequires:      update-desktop-files licenses

Name:               kde4-windeco-nitrogen
Summary:            Nitrogen KDE4 Window Decoration
Version:            3.3.2
Release:            1
License:            GPLv2
Group:              System/GUI/KDE
Source0:            99551-%{name}-%{version}-Source.tar.bz2
BuildRoot:          %{_tmppath}/%{name}-%{version}-build
AutoReqProv:        yes

Requires:           kdebase4-workspace licenses

Url:                http://www.kde-look.org/content/show.php/Nitrogen?content=99551

The Nitrogen window decoration is a fork of the
oxygen/ozone decoration that allows notably to 
- resize window borders, 
- hide the horizontal separator.
A "no border" option is available. Although it looks
great (at least to me), it makes resizing windows
difficult since one has to either:
- use the window resize handle usually located in the
  bottom right corner of the window when available but
  which most KDE applications unfortunately do not have;
- use keyword + mouse shortcut (usually ALT+Right button);
- use the title-bar only. 

    Hugo Pereira Da Costa

%setup -n %{name}-%{version}-Source

  %cmake_kde4 -d builddir

  MD5SUM=$(md5sum COPYING | sed 's/ .*//')
  if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
      ln -sf /usr/share/doc/licenses/md5/$MD5SUM COPYING
  cd builddir
  cd ..
  %find_lang kwin_nitrogen

  rm -rf $RPM_BUILD_ROOT

%files -f kwin_nitrogen.lang