Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:games
AtomicWorm
AtomicWorm.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File AtomicWorm.spec of Package AtomicWorm
# # spec file for package AtomicWorm # # Copyright (c) 2018 SUSE LINUX 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/ # Name: AtomicWorm Version: 0.19 Release: 0 Summary: Atomic Worm License: GPL-3.0-only Group: Amusements/Games/Board/Puzzle Url: http://tweeler.com/index.php?PAGE=atomicw_linux # http://www.tweeler.com/AtomicWorm_019_src.tar.gz Source: %{name}_019_src.tar.bz2 Source1: %{name}.desktop Source2: %{name}.png # PATCH-MISSING-TAG -- See http://wiki.opensuse.org/openSUSE:Packaging_Patches_guidelines Patch0: %{name}-%{version}.patch Patch1: AtomicWorm-0.19-no_unneeded_libs.patch Patch2: AtomicWorm_CmakeLists.diff BuildRequires: cmake BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libtuxcap-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build %description Atomic Worm has flown into the light. A new game which features: * Simple mouse control * Exciting challenges and puzzle oriented game-play * It takes the snake genre to a new dimension. %prep %setup -q -n %{name}_019_src %patch0 %patch1 %patch2 -p1 # fix permissions find ./data -type f -exec chmod 644 {} \; find ./data -type d -exec chmod 755 {} \; %build %cmake %make_jobs %{py_compile ../src} %install install -s -D -m 0755 build/%{name} %{buildroot}%{_bindir}/%{name} mkdir -p %{buildroot}%{_datadir}/%{name} cp -a data/* %{buildroot}%{_datadir}/%{name} cp -a src/*.pyc %{buildroot}%{_datadir}/%{name} cp -a src/*.py %{buildroot}%{_datadir}/%{name} install -m 0644 -D %{SOURCE1} %{buildroot}/%{_datadir}/applications/%{name}.desktop install -D %{SOURCE2} %{buildroot}/%{_datadir}/pixmaps/%{name}.png %fdupes %{buildroot}%{_datadir}/%{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