Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37879692
en ru br
ALT Linux repos
S:1.6-alt6
5.0: 1.6-alt2
4.1: 1.6-alt1
4.0: 1.6-ipl12mdk
3.0: 1.6-ipl12mdk

Group :: Games/Arcade
RPM: xjewel

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: xjewel
Version: 1.6
Release: alt2
Epoch: 1

Summary: An X Window System game of falling jewel blocks
License: MIT
Group: Games/Arcade

Url: http://www.opennet.ru/openforum/vsluhforumID3/40415.html
Source0: ftp://ftp.x.org/R5contrib/xjewel-1.6.tar.z
Source1: xjewel-menu
Source2: %{name}16.xpm.bz2
Source3: %{name}32.xpm.bz2
Source4: %{name}48.xpm.bz2
Patch0: xjewel-1.6-imake.patch.bz2
Patch1: xjewel-1.6-enhance.patch.bz2
Patch2: xjewel-1.6-nobr.patch.bz2
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Tue Apr 01 2008

BuildRequires: imake libXext-devel xorg-cf-files

BuildRequires: xorg-x11-devel

%description
Xjewel is an X Window System game much like Domain/Jewelbox
or Sega's Columns.

The point of the game is to move or rotate the blocks as they fall,
to get jewels in patterns of three when they come to rest.

%prep
%setup  -q
%patch0 -p1
%patch1 -p1
%patch2 -p1

%build
xmkmf
make "RPM_OPT_FLAGS=%optflags"

%install
mkdir -p %buildroot%_localstatedir/games
make DESTDIR=%buildroot install install.man

install -m 755 -d %buildroot%_menudir
install -m 644 %SOURCE1 %buildroot%_menudir
install -m 755 -d %buildroot%_miconsdir
bzcat %SOURCE2 > %buildroot%_miconsdir/%name.xpm
install -m 755 -d %buildroot%_iconsdir
bzcat %SOURCE3 > %buildroot%_iconsdir/%name.xpm
install -m 755 -d %buildroot%_liconsdir
bzcat %SOURCE4 > %buildroot%_liconsdir/%name.xpm

%files
%_bindir/*
%config %_localstatedir/games/xjewel.scores
%_man1dir/*
%_menudir/*
%_iconsdir/%name.xpm
%_miconsdir/*
%_liconsdir/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin