package ocaml bindings apart [release 6.4-2mamba;Sat Jan 22 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 21:00:17 +01:00
parent 7e7e38d0d1
commit 90aec74e9c

View File

@ -1,6 +1,6 @@
Name: brltty
Version: 6.4
Release: 1mamba
Release: 2mamba
Summary: A background process which provides access to the Linux/Unix console for a blind person
Group: Applications/Accessibility
Vendor: openmamba
@ -40,6 +40,7 @@ BuildRequires: libpython3-devel
BuildRequires: libspeechd-devel
BuildRequires: libsystemd-devel
BuildRequires: ocaml
BuildRequires: ocaml-runtime
## AUTOBUILDREQ-END
#BuildRequires: java_cup
BuildRequires: ocaml = 4.11.1
@ -65,10 +66,27 @@ Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: %{name}-devel
Obsoletes: %{name}-devel < 6.3
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: ocaml-brlapi-devel = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n ocaml-brlapi
Group: System/Libraries
Summary: Ocaml bindings for %{name}
%description -n ocaml-brlapi
This package contains the Ocaml bindings for %{name}.
%package -n ocaml-brlapi-devel
Group: System/Libraries
Summary: Ocaml development files for %{name}
Requires: ocaml-brlapi = %{?epoch:%epoch:}%{version}-%{release}
%description -n ocaml-brlapi-devel
This package contains the development files for Ocaml bindings for %{name}.
%debug_package
%prep
@ -83,7 +101,7 @@ This package contains libraries and header files for developing applications tha
--disable-java-bindings \
PYTHON=%{__python3}
%make
%make -j1
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -129,14 +147,9 @@ rm -f %{buildroot}%{_bindir}/brltty-install
%defattr(-,root,root)
%{_libdir}/brltty/libbrltty*.so
%{_libdir}/libbrlapi.so.*
%dir %{_libdir}/ocaml/brlapi
%{_libdir}/ocaml/brlapi/brlapi.*
%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a
%{_libdir}/ocaml/brlapi/META
%{_libdir}/ocaml/brlapi/dllbrlapi_stubs.so
#%{_libdir}/brlapi-*/libbrlapi_tcl.so
#%{_libdir}/brlapi-*/pkgIndex.tcl
#%doc LICENSE-LGPL
%doc LICENSE-LGPL
%files -n lib%{name}-devel
%defattr(-,root,root)
@ -151,7 +164,24 @@ rm -f %{buildroot}%{_bindir}/brltty-install
%{_libdir}/pkgconfig/brltty.pc
#%doc README
%files -n ocaml-brlapi
%defattr(-,root,root)
%dir %{_libdir}/ocaml/brlapi
%{_libdir}/ocaml/brlapi/brlapi.cma
%{_libdir}/ocaml/brlapi/brlapi.cmi
%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a
%{_libdir}/ocaml/brlapi/META
%{_libdir}/ocaml/brlapi/dllbrlapi_stubs.so
%files -n ocaml-brlapi-devel
%defattr(-,root,root)
%{_libdir}/ocaml/brlapi/brlapi.cmxa
%{_libdir}/ocaml/brlapi/brlapi.mli
%changelog
* Sat Jan 22 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 6.4-2mamba
- package ocaml bindings apart
* Sat Sep 25 2021 Automatic Build System <autodist@mambasoft.it> 6.4-1mamba
- automatic version update by autodist