Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
games
freedink
freedink.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File freedink.spec of Package freedink
# # spec file for package freedink # # Copyright (c) 2022 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/ # Name: freedink Version: 109.6 Release: 0 Summary: Adventure and role-playing game License: GPL-3.0-or-later Group: Amusements/Games/RPG URL: https://www.gnu.org/software/freedink Source: http://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.gz # PATCH-FIX-OPENSUSE Fix compatibility with SDL-2.0.10 Patch0: freedink-android-sdl-hint.patch # PATCH-FIX-OPENSUSE - freedink-invalid-conversion-fix.diff - fix for invalid conversion from 'const char*' to 'char*' Patch1: freedink-invalid-conversion-fix.diff BuildRequires: desktop-file-utils BuildRequires: fontconfig-devel BuildRequires: gcc-c++ BuildRequires: glm-devel BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(SDL2_gfx) BuildRequires: pkgconfig(SDL2_image) BuildRequires: pkgconfig(SDL2_mixer) BuildRequires: pkgconfig(SDL2_ttf) BuildRequires: pkgconfig(cxxtest) BuildRequires: pkgconfig(sdl2) Requires: freedink-data Requires: liberation-fonts Recommends: freedink-dfarc # TiMidity++ is useful to play midis when /dev/sequencer isn't # functional (most of the time) and installing it prevents some # SDL_mixer freezes (see TROUBLESHOOTING). Recommends: timidity %description Dink Smallwood is an adventure/role-playing game, similar to Zelda, made by RTsoft. Besides twisted humour, it includes the actual game editor, allowing players to create hundreds of new adventures called Dink Modules or D-Mods for short. GNU FreeDink is a new and portable version of the game engine, which runs the original game as well as its D-Mods, with close compatibility, under multiple platforms. %prep %setup -q %patch0 -p1 %patch1 -p1 %build # Using '--disable-embedded-resources' because 'rpmbuild' will remove # them anyway (so it can make the -debuginfo package -- too bad :/) %configure --disable-embedded-resources %make_build %install make install DESTDIR=%{buildroot} INSTALL="install -p" %find_lang %{name} %find_lang %{name}-gnulib # %%files only support one '-f' argument (see below) cat %{name}-gnulib.lang >> %{name}.lang desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}edit.desktop %suse_update_desktop_file -i %{name} %suse_update_desktop_file -i %{name}edit rm %{buildroot}%{_datadir}/%{name}/LiberationSans-Regular.ttf %files -f %{name}.lang %license COPYING %doc AUTHORS NEWS README THANKS TROUBLESHOOTING ChangeLog %{_bindir}/* %{_datadir}/applications/* %{_datadir}/%{name}/ %{_datadir}/pixmaps/* %{_datadir}/icons/hicolor/scalable/apps/freedink.svg %{_datadir}/metainfo/freedink.appdata.xml %{_mandir}/man6/* %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