Репозиторий Sisyphus
Последнее обновление: 5 июля 2022 | Пакетов: 17503 | Посещений: 24504327
en ru br
Репозитории ALT

Группа :: Разработка/Haskell
Пакет: hugs98

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

Name: hugs98
Version: 20060921
Release: alt5

%define real_version Sep2006

Summary: Hugs 98 - A Haskell Interpreter

License: BSD-style
Group: Development/Haskell
Url: http://haskell.org/hugs/

Packager: Konstantin Baev <kipruss at altlinux.org>

Source: http://cvs.haskell.org/Hugs/downloads/2006-09/%name-plus-%real_version.tar.gz
Source1: haskell16.png
Source2: haskell32.png
Source3: haskell48.png

Provides: haskell
Requires: libreadline

# Automatically added by buildreq on Wed Nov 19 2008

BuildRequires: docbook-utils-print imake libGL-devel libX11-devel libfreeglut-devel libncurses-devel libopenal-devel libreadline-devel xorg-cf-files

Hugs 98 is a functional programming system based on Haskell 98, the de facto
standard for non-strict functional programming languages. Hugs 98 provides an
almost complete implementation of Haskell 98, including:

* Lazy evaluation, higher order functions, and pattern matching.

* A wide range of built-in types, from characters to bignums, and lists to
 functions, with comprehensive facilities for defining new datatypes and type

* An advanced polymorphic type system with type and constructor class

* All of the features of the Haskell 98 expression and pattern syntax including
 lambda, case, conditional and let expressions, list comprehensions,
 do-notation, operator sections, and wildcard, irrefutable and `as' patterns.

* An implementation of the Haskell 98 primitives for monadic I/O, with support
 for simple interactive programs, access to text files, handle-based I/O, and
 exception handling.

* An almost complete implementation of the Haskell module system. Hugs 98 also
 supports a number of advanced and experimental extensions including
 multi-parameter classes, extensible records, rank-2 polymorphism,
 existentials, scoped type variables, and restricted type synonyms.

%setup -q -n %name-plus-%real_version


make DESTDIR=%buildroot install_all_but_docs
make -C docs DESTDIR=%buildroot install_man

# icons

mkdir -p %buildroot{%_niconsdir,%_liconsdir,%_miconsdir}
install -pD -m644 %SOURCE1 %buildroot%_miconsdir/%name.png
install -pD -m644 %SOURCE2 %buildroot%_niconsdir/%name.png
install -pD -m644 %SOURCE3 %buildroot%_liconsdir/%name.png

# menu

mkdir -p %buildroot%_desktopdir
cat > %buildroot%_desktopdir/%name.desktop << __EOF__
[Desktop Entry]
Name=Hugs 98
GenericName=A Haskell Interpreter
Comment=Hugs 98 is a functional programming system based on Haskell 98

%doc Credits
%doc License
%doc Readme
%doc docs/ffi-notes.txt
%doc docs/libraries-notes.txt
%doc docs/machugs-notes.txt
%doc docs/server.html
%doc docs/server.tex
%doc docs/winhugs-notes.txt
%doc docs/users_guide/users_guide


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

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