File eduke32-hrp.spec of Package eduke32-hrp

#
# spec file for package eduke32-hrp
#
# Copyright (c) 2016 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/
#


%define oname eduke32
Name:           %{oname}-hrp
Version:        5.4.674
Release:        0
Summary:        Eduke32 - HRP-Pack
License:        SUSE-Permissive
Group:          Amusements/Games/3D/Shoot
Url:            http://hrp.duke4.net/
Source0:        http://www.duke4.org/files/nightfright/hrp/duke3d_hrp.zip
Source1:        http://www.duke4.org/files/nightfright/music/duke3d_music-sc55.zip
Source2:        hrp_art_license.txt
Source3:        hrp_readme.txt
Source4:        music_readme.txt
Source5:        %{name}_howto_en.txt
Requires:       %{oname} >= 2.0.0r4069
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%package music
Summary:        Eduke32 - Music-Pack
License:        SUSE-Permissive
Group:          Amusements/Games/3D/Shoot
Requires:       %{oname} >= 2.0.0r4069
Requires:       %{name} = %{version}

%description
Duke3D HRP Version 5.4.674 (2015-06-15)
Standalone HRP file
Compiled by NightFright

Note: You have to pass the files with the parameter '-grp' to eduke32.
eduke32 is using /usr/share/games/eduke32/ for game data.
eduke32 with HRP (enable option 'Polymer' in the launcher):
'eduke32 -grp duke3d_hrp.zip'

EDuke32 is a source port of the classic PC first person shooter Duke Nukem 3D
to Windows, Linux and OS X, which adds a ton of awesome features and
upgrades for regular players and an arsenal of editing functions and
scripting extensions for mod authors and map makers.

%description music
Roland SC-55 Music Pack 4.01 (2016-10-07)
Faithful soundtrack by MusicallyInspired
Compiled by NightFright

Note: You have to pass the files with the parameter '-grp' to eduke32.
eduke32 is using /usr/share/games/eduke32/ for game data.
eduke32 with HRP and HRP Music Pack:
'eduke32 -grp duke3d_hrp.zip duke3d_music-sc55.zip'

EDuke32 is a source port of the classic PC first person shooter Duke Nukem 3D
to Windows, Linux and OS X, which adds a ton of awesome features and
upgrades for regular players and an arsenal of editing functions and
scripting extensions for mod authors and map makers.

%prep
cp %{S:2} .
cp %{S:3} .
cp %{S:4} .
cp %{S:5} .

%build

%install
mkdir -p %{buildroot}%{_datadir}/games/%{oname}
install -Dm 0644 %{S:0} %{buildroot}%{_datadir}/games/%{oname}/
install -Dm 0644 %{S:1} %{buildroot}%{_datadir}/games/%{oname}/

%files
%defattr(-,root,root)
%doc hrp_art_license.txt hrp_readme.txt %{name}_howto_en.txt
%dir %{_datadir}/games/%{oname}
%{_datadir}/games/%{oname}/duke3d_hrp.zip

%files music
%defattr(-,root,root)
%doc music_readme.txt
%dir %{_datadir}/games/%{oname}
%{_datadir}/games/%{oname}/duke3d_music-sc55.zip

%changelog
openSUSE Build Service is sponsored by