Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37513669
en ru br
Репозитории ALT
S:4.10.2.2614-alt3_29
5.1: 4.0.3.2202-alt1.M51.1
4.0: 3.10.5-alt0.5.M40.2
www.altlinux.org/Changes

Группа :: Разработка/Прочее
Пакет: squeak-vm

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

%define major       4.0.3
%define minor       2202
%define source      Squeak-%{major}.%{minor}-src
%define source_dir  4.1

Name: squeak-vm
Version: %{major}.%{minor}
Release: alt1.M51.1
Summary: The Squeak virtual machine
Group: Development/Other
License: MIT
Url: http://squeakvm.org/unix
Packager: Sugar Development Team <sugar at packages.altlinux.org>

Source: http://ftp.squeak.org/%{source_dir}/unix-linux/%{source}.tar.gz

BuildRequires: cmake
BuildRequires: gcc-c++
BuildRequires: pkg-config  
BuildRequires: freetype2-devel
BuildRequires: libdbus-devel
BuildRequires: gstreamer-devel
BuildRequires: libogg-devel  
BuildRequires: libvorbis-devel
BuildRequires: libspeex-devel
BuildRequires: libpango-devel
BuildRequires: libuuid-devel
BuildRequires: libalsa-devel
BuildRequires: libaudio-devel
BuildRequires: libpulseaudio-devel
BuildRequires: glib2-devel
BuildRequires: libxml2-devel
BuildRequires: libX11-devel
BuildRequires: libGL-devel

Obsoletes: squeak-vm-nonXOplugins

%description
Squeak is a full-featured implementation of the Smalltalk programming
language and environment based on (and largely compatible with) the original
Smalltalk-80 system.

This package contains just the Squeak virtual machine.

%prep
%setup -q -n %{source}

%build
mkdir bld
cd bld

../unix/cmake/configure \
   --prefix=%{prefix} \
   --bindir=%{_bindir} \
   --plgdir=%{_libdir}/squeak/%{major}-%{minor} \
   --mandir=%{_mandir}

%make_build

%set_verify_elf_method textrel=relaxed

%install
make -C bld install DESTDIR=%{buildroot}

# remove squeak.sh that fetches kdebase-libs

rm -f %{buildroot}/%{_bindir}/squeak.sh

# these files will be put in std RPM doc location

rm -rf %{buildroot}/%{prefix}/doc/squeak

# let packages that are depending on squeak-vm know about current lib directory

ln -s %{major}-%{minor} %{buildroot}/%{_libdir}/squeak/current

%files
%doc unix/ChangeLog unix/doc/{README*,LICENSE,*RELEASE_NOTES}
%{_bindir}/*
%dir %{_libdir}/squeak
%dir %{_libdir}/squeak/%{major}-%{minor}
%{_libdir}/squeak/current
%{_libdir}/squeak/%{major}-%{minor}/squeakvm
%{_libdir}/squeak/%{major}-%{minor}/so.*
%{_mandir}/man*/*

%changelog

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

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