File rss-glx.spec of Package rss-glx

# spec file for package rss-glx (Version 0.9.1)
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2009 Stephan Kulow
# Copyright (c) 2010 Pascal Bleser
# 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

%{!?_kde4_servicesdir: %global _kde4_servicesdir %(kde4-config --install services || echo KDE4-CONFIG-NOT-INSTALLED)}

Name:           rss-glx
Version:        0.9.1
Release:        1
License:        GPL
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Amusements/Toys/Screensavers
BuildRequires:  ImageMagick-devel Mesa-devel gcc-c++ kdelibs4-core openal-devel pkgconfig update-desktop-files xorg-x11-devel xscreensaver
Summary:        Really Slick Screensavers Port to GLX

Cool collection of 3D screensavers. Linux port of Really Slick Screensavers

%setup0 -n %{name}_%{version}

%configure --with-configdir=/etc/xscreensaver --with-kdessconfigdir="%{_kde4_servicesdir}/ScreenSavers"
%{__make} %{?jobs:-j%jobs}

%__rm -rf "$RPM_BUILD_ROOT/%_libdir"

%{?buildroot:%__rm -rf "%{buildroot}"}

%config /etc/xscreensaver/*