automatic version update by autodist [release 1.3.0-1mamba;Fri Feb 19 2021]

This commit is contained in:
Automatic Build System 2024-01-06 08:04:57 +01:00
parent e60bd688d3
commit 0bbc0c5403
3 changed files with 16 additions and 9 deletions

View File

@ -1,19 +1,20 @@
%define ocamlpck xmlm
Name: ocaml-xmlm
Version: 1.1.1
Release: 2mamba
Version: 1.3.0
Release: 1mamba
Summary: An OCaml module providing streaming XML input/output
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://erratique.ch/software/xmlm
URL: https://erratique.ch/software/xmlm
Source: http://erratique.ch/software/xmlm/releases/xmlm-%{version}.tbz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRequires: opam
BuildRequires: ocaml
BuildRequires: ocaml-findlib
BuildRoot: %{_tmppath}/%{name}-%{version}-root
@ -34,15 +35,14 @@ This package contains libraries and signature files for developing applications
%setup -q -n xmlm-%{version}
%build
ocaml setup.ml -configure --prefix %{_prefix} --destdir %{buildroot}
ocaml setup.ml -build
ocaml pkg/pkg.ml build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
export OCAMLFIND_DESTDIR=%{buildroot}$(ocamlfind printconf destdir)
install -d $OCAMLFIND_DESTDIR/%{ocamlpck}
ocaml setup.ml -install
opam-installer \
--prefix=%{buildroot}%{_prefix} \
--libdir=%{buildroot}$(ocamlc -where) \
--docdir=%{buildroot}%{_docdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -52,9 +52,13 @@ ocaml setup.ml -install
%{_bindir}/xmltrip
%dir %{_libdir}/ocaml/%{ocamlpck}
%{_libdir}/ocaml/%{ocamlpck}/META
%{_libdir}/ocaml/%{ocamlpck}/opam
%{_libdir}/ocaml/%{ocamlpck}/xmlm.cma
%{_libdir}/ocaml/%{ocamlpck}/xmlm.cmi
%{_libdir}/ocaml/%{ocamlpck}/xmlm.cmti
%{_libdir}/ocaml/%{ocamlpck}/xmlm.cmxs
%dir %{_datadir}/doc/xmlm
%{_datadir}/doc/xmlm/*
%files devel
%defattr(-,root,root)
@ -64,6 +68,9 @@ ocaml setup.ml -install
%{_libdir}/ocaml/%{ocamlpck}/*.mli
%changelog
* Fri Feb 19 2021 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Sun Jun 23 2013 openmamba WebBuild System <webbuild@openmamba.org> 1.1.1-2mamba
- add a devel package

Binary file not shown.

BIN
xmlm-1.3.0.tbz Normal file

Binary file not shown.