Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37416156
en ru br
ALT Linux repos
S:1.0.1-alt2

Group :: Graphical desktop/Window Maker
RPM: wmlife

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: wmlife
Version: 1.0.1
Release: alt1.1

Summary: WindowMaker dock-app running Conway's Game of Life
License: GPL
Group: Graphical desktop/Window Maker

Url: http://www.swanson.ukfsn.org
Source0: %url/%name/%name-%version.tar.gz
Source1: %name-icons.tar.gz
Source2: %name.desktop
Patch0: wmlife-1.0.0-stringh.patch
Patch1: wmlife-1.0.0-alt-configure.patch
Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Sun Dec 10 2006 (-bi)

BuildRequires: imake libSM-devel libXext-devel libgtk+2-devel xorg-cf-files

%description
Wmlife is a dock app running Conway's Game of Life (and program
launcher). Life is played on a grid of square cells where a cell can
be either live or dead. In the rules, you count the number of live
neighbours for each cell to determine whether a cell lives or dies;

Birth: dead cell with exactly three live neighbours becomes a live cell.
Survival: a live cell with two or three live neighbours stays alive.
Overcrowding / Loneliness: in all other cases, a cell dies or remains
dead.

Normally Life is implemented on an infinite board but due to size
restraints wmlife implements the grid as a torus. In a torus,
the grid wraps at the edges from top to bottom and left to right.

%prep
%setup -a1
%patch0 -p1
%patch1 -p1

%build
export CFLAGS="$CFLAGS %optflags"
%autoreconf
%configure --enable-session
%make_build

%install
%makeinstall
install -pDm644 16x16.png %buildroot%_miconsdir/%name.png
install -pDm644 32x32.png %buildroot%_niconsdir/%name.png
install -pDm644 48x48.png %buildroot%_liconsdir/%name.png
install -pDm644 %SOURCE2  %buildroot%_desktopdir/%name.desktop

%files
%doc AUTHORS README ChangeLog NEWS
%_man1dir/*
%_bindir/*
%_desktopdir/*
%_niconsdir/*.png
%_miconsdir/*.png
%_liconsdir/*.png

%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