ocamlbuild/ocamlbuild.spec

50 lines
1.3 KiB
RPMSpec

Name: ocamlbuild
Version: 0.14.0
Release: 1mamba
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
## GITSOURCE https://github.com/ocaml/ocamlbuild.git 0.14.0
Source: https://github.com/ocaml/ocamlbuild.git/%{version}/ocamlbuild-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: ocaml >= 4.07.1
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
* Sun Apr 21 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.14.0-1mamba
- package created using the webbuild interface