File vegastrike-extra.spec of Package vegastrike-extra

#
# spec file for package vegastrike-extra
#
# Copyright (c) 2012 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:           vegastrike-extra
Version:        0.5.1.r1
Release:        0
Summary:        Extra textures and content for Vega Strike
License:        GPL-2.0+
Group:          Amusements/Games/3D/Simulation
Url:            http://vegastrike.sourceforge.net/
# This is the music budle
Source0:        http://ufpr.dl.sourceforge.net/project/vegastrike/vegastrike/0.5.1/%{name}-%{version}.tar.bz2
Source1:        COPYING
Source2:        AUTHORS
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch
%if 0%{?suse_version}
BuildRequires:  fdupes
%endif
Requires:       vegastrike-data >= %{version}
Conflicts:      vegastrike-data < %{version}
ExcludeArch:    %{ix86}

%description
Extra, optional texture files and content for Vega Strike,
a GPL 3D OpenGL Action RPG space sim that allows a player
to trade and bounty hunt.

This package is not essential for playing the game. 


%prep
%setup -q

%build
# nothing to build; data only

%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/vegastrike
find units -exec install -p -m 644 -D {} $RPM_BUILD_ROOT%{_datadir}/vegastrike/{} \;

cp %{SOURCE1} .
cp %{SOURCE2} .

%if 0%{?suse_version}
%fdupes $RPM_BUILD_ROOT%{_datadir}/vegastrike
%endif

%files
%defattr(-,root,root,-)
%{_datadir}/vegastrike
%doc COPYING
%doc AUTHORS

%changelog
openSUSE Build Service is sponsored by