2013-04-04 12:56:58 +00:00
|
|
|
%define pkg_version 4.5
|
|
|
|
%define api_version 0.6.0
|
2007-08-22 10:47:29 +00:00
|
|
|
|
2013-05-09 11:13:33 +00:00
|
|
|
%global with_python3 1
|
|
|
|
|
|
|
|
%if 0%{?rhel}
|
|
|
|
%global with_python3 0
|
|
|
|
%endif
|
|
|
|
|
2013-05-10 13:03:35 +00:00
|
|
|
%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh)}
|
2013-05-13 14:41:55 +00:00
|
|
|
%{!?tcl_sitearch: %global tcl_sitearch %{_prefix}/%{_lib}/tcl%{tcl_version}}
|
2009-11-02 09:36:30 +00:00
|
|
|
|
2010-01-13 11:24:51 +00:00
|
|
|
# with speech dispatcher iff on Fedora:
|
|
|
|
%define with_speech_dispatcher 0%{?fedora}
|
|
|
|
|
2012-03-23 09:42:20 +00:00
|
|
|
%ifarch %{ocaml_arches}
|
|
|
|
%global with_ocaml 1
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 03:36:54 +00:00
|
|
|
Name: brltty
|
2007-08-22 10:47:29 +00:00
|
|
|
Version: %{pkg_version}
|
2013-05-10 13:03:35 +00:00
|
|
|
Release: 5%{?dist}
|
2007-08-22 10:47:29 +00:00
|
|
|
License: GPLv2+
|
2004-09-09 03:36:54 +00:00
|
|
|
Group: System Environment/Daemons
|
|
|
|
URL: http://mielke.cc/brltty/
|
2013-05-10 13:03:35 +00:00
|
|
|
Source0: http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz
|
|
|
|
Source1: brltty.service
|
2012-12-12 14:52:40 +00:00
|
|
|
Patch4: brltty-loadLibrary.patch
|
2008-09-13 14:10:14 +00:00
|
|
|
Summary: Braille display driver for Linux/Unix
|
2013-05-02 11:22:38 +00:00
|
|
|
BuildRequires: byacc glibc-kernheaders bluez-libs-devel
|
2013-05-10 13:03:35 +00:00
|
|
|
BuildRequires: systemd
|
2010-01-20 17:43:07 +00:00
|
|
|
# work around a bug in the install process:
|
|
|
|
Requires(post): coreutils
|
2013-05-10 13:03:35 +00:00
|
|
|
Requires(post): systemd
|
|
|
|
Requires(preun): systemd
|
|
|
|
Requires(postun): systemd
|
2004-09-09 03:36:54 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
BRLTTY is a background process (daemon) which provides
|
|
|
|
access to the Linux/Unix console (when in text mode)
|
|
|
|
for a blind person using a refreshable braille display.
|
2009-10-28 17:26:39 +00:00
|
|
|
It drives the braille display and provides complete
|
|
|
|
screen review functionality.
|
2010-01-13 11:24:51 +00:00
|
|
|
%if %{with_speech_dispatcher}
|
2011-10-19 15:00:16 +00:00
|
|
|
BRLTTY can also work with speech synthesizers; if you want to use it with
|
2009-11-02 09:36:30 +00:00
|
|
|
Speech Dispatcher, please install also package %{name}-speech-dispatcher.
|
|
|
|
|
|
|
|
%package speech-dispatcher
|
|
|
|
Summary: Speech Dispatcher driver for BRLTTY
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
License: GPLv2+
|
|
|
|
BuildRequires: speech-dispatcher-devel
|
|
|
|
Requires: %{name} = %{pkg_version}-%{release}
|
|
|
|
%description speech-dispatcher
|
|
|
|
This package provides the Speech Dispatcher driver for BRLTTY.
|
2010-01-13 11:24:51 +00:00
|
|
|
%endif
|
2004-09-09 03:36:54 +00:00
|
|
|
|
2013-05-13 14:41:55 +00:00
|
|
|
%package docs
|
|
|
|
Summary: Documentation for BRLTTY
|
|
|
|
Group: System Environment/Daemons
|
|
|
|
License: GPLv2+
|
|
|
|
Requires: %{name} = %{pkg_version}-%{release}
|
|
|
|
BuildArch: noarch
|
|
|
|
%description docs
|
|
|
|
This package provides the documentation for BRLTTY.
|
|
|
|
|
2007-03-05 14:52:34 +00:00
|
|
|
%package xw
|
2008-09-13 14:10:14 +00:00
|
|
|
Summary: XWindow driver for BRLTTY
|
2007-03-05 14:52:34 +00:00
|
|
|
Group: System Environment/Daemons
|
2007-08-22 10:47:29 +00:00
|
|
|
License: GPLv2+
|
2007-03-05 14:52:34 +00:00
|
|
|
BuildRequires: libSM-devel libICE-devel libX11-devel libXaw-devel libXext-devel libXt-devel libXtst-devel
|
2009-10-28 17:26:39 +00:00
|
|
|
Requires: %{name} = %{pkg_version}-%{release}
|
2007-03-05 14:52:34 +00:00
|
|
|
%description xw
|
|
|
|
This package provides the XWindow driver for BRLTTY.
|
|
|
|
|
2007-08-22 10:47:29 +00:00
|
|
|
%package at-spi
|
2008-09-13 14:10:14 +00:00
|
|
|
Summary: AtSpi driver for BRLTTY
|
2007-08-22 10:47:29 +00:00
|
|
|
Group: System Environment/Daemons
|
2009-10-09 11:52:48 +00:00
|
|
|
# The data files are licensed under LGPLv2+, see the README file.
|
|
|
|
License: GPLv2+ and LGPLv2+
|
2007-08-22 10:47:29 +00:00
|
|
|
BuildRequires: at-spi-devel
|
2009-10-28 17:26:39 +00:00
|
|
|
Requires: %{name} = %{pkg_version}-%{release}
|
2007-08-22 10:47:29 +00:00
|
|
|
%description at-spi
|
|
|
|
This package provides the AtSpi driver for BRLTTY.
|
|
|
|
|
2006-07-12 09:29:47 +00:00
|
|
|
%package -n brlapi
|
2007-08-22 10:47:29 +00:00
|
|
|
Version: %{api_version}
|
2006-07-12 09:29:47 +00:00
|
|
|
Group: Applications/System
|
2007-08-22 10:47:29 +00:00
|
|
|
License: LGPLv2+
|
2011-10-19 15:00:16 +00:00
|
|
|
Summary: Application Programming Interface for BRLTTY
|
2009-11-02 09:36:30 +00:00
|
|
|
Requires: %{name} = %{pkg_version}-%{release}
|
2006-07-12 09:29:47 +00:00
|
|
|
%description -n brlapi
|
|
|
|
This package provides the run-time support for the Application
|
|
|
|
Programming Interface to BRLTTY.
|
|
|
|
|
|
|
|
Install this package if you have an application which directly accesses
|
|
|
|
a refreshable braille display.
|
|
|
|
|
|
|
|
%package -n brlapi-devel
|
2007-08-22 10:47:29 +00:00
|
|
|
Version: %{api_version}
|
2006-07-12 09:29:47 +00:00
|
|
|
Group: Development/System
|
2007-08-22 10:47:29 +00:00
|
|
|
License: LGPLv2+
|
2008-09-17 15:59:49 +00:00
|
|
|
Requires: brlapi = %{api_version}-%{release}
|
2008-09-13 14:10:14 +00:00
|
|
|
Summary: Headers, static archive, and documentation for BrlAPI
|
2006-07-12 09:29:47 +00:00
|
|
|
|
|
|
|
%description -n brlapi-devel
|
|
|
|
This package provides the header files, static archive, shared object
|
|
|
|
linker reference, and reference documentation for BrlAPI (the
|
|
|
|
Application Programming Interface to BRLTTY). It enables the
|
|
|
|
implementation of applications which take direct advantage of a
|
|
|
|
refreshable braille display in order to present information in ways
|
|
|
|
which are more appropriate for blind users and/or to provide user
|
2011-10-19 15:00:16 +00:00
|
|
|
interfaces which are more specifically attuned to their needs.
|
2006-07-12 09:29:47 +00:00
|
|
|
|
|
|
|
Install this package if you are developing or maintaining an application
|
|
|
|
which directly accesses a refreshable braille display.
|
|
|
|
|
2007-08-22 10:47:29 +00:00
|
|
|
%package -n tcl-brlapi
|
|
|
|
Version: %{api_version}
|
|
|
|
Group: Development/System
|
|
|
|
License: LGPLv2+
|
2008-09-17 15:59:49 +00:00
|
|
|
Requires: brlapi = %{api_version}-%{release}
|
2009-11-02 09:36:30 +00:00
|
|
|
BuildRequires: tcl-devel
|
2008-09-13 14:10:14 +00:00
|
|
|
Summary: Tcl binding for BrlAPI
|
2007-08-22 10:47:29 +00:00
|
|
|
%description -n tcl-brlapi
|
|
|
|
This package provides the Tcl binding for BrlAPI.
|
|
|
|
|
|
|
|
%package -n python-brlapi
|
|
|
|
Version: %{api_version}
|
|
|
|
Group: Development/System
|
|
|
|
License: LGPLv2+
|
2008-09-17 15:59:49 +00:00
|
|
|
Requires: brlapi = %{api_version}-%{release}
|
2013-04-04 12:56:58 +00:00
|
|
|
BuildRequires: Cython
|
|
|
|
BuildRequires: python2-devel
|
2008-09-13 14:10:14 +00:00
|
|
|
Summary: Python binding for BrlAPI
|
2007-08-22 10:47:29 +00:00
|
|
|
%description -n python-brlapi
|
|
|
|
This package provides the Python binding for BrlAPI.
|
|
|
|
|
2013-05-09 12:05:20 +00:00
|
|
|
%if 0%{?with_python3}
|
2013-04-04 14:02:15 +00:00
|
|
|
%package -n python3-brlapi
|
|
|
|
Version: %{api_version}
|
|
|
|
Group: Development/System
|
|
|
|
License: LGPLv2+
|
|
|
|
Requires: brlapi = %{api_version}-%{release}
|
|
|
|
BuildRequires: Cython
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
Summary: Python 3 binding for BrlAPI
|
|
|
|
%description -n python3-brlapi
|
|
|
|
This package provides the Python 3 binding for BrlAPI.
|
2013-05-09 11:13:33 +00:00
|
|
|
%endif
|
2013-04-04 14:02:15 +00:00
|
|
|
|
2008-01-07 11:40:14 +00:00
|
|
|
%package -n brlapi-java
|
|
|
|
Version: %{api_version}
|
|
|
|
Group: Development/System
|
|
|
|
License: LGPLv2+
|
2008-09-17 15:59:49 +00:00
|
|
|
Requires: brlapi = %{api_version}-%{release}
|
2012-12-12 14:52:40 +00:00
|
|
|
BuildRequires: jpackage-utils
|
2011-10-19 16:36:46 +00:00
|
|
|
BuildRequires: java-devel
|
2008-09-13 14:10:14 +00:00
|
|
|
Summary: Java binding for BrlAPI
|
2008-01-07 11:40:14 +00:00
|
|
|
%description -n brlapi-java
|
|
|
|
This package provides the Java binding for BrlAPI.
|
|
|
|
|
2012-03-23 09:42:20 +00:00
|
|
|
%if 0%{?with_ocaml}
|
2012-02-06 20:23:55 +00:00
|
|
|
%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.
|
2012-03-23 09:42:20 +00:00
|
|
|
%endif
|
2012-02-06 20:23:55 +00:00
|
|
|
|
|
|
|
|
2007-08-22 10:47:29 +00:00
|
|
|
%define version %{pkg_version}
|
|
|
|
|
2004-09-09 03:36:54 +00:00
|
|
|
%prep
|
2008-01-07 11:40:14 +00:00
|
|
|
%setup -q
|
2012-12-12 14:52:40 +00:00
|
|
|
%patch4 -p1 -b .loadLibrary
|
2004-09-09 03:36:54 +00:00
|
|
|
|
2013-05-09 12:05:20 +00:00
|
|
|
%if 0%{?with_python3}
|
2013-04-04 14:02:15 +00:00
|
|
|
# Make a copy of the source tree for building the Python 3 module
|
|
|
|
rm -rf %{py3dir}
|
|
|
|
cp -a . %{py3dir}
|
2013-05-09 11:13:33 +00:00
|
|
|
%endif
|
2013-04-04 14:02:15 +00:00
|
|
|
|
2004-09-09 03:36:54 +00:00
|
|
|
%build
|
2013-04-04 13:41:04 +00:00
|
|
|
# Add the openjdk include directories to CPPFLAGS
|
2009-05-11 12:44:36 +00:00
|
|
|
for i in -I/usr/lib/jvm/java/include{,/linux}; do
|
|
|
|
java_inc="$java_inc $i"
|
|
|
|
done
|
2013-04-04 16:06:35 +00:00
|
|
|
export CPPFLAGS="$java_inc"
|
2013-04-04 13:41:04 +00:00
|
|
|
|
|
|
|
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
export CXXFLAGS="%{optflags} -fno-strict-aliasing"
|
|
|
|
|
2009-05-11 12:44:36 +00:00
|
|
|
# there is no curses packages in BuildRequires, so the package builds
|
|
|
|
# without them in mock; let's express this decision explicitly
|
2013-04-04 14:02:15 +00:00
|
|
|
configure_opts=" \
|
2013-04-04 13:41:04 +00:00
|
|
|
--disable-stripping \
|
|
|
|
--without-curses \
|
2010-01-13 11:24:51 +00:00
|
|
|
%if %{with_speech_dispatcher}
|
|
|
|
--with-speechd=%{_prefix} \
|
|
|
|
%endif
|
2013-04-04 14:02:15 +00:00
|
|
|
--with-install-root=$RPM_BUILD_ROOT
|
2012-12-12 14:52:40 +00:00
|
|
|
JAVA_JAR_DIR=%{_jnidir} \
|
|
|
|
JAVA_JNI_DIR=%{_libdir}/brltty \
|
2013-04-04 14:02:15 +00:00
|
|
|
JAVA_JNI=yes"
|
2013-01-08 12:52:52 +00:00
|
|
|
|
2013-04-04 14:02:15 +00:00
|
|
|
# First build everything with Python 2 support
|
|
|
|
%configure $configure_opts PYTHON=%{__python2}
|
|
|
|
make %{?_smp_mflags}
|
2012-12-12 14:52:40 +00:00
|
|
|
|
2013-05-09 12:05:20 +00:00
|
|
|
%if 0%{?with_python3}
|
2013-04-04 14:02:15 +00:00
|
|
|
# ... and then do it again for the Python 3 module
|
|
|
|
pushd %{py3dir}
|
|
|
|
%configure $configure_opts PYTHON=%{__python3}
|
2008-01-07 11:40:14 +00:00
|
|
|
make %{?_smp_mflags}
|
2013-04-04 14:02:15 +00:00
|
|
|
popd
|
2013-05-09 11:13:33 +00:00
|
|
|
%endif
|
2004-09-09 03:36:54 +00:00
|
|
|
|
2009-10-28 17:26:39 +00:00
|
|
|
find . \( -path ./doc -o -path ./Documents \) -prune -o \
|
|
|
|
\( -name 'README*' -o -name '*.txt' -o -name '*.html' -o \
|
|
|
|
-name '*.sgml' -o -name '*.patch' -o \
|
|
|
|
\( -path './Bootdisks/*' -type f -perm +ugo=x \) \) -print |
|
|
|
|
while read file; do
|
|
|
|
mkdir -p doc/${file%/*} && cp -rp $file doc/$file || exit 1
|
2004-09-09 03:36:54 +00:00
|
|
|
done
|
|
|
|
|
2011-10-19 15:00:16 +00:00
|
|
|
find . -name '*.sgml' |
|
|
|
|
while read file; do
|
|
|
|
iconv -f iso8859-1 -t utf-8 $file > $file.conv && mv -f $file.conv $file
|
|
|
|
done
|
|
|
|
find . -name '*.txt' |
|
|
|
|
while read file; do
|
|
|
|
iconv -f iso8859-1 -t utf-8 $file > $file.conv && mv -f $file.conv $file
|
|
|
|
done
|
|
|
|
find . -name 'README*' |
|
|
|
|
while read file; do
|
|
|
|
iconv -f iso8859-1 -t utf-8 $file > $file.conv && mv -f $file.conv $file
|
|
|
|
done
|
|
|
|
|
2004-09-09 03:36:54 +00:00
|
|
|
%install
|
2013-04-04 14:02:15 +00:00
|
|
|
# Python 2
|
2012-12-12 14:52:40 +00:00
|
|
|
make install JAVA_JAR_DIR=%{_jnidir} \
|
|
|
|
JAVA_JNI_DIR=%{_libdir}/brltty \
|
|
|
|
JAVA_JNI=yes
|
2013-04-04 14:02:15 +00:00
|
|
|
|
2013-05-09 12:05:20 +00:00
|
|
|
%if 0%{?with_python3}
|
2013-04-04 14:02:15 +00:00
|
|
|
# Python 3
|
|
|
|
pushd %{py3dir}
|
|
|
|
make install JAVA_JAR_DIR=%{_jnidir} \
|
|
|
|
JAVA_JNI_DIR=%{_libdir}/brltty \
|
|
|
|
JAVA_JNI=yes
|
|
|
|
popd
|
2013-05-09 11:13:33 +00:00
|
|
|
%endif
|
2013-04-04 14:02:15 +00:00
|
|
|
|
2009-10-09 11:52:48 +00:00
|
|
|
install -d -m 755 "${RPM_BUILD_ROOT}%{_sysconfdir}" "$RPM_BUILD_ROOT%{_mandir}/man5"
|
2004-10-14 20:43:59 +00:00
|
|
|
install -m 644 Documents/brltty.conf "${RPM_BUILD_ROOT}%{_sysconfdir}"
|
2009-10-09 11:52:48 +00:00
|
|
|
echo ".so man1/brltty.1" > $RPM_BUILD_ROOT%{_mandir}/man5/brltty.conf.5
|
2004-09-09 03:36:54 +00:00
|
|
|
|
2013-05-10 13:03:35 +00:00
|
|
|
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/brltty.service
|
|
|
|
|
2009-10-28 17:26:39 +00:00
|
|
|
# clean up the manuals:
|
|
|
|
rm Documents/Manual-*/*/{*.mk,*.made,Makefile*}
|
2009-11-02 09:36:30 +00:00
|
|
|
mv Documents/BrlAPIref/{html,BrlAPIref}
|
2007-03-05 14:52:34 +00:00
|
|
|
|
2010-05-21 13:17:15 +00:00
|
|
|
# Don't want static lib
|
2012-12-12 19:06:50 +00:00
|
|
|
rm -rf $RPM_BUILD_ROOT/%{_libdir}/libbrlapi.a
|
2010-05-21 13:17:15 +00:00
|
|
|
|
2004-09-09 03:36:54 +00:00
|
|
|
%post
|
2013-05-10 13:03:35 +00:00
|
|
|
%systemd_post brltty.service
|
|
|
|
|
|
|
|
%preun
|
|
|
|
%systemd_preun brltty.service
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%systemd_postun_with_restart brltty.service
|
|
|
|
|
2009-11-02 09:36:30 +00:00
|
|
|
%post -n brlapi -p /sbin/ldconfig
|
|
|
|
%postun -n brlapi -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
2009-10-28 17:26:39 +00:00
|
|
|
%config(noreplace) %{_sysconfdir}/brltty.conf
|
2009-11-02 09:36:30 +00:00
|
|
|
%{_sysconfdir}/brltty/
|
2013-05-10 13:03:35 +00:00
|
|
|
%{_unitdir}/brltty.service
|
2006-07-12 09:29:47 +00:00
|
|
|
%{_bindir}/brltty
|
|
|
|
%{_bindir}/brltty-*
|
2009-11-02 09:36:30 +00:00
|
|
|
%{_libdir}/brltty/
|
|
|
|
%exclude %{_libdir}/brltty/libbrlttybba.so
|
|
|
|
%exclude %{_libdir}/brltty/libbrlttybxw.so
|
2012-12-12 14:52:40 +00:00
|
|
|
%exclude %{_libdir}/brltty/libbrlapi_java.so
|
2010-01-13 11:24:51 +00:00
|
|
|
%if %{with_speech_dispatcher}
|
2009-11-02 09:36:30 +00:00
|
|
|
%exclude %{_libdir}/brltty/libbrlttyssd.so
|
2010-01-13 11:24:51 +00:00
|
|
|
%endif
|
2009-11-02 09:36:30 +00:00
|
|
|
%exclude %{_libdir}/brltty/libbrlttyxas.so
|
2009-10-09 11:52:48 +00:00
|
|
|
%doc LICENSE-GPL LICENSE-LGPL
|
|
|
|
%doc %{_mandir}/man[15]/brltty.*
|
2009-11-02 09:36:30 +00:00
|
|
|
|
2010-01-13 11:24:51 +00:00
|
|
|
%if %{with_speech_dispatcher}
|
2009-11-02 09:36:30 +00:00
|
|
|
%files speech-dispatcher
|
|
|
|
%doc Drivers/Speech/SpeechDispatcher/README
|
|
|
|
%{_libdir}/brltty/libbrlttyssd.so
|
2010-01-13 11:24:51 +00:00
|
|
|
%endif
|
2006-07-12 09:29:47 +00:00
|
|
|
|
2013-05-13 14:41:55 +00:00
|
|
|
%files docs
|
|
|
|
%doc Documents/ChangeLog Documents/TODO
|
|
|
|
%doc Documents/Manual-BRLTTY/
|
|
|
|
%doc doc/*
|
|
|
|
|
2007-03-05 14:52:34 +00:00
|
|
|
%files xw
|
2009-11-02 09:36:30 +00:00
|
|
|
%doc Drivers/Braille/XWindow/README
|
2007-03-05 14:52:34 +00:00
|
|
|
%{_libdir}/brltty/libbrlttybxw.so
|
|
|
|
|
2007-08-22 10:47:29 +00:00
|
|
|
%files at-spi
|
|
|
|
%{_libdir}/brltty/libbrlttyxas.so
|
|
|
|
|
2006-07-12 09:29:47 +00:00
|
|
|
%files -n brlapi
|
2009-11-02 09:36:30 +00:00
|
|
|
%{_bindir}/vstp
|
2009-10-09 11:52:48 +00:00
|
|
|
%{_bindir}/xbrlapi
|
2009-11-02 09:36:30 +00:00
|
|
|
%{_libdir}/brltty/libbrlttybba.so
|
2006-07-12 09:29:47 +00:00
|
|
|
%{_libdir}/libbrlapi.so.*
|
2009-11-02 09:36:30 +00:00
|
|
|
%doc Drivers/Braille/XWindow/README
|
2009-10-28 17:26:39 +00:00
|
|
|
%doc Documents/Manual-BrlAPI/
|
2009-10-09 11:52:48 +00:00
|
|
|
%doc %{_mandir}/man1/xbrlapi.*
|
2009-11-02 09:36:30 +00:00
|
|
|
%doc %{_mandir}/man1/vstp.*
|
2006-07-12 09:29:47 +00:00
|
|
|
|
|
|
|
%files -n brlapi-devel
|
2013-04-04 21:52:22 +00:00
|
|
|
%{_libdir}/libbrlapi.so
|
2006-07-12 09:29:47 +00:00
|
|
|
%{_includedir}/brltty
|
2007-08-22 10:47:29 +00:00
|
|
|
%{_includedir}/brlapi*.h
|
2009-10-09 11:52:48 +00:00
|
|
|
%doc %{_mandir}/man3/brlapi_*.3*
|
2009-11-02 09:36:30 +00:00
|
|
|
%doc Documents/BrlAPIref/BrlAPIref/
|
2007-08-22 10:47:29 +00:00
|
|
|
|
|
|
|
%files -n tcl-brlapi
|
2009-05-11 12:44:36 +00:00
|
|
|
%{tcl_sitearch}/brlapi-%{api_version}
|
2007-08-22 10:47:29 +00:00
|
|
|
|
|
|
|
%files -n python-brlapi
|
|
|
|
%{python_sitearch}/brlapi.so
|
2013-04-04 13:34:47 +00:00
|
|
|
%{python_sitearch}/Brlapi-%{api_version}-*.egg-info
|
2008-01-07 11:40:14 +00:00
|
|
|
|
2013-05-09 12:05:20 +00:00
|
|
|
%if 0%{?with_python3}
|
2013-04-04 14:02:15 +00:00
|
|
|
%files -n python3-brlapi
|
|
|
|
%{python3_sitearch}/brlapi.cpython-*.so
|
|
|
|
%{python3_sitearch}/Brlapi-%{api_version}-*.egg-info
|
2013-05-09 11:13:33 +00:00
|
|
|
%endif
|
2013-04-04 14:02:15 +00:00
|
|
|
|
2008-01-07 11:40:14 +00:00
|
|
|
%files -n brlapi-java
|
2012-12-12 14:52:40 +00:00
|
|
|
%{_libdir}/brltty/libbrlapi_java.so
|
|
|
|
%{_jnidir}/brlapi.jar
|
2004-09-09 03:36:54 +00:00
|
|
|
|
2012-03-23 09:42:20 +00:00
|
|
|
%if 0%{?with_ocaml}
|
2012-02-06 20:23:55 +00:00
|
|
|
%files -n ocaml-brlapi
|
2013-04-04 21:52:22 +00:00
|
|
|
%{_libdir}/ocaml/brlapi/
|
|
|
|
%{_libdir}/ocaml/stublibs/
|
2012-03-23 09:42:20 +00:00
|
|
|
%endif
|
2007-03-05 14:52:34 +00:00
|
|
|
|
2004-09-09 03:36:54 +00:00
|
|
|
%changelog
|
2013-05-13 14:41:55 +00:00
|
|
|
* Fri May 10 2013 Jon Ciesla <limburgher@gmail.com> - 4.5-5
|
2013-05-10 13:03:35 +00:00
|
|
|
- Add systemd unit file, BZ 916628.
|
2013-05-13 14:41:55 +00:00
|
|
|
- Drop spurious post scripts.
|
|
|
|
- Move eveything but man pages and license files top -docs.
|
|
|
|
|
2013-05-09 11:13:33 +00:00
|
|
|
* Thu May 9 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 4.5-4
|
|
|
|
- Conditionally build python3
|
2013-05-10 13:03:35 +00:00
|
|
|
|
2013-05-02 11:22:38 +00:00
|
|
|
* Tue Apr 30 2013 Jon Ciesla <limburgher@gmail.com> - 4.5-3
|
|
|
|
- Add bluetooth support, BZ 916628.
|
|
|
|
|
2013-04-04 21:52:22 +00:00
|
|
|
* Thu Apr 04 2013 Kalev Lember <kalevlember@gmail.com> - 4.5-2
|
|
|
|
- Don't install the library in /lib now that we have UsrMove
|
|
|
|
|
2013-04-04 12:56:58 +00:00
|
|
|
* Thu Apr 04 2013 Kalev Lember <kalevlember@gmail.com> - 4.5-1
|
|
|
|
- Update to 4.5
|
2013-04-04 14:02:15 +00:00
|
|
|
- Add Python 3 support (python3-brlapi)
|
2013-04-04 12:56:58 +00:00
|
|
|
|
2013-02-13 18:02:49 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3-13
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-08 12:52:52 +00:00
|
|
|
* Tue Jan 8 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 4.3-12
|
|
|
|
- Build with -fno-strict-aliasing
|
|
|
|
|
2012-12-19 12:03:55 +00:00
|
|
|
* Wed Dec 19 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.3-11
|
|
|
|
- revbump after jnidir change
|
|
|
|
|
2012-12-12 19:06:50 +00:00
|
|
|
* Wed Dec 12 2012 Jaroslav Škarvada <jskarvad@redhat.com> - 4.3-10
|
|
|
|
- Fixed directories, install to /usr prefix
|
|
|
|
|
2012-12-12 14:52:40 +00:00
|
|
|
* Wed Dec 12 2012 Stanislav Ochotnicky <sochotnicky@redhat.com> - 4.3-9
|
|
|
|
- Fix up java subpackage installation directories
|
|
|
|
- Fix java JNI loading code
|
|
|
|
|
2012-10-17 15:27:44 +00:00
|
|
|
* Wed Oct 17 2012 Jon Ciesla <limburgher@gmail.com> - 4.3-8
|
|
|
|
- Bump and rebuild for new ocaml.
|
|
|
|
|
2012-07-18 18:16:47 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-08 16:09:33 +00:00
|
|
|
* Fri Jun 08 2012 Jon Ciesla <limburgher@gmail.com> - 4.3-6
|
|
|
|
- Bump and rebuild for ocaml 4.00.0.
|
|
|
|
|
2012-03-23 09:42:20 +00:00
|
|
|
* Fri Mar 23 2012 Dan Horák <dan[at]danny.cz> - 4.3-5
|
|
|
|
- conditionalize ocaml support
|
|
|
|
- fix build on 64-bit arches
|
|
|
|
|
2012-02-06 20:23:55 +00:00
|
|
|
* Mon Feb 06 2012 Jon Ciesla <limburgher@gmail.com> - 4.3-4
|
|
|
|
- Added ocaml subpackage, BZ 702724.
|
|
|
|
|
2012-02-03 13:37:15 +00:00
|
|
|
* Fri Feb 03 2012 Jon Ciesla <limburgher@gmail.com> - 4.3-3
|
|
|
|
- Fixed libbrlapi.so symlink, BZ 558132.
|
|
|
|
|
2012-01-12 22:50:16 +00:00
|
|
|
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.3-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-10-19 15:00:16 +00:00
|
|
|
* Tue Oct 18 2011 Jon Ciesla <limb@jcomserv.net> - 4.3-1
|
|
|
|
- New upstream.
|
|
|
|
- S_ISCHR patch upstreamed.
|
|
|
|
- parallel patch updated.
|
|
|
|
- Cleaned up some file encodings.
|
|
|
|
|
2011-02-08 05:50:58 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.2-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-07-22 00:47:32 +00:00
|
|
|
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 4.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
|
|
|
|
2010-05-21 20:29:22 +00:00
|
|
|
* Fri May 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 4.2-2
|
|
|
|
- rework parallel patch slightly and reapply
|
|
|
|
|
2010-05-21 13:17:15 +00:00
|
|
|
* Fri May 21 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 4.2-1
|
|
|
|
- update to 4.2
|
|
|
|
- drop static lib (bz 556041)
|
|
|
|
- fix undefined S_ISCHR call
|
|
|
|
|
2010-01-20 17:43:07 +00:00
|
|
|
* Wed Jan 20 2010 Stepan Kasal <skasal@redhat.com> - 4.1-5
|
|
|
|
- requires(post): coreutils to work around an installator bug
|
|
|
|
- Resolves: #540437
|
|
|
|
|
2010-01-13 11:24:51 +00:00
|
|
|
* Wed Jan 13 2010 Stepan Kasal <skasal@redhat.com> - 4.1-4
|
|
|
|
- limit building against speech-dispatcher to Fedora
|
|
|
|
- Resolves: rhbz#553795
|
|
|
|
|
2009-11-02 09:36:30 +00:00
|
|
|
* Sun Nov 1 2009 Stepan Kasal <skasal@redhat.com> - 4.1-3
|
|
|
|
- build the TTY driver (it was disabled since it first appered in 3.7.2-1)
|
|
|
|
- build with speech-dispatcher, packed into a separate sub-package
|
|
|
|
|
|
|
|
* Fri Oct 30 2009 Stepan Kasal <skasal@redhat.com> - 4.1-2
|
|
|
|
- move data-directory back to default: /etc/brltty
|
|
|
|
- move brltty to /bin and /lib, so that it can be used to repair the system
|
|
|
|
without /usr mounted (#276181)
|
|
|
|
- move vstp and libbrlttybba.so to brlapi
|
|
|
|
- brltty no longer requires brlapi
|
|
|
|
- brlapi now requires brltty from the same build
|
|
|
|
|
2009-10-28 17:26:39 +00:00
|
|
|
* Wed Oct 28 2009 Stepan Kasal <skasal@redhat.com> - 4.1-1
|
|
|
|
- new upstream version
|
|
|
|
- use --disable-stripping instead of make variable override
|
|
|
|
- install the default brltty-pm.conf to docdir only (#526168)
|
|
|
|
- remove the duplicate copies of rhmkboot and rhmkroot from docdir
|
|
|
|
- patch configure so that the dirs in summary are not garbled:
|
|
|
|
brltty-autoconf-quote.patch
|
2009-11-02 09:36:30 +00:00
|
|
|
- move data-directory to ${datadir}/brltty
|
2009-10-28 17:26:39 +00:00
|
|
|
|
2009-10-20 13:20:53 +00:00
|
|
|
* Tue Oct 20 2009 Stepan Kasal <skasal@redhat.com> - 4.0-2
|
|
|
|
- escape rpm macros in the rpm change log
|
2009-10-28 17:26:39 +00:00
|
|
|
- add requires to bind subpackages from one build together
|
2009-10-20 13:20:53 +00:00
|
|
|
|
2009-10-09 11:52:48 +00:00
|
|
|
* Wed Oct 7 2009 Stepan Kasal <skasal@redhat.com> - 4.0-1
|
|
|
|
- new upstream version
|
2009-10-28 17:26:39 +00:00
|
|
|
- drop upstreamed patches; ./autogen not needed anymore
|
2009-10-09 11:52:48 +00:00
|
|
|
- pack the xbrlapi server; move its man page to brlapi package
|
2009-10-28 17:26:39 +00:00
|
|
|
- add man-page for brltty.conf (#526168)
|
2009-10-09 11:52:48 +00:00
|
|
|
|
2009-07-24 18:25:41 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-05-12 13:22:00 +00:00
|
|
|
* Tue May 12 2009 Stepan Kasal <skasal@redhat.com> - 3.10-5
|
|
|
|
- rebuild after java-1.5.0-gcj rebuild
|
|
|
|
|
2009-05-11 12:44:36 +00:00
|
|
|
* Thu Apr 30 2009 Stepan Kasal <skasal@redhat.com> - 3.10-4
|
|
|
|
- own the tcl subdirectory (#474032)
|
|
|
|
- set CPPFLAGS to java include dirs, so that the java bindings build with
|
|
|
|
any java implementation (#498964)
|
|
|
|
- add --without-curses; there is no curses package BuildRequired anyway
|
|
|
|
|
2009-02-24 05:51:11 +00:00
|
|
|
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.10-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-11-29 16:36:41 +00:00
|
|
|
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 3.10-2
|
|
|
|
- Rebuild for Python 2.6
|
|
|
|
|
2008-09-17 15:59:49 +00:00
|
|
|
* Sat Sep 13 2008 Stepan Kasal <skasal@redhat.com> - 3.10-1
|
|
|
|
- new upstream release
|
|
|
|
- drop brltty-3.9-java-svn.patch, brltty-3.9-tcl85path.patch,
|
|
|
|
and brltty-3.9-pyxfix.patch, they are upstream
|
|
|
|
- fix BuildRoot
|
|
|
|
- fix many sub-packages' Requires on brlapi
|
|
|
|
|
2008-09-13 14:10:14 +00:00
|
|
|
* Wed Sep 10 2008 Stepan Kasal <skasal@redhat.com> - 3.9-3
|
|
|
|
- add brltty-3.9-autoconf.patch to fix to build with Autoconf 2.62
|
|
|
|
- add brltty-3.9-parallel.patch to fix race condition with parallel make
|
|
|
|
- add brltty-3.9-pyxfix.patch to fix build with current pyrex
|
|
|
|
- Summary lines shall not end with a dot
|
|
|
|
|
2008-02-28 13:43:34 +00:00
|
|
|
* Thu Feb 28 2008 Tomas Janousek <tjanouse@redhat.com> - 3.9-2.2
|
|
|
|
- glibc build fixes
|
|
|
|
- applied java reorganisations from svn
|
|
|
|
|
2008-02-20 05:28:38 +00:00
|
|
|
* Wed Feb 20 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 3.9-2.1
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2008-01-09 16:35:36 +00:00
|
|
|
* Wed Jan 09 2008 Tomas Janousek <tjanouse@redhat.com> - 3.9-1.1
|
|
|
|
- specfile update to comply with tcl packaging guidelines
|
|
|
|
|
2008-01-07 11:40:14 +00:00
|
|
|
* Mon Jan 07 2008 Tomas Janousek <tjanouse@redhat.com> - 3.9-1
|
|
|
|
- update to latest upstream (3.9)
|
|
|
|
|
|
|
|
* Tue Sep 18 2007 Tomas Janousek <tjanouse@redhat.com> - 3.8-2.svn3231
|
|
|
|
- update to r3231 from svn
|
|
|
|
- added java binding subpackage
|
|
|
|
|
|
|
|
* Wed Aug 29 2007 Tomas Janousek <tjanouse@redhat.com> - 3.8-2.svn3231
|
|
|
|
- update to r3231 from svn
|
|
|
|
|
2007-08-22 10:47:29 +00:00
|
|
|
* Tue Aug 21 2007 Tomas Janousek <tjanouse@redhat.com> - 3.8-1
|
|
|
|
- update to latest upstream
|
|
|
|
- added the at-spi driver, tcl and python bindings
|
|
|
|
- fixed the license tags
|
|
|
|
|
2007-03-05 14:52:34 +00:00
|
|
|
* Mon Mar 05 2007 Tomas Janousek <tjanouse@redhat.com> - 3.7.2-3
|
|
|
|
- added the XWindow driver
|
|
|
|
- build fix for newer byacc
|
|
|
|
|
2007-01-30 12:32:40 +00:00
|
|
|
* Tue Jan 30 2007 Tomas Janousek <tjanouse@redhat.com> - 3.7.2-2.1
|
|
|
|
- quiet postinstall scriptlet, really fixes #224570
|
|
|
|
|
2007-01-30 11:48:57 +00:00
|
|
|
* Tue Jan 30 2007 Tomas Janousek <tjanouse@redhat.com> - 3.7.2-2
|
|
|
|
- failsafe postinstall script, fixes #224570
|
|
|
|
- makefile fix - debuginfo extraction now works
|
|
|
|
|
2007-01-25 11:05:26 +00:00
|
|
|
* Thu Jan 25 2007 Tomas Janousek <tjanouse@redhat.com> - 3.7.2-1.1
|
|
|
|
- fix building with newer kernel-headers (#224149)
|
|
|
|
|
2006-07-12 09:29:47 +00:00
|
|
|
* Wed Jul 12 2006 Petr Rockai <prockai@redhat.com> - 3.7.2-1
|
|
|
|
- upgrade to latest upstream version
|
|
|
|
- split off brlapi and brlapi-devel packages
|
|
|
|
|
2006-07-12 05:29:13 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 3.2-12.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-07-02 10:50:31 +00:00
|
|
|
* Sun Jul 02 2006 Florian La Roche <laroche@redhat.com>
|
|
|
|
- for the post script require coreutils
|
|
|
|
|
2006-06-05 21:29:19 +00:00
|
|
|
* Mon Jun 05 2006 Jesse Keating <jkeating@redhat.com> - 3.2-11
|
|
|
|
- Added byacc BuildRequires, removed prereq, coreutils is always there
|
|
|
|
|
2006-02-11 02:12:25 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.2-10.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 11:11:40 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.2-10.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:39:49 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-03-16 17:35:31 +00:00
|
|
|
* Wed Mar 16 2005 Bill Nottingham <notting@redhat.com> 3.2-10
|
|
|
|
- rebuild
|
|
|
|
|
2004-11-26 19:09:17 +00:00
|
|
|
* Fri Nov 26 2004 Florian La Roche <laroche@redhat.com>
|
|
|
|
- add a %%clean into .spec
|
|
|
|
|
2004-10-14 20:43:59 +00:00
|
|
|
* Thu Oct 14 2004 Adrian Havill <havill@redhat.com> 3.2-5
|
|
|
|
- chmod a-x for conf file (#116244)
|
|
|
|
|
2004-09-09 03:38:00 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 03:37:53 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 03:36:59 +00:00
|
|
|
* Tue Sep 30 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- prereq coreutils for mknod/chown/chmod
|
2004-09-09 03:36:54 +00:00
|
|
|
|
|
|
|
* Mon Jul 07 2003 Adrian Havill <havill@redhat.com> 3.2-2
|
|
|
|
- changed spec "Copyright" to "License"
|
2009-10-20 13:20:53 +00:00
|
|
|
- use %%configure macro, %%{_libdir} for non-ia32 archs
|
2004-09-09 03:36:54 +00:00
|
|
|
- removed unnecessary set and unset, assumed/default spec headers
|
|
|
|
- fixed unpackaged man page, duplicate /bin and /lib entries
|
|
|
|
- use plain install vs scripts for non-i386 buildsys
|