@ -1,5 +1,10 @@
%define pkg_version 6.3
%define pkg_version 6.6
%define api_version 0.8.2
%define api_version 0.8.5
# minimal means brltty-minimal subpackage with minimal deps for
# braille support in Anaconda installer
# https://bugzilla.redhat.com/show_bug.cgi?id=1584679
%bcond_without minimal
%if 0%{?rhel} && 0%{?rhel} <= 7
%if 0%{?rhel} && 0%{?rhel} <= 7
# disable python3 by default
# disable python3 by default
@ -24,7 +29,16 @@
# with espeak support iff on Fedora:
# with espeak support iff on Fedora:
%define with_espeak 0%{?fedora}
%define with_espeak 0%{?fedora}
# OCaml packages not built on i686 since OCaml 5 / Fedora 39.
%ifnarch %{ix86}
%global with_ocaml 1
%global with_ocaml 1
%endif
%ifarch %{java_arches}
%global JAVA 1
%else
%global JAVA 0
%endif
# Filter private libraries
# Filter private libraries
%global _privatelibs libbrltty.+\.so.*
%global _privatelibs libbrltty.+\.so.*
@ -32,35 +46,53 @@
%global __requires_exclude ^(%{_privatelibs})$
%global __requires_exclude ^(%{_privatelibs})$
Name: brltty
Name: brltty
Version: %{pkg_version}
Version: 6.6
Release: 4 %{?dist}
Release: 15 %{?dist}
License: LGPLv2+
License: LGPL-2.0-or-later AND LGPL-2.1-or-later AND GPL-2.0-or-later
URL: http://brltty.app/
URL: http://brltty.app/
Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz
Source0: http://brltty.app/archive/%{name}-%{version}.tar.xz
Source1: brltty.service
Source1: brltty.service
Source2: brlapi-config.h
Source2: brlapi-config.h
Source3: brlapi-forbuild.h
Source3: brlapi-forbuild.h
Source4: brltty.sysusers
Patch1: brltty-6.3-loadLibrary.patch
Patch1: brltty-6.3-loadLibrary.patch
# libspeechd.h moved in latest speech-dispatch (NOT sent upstream)
# libspeechd.h moved in latest speech-dispatch (NOT sent upstream)
Patch2: brltty-6.3-libspeechd.patch
Patch2: brltty-6.3-libspeechd.patch
# https://brltty.app/pipermail/brltty/2023-August/020048.html
# thanks to Lukáš Tyrychtr for the diagnosis and initial patch, and
# Samuel Thibault for this improved patch
Patch3: brltty-6.6-cython3.patch
Summary: Braille display driver for Linux/Unix
Summary: Braille display driver for Linux/Unix
BuildRequires: byacc, glibc-kernheaders, bluez-libs-devel, systemd
BuildRequires: byacc
BuildRequires: gettext, at-spi2-core-devel, alsa-lib-devel
BuildRequires: glibc-kernheaders
BuildRequires: gcc
BuildRequires: bluez-libs-devel
BuildRequires: systemd
BuildRequires: systemd-rpm-macros
%{?sysusers_requires_compat}
BuildRequires: lua-devel
BuildRequires: gettext
BuildRequires: at-spi2-core-devel
BuildRequires: alsa-lib-devel
%if %{with_espeak}
%if %{with_espeak}
BuildRequires: espeak-devel
BuildRequires: espeak-devel
%endif
%endif
BuildRequires: espeak-ng-devel
BuildRequires: espeak-ng-devel
BuildRequires: autoconf, automake
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: polkit-devel
BuildRequires: polkit-devel
BuildRequires: libicu-devel
BuildRequires: libicu-devel
BuildRequires: doxygen
BuildRequires: doxygen
BuildRequires: linuxdoc-tools
BuildRequires: linuxdoc-tools
%if %{with python2}
%if %{with python2}
BuildRequires: python2-docutils
BuildRequires: python2-docutils
BuildRequires: python2-setuptools
%endif
%endif
%if %{with python3}
%if %{with python3}
BuildRequires: python3-docutils
BuildRequires: python3-docutils
BuildRequires: python3-setuptools
%endif
%endif
Conflicts: brltty-minimal
# work around a bug in the install process:
# work around a bug in the install process:
Requires(post): coreutils
Requires(post): coreutils
@ -80,7 +112,6 @@ Speech Dispatcher, please install also package %{name}-speech-dispatcher.
%package speech-dispatcher
%package speech-dispatcher
Summary: Speech Dispatcher driver for BRLTTY
Summary: Speech Dispatcher driver for BRLTTY
License: LGPLv2+
BuildRequires: speech-dispatcher-devel
BuildRequires: speech-dispatcher-devel
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
%description speech-dispatcher
%description speech-dispatcher
@ -89,7 +120,6 @@ This package provides the Speech Dispatcher driver for BRLTTY.
%package docs
%package docs
Summary: Documentation for BRLTTY
Summary: Documentation for BRLTTY
License: LGPLv2+
Requires: %{name} = %{pkg_version}-%{release}
Requires: %{name} = %{pkg_version}-%{release}
BuildArch: noarch
BuildArch: noarch
%description docs
%description docs
@ -97,16 +127,14 @@ This package provides the documentation for BRLTTY.
%package xw
%package xw
Summary: XWindow driver for BRLTTY
Summary: XWindow driver for BRLTTY
License: LGPLv2+
BuildRequires: libSM-devel libICE-devel libX11-devel libXaw-devel libXext-devel libXt-devel libXtst-devel
BuildRequires: libSM-devel libICE-devel libX11-devel libXaw-devel libXext-devel libXt-devel libXtst-devel
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
Requires: xorg-x11-fonts-misc, ucs-miscfixed-fonts
Requires: xorg-x11-fonts-misc
%description xw
%description xw
This package provides the XWindow driver for BRLTTY.
This package provides the XWindow driver for BRLTTY.
%package at-spi2
%package at-spi2
Summary: AtSpi2 driver for BRLTTY
Summary: AtSpi2 driver for BRLTTY
License: LGPLv2+
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
%description at-spi2
%description at-spi2
This package provides the AtSpi2 driver for BRLTTY.
This package provides the AtSpi2 driver for BRLTTY.
@ -114,7 +142,6 @@ This package provides the AtSpi2 driver for BRLTTY.
%if %{with_espeak}
%if %{with_espeak}
%package espeak
%package espeak
Summary: eSpeak driver for BRLTTY
Summary: eSpeak driver for BRLTTY
License: LGPLv2+
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
%description espeak
%description espeak
This package provides the eSpeak driver for BRLTTY.
This package provides the eSpeak driver for BRLTTY.
@ -122,7 +149,6 @@ This package provides the eSpeak driver for BRLTTY.
%package espeak-ng
%package espeak-ng
Summary: eSpeak-NG driver for BRLTTY
Summary: eSpeak-NG driver for BRLTTY
License: LGPLv2+
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
Requires: %{name}%{?_isa} = %{pkg_version}-%{release}
%if ! %{with_espeak}
%if ! %{with_espeak}
Obsoletes: brltty-espeak <= 5.6-5
Obsoletes: brltty-espeak <= 5.6-5
@ -132,7 +158,6 @@ This package provides the eSpeak-NG driver for BRLTTY.
%package -n brlapi
%package -n brlapi
Version: %{api_version}
Version: %{api_version}
License: LGPLv2+
Summary: Application Programming Interface for BRLTTY
Summary: Application Programming Interface for BRLTTY
Recommends: %{name} = %{pkg_version}-%{release}
Recommends: %{name} = %{pkg_version}-%{release}
Requires(pre): glibc-common, shadow-utils
Requires(pre): glibc-common, shadow-utils
@ -146,7 +171,6 @@ a refreshable braille display.
%package -n brlapi-devel
%package -n brlapi-devel
Version: %{api_version}
Version: %{api_version}
License: LGPLv2+
Requires: brlapi%{?_isa} = %{api_version}-%{release}
Requires: brlapi%{?_isa} = %{api_version}-%{release}
Summary: Headers, static archive, and documentation for BrlAPI
Summary: Headers, static archive, and documentation for BrlAPI
@ -164,7 +188,6 @@ which directly accesses a refreshable braille display.
%package -n tcl-brlapi
%package -n tcl-brlapi
Version: %{api_version}
Version: %{api_version}
License: LGPLv2+
Requires: brlapi%{?_isa} = %{api_version}-%{release}
Requires: brlapi%{?_isa} = %{api_version}-%{release}
BuildRequires: tcl-devel
BuildRequires: tcl-devel
Summary: Tcl binding for BrlAPI
Summary: Tcl binding for BrlAPI
@ -175,7 +198,6 @@ This package provides the Tcl binding for BrlAPI.
%package -n python2-brlapi
%package -n python2-brlapi
%{?python_provide:%python_provide python2-brlapi}
%{?python_provide:%python_provide python2-brlapi}
Version: %{api_version}
Version: %{api_version}
License: LGPLv2+
Requires: brlapi%{?_isa} = %{api_version}-%{release}
Requires: brlapi%{?_isa} = %{api_version}-%{release}
BuildRequires: Cython
BuildRequires: Cython
BuildRequires: python2-devel
BuildRequires: python2-devel
@ -189,7 +211,6 @@ This package provides the Python 2 binding for BrlAPI.
%package -n python3-brlapi
%package -n python3-brlapi
%{?python_provide:%python_provide python3-brlapi}
%{?python_provide:%python_provide python3-brlapi}
Version: %{api_version}
Version: %{api_version}
License: LGPLv2+
Requires: brlapi%{?_isa} = %{api_version}-%{release}
Requires: brlapi%{?_isa} = %{api_version}-%{release}
BuildRequires: python3-Cython
BuildRequires: python3-Cython
BuildRequires: python3-devel
BuildRequires: python3-devel
@ -202,22 +223,23 @@ Summary: Python 3 binding for BrlAPI
This package provides the Python 3 binding for BrlAPI.
This package provides the Python 3 binding for BrlAPI.
%endif
%endif
%if %{JAVA}
%package -n brlapi-java
%package -n brlapi-java
Version: %{api_version}
Version: %{api_version}
License: LGPLv2+
Requires: brlapi%{?_isa} = %{api_version}-%{release}
Requires: brlapi%{?_isa} = %{api_version}-%{release}
BuildRequires: jpackage-utils
BuildRequires: jpackage-utils
BuildRequires: java-devel
BuildRequires: java-devel
Summary: Java binding for BrlAPI
Summary: Java binding for BrlAPI
%description -n brlapi-java
%description -n brlapi-java
This package provides the Java binding for BrlAPI.
This package provides the Java binding for BrlAPI.
%endif
%if 0%{?with_ocaml}
%if 0%{?with_ocaml}
%package -n ocaml-brlapi
%package -n ocaml-brlapi
Version: %{api_version}
Version: %{api_version}
License: LGPLv2+
Requires: brlapi%{?_isa} = %{api_version}-%{release}
Requires: brlapi%{?_isa} = %{api_version}-%{release}
BuildRequires: ocaml
BuildRequires: ocaml
BuildRequires: ocaml-findlib
BuildRequires: make
BuildRequires: make
Summary: OCaml binding for BrlAPI
Summary: OCaml binding for BrlAPI
%description -n ocaml-brlapi
%description -n ocaml-brlapi
@ -231,6 +253,15 @@ Requires: dracut
%description dracut
%description dracut
This package provides brltty module for Dracut.
This package provides brltty module for Dracut.
%if %{with minimal}
%package minimal
Summary: Stripped down brltty version for Anaconda installer
Conflicts: brltty
%description minimal
This package provides stripped down brltty version for Anaconda
installer.
%endif
%define version %{pkg_version}
%define version %{pkg_version}
%prep
%prep
@ -238,27 +269,38 @@ This package provides brltty module for Dracut.
mv %{name}-%{version} python2
mv %{name}-%{version} python2
pushd python2
pushd python2
%patch1 -p1 -b .loadLibrary
%patch -P 1 -p1 -b .loadLibrary
%patch2 -p1 -b .libspeechd
%patch -P 2 -p1 -b .libspeechd
%patch -P 3 -p1 -b .cython3
# remove packaged binary file
# remove packaged binary file
rm -f Programs/brltty-ktb
rm -f Programs/brltty-ktb
# produce debuginfo for the OCaml interface
sed -i 's/@OCAMLC@/& -g/;s/@OCAMLOPT@/& -g/;s/@OCAMLMKLIB@/& -g/' \
Bindings/OCaml/Makefile.in
popd
popd
# Make a copy of the source tree for building the Python 3 module
# Make a copy of the source tree for building the Python 3 module
# Make it all time, we just gonna ignore python2 or python3 when not needed
# Make it all time, we just gonna ignore python2 or python3 when not needed
cp -a python2 python3
cp -a python2 python3
%if %{with minimal}
cp -a python2 minimal
%endif
%build
%build
# If MAKEFLAGS=-jN is set it would break local builds.
# If MAKEFLAGS=-jN is set it would break local builds.
unset MAKEFLAGS
unset MAKEFLAGS
%if %{JAVA}
# Add the openjdk include directories to CPPFLAGS
# Add the openjdk include directories to CPPFLAGS
for i in -I/usr/lib/jvm/java/include{,/linux}; do
for i in -I/usr/lib/jvm/java/include{,/linux}; do
java_inc="$java_inc $i"
java_inc="$java_inc $i"
done
done
export CPPFLAGS="$java_inc"
export CPPFLAGS="$java_inc"
%endif
export LDFLAGS="%{?build_ldflags}"
export LDFLAGS="%{?build_ldflags}"
export CFLAGS="%{optflags} -fno-strict-aliasing $LDFLAGS"
export CFLAGS="%{optflags} -fno-strict-aliasing $LDFLAGS"
@ -275,10 +317,35 @@ configure_opts=" \
%if ! %{with_espeak}
%if ! %{with_espeak}
--without-espeak \
--without-espeak \
%endif
%endif
--with-install-root=$RPM_BUILD_ROOT \
%if %{JAVA}
--with-install-root=%{buildroot} \
JAVA_JAR_DIR=%{_jnidir} \
JAVA_JAR_DIR=%{_jnidir} \
JAVA_JNI_DIR=%{_libdir}/brltty \
JAVA_JNI_DIR=%{_libdir}/brltty \
JAVA_JNI=yes"
JAVA_JNI=yes"
%else
--with-install-root=%{buildroot}"
%endif
configure_opts_minimal=" \
--disable-stripping \
--without-curses \
--without-speechd \
--without-espeak \
--disable-icu \
--disable-polkit \
--disable-java-bindings \
--disable-ocaml-bindings \
--disable-python-bindings \
--disable-tcl-bindings \
--disable-speech-support \
--without-pcm-package \
--without-midi-package \
--with-install-root=%{buildroot} \
--with-configuration-file=brltty-minimal.conf \
--with-drivers-directory=%{_libdir}/brltty-minimal \
--with-tables-directory=%{_sysconfdir}/brltty-minimal \
--with-scripts-directory=%{_libexecdir}/brltty-minimal \
JAVA_JNI=no"
export PYTHONCOERCECLOCALE=0
export PYTHONCOERCECLOCALE=0
@ -301,6 +368,18 @@ popd
PYTHONS="$PYTHONS python2"
PYTHONS="$PYTHONS python2"
%endif
%endif
%if %{with minimal}
# ... and then do it again for minimal
pushd minimal
./autogen
%configure $configure_opts_minimal
make
popd
%endif
%if %{with python3}
%if %{with python3}
# ... and then do it again for the Python 3 module
# ... and then do it again for the Python 3 module
pushd python3
pushd python3
@ -344,7 +423,7 @@ done
%install
%install
%if 0%{?with_ocaml}
%if 0%{?with_ocaml}
mkdir -p $RPM_BUILD_ROOT %{_libdir}/ocaml/stublibs
mkdir -p %{buildroot} %{_libdir}/ocaml/stublibs
%endif
%endif
%if %{with python2}
%if %{with python2}
@ -356,6 +435,28 @@ make install JAVA_JAR_DIR=%{_jnidir} \
popd
popd
%endif
%endif
%if %{with minimal}
# minimal
pushd minimal
make install
# drop extra drivers
pushd %{buildroot}%{_libdir}/brltty-minimal
rm -f libbrlttybba.so libbrlttybxw.so libbrlttyxa2.so libbrlttysen.so \
libbrlttyses.so libbrlapi_java.so
popd
# rename brltty to brltty-minimal
mv %{buildroot}%{_bindir}/brltty %{buildroot}%{_bindir}/brltty-minimal
# install config
install -d -m 755 "%{buildroot}%{_sysconfdir}"
install -p -m 644 Documents/brltty.conf "%{buildroot}%{_sysconfdir}/brltty-minimal.conf"
popd
%endif
%if %{with python3}
%if %{with python3}
# Python 3
# Python 3
pushd python3
pushd python3
@ -377,11 +478,11 @@ pushd Authorization/Polkit
make install
make install
popd
popd
install -d -m 755 "${RPM_BUILD_ROOT}%{_sysconfdir}" "$RPM_BUILD_ROOT %{_mandir}/man5"
install -d -m 755 "%{buildroot}%{_sysconfdir}" "%{buildroot} %{_mandir}/man5"
install -m 644 Documents/brltty.conf "${RPM_BUILD_ROOT }%{_sysconfdir}"
install -p -m 644 Documents/brltty.conf "%{buildroot }%{_sysconfdir}"
echo ".so man1/brltty.1" > $RPM_BUILD_ROOT %{_mandir}/man5/brltty.conf.5
echo ".so man1/brltty.1" > %{buildroot} %{_mandir}/man5/brltty.conf.5
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT %{_unitdir}/brltty.service
install -Dpm 644 %{SOURCE1} %{buildroot} %{_unitdir}/brltty.service
cp -p LICENSE* ../
cp -p LICENSE* ../
@ -400,18 +501,21 @@ for i in Drivers/Speech/SpeechDispatcher/README \
mkdir -p ../${i%/*} && cp -rp $i ../$i || exit 1
mkdir -p ../${i%/*} && cp -rp $i ../$i || exit 1
done
done
# Don't want static lib
# don't want static lib
rm -rf $RPM_BUILD_ROOT/%{_libdir}/libbrlapi.a
rm -rf %{buildroot}/%{_libdir}/libbrlapi.a
# create /var/lib/brltty directory
mkdir -p %{buildroot}%{_localstatedir}/lib/brltty
# ghost brlapi.key
# ghost brlapi.key
touch ${RPM_BUILD_ROOT}%{_sysconfdir}/brlapi.key
touch %{buildroot }%{_sysconfdir}/brlapi.key
chmod 0640 ${RPM_BUILD_ROOT }%{_sysconfdir}/brlapi.key
chmod 0640 %{buildroot }%{_sysconfdir}/brlapi.key
# disable xbrlapi gdm autostart, there is already orca
# disable xbrlapi gdm autostart, there is already orca
rm -f ${RPM_BUILD_ROOT }%{_datadir}/gdm/greeter/autostart/xbrlapi.desktop
rm -f %{buildroot }%{_datadir}/gdm/greeter/autostart/xbrlapi.desktop
# make brltty-config executable
# make brltty-config executable
chmod 755 ${RPM_BUILD_ROOT }%{_bindir}/brltty-config.sh
chmod 755 %{buildroot }%{_bindir}/brltty-config.sh
# fix multilib
# fix multilib
pushd %{buildroot}%{_includedir}/brltty
pushd %{buildroot}%{_includedir}/brltty
@ -436,6 +540,14 @@ popd
rm -f doc/Initramfs/Dracut/README*
rm -f doc/Initramfs/Dracut/README*
rmdir doc/Initramfs/Dracut doc/Initramfs
rmdir doc/Initramfs/Dracut doc/Initramfs
# Install group creation file
install -p -D -m 0644 %{SOURCE4} %{buildroot}%{_sysusersdir}/brltty.conf
%if %{!JAVA}
find . -type d -name 'Java' | xargs rm -rf
find %{buildroot}%{_datadir} -type d -name 'Java' | xargs rm -rf
%endif
%post
%post
%systemd_post brltty.service
%systemd_post brltty.service
@ -446,7 +558,7 @@ rmdir doc/Initramfs/Dracut doc/Initramfs
%systemd_postun_with_restart brltty.service
%systemd_postun_with_restart brltty.service
%pre -n brlapi
%pre -n brlapi
getent group brlapi >/dev/null || groupadd -r brlapi >/dev/null
%sysusers_create_compat %{SOURCE4}
%post -n brlapi
%post -n brlapi
if [ ! -e %{_sysconfdir}/brlapi.key ]; then
if [ ! -e %{_sysconfdir}/brlapi.key ]; then
@ -459,13 +571,16 @@ fi
%ldconfig_postun -n brlapi
%ldconfig_postun -n brlapi
%files -f %{name}.lang
%files -f %{name}.lang
%dir %{_localstatedir}/lib/brltty
%config(noreplace) %{_sysconfdir}/brltty.conf
%config(noreplace) %{_sysconfdir}/brltty.conf
%{_sysconfdir}/brltty/
%{_sysconfdir}/brltty/
%exclude %{_sysconfdir}/brltty/Initramfs
%exclude %{_sysconfdir}/brltty/Initramfs
%{_unitdir}/brltty.service
%{_unitdir}/brltty.service
%{_bindir}/brltty
%{_bindir}/brltty
%{_bindir}/brltty-*
%{_bindir}/brltty-*
%exclude %{_bindir}/brltty-minimal
%{_libdir}/brltty/
%{_libdir}/brltty/
%if %{!JAVA}
%exclude %{_libdir}/brltty/libbrlttybba.so
%exclude %{_libdir}/brltty/libbrlttybba.so
%exclude %{_libdir}/brltty/libbrlttybxw.so
%exclude %{_libdir}/brltty/libbrlttybxw.so
%exclude %{_libdir}/brltty/libbrlttyxa2.so
%exclude %{_libdir}/brltty/libbrlttyxa2.so
@ -475,12 +590,21 @@ fi
%if %{with_speech_dispatcher}
%if %{with_speech_dispatcher}
%exclude %{_libdir}/brltty/libbrlttyssd.so
%exclude %{_libdir}/brltty/libbrlttyssd.so
%endif
%endif
%endif
%license LICENSE-LGPL
%license LICENSE-LGPL
%doc %{_mandir}/man[15]/brltty.*
%doc %{_mandir}/man[15]/brltty.*
%{_sysconfdir}/X11/Xsession.d/90xbrlapi
%{_sysconfdir}/X11/Xsession.d/90xbrlapi
%{_datadir}/polkit-1/actions/org.a11y.brlapi.policy
%{_datadir}/polkit-1/actions/org.a11y.brlapi.policy
%{_datadir}/polkit-1/rules.d/org.a11y.brlapi.rules
%{_datadir}/polkit-1/rules.d/org.a11y.brlapi.rules
%if %{with minimal}
%files minimal -f %{name}.lang
%config(noreplace) %{_sysconfdir}/brltty-minimal.conf
%{_sysconfdir}/brltty-minimal/
%{_bindir}/brltty-minimal
%{_libdir}/brltty-minimal/
%license LICENSE-LGPL
%endif
%if %{with_speech_dispatcher}
%if %{with_speech_dispatcher}
%files speech-dispatcher
%files speech-dispatcher
@ -491,7 +615,7 @@ fi
%files docs
%files docs
%doc Documents/ChangeLog Documents/TODO
%doc Documents/ChangeLog Documents/TODO
%doc Documents/Manual-BRLTTY/
%doc Documents/Manual-BRLTTY/
%doc doc/*
# %doc doc/*
%files xw
%files xw
%doc Drivers/Braille/XWindow/README
%doc Drivers/Braille/XWindow/README
@ -520,6 +644,8 @@ fi
%doc %{_mandir}/man1/xbrlapi.*
%doc %{_mandir}/man1/xbrlapi.*
%doc %{_mandir}/man1/vstp.*
%doc %{_mandir}/man1/vstp.*
%doc %{_mandir}/man1/eutp.*
%doc %{_mandir}/man1/eutp.*
%{_sysusersdir}/brltty.conf
%{lua_libdir}/brlapi.so
%files -n brlapi-devel
%files -n brlapi-devel
%{_libdir}/libbrlapi.so
%{_libdir}/libbrlapi.so
@ -544,9 +670,11 @@ fi
%{python3_sitearch}/Brlapi-%{api_version}-*.egg-info
%{python3_sitearch}/Brlapi-%{api_version}-*.egg-info
%endif
%endif
%if %{JAVA}
%files -n brlapi-java
%files -n brlapi-java
%{_libdir}/brltty/libbrlapi_java.so
%{_libdir}/brltty/libbrlapi_java.so
%{_jnidir}/brlapi.jar
%{_jnidir}/brlapi.jar
%endif
%if 0%{?with_ocaml}
%if 0%{?with_ocaml}
%files -n ocaml-brlapi
%files -n ocaml-brlapi
@ -561,16 +689,163 @@ fi
%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline
%config(noreplace) %verify(not size md5 mtime) %{_sysconfdir}/brltty/Initramfs/cmdline
%changelog
%changelog
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 6.3-4
* Thu Jul 4 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 6.6-15
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
- Dropped ucs-miscfixed-fonts requirement, xorg-x11-fonts-misc is enough
Related: rhbz#1991688
Resolves: RHEL-46310
* Tue Jun 25 2024 Troy Dawson <tdawson@redhat.com> - 6.6-14
- Bump release for June 2024 mass rebuild
* Wed Jan 31 2024 Pete Walter <pwalter@fedoraproject.org> - 6.6-13
- Rebuild for ICU 74
* Tue Jun 22 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 6.3-3
* Tue Jan 23 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.6-12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 6.6-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Jan 17 2024 Jaroslav Škarvada <jskarvad@redhat.com> - 6.6-10
- Added SPDX licenses found by ScanCode
- Dropped redundant license tags from subpackages
* Wed Dec 20 2023 Gwyn Ciesla <gwync@protonmail.com> - 6.6-9
- Migrate group creation to sysusers
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 6.6-8
- Bump release and rebuild
* Mon Dec 18 2023 Richard W.M. Jones <rjones@redhat.com> - 6.6-7
- OCaml 5.1.1 + s390x code gen fix for Fedora 40
* Tue Dec 12 2023 Richard W.M. Jones <rjones@redhat.com> - 6.6-6
- OCaml 5.1.1 rebuild for Fedora 40
* Thu Oct 05 2023 Richard W.M. Jones <rjones@redhat.com> - 6.6-5
- OCaml 5.1 rebuild for Fedora 40
* Tue Aug 15 2023 Adam Williamson <awilliam@redhat.com> - 6.6-4
- Fix the Cython 3 crash and build with Cython 3 again
* Mon Aug 14 2023 Adam Williamson <awilliam@redhat.com> - 6.6-3
- Build with Cython 0.29, it crashes when built with Cython 3 (#2231865)
* Tue Jul 25 2023 Gwyn Ciesla <gwync@protonmail.com> - 6.6-2
- Correct apiversioning
* Mon Jul 24 2023 Gwyn Ciesla <gwync@protonmail.com> - 6.6-1
- 6.6
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Thu Jul 13 2023 František Zatloukal <fzatlouk@redhat.com> - 6.5-19
- Rebuilt for ICU 73.2
* Wed Jul 12 2023 Richard W.M. Jones <rjones@redhat.com> - 6.5-18
- OCaml 5.0 rebuild for Fedora 39
* Wed Jul 12 2023 Frantisek Zatloukal <fzatlouk@redhat.com> - 6.5-17
- Add BR: gcc (ocaml no longer pulls it indirectly on i686)
* Tue Jul 11 2023 František Zatloukal <fzatlouk@redhat.com> - 6.5-15
- Rebuilt for ICU 73.2
* Mon Jul 10 2023 Jerry James <loganjerry@gmail.com> - 6.5-14
- OCaml 5.0.0 rebuild
- Produce debuginfo for the OCaml interface
* Tue Jun 27 2023 Gwyn Ciesla <gwync@protonmail.com> - 6.5-13
- Fix build with gettext-0.22 (yselkowitz)
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 6.5-12
- Rebuilt for Python 3.12
* Wed Mar 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 6.5-11
- migrated to SPDX license
* Tue Jan 24 2023 Richard W.M. Jones <rjones@redhat.com> - 6.5-10
- Rebuild OCaml packages for F38
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Sat Dec 31 2022 Pete Walter <pwalter@fedoraproject.org> - 6.5-8
- Rebuild for ICU 72
* Mon Aug 01 2022 Gwyn Ciesla <gwync@protonmail.com> - 6.5-7
- Build Java only on supported platforms.
* Mon Aug 01 2022 Frantisek Zatloukal <fzatlouk@redhat.com> - 6.5-6
- Rebuilt for ICU 71.1
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Mon Jun 20 2022 Python Maint <python-maint@redhat.com> - 6.5-4
- Rebuilt for Python 3.11
* Sat Jun 18 2022 Richard W.M. Jones <rjones@redhat.com> - 6.5-3
- OCaml 4.14.0 rebuild
* Thu Jun 16 2022 Python Maint <python-maint@redhat.com> - 6.5-2
- Rebuilt for Python 3.11
* Tue Jun 14 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 6.5-1
- New version
Resolves: rhbz#2095460
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 6.4-7
- Rebuilt for Python 3.11
* Sat Feb 05 2022 Jiri Vanek <jvanek@redhat.com> - 6.4-6
- Rebuilt for java-17-openjdk as system jdk
* Fri Feb 04 2022 Richard W.M. Jones <rjones@redhat.com> - 6.4-5
- OCaml 4.13.1 rebuild to remove package notes
* Thu Jan 20 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 6.4-4
- Installed /var/lib/brltty directory
Related: rhbz#2042412
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Mon Oct 04 2021 Richard W.M. Jones <rjones@redhat.com> - 6.4-2
- OCaml 4.13.1 build
* Fri Sep 24 2021 Gwyn Ciesla <gwync@protonmail.com> - 6.4-1
- 6.4
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 6.3-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 6.3-9
- Rebuilt for Python 3.10
* Tue Jun 1 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 6.3-8
- Fixed requirements for brltty-minimal
Related: rhbz#1584679
* Wed May 19 2021 Pete Walter <pwalter@fedoraproject.org> - 6.3-7
- Rebuild for ICU 69
* Wed May 19 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 6.3-6
- Added brltty-minimal subpackage for braille support in Anaconda installer
Related: rhbz#1584679
* Thu May 13 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 6.3-5
- Fixed brlapi multilib
- Fixed brlapi multilib
Resolves: rhbz#1915335
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 6.3-2
* Fri Apr 16 2021 Gwyn Ciesla <gwync@protonmail.com> - 6.3-4
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
- Upstream patch to support Python 3.10.
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 6.3-3
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Mon Mar 1 13:12:00 GMT 2021 Richard W.M. Jones <rjones@redhat.com> - 6.3-2
- OCaml 4.12.0 build
* Mon Feb 1 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 6.3-1
* Mon Feb 1 2021 Jaroslav Škarvada <jskarvad@redhat.com> - 6.3-1
- New version
- New version