LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File berusky2-data.spec of Package berusky2-data (Project home:PVince81)

#
# spec file for package berusky2-data
#
# Copyright 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright Vincent Petry <PVince81@opensuse.org>
#
# 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.

%define _basename berusky2

Name:           %{_basename}-data
Summary:        Game data for Berusky 2
Version:        0.5
Release:        1
License:        GPLv3
Group:          Amusements/Games/Logic
# Downloaded from SourceForge
# Repacked both as tar.bz2
Source0:        %{name}-%{version}.tar.bz2
Url:            http://anakreon.cz/en/Berusky2.htm
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version}
BuildRequires:  update-desktop-files
%endif
Suggests:       %{_basename}
BuildRequires:  fdupes
BuildArch:      noarch

%description
Game data for the game Berusky 2.

%prep
%setup -q

%build

%install
mkdir -p %{buildroot}%{_datadir}/%{_basename}/

mv bitmap \
   data \
   game \
   game_data \
   items \
   materials \
   out \
   textures \
   %{buildroot}%{_datadir}/%{_basename}/

%fdupes %{buildroot}%{_datadir}/%{name}/

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING README
%dir %{_datadir}/%{_basename}/
%{_datadir}/%{_basename}/*

%changelog