diff --git a/ocaml-xmlm.spec b/ocaml-xmlm.spec index 39fa3ad..c002821 100644 --- a/ocaml-xmlm.spec +++ b/ocaml-xmlm.spec @@ -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 -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 1.3.0-1mamba +- automatic version update by autodist + * Sun Jun 23 2013 openmamba WebBuild System 1.1.1-2mamba - add a devel package diff --git a/xmlm-1.1.1.tbz b/xmlm-1.1.1.tbz deleted file mode 100644 index 62c8a20..0000000 Binary files a/xmlm-1.1.1.tbz and /dev/null differ diff --git a/xmlm-1.3.0.tbz b/xmlm-1.3.0.tbz new file mode 100644 index 0000000..08e0504 Binary files /dev/null and b/xmlm-1.3.0.tbz differ