File yofrankie.spec of Package yofrankie
#
# spec file for package yofrankie
#
# Copyright (c) 2016 SUSE LINUX 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: yofrankie
Version: 1.1b
Release: 0
Summary: 3D Game with characters from Big Buck Bunny movie
License: CC-BY-3.0 and GPL-2.0
Group: Amusements/Games/3D/Other
Url: http://www.yofrankie.org/
Source: yofrankie-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM ToDo
Patch0: reproducible.patch
BuildRequires: ImageMagick
BuildRequires: python
BuildRequires: hicolor-icon-theme
BuildRequires: update-desktop-files
Requires: blender
BuildArch: noarch
%description
Yo Frankie! is an open source computer game by the Blender Institute.
It is based on the universe and characters of the open source film Big
Buck Bunny. In the game, players assume the role of Frank, the sugar
glider who was the antagonist of the film Big Buck Bunny.
The game has been made using free software, partly as a showcase of
what can be achieved with free software.
%prep
%setup -q
%patch0 -p1
%build
make
%install
make install DESTDIR=%{buildroot} PREFIX=%{_prefix}
install -d %{buildroot}%{_bindir}
mv %{buildroot}%{_prefix}/games/* %{buildroot}%{_bindir}
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr(-,root,root,-)
%doc README.TXT CC-BY3.0 COPYING GPL-2
%{_bindir}/yofrankie-bge
%{_datadir}/yofrankie-bge
%{_datadir}/icons/*/*/apps/yofrankie-bge.png
%{_datadir}/applications/*.desktop
%dir %{_datadir}/fonts/truetype/
%{_datadir}/fonts/truetype/yo_frankie.ttf
%attr(0644,-,-) %{_mandir}/man6/yofrankie-bge.6*
%changelog