From 244c36893363dc88676b8f65fb7f1821deb373fb Mon Sep 17 00:00:00 2001 From: Jon Ciesla Date: Feb 06 2012 20:23:55 +0000 Subject: Added ocaml support. --- diff --git a/brltty.spec b/brltty.spec index 2c2529f..862d876 100644 --- a/brltty.spec +++ b/brltty.spec @@ -17,7 +17,7 @@ Name: brltty Version: %{pkg_version} -Release: 3%{?dist} +Release: 4%{?dist} License: GPLv2+ Group: System Environment/Daemons URL: http://mielke.cc/brltty/ @@ -137,6 +137,17 @@ Summary: Java binding for BrlAPI %description -n brlapi-java This package provides the Java binding for BrlAPI. +%package -n ocaml-brlapi +Version: %{api_version} +Group: Development/System +License: LGPLv2+ +Requires: brlapi = %{api_version}-%{release} +BuildRequires: ocaml +Summary: OCaml binding for BrlAPI +%description -n ocaml-brlapi +This package provides the OCaml binding for BrlAPI. + + %define version %{pkg_version} %prep @@ -297,8 +308,15 @@ exit 0 %{_jnidir}/libbrlapi_java.so %{_javadir}/brlapi.jar +%files -n ocaml-brlapi +%defattr(-,root,root) +%{_prefix}/%{_lib}/ocaml/brlapi/ +%{_prefix}/%{_lib}/ocaml/stublibs/ %changelog +* Mon Feb 06 2012 Jon Ciesla - 4.3-4 +- Added ocaml subpackage, BZ 702724. + * Fri Feb 03 2012 Jon Ciesla - 4.3-3 - Fixed libbrlapi.so symlink, BZ 558132.