Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Factory:Rebuild
aop
aop.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File aop.spec of Package aop
# # spec file for package aop # # 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/ # Name: aop Version: 0.6 Release: 0 Summary: Ncurses based arcade game with only 64 lines of code License: GPL-2.0-or-later Group: Amusements/Games/Action/Arcade URL: https://raffi.at/view/code/aop Source0: https://raffi.at/code/%{name}/%{name}-%{version}.tar.gz Source1: %{name}.png Source2: %{name}.desktop # PATCH-FIX-OPENSUSE - aop-Makefile.patch -- Fix build and installation Patch0: %{name}-Makefile.patch # PATCH-FIX-OPENSUSE - aop-aop.c.patch-- Fix lifes and where are levels Patch1: %{name}-aop.c.patch BuildRequires: hicolor-icon-theme BuildRequires: pkgconfig BuildRequires: update-desktop-files BuildRequires: pkgconfig(ncurses) %description Ambassador of Pain is a curses based arcade game for Linux/UNIX with only 64 lines of sourcecode. The goal is to drive the hoovercraft (O) trough the level into the 'at' sign (@) and reach as much points as possible by reducing the number of moves and don't losing any time. Lost lifes (0) can easily be picked up by simply drive over them. %prep %autosetup -p0 %build CFLAGS="%{optflags} $(pkg-config --cflags ncurses)" LIBS="$(pkg-config --libs ncurses)" %make_build CFLAGS="$CFLAGS" LIBS="$LIBS" %install %make_install # install icon install -Dm 0644 %{SOURCE1} %{buildroot}%{_datadir}/pixmaps/%{name}.png # install Desktop file %suse_update_desktop_file -i %{name} %files %doc README %license COPYING %{_bindir}/%{name} %{_datadir}/%{name} %{_datadir}/applications/%{name}.desktop %{_datadir}/pixmaps/%{name}.png %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