Sisyphus repositório
Última atualização: 16 outubro 2021 | SRPMs: 17363 | Visitas: 22089093
en ru br
ALT Linux repositórios
S:1.3-alt3.qa1
5.0: 1.3-alt1
4.1: 1.3-alt1
4.0: 1.2-alt3
3.0: 1.2-alt1

Group :: Jogos/Enigmas
RPM: qnetwalk

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Name: qnetwalk
Version: 1.3
Release: alt3.qa1

Group: Games/Puzzles
Summary: Qt-version of the popular NetWalk game
License: GPL
URL: http://qt.osdn.org.ua/qnetwalk.html

Source0: http://qt.osdn.org.ua/%name-%version.tar

Patch1: %name-1.1-paths.patch
Patch2: %name-1.3-gcc45.patch

Packager: Evgenii Terechkov <evg at altlinux.ru>

# Automatically added by buildreq on Thu Apr 03 2008 (-bi)

BuildRequires: ImageMagick gcc-c++ libqt4-devel

%description
Qt-version of the popular NetWalk game.

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

subst "s|\(target.path.*=\).*|\1 %_gamesbindir/|" %name.pro
subst "s|\(share.path.*=\).*|\1 %_gamesdatadir/%name/|" %name.pro
subst "s|/usr/local/man|%_mandir|" %name.pro
subst "s|/usr/local/share|%_gamesdatadir|g" %name.pro

export QTDIR=%_qt4dir PATH=%_qt4dir/bin:$PATH
qmake -unix
%make clean

%build
export QTDIR=%_qt4dir PATH=%_qt4dir/bin:$PATH
%make_build

%install
make install INSTALL_ROOT=%buildroot

mkdir -p %buildroot/%_iconsdir/hicolor/{16x16,32x32,48x48}/apps/
install -m 0644 pics/%name.png %buildroot/%_iconsdir/hicolor/16x16/apps/%name.png
install -m 0644 pics/computer2.png %buildroot/%_iconsdir/hicolor/32x32/apps/%name.png
convert -resize 48x48 pics/computer2.png %buildroot/%_iconsdir/hicolor/48x48/apps/%name.png

%files
%_gamesbindir/*
%_datadir/%name
%_desktopdir/*
%_iconsdir/*/*/*/%name.png
%_man6dir/%name.6.*
%doc ChangeLog README

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009