File xfishtank.spec of Package xfishtank

# spec file for package xfishtank (Version 2.2)
# 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

# norootforbuild

Name:           xfishtank
BuildRequires:  xorg-x11 xorg-x11-devel
License:        GPL-2.0+
Group:          Amusements/Toys/Background
Provides:       fishtank
Obsoletes:      fishtank
AutoReqProv:    on
Version:        2.2
Release:        946
Summary:        An aquarium in the root window
Source:         %{name}-%{version}.tar.bz2
Source1:        README.KDE
Patch:          %{name}-%{version}-orig.patch
Patch1:         %{name}-%{version}-implicit_decl.patch
Patch2:         %{name}-%{version}-random_retval.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%define _xorg7bin bin
%define _xorg7_mandir %_mandir

A nice little aquarium with funny fish -- yet another background

%setup -n %{name}-%{version}
install -m 0644 %{S:1} .

xmkmf -a
make %{?jobs:-j%jobs} CCOPTIONS="$RPM_OPT_FLAGS"

make DESTDIR="$RPM_BUILD_ROOT" install


%doc README*