Репозиторий Sisyphus
Последнее обновление: 15 июля 2019 | Пакетов: 17676 | Посещений: 14303943
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\) = 1.2.1.0/" | \
sed "s/mono\(System.ValueTuple\).*/mono\(System.ValueTuple\) = 4.0.3.0/"'

%description
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
platforms.

%prep
%setup -a1
%patch1 -p1

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

# 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') ||:
done
popd

%build
%make

%install
%makeinstall_std

%files
%doc LICENSE License.txt README.md
%_bindir/fsharp*
%_monodir/fsharp*
%_monodir/Microsoft*
%_monodir/xbuild/Microsoft/VisualStudio/

%changelog

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

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