Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
eternal-lands-data
eternal-lands-data.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File eternal-lands-data.spec of Package eternal-lands-data
# # spec file for package eternal-lands-data # # Copyright (c) 2021 SUSE LLC # # 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 https://bugs.opensuse.org/ # # data package version %define dversion %{version}-1 # sound package version %define sversion 191 Name: eternal-lands-data Version: 1.9.5.9 Release: 0 Summary: Data files for Eternal Lands # QTPL-based License: SUSE-Freeware Group: Amusements/Games/Other URL: http://www.eternal-lands.com Source0: https://github.com/raduprv/Eternal-Lands/releases/download/%{dversion}/eternallands-data_%{dversion}.zip Source1: http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL_sound_%{sversion}.zip Source10: http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL_music_full.zip BuildRequires: dos2unix BuildRequires: fdupes BuildRequires: ubuntu-fonts BuildRequires: unzip Requires: ubuntu-fonts BuildArch: noarch %description Data files to play Eternal Lands: graphics, music, sounds etc. %prep %setup -q -n el_data -a 1 rm -f *.bin *.exe dos2unix license.txt %build pushd fonts for font in *.ttf; do if test -e /usr/share/fonts/truetype/"$font"; then rm "$font" ln -s "/usr/share/fonts/truetype/$font" fi done popd %install # game data and sound files install -d %{buildroot}%{_datadir}/games/EternalLands cp -r * %{buildroot}%{_datadir}/games/EternalLands/ # game music install -d %{buildroot}%{_datadir}/games/EternalLands/music unzip %{SOURCE10} -d %{buildroot}%{_datadir}/games/EternalLands/music %fdupes %{buildroot}%{_datadir}/games/EternalLands/ %files %license license.txt %{_datadir}/games/EternalLands %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor