ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] vcmi
@ 2013-02-08 18:55 Andrew Clark
  2013-02-08 20:34 ` gBopHuk_alt
  0 siblings, 1 reply; 5+ messages in thread
From: Andrew Clark @ 2013-02-08 18:55 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

[-- Attachment #1: Type: text/plain, Size: 551 bytes --]

Добрый вечер господа!

Есть спек, работающий на i586, который собирает игрушку.
Это оригинальная разработка, использующая ресурсы от HoMM 3.
На x64 не собралась, времени бодаться нету, зажимать спек не хочу,
ибо и так очень долго уже откладывал, видимо руки не дойдут поддерживать.
Кто возьмется? Спек в аттаче.

[-- Attachment #2: vcmi.spec --]
[-- Type: text/x-rpm-spec, Size: 2125 bytes --]

%define rev svn3141
Name: vcmi
Version: 0.91
Release: alt1.%rev
Summary: Free implementation of Heroes of the Might and Magic 3 engine
License: GPLv2
Group: Games/Strategy
Url: http://sourceforge.net/projects/vcmi/
Packager: Andrew Clark <andyc@altlinux.org>

Source: http://sourceforge.net/projects/vcmi/files/%name/%version/%name-%version.tar.bz2

# Automatically added by buildreq on Sat Feb 02 2013
# optimized out: boost-devel boost-intrusive-devel cmake-modules libSDL-devel libavcodec-devel libavutil-devel libopencore-amrnb0 libopencore-amrwb0 libstdc++-devel pkg-config
BuildRequires: boost-asio-devel boost-devel-headers boost-filesystem-devel boost-interprocess-devel boost-program_options-devel cmake gcc-c++ libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libavformat-devel libswscale-devel zlib-devel

%description
Rewritten Heroes of the Might and Magic 3: Wake of Gods engine
new possibilities.
You should have data files from original game.
If you have this files, then you need to run vcmibuilder script
for example:
./vcmibuilder --data /media/Program\ Files/Heroes3 --download
after that you need to copy data files from directory with
downloaded files to /usr/share/games/vcmi/

%prep
%setup

%build
cmake --debug-output -D CMAKE_CXX_FLAGS="%optflags" -D CMAKE_C_FLAGS="%optflags" -D DISABLE_ERM="true" -D CMAKE_BUILD_WITH_INSTALL_RPATH="true" -D CMAKE_INSTALL_PREFIX="/usr" -D CMAKE_INSTALL_RPATH="" -D BIN_DIR="bin/" -D LIB_DIR="lib/%name/" -D DATA_DIR="share/games/%name/" CMakeLists.txt
%make_build VERBOSE=1

%install
mkdir -p %buildroot{%_bindir,%_libdir/%name,%_niconsdir,%_desktopdir,%_docdir/%name,%_gamesdatadir/%name/{config,Data,Maps,Mods,Mp3}}

%makeinstall_std

install -pm 644 {AUTHORS,COPYING,NEWS,ChangeLog,license.txt,README*} %buildroot%_docdir/%name/

%files
%_bindir/*
%_docdir/%name
%_niconsdir/vcmiclient.png
%_liconsdir/vcmiclient.png
%_iconsdir/hicolor/64x64/apps/vcmiclient.png
%_desktopdir/vcmiclient.desktop
%_gamesdatadir/%name

%_libdir/%name
%_libdir/%name/AI

%changelog
* Sat Feb 2 2013 Andrew Clark <andyc@altlinux.org> 0.91-alt1.svn3141
- initial build for ALT


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] vcmi
  2013-02-08 18:55 [sisyphus] vcmi Andrew Clark
@ 2013-02-08 20:34 ` gBopHuk_alt
  2013-02-08 20:48   ` gBopHuk_alt
  2013-02-09  2:57   ` Andrew Clark
  0 siblings, 2 replies; 5+ messages in thread
From: gBopHuk_alt @ 2013-02-08 20:34 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

В Птн, 08/02/2013 в 22:55 +0400, Andrew Clark пишет:
> -D LIB_DIR="lib/%name/"

-D LIB_DIR="lib64/%name/"

Это то, что бросается в глаза. А так надо выхлоп сборки смотреть.

> # Automatically added by buildreq on Sat Feb 02 2013
> # optimized out: boost-devel boost-intrusive-devel cmake-modules
libSDL-devel libavcodec-devel libavutil-devel libopencore-amrnb0
libopencore-amrwb0 libstdc++-devel pkg-config

А это точно в спеке присутствует?



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] vcmi
  2013-02-08 20:34 ` gBopHuk_alt
@ 2013-02-08 20:48   ` gBopHuk_alt
  2013-02-09  5:12     ` REAL
  2013-02-09  2:57   ` Andrew Clark
  1 sibling, 1 reply; 5+ messages in thread
From: gBopHuk_alt @ 2013-02-08 20:48 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

В Сбт, 09/02/2013 в 00:34 +0400, gBopHuk_alt пишет:
> > -D LIB_DIR="lib/%name/"
> 
> -D LIB_DIR="lib64/%name/" 

Простите, туплю ! Правильно наверно так:

-D LIB_DIR="%_libdir/%name/" 

Если будет ругаться на путь, тогда наверно как-то через %ifarch.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] vcmi
  2013-02-08 20:34 ` gBopHuk_alt
  2013-02-08 20:48   ` gBopHuk_alt
@ 2013-02-09  2:57   ` Andrew Clark
  1 sibling, 0 replies; 5+ messages in thread
From: Andrew Clark @ 2013-02-09  2:57 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

On 09.02.2013 00:34, gBopHuk_alt wrote:
>> # Automatically added by buildreq on Sat Feb 02 2013
>> # optimized out: boost-devel boost-intrusive-devel cmake-modules
> libSDL-devel libavcodec-devel libavutil-devel libopencore-amrnb0
> libopencore-amrwb0 libstdc++-devel pkg-config
>
> А это точно в спеке присутствует?
а для чего этому присутствовать в спеке? что туда buildreq
вписал - то и присутствует.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [sisyphus] vcmi
  2013-02-08 20:48   ` gBopHuk_alt
@ 2013-02-09  5:12     ` REAL
  0 siblings, 0 replies; 5+ messages in thread
From: REAL @ 2013-02-09  5:12 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussions

09.02.2013 02:48, gBopHuk_alt пишет:
>> -D LIB_DIR="lib64/%name/"
>
> Простите, туплю ! Правильно наверно так:
>
> -D LIB_DIR="%_libdir/%name/"

-D LIBDIR="%_lib/%name/"

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-02-09  5:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-08 18:55 [sisyphus] vcmi Andrew Clark
2013-02-08 20:34 ` gBopHuk_alt
2013-02-08 20:48   ` gBopHuk_alt
2013-02-09  5:12     ` REAL
2013-02-09  2:57   ` Andrew Clark

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git