Репозиторий Sisyphus
Последнее обновление: 17 февраля 2019 | Пакетов: 18498 | Посещений: 13035653
en ru br
Репозитории ALT

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

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

%define _unpackaged_files_terminate_build 1

Name: fsharp
Version: 10.2.1
Release: alt1

Summary:        F# compiler, core library and core tools
License:        MIT
Group:          Development/Other
Url:            http://fsharp.org

# https://github.com/fsharp/fsharp.git

Source: %name-%version.tar

Source1: packages.tar

Patch1: %name-debian-bootstrap.patch

BuildRequires: rpm-build-mono >= 2.0.0
BuildRequires: mono-devel-full
BuildRequires: msbuild
BuildRequires: /proc
BuildRequires: /usr/bin/7z

# Interfaces of slightly older versions are required, upstream corrects it by modifying 'Requires'

%define __find_provides sh -c '/usr/lib/rpm/find-provides | sort | uniq'
%define __find_requires sh -c '/usr/lib/rpm/find-requires | sort | uniq | grep ^... | \
sed "s/mono\(System.Collections.Immutable\).*/mono\(System.Collections.Immutable\) =" | \
sed "s/mono\(System.ValueTuple\).*/mono\(System.ValueTuple\) ="'

F# is a mature, open source, functional-first programming language
which empowers users and organizations to tackle complex computing
problems with simple, maintainable and robust code. It is used in
a wide range of application areas and is available across multiple

%setup -a1
%patch1 -p1

pushd packages
for i in *.nupkg ; do
   name=$(basename ${i%%.nupkg})
   mkdir $name
   pushd $name
   7z x ../$i
   cp ../$i ./

# unzip unpacks filenames with %% sign as is. Convert it. TODO: make a more generic solution when necessary

find . -iname '*%%2B*' | while read file ; do
   mv $file $(echo $file | sed -e 's:%%2B:+:g') ||:



%doc LICENSE License.txt README.md


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

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