Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:goupilmtos:2024:games
kye
kye.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kye.spec of Package kye
# # spec file for package kye # # 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: kye Version: 1.0 Release: 0 Summary: Logic puzzle game with arcade elements License: GPL-2.0-or-later Group: Amusements/Games/Strategy/Turn Based URL: http://games.moria.org.uk/kye/ Source: http://games.moria.org.uk/kye/download/%name-%version.tar.gz Source1: %name.desktop Source2: %name-edit.desktop BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: python2-setuptools BuildRequires: update-desktop-files Requires: gdk-pixbuf-loader-rsvg Requires: python-gtk BuildArch: noarch %description Kye is a puzzle game with arcade game elements. The game takes place in a small playing area, where the player controls Kye - a distinctive green blob. The player moves around and tries to collect all of the diamonds. However, there are many other objects in the game, which can obstruct, trap or kill the Kye. Kye is one of those games like Chess, where a small number of different playing pieces, obeying simple rules, combine to create a game of enormous variety and complexity. %prep %autosetup %build perl -i -pe 's{(http://games.moria.org.uk/kye/)pygtk}{$1}g' \ kye/dialogs.py setup.py README python setup.py build # Workaround for librsvg bug [bnc#789728] mkdir t pushd t/ tar -xzf ../images.tar.gz perl -i -pe 's{<style>}{<style type="text/css">}gs' *.svg tar --use-compress-program="gzip -n9" --owner=0 --group=0 --numeric-owner --pax-option=exthdr.name=%d/PaxHeaders/%f,atime:=0,ctime:=0 --mtime=1990-01-01 -cf ../images.tar.gz * popd %install python setup.py install --prefix="%_prefix" --root="%buildroot" mkdir -p "%buildroot/%_datadir/pixmaps" cp -a kye*icon.png "%buildroot/%_datadir/pixmaps/" # convenience ln -s Kye "%buildroot/%_bindir/kye" ln -s Kye-edit "%buildroot/%_bindir/kye-edit" c="%buildroot/%_datadir/applications" mkdir -p "$c" install -Dpm0644 "%SOURCE1" "%SOURCE2" "$c/" %suse_update_desktop_file %name %name-edit %fdupes -s %buildroot/%_prefix %files %doc README %license COPYING %_bindir/kye* %_bindir/Kye* %_datadir/%name %_datadir/applications/kye* %_datadir/pixmaps/kye* %python2_sitelib/%{name}* %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