Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37549141
en ru br
ALT Linux repositórios
S:1.2.1-alt4

Group :: Desenvolvimento/ML
RPM: ocaml-react

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

# on i586: verify-elf: ERROR: ./usr/lib/ocaml/react/react.cmxs: TEXTREL entry found: 0x00000000
%set_verify_elf_method textrel=relaxed

Name: ocaml-react
Version: 1.2.0
Release: alt4%ubt
Summary: Development files for %name
License: BSD
Group: Development/ML
Url: http://erratique.ch/software/react
# http://erratique.ch/repos/react.git
Source: %name-%version.tar
Requires: %name-runtime = %version-%release
Requires: rpm-build-ocaml >= 1.1.1

BuildPreReq: rpm-build-ocaml >= 1.1.1
BuildRequires: ocaml ocaml-ocamlbuild ocaml-findlib
BuildRequires(pre): rpm-build-ubt

%description
React is an OCaml module for functional reactive programming (FRP).
It provides support to program with time varying values : applicative
events and signals. React doesn't define any primitive event or signal,
this lets the client chooses the concrete timeline.

React is made of a single, independent, module and distributed under
the new BSD license.

Given an absolute notion of time Rtime helps you to manage a timeline
and provides time stamp events, delayed events and delayed signals.

%package runtime
Summary: OCaml module for Functional Reactive Programming (FRP)
Group: Development/ML

%description runtime
React is an OCaml module for functional reactive programming (FRP).
It provides support to program with time varying values : applicative
events and signals. React doesn't define any primitive event or signal,
this lets the client chooses the concrete timeline.

React is made of a single, independent, module and distributed under
the new BSD license.

Given an absolute notion of time Rtime helps you to manage a timeline
and provides time stamp events, delayed events and delayed signals.

%prep
%setup

%build
ocaml pkg/build.ml \
 native=true \
 native-dynlink=true

%install
mkdir -p %buildroot%_libdir/ocaml/react
for f in \
 pkg/META \
 src/*.{a,cma,cmi,cmx,mli,cmxa,cmxs}
do
 cp -p _build/$f %buildroot%_libdir/ocaml/react/
done


%files runtime
%_libdir/ocaml/react
%exclude %{_libdir}/ocaml/react/*.cmx
%exclude %{_libdir}/ocaml/react/*.mli

%files
%_libdir/ocaml/react/*.cmx
%_libdir/ocaml/react/*.mli

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009