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

Binary file not shown.

BIN
xmlm-1.3.0.tbz Normal file

Binary file not shown.