fillets-ng/fillets-ng.spec
OBS User autobuild fdaa1a915b Accepting request 34679 from games
Copy from games/fillets-ng based on submit request 34679 from user dimstar

OBS-URL: https://build.opensuse.org/request/show/34679
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/fillets-ng?expand=0&rev=9
2010-03-12 15:46:31 +00:00

76 lines
2.4 KiB
RPMSpec

#
# spec file for package fillets-ng (Version 0.9.3)
#
# 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/
#
Name: fillets-ng
Version: 0.9.3
Release: 1
License: GNU General Public License (GPL) - all versions
Summary: Fish Fillets - Next Generation
Url: http://fillets.sourceforge.net/
Group: Amusements/Games/Action/Arcade
Source0: %{name}-%{version}.tar.bz2
Source1: %{name}.desktop
Source2: %{name}.png
# PATCH-MISSING-TAG -- See http://en.opensuse.org/Packaging/Patches
Patch0: %{name}-0.8.1.patch
BuildRequires: SDL_image-devel
BuildRequires: SDL_mixer-devel
BuildRequires: SDL_ttf-devel
BuildRequires: fribidi-devel
BuildRequires: gcc-c++
BuildRequires: lua-devel
BuildRequires: pkgconfig
BuildRequires: update-desktop-files
# There is no 0.9.3 data package, as this was a minor build fix only.
Requires: %{name}-data = 0.9.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Fish Fillets is strictly a puzzle game. The goal in each of the 70
levels is always the same: find a safe way out. The fish utter witty
remarks about their surroundings and the various inhabitants of their
underwater realm quarrel among themselves or comment on the efforts of
your fish. The whole game is accompanied by quiet, comforting music.
%prep
%setup -q
%patch0
%build
%configure --bindir=%{_prefix}/games
make %{?jobs:-j%jobs}
%install
%makeinstall
install -D -m 0644 %{S:2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
%suse_update_desktop_file -i %{name} Game ArcadeGame
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%doc %{_mandir}/man6/*
%{_prefix}/games/fillets
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}.png
%changelog