- split data files to separate noarch package

OBS-URL: https://build.opensuse.org/package/show/games/supertuxkart?expand=0&rev=29
This commit is contained in:
Pavol Rusnak
2011-09-27 13:25:35 +00:00
committed by Git OBS Bridge
parent ec401c4fc7
commit 470da04214
2 changed files with 15 additions and 2 deletions

View File

@@ -22,8 +22,9 @@ BuildRequires: irrlicht-devel
BuildRequires: libogg-devel
BuildRequires: libvorbis-devel
BuildRequires: openal-devel
BuildRequires: update-desktop-files
BuildRequires: unzip
BuildRequires: update-desktop-files
Requires: %{name}-data = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -39,6 +40,14 @@ overtaking you :) ). But don't eat the bananas! Watch for bowling balls, plunger
You can do a single race against other karts, compete in one of several Grand Prix, try to beat the high score in time trials
on your own, play battle mode against your friends, and more!
%package data
Summary: Data files for SuperTuxKart
Requires: %{name} = %{version}
BuildArch: noarch
%description data
Data files for SuperTuxKart.
%prep
%setup -q
@@ -61,6 +70,9 @@ rm -rf %{buildroot}
%defattr(-,root,root)
%doc AUTHORS COPYING README TODO ChangeLog
%{_prefix}/games/supertuxkart
%files data
%defattr(-,root,root)
%{_datadir}/games/supertuxkart/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/pixmaps/%{name}_*.xpm