ocamlbuild/ocamlbuild.spec

68 lines
1.9 KiB
RPMSpec

Name: ocamlbuild
Version: 0.14.2
Release: 2mamba
Summary: A generic build tool, that has built-in rules for building OCaml library and programs
Group: Development/Tools
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/ocaml/ocamlbuild
Source: https://github.com/ocaml/ocamlbuild.git/%{version}/ocamlbuild-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ocaml
BuildRequires: ocaml-runtime
## AUTOBUILDREQ-END
BuildRequires: ocaml >= 4.14.1
%description
OCamlbuild is a generic build tool, that has built-in rules for building OCaml library and programs.
%debug_package
%prep
%setup -q
%build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall CHECK_IF_PREINSTALLED=false BINDIR=%{_bindir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/ocamlbuild
%{_bindir}/ocamlbuild.byte
%{_bindir}/ocamlbuild.native
%dir %{_libdir}/ocaml/ocamlbuild
%{_libdir}/ocaml/ocamlbuild/*
%{_mandir}/man1/ocamlbuild.1*
%doc LICENSE
%changelog
* Thu Jul 06 2023 Sdk Build System <sdk@mambasoft.it> 0.14.2-2mamba
- rebuilt with ocaml 4.14.1
* Fri Sep 30 2022 Automatic Build System <autodist@mambasoft.it> 0.14.2-1mamba
- automatic version update by autodist
* Sun Feb 13 2022 Automatic Build System <autodist@mambasoft.it> 0.14.1-1mamba
- automatic version update by autodist
* Thu Jan 21 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.0-4mamba
- rebuilt with ocaml 4.11.1
* Mon Dec 30 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.0-3mamba
- rebuilt with ocaml 4.09.0-4mamba
* Thu May 09 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.0-2mamba
- make sure build is against ocaml 4.07.1
* Sun Apr 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.0-1mamba
- package created using the webbuild interface