package created using the webbuild interface [release 2.0.4-1mamba;Sun May 05 2019]
This commit is contained in:
parent
690ab31ea5
commit
1bd05dbad7
@ -1,2 +1,4 @@
|
||||
# opam
|
||||
|
||||
opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
|
||||
|
||||
|
64
opam.spec
Normal file
64
opam.spec
Normal file
@ -0,0 +1,64 @@
|
||||
Name: opam
|
||||
Version: 2.0.4
|
||||
Release: 1mamba
|
||||
Summary: opam is a source-based package manager for OCaml
|
||||
Group: Development/Tools
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://opam.ocaml.org
|
||||
## GITSOURCE https://github.com/ocaml/opam.git 2.0.4
|
||||
Source: https://github.com/ocaml/opam.git/%{version}/opam-%{version}.tar.bz2
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libstdc++6-devel
|
||||
## AUTOBUILDREQ-ENDcd
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: ocaml-re
|
||||
BuildRequires: ocaml-compiler-libs
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
# 2.0.4: fix blocking error in install due just to dune warnings
|
||||
sed -i "s|; false ;|; true ;|" doc/Makefile
|
||||
|
||||
%build
|
||||
%configure
|
||||
|
||||
make lib-ext all -j1 \
|
||||
OCAMLC='ocamlc -unsafe-string' \
|
||||
OCAMLOPT='ocamlopt -unsafe-string'
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
install -d %{buildroot}%{_docdir}
|
||||
mv %{buildroot}/usr/doc/opam-installer %{buildroot}%{_docdir}/opam
|
||||
rmdir %{buildroot}/usr/doc
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/opam
|
||||
%{_bindir}/opam-installer
|
||||
%dir %{_prefix}/lib/opam-installer
|
||||
%{_prefix}/lib/opam-installer/*
|
||||
%dir %{_datadir}/doc/opam
|
||||
%{_datadir}/doc/opam/*
|
||||
%{_mandir}/man1/opam*.1*
|
||||
%doc AUTHORS LICENSE
|
||||
|
||||
%changelog
|
||||
* Sun May 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.4-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user