package created using the webbuild interface [release 1.6.7-1mamba;Sat Jan 23 2021]
This commit is contained in:
parent
8e9d660b0b
commit
b095d88c7d
53
ocaml-cppo.spec
Normal file
53
ocaml-cppo.spec
Normal file
@ -0,0 +1,53 @@
|
||||
Name: ocaml-cppo
|
||||
Version: 1.6.7
|
||||
Release: 1mamba
|
||||
Summary: C-style preprocessor for OCaml
|
||||
Group: System/Libraries/OCaml
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/ocaml-community/cppo
|
||||
Source: https://github.com/ocaml-community/cppo.git/v%{version}/cppo-%{version}.tar.bz2
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: ldconfig
|
||||
BuildRequires: ocaml-runtime
|
||||
BuildRequires: ocamlbuild
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRequires: ocaml
|
||||
BuildRequires: dune
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
C-style preprocessor for OCaml.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n cppo-%{version}
|
||||
|
||||
%build
|
||||
%make all
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
rm -rf %{buildroot}%{_prefix}/doc
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/cppo
|
||||
%dir %{_libdir}/ocaml/cppo
|
||||
%{_libdir}/ocaml/cppo/*
|
||||
%dir %{_libdir}/ocaml/cppo_ocamlbuild
|
||||
%{_libdir}/ocaml/cppo_ocamlbuild/*
|
||||
%doc README.md
|
||||
|
||||
%changelog
|
||||
* Sat Jan 23 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.6.7-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user