Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37733000
en ru br
ALT Linux repos
S:4.4-alt2
5.0: 3.4-alt1

Group :: Games/Other
RPM: playonlinux

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname PlayOnLinux

Summary: Play your Windows games on Linux
Name: playonlinux
Version: 3.4
Release: alt1
License: GPLv3
Group: Games/Other
Url: http://www.playonlinux.com
Packager: Boris Savelev <boris at altlinux.org>

Source: http://www.playonlinux.com/script_files/%oname/%version/%{oname}_%version.tar.gz
Source1: playonlinux
Source2: %oname.desktop

Requires: ImageMagick
Requires: wget
Requires: gettext
Requires: unzip
Requires: cabextract
Requires: xterm
Requires: /usr/bin/wine
Requires: binutils

ExclusiveArch: %ix86

%description
PlayOnLinux is a piece of sofware which allow you to install
and use easily numerous games and software designed to run
with Microsoft(R)'s Windows(R). Indeed, currently, still few
games are compatible with GNU/Linux, and it could be a factor
preventing from migrating to this system. PlayOnLinux brings an
accessible and efficient solution to this problem, cost-free
and respectful of the free software.

%prep
%setup -n %name
%__subst "s|python2.5|python|" python/tools/get_wineversions.py

%install
mkdir %buildroot
mkdir -p %buildroot%_bindir/
mkdir -p %buildroot%_datadir/%name
mkdir -p %buildroot%_datadir/desktop-directories
mkdir -p %buildroot%_desktopdir
mkdir -p %buildroot%_pixmapsdir

cp -a * %buildroot%_datadir/%name

install -p %SOURCE1 %buildroot%_bindir/
rm %buildroot%_datadir/%name/LICENCE
cp %SOURCE2 %buildroot%_desktopdir/%oname.desktop
cp etc/%name.png %buildroot%_pixmapsdir/%name.png
cp etc/PlayOnLinux.directory %buildroot%_datadir/desktop-directories/%oname.directory
rm -f %buildroot%_datadir/%name/bin/smile

%files
%doc LICENCE CHANGELOG
%_bindir/%name
%_datadir/%name
%_desktopdir/%oname.desktop
%_pixmapsdir/%name.png
%_datadir/desktop-directories/%oname.directory

%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