Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37569424
en ru br
Репозитории ALT
S:2.3.7-alt2_13
3.0: 0.6.5-alt1.4
www.altlinux.org/Changes

Группа :: Система/Библиотеки
Пакет: clanlib

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

Name: clanlib
Version: 0.6.5
Release: alt1.4

Summary: The ClanLib Game SDK
License: LGPL
Group: System/Libraries
Url: http://www.%name.org/

# http://clanlib.org/~sphair/download/

Source: ClanLib-%version-1.tar.bz2
Source1: launch_x11_clanapp.sh

Patch2: ClanLib-0.5.0-add-force-x11.patch
Patch6: Clanlib-0.6.3-lua.patch
Patch7: ClanLib-0.5.1-opt.patch
Patch8: ClanLib-0.6.3-glx.patch
#Patch9: ClanLib-0.5.4-directfb.patch

Patch10: ClanLib-0.6.5-deb-gcc-3.3-fix.patch
Patch11: ClanLib-0.6.5-alt-gcc34.patch
Patch12: ClanLib-0.6.5-alt-buildft.patch

Obsoletes: clanLib, lib%name
Provides: lib%name = %version

BuildConflicts: OpenPTC-devel

# Automatically added by buildreq on Mon Oct 13 2003

BuildRequires: XFree86-devel-static XFree86-libs directfb-devel freetype2-devel gcc-c++ libGLU-devel libGLwrapper libhermes-devel libjpeg-devel liblua4-devel libmikmod-devel libogg-devel libpng-devel libstdc++-devel libtolua4-devel libvorbis-devel pkgconfig zlib-devel

%description
The ClanLib Game SDK is a crossplatform game library designed to ease the work
for game developers. The goal is to provide a common interface to classical
game problems (loading graphics eg.), so games can share as much code as
possible. Ideally anyone with small resources should be able to write
commercial quality games.

%package devel
Summary: Headers for developing programs that will use %name
Group: Development/C++
Requires: %name = %version-%release, %name-gl = %version-%release, %name-gui = %version-%release, %name-jpeg = %version-%release
Requires: %name-mikmod = %version-%release, %name-network = %version-%release, %name-png = %version-%release, %name-smalljpeg = %version-%release
Requires: %name-sound = %version-%release, %name-ttf = %version-%release, %name-vorbis = %version-%release
Requires: %name-lua = %version-%release
Provides: lib%name-devel = %version
Obsoletes: lib%name-devel

%description devel
This package contains the headers that programmers will need to develop
applications which will use %name.

%package devel-static
Summary: Static libraries for developing programs that will use %name
Group: Development/C++
Requires: %name-devel = %version-%release
Provides: lib%name-devel-static = %version

%description devel-static
This package contains the static libraries that programmers will need
to develop applications which will use %name.

%package sound
Summary: ClanLib Sound module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-sound = %version
Obsoletes: lib%name-sound

%description sound
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the Sound module (clanSound).

%package lua
Summary: ClanLib Lua module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-lua = %version

%description lua
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the Lua module (clanLua).

%package vorbis
Summary: ClanLib Vorbis module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-vorbis = %version
Obsoletes: lib%name-vorbis

%description vorbis
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the Vorbis module (clanVorbis).

%package gl
Summary: ClanLib GL module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-gl = %version
Obsoletes: lib%name-gl

%description gl
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the GL module (clanGL).

%package network
Summary: ClanLib Network module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-network = %version
Obsoletes: lib%name-network

%description network
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the Network module (clanNetwork).

%package jpeg
Summary: ClanLib Jpeg module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-jpeg = %version
Obsoletes: lib%name-jpeg

%description jpeg
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the Jpeg module (clanJPEG).

%package gui
Summary: ClanLib Gui module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-gui = %version
Obsoletes: lib%name-gui

%description gui
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the Gui module (clanGUI).

%package ttf
Summary: ClanLib TTF module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-ttf = %version
Obsoletes: lib%name-ttf

%description ttf
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the TTF module (clanTTF).

%package smalljpeg
Summary: ClanLib SmallJPEG module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-smalljpeg = %version
Obsoletes: lib%name-smalljpeg

%description smalljpeg
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the SmallJPEG module
(clanSmallJPEG).

%package mikmod
Summary: ClanLib MikMod module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-mikmod = %version
Obsoletes: lib%name-mikmod

%description mikmod
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the MikMod module (clanMikMod).

%package png
Summary: ClanLib PNG module
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-png = %version
Obsoletes: lib%name-png

%description png
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package is the PNG module (clanPNG).

%package docs
Summary: ClanLib documentation
Group: System/Libraries
Requires: %name = %version-%release
Provides: lib%name-docs = %version
Obsoletes: lib%name-docs

%description docs
The ClanLib Game SDK is a crossplatform game library designed to ease the
work for game developers. This package contains the documentation.

%prep
%setup -q -n ClanLib-%version
%patch2 -p0
%patch6 -p1
%patch7 -p1
%patch8 -p1
#patch9 -p1
%patch10 -p1
%patch11 -p1
%patch12 -p1

%build
./autogen.sh
%configure --enable-dyn --disable-debug --disable-directfb

find . -name 'Makefile*' -print0 |
xargs -r0 %__grep -EZl '^[[:space:]]+ at ' |
xargs -r0 %__subst 's/^\([[:space:]]\+\) at /\1/g'

%make_build all docs

%install
%makeinstall \
BIN_PREFIX=%buildroot%_bindir \
LIB_PREFIX=%buildroot%_libdir \
INC_PREFIX=%buildroot%_includedir \
TARGET_PREFIX=%buildroot%_libdir/ClanLib
%make_install docs_install \
MAN_PREFIX=%buildroot%_mandir \
HTML_PREFIX=%buildroot%_docdir/%name-%version

%__install -pD -m644 README CREDITS CODING_STYLE ascii-logo %buildroot%_docdir/%name-%version
%__install -pD -m755 %SOURCE1 %buildroot%_bindir/launch_x11_clanapp

%post -p /sbin/ldconfig
%post mikmod -p /sbin/ldconfig
%post png -p /sbin/ldconfig
%post sound -p /sbin/ldconfig
%post vorbis -p /sbin/ldconfig
%post network -p /sbin/ldconfig
%post jpeg -p /sbin/ldconfig
%post gui -p /sbin/ldconfig
%post ttf -p /sbin/ldconfig
%post smalljpeg -p /sbin/ldconfig
%post lua -p /sbin/ldconfig

%postun -p /sbin/ldconfig
%postun mikmod -p /sbin/ldconfig
%postun png -p /sbin/ldconfig
%postun sound -p /sbin/ldconfig
%postun vorbis -p /sbin/ldconfig
%postun network -p /sbin/ldconfig
%postun jpeg -p /sbin/ldconfig
%postun gui -p /sbin/ldconfig
%postun ttf -p /sbin/ldconfig
%postun smalljpeg -p /sbin/ldconfig
%postun lua -p /sbin/ldconfig

%files
%dir %_docdir/%name-%version
%_docdir/%name-%version/README
%_docdir/%name-%version/CREDITS
%_bindir/launch_x11_clanapp
%_libdir/libclanCore.so.*
%_libdir/libclanApp.so.*
%_libdir/libclanDisplay.so.*

%files devel
%dir %_docdir/%name-%version
%_docdir/%name-%version/CODING_STYLE
%_docdir/%name-%version/ascii-logo
%_libdir/*.so
%_includedir/*
%_bindir/*-config

%files devel-static
%_libdir/*.a

%files docs
%dir %_docdir/%name-%version
%_docdir/%name-%version/*.html
%_docdir/%name-%version/Images
%_docdir/%name-%version/Overview
%_docdir/%name-%version/Reference

%files mikmod
%_libdir/libclanMikMod.so.*

%files png
%_libdir/libclanPNG.so.*

%files ttf
%_libdir/libclanTTF.so.*

%files jpeg
%_libdir/libclanJPEG.so.*

%files network
%_libdir/libclanNetwork.so.*

%files vorbis
%_libdir/libclanVorbis.so.*

%files gl
%_libdir/libclanGL.so.*

%files smalljpeg
%_libdir/libclanSmallJPEG.so.*

%files sound
%_libdir/libclanSound.so.*

%files lua
%_libdir/libclanLua.so.*

%files gui
%_libdir/libclanGUI.so.*

#files mpeg

#_libdir/libclanMPEG.so*

%changelog

Полный changelog можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin