update to 0.4.2 [release 0.4.2-1mamba;Fri Feb 19 2021]
This commit is contained in:
parent
cd02769f83
commit
9f3ebc5e79
@ -1,20 +1,30 @@
|
|||||||
Name: ocaml-dtools
|
Name: ocaml-dtools
|
||||||
Version: 0.3.1
|
Version: 0.4.2
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: OCaml modules for writing daemons
|
Summary: OCaml modules for writing daemons
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Davide Madrisan <davide.madrisan@gmail.com>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/savonet/ocaml-dtools
|
URL: https://github.com/savonet/ocaml-dtools
|
||||||
Source: http://downloads.sourceforge.net/project/savonet/ocaml-dtools/%{version}/ocaml-dtools-%{version}.tar.gz
|
Source: https://github.com/savonet/ocaml-dtools.git/%{version}/ocaml-dtools-%{version}.tar.bz2
|
||||||
License: GPL
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
## AUTOBUILDREQ-END
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: ocaml
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: dune
|
||||||
BuildRequires: ocaml
|
BuildRequires: ocaml
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
# FIXME: checking for ocaml syslog module... Not found.
|
%package devel
|
||||||
|
Group: Development/Libraries/OCaml
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description devel
|
||||||
|
This package contains libraries and signature files for developing applications that use %{name}.
|
||||||
|
|
||||||
|
%debug_package
|
||||||
|
|
||||||
%description
|
%description
|
||||||
OCaml daemon tools library.
|
OCaml daemon tools library.
|
||||||
@ -23,29 +33,36 @@ OCaml daemon tools library.
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix=%{_prefix}
|
dune build
|
||||||
%make all
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
export OCAMLFIND_DESTDIR=$RPM_BUILD_ROOT$(ocamlfind printconf destdir)
|
DESTDIR="%{buildroot}" dune install --prefix "/usr" --libdir "%{_lib}/ocaml"
|
||||||
install -d $OCAMLFIND_DESTDIR
|
|
||||||
make install
|
rm -rf %{buildroot}/usr/doc
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/ocaml/dtools/META
|
%dir %{_libdir}/ocaml/dtools
|
||||||
|
%{_libdir}/ocaml/dtools/*
|
||||||
|
%exclude %{_libdir}/ocaml/dtools/dtools.a
|
||||||
|
%exclude %{_libdir}/ocaml/dtools/dtools.cmx
|
||||||
|
%exclude %{_libdir}/ocaml/dtools/dtools.cmxa
|
||||||
|
%doc COPYING
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
%{_libdir}/ocaml/dtools/dtools.a
|
%{_libdir}/ocaml/dtools/dtools.a
|
||||||
%{_libdir}/ocaml/dtools/dtools.cma
|
|
||||||
%{_libdir}/ocaml/dtools/dtools.cmi
|
|
||||||
%{_libdir}/ocaml/dtools/dtools.cmx
|
%{_libdir}/ocaml/dtools/dtools.cmx
|
||||||
%{_libdir}/ocaml/dtools/dtools.cmxa
|
%{_libdir}/ocaml/dtools/dtools.cmxa
|
||||||
%{_libdir}/ocaml/dtools/dtools.mli
|
%doc CHANGES README.md
|
||||||
%doc COPYING CHANGES README
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Feb 19 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.2-1mamba
|
||||||
|
- update to 0.4.2
|
||||||
|
|
||||||
* Sat Jun 22 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.3.1-1mamba
|
* Sat Jun 22 2013 Davide Madrisan <davide.madrisan@gmail.com> 0.3.1-1mamba
|
||||||
- package created by autospec
|
- package created by autospec
|
||||||
|
Loading…
Reference in New Issue
Block a user