Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory
wumpus
wumpus.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wumpus.spec of Package wumpus
# # spec file for package wumpus # # 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/ # %define oname superhack Name: wumpus Version: 1.9 Release: 0 Summary: Faithful transcription of the 1974 Atari Wumpus game License: BSD-2-Clause Group: Amusements/Games/Action/Race URL: http://www.catb.org/~esr/wumpus/ Source0: http://www.catb.org/~esr/%{name}/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc Source2: %{name}.desktop Source3: %{oname}.desktop Source4: %{name}.png # PATCH-FIX-UPSTREAM - wumpus-Makefile.patch -- Fix paths and installation Patch0: %{name}-Makefile.patch BuildRequires: hicolor-icon-theme BuildRequires: ncurses-devel BuildRequires: update-desktop-files %description WUMPUS is a bit of retrocomputing nostalgia. It is an *exact* clone, even down to the godawful user interface, of an ancient classic game. This version fixes two minor bugs in my original 1992 USENET posting of the source. Superhack is a structurally similar game with a different premise. %prep %autosetup -p1 cp -af %{SOURCE2} . cp -af %{SOURCE3} . cp -af %{SOURCE4} . %build %make_build CFLAGS="%{optflags}" %install %make_install # Symlink Manpage ln -sf %{_mandir}/man6/%{name}.6%{ext_man} %{buildroot}%{_mandir}/man6/%{oname}.6%{ext_man} %suse_update_desktop_file %{name} %suse_update_desktop_file %{oname} %files %license COPYING %doc README %{_bindir}/%{name} %{_bindir}/%{oname} %{_mandir}/man6/%{name}.6%{?ext_man} %{_mandir}/man6/%{oname}.6%{?ext_man} %dir %{_datadir}/appdata %{_datadir}/appdata/%{name}.xml %{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{oname}.desktop %{_datadir}/icons/hicolor/ %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