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 http://bugs.opensuse.org/
#
# norootforbuild
Name: xfishtank
BuildRequires: xorg-x11 xorg-x11-devel
License: GPLv2+
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
%description
A nice little aquarium with funny fish -- yet another background
screen.
%prep
%setup -n %{name}-%{version}
%patch
%patch1
%patch2
install -m 0644 %{S:1} .
%build
xmkmf -a
make %{?jobs:-j%jobs} CCOPTIONS="$RPM_OPT_FLAGS"
%install
make DESTDIR="$RPM_BUILD_ROOT" install
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc README*
/usr/%{_xorg7bin}/xfishtank
%changelog