update to 0.9.0 [release 0.9.0-1mamba;Fri Feb 19 2021]
This commit is contained in:
parent
efc9efa309
commit
278718c900
@ -1,25 +1,27 @@
|
|||||||
%define ocamlpck duppy
|
%define ocamlpck duppy
|
||||||
|
|
||||||
Name: ocaml-duppy
|
Name: ocaml-duppy
|
||||||
Version: 0.5.1
|
Version: 0.9.0
|
||||||
Release: 3mamba
|
Release: 1mamba
|
||||||
Summary: Ocaml-duppy is an advanced scheduler for Ocaml programmers
|
Summary: Ocaml-duppy is an advanced scheduler for Ocaml programmers
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://www.dolebrai.net/duppy.html
|
URL: https://www.dolebrai.net/duppy.html
|
||||||
Source: http://downloads.sourceforge.net/project/savonet/ocaml-duppy/%{version}/ocaml-duppy-%{version}.tar.gz
|
Source: https://github.com/savonet/ocaml-duppy.git/v%{version}/ocaml-duppy-%{version}.tar.bz2
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ocaml
|
||||||
|
BuildRequires: ocaml-pcre-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: dune
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRequires: ocaml-findlib
|
BuildRequires: ocaml-findlib
|
||||||
BuildRequires: ocaml-pcre-devel
|
BuildRequires: ocaml-pcre-devel
|
||||||
Requires: ocaml-pcre
|
Requires: ocaml-pcre
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Ocaml-duppy is an advanced scheduler for Ocaml programmers.
|
Ocaml-duppy is an advanced scheduler for Ocaml programmers.
|
||||||
@ -32,26 +34,19 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
%description devel
|
%description devel
|
||||||
This package contains libraries and signature files for developing applications that use %{name}.
|
This package contains libraries and signature files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure \
|
dune build
|
||||||
--prefix=%{_prefix} \
|
|
||||||
-disable-ldconf
|
|
||||||
|
|
||||||
%make all
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
export DESTDIR=%{buildroot}
|
DESTDIR="%{buildroot}" dune install --prefix "/usr" --libdir "%{_lib}/ocaml"
|
||||||
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
|
|
||||||
export DLLDIR=$OCAMLFIND_DESTDIR/stublibs
|
|
||||||
|
|
||||||
install -d $OCAMLFIND_DESTDIR/%{ocamlpck}
|
rm -rf %{buildroot}/usr/doc
|
||||||
install -d $OCAMLFIND_DESTDIR/stublibs
|
|
||||||
|
|
||||||
make install
|
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
@ -59,11 +54,12 @@ make install
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%dir %{_libdir}/ocaml/%{ocamlpck}
|
%dir %{_libdir}/ocaml/%{ocamlpck}
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/META
|
%{_libdir}/ocaml/%{ocamlpck}/*
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cma
|
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.a
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cmi
|
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmxa
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cmo
|
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.cmx
|
||||||
%{_libdir}/ocaml/stublibs/*.so*
|
%exclude %{_libdir}/ocaml/%{ocamlpck}/*.mli
|
||||||
|
%{_libdir}/ocaml/stublibs/dllduppy_stubs.so
|
||||||
%doc COPYING
|
%doc COPYING
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
@ -72,10 +68,13 @@ make install
|
|||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cmxa
|
%{_libdir}/ocaml/%{ocamlpck}/*.cmxa
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.cmx
|
%{_libdir}/ocaml/%{ocamlpck}/*.cmx
|
||||||
%{_libdir}/ocaml/%{ocamlpck}/*.mli
|
%{_libdir}/ocaml/%{ocamlpck}/*.mli
|
||||||
%doc CHANGES README
|
%doc CHANGES README.md
|
||||||
%doc examples/
|
%doc examples/
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
|
||||||
|
- update to 0.9.0
|
||||||
|
|
||||||
* Sun Jun 23 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.5.1-3mamba
|
* Sun Jun 23 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.5.1-3mamba
|
||||||
- install dll libs in stublibs because this directory is known by ocaml ans so we do not need to modify ld.conf
|
- install dll libs in stublibs because this directory is known by ocaml ans so we do not need to modify ld.conf
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user