LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kde4-windeco-nitrogen.spec of Package kde4-windeco-nitrogen (Project home:llunak:attic)

#
# 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
%kde4_runtime_requires

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

%description
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. 

Author:
-------
    Hugo Pereira Da Costa

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

%build
  %cmake_kde4 -d builddir
  %make_jobs

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

%clean
  rm -rf $RPM_BUILD_ROOT

%files -f kwin_nitrogen.lang
%defattr(644,root,root,755)
%doc COPYING README
%_kde4_modules/*.so
%_kde_share_dir/apps/kwin/*.desktop

%changelog