Hello community,
here is the log from the commit of package brltty for openSUSE:Factory
checked in at Sun Apr 25 18:57:19 CEST 2010.
--------
New Changes file:
--- /dev/null 2010-04-12 17:03:46.000000000 +0200
+++ /mounts/work_src_done/STABLE/brltty/brltty.changes 2010-04-08 18:32:15.000000000 +0200
@@ -0,0 +1,15 @@
+-------------------------------------------------------------------
+Thu Apr 8 18:31:44 CEST 2010 - vuntz@opensuse.org
+
+- Build libbraille driver.
+
+-------------------------------------------------------------------
+Fri Apr 2 12:31:45 CEST 2010 - vuntz@opensuse.org
+
+- Build Speech Dispatcher driver.
+
+-------------------------------------------------------------------
+Thu Apr 1 16:29:54 CEST 2010 - vuntz@opensuse.org
+
+- New package.
+
calling whatdependson for head-i586
New:
----
brltty-4.1.tar.bz2
brltty-cppflags.patch
brltty-java-jni-dir.patch
brltty-python-prefix.patch
brltty.changes
brltty.spec
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ brltty.spec ++++++
#
# spec file for package brltty (Version 4.1)
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: brltty
Version: 4.1
Release: 1
# FIXME tcl bindings: investigate how to not fail in brp-tcl
# FIXME libbraille driver when libbraille is in factory
License: GPLv2+
Summary: Braille display driver for Linux/Unix
Url: http://mielke.cc/brltty/
Group: System/Daemons
Source0: %{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM brltty-cppflags.patch -- Taken from Fedora, to fix build of java bindings
Patch0: brltty-cppflags.patch
# PATCH-FIX-UPSTREAM brltty-python-prefix.patch vuntz@opensuse.org -- Correctly install the python bindings
Patch1: brltty-python-prefix.patch
# PATCH-FIX-OPENSUSE brltty-java-jni-dir.patch vuntz@opensuse.org -- Install java file in correct paths (openSUSE use %{_lib})
Patch2: brltty-java-jni-dir.patch
BuildRequires: alsa-devel
BuildRequires: at-spi-devel
BuildRequires: bison
BuildRequires: bluez-devel
BuildRequires: fdupes
BuildRequires: gpm
BuildRequires: java-devel
BuildRequires: jpackage-utils
BuildRequires: ncurses-devel
BuildRequires: libbraille-devel
BuildRequires: libicu-devel
BuildRequires: libspeechd-devel
BuildRequires: ocaml
BuildRequires: python-devel
BuildRequires: pyrex
BuildRequires: subversion
#Buildrequires: tcl-devel
BuildRequires: xorg-x11-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%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. It drives the braille display and provides
complete screen review functionality.
%package driver-at-spi
License: GPLv2+
Summary: AT-SPI driver for BRLTTY
Requires: %{name} = %{version}
Supplements: packageand(brltty:at-spi)
%description driver-at-spi
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. It drives the braille display and provides
complete screen review functionality.
This package contains the AT-SPI screen driver.
%package driver-brlapi
License: GPLv2+
Summary: BrlAPI driver for BRLTTY
Requires: %{name} = %{version}
Supplements: packageand(brltty:libbrlapi0_5)
%description driver-brlapi
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. It drives the braille display and provides
complete screen review functionality.
This package contains the BrlAPI braille driver.
%package driver-libbraille
License: GPLv2+
Summary: Libbraille driver for BRLTTY
Requires: %{name} = %{version}
Supplements: packageand(brltty:libbraille)
%description driver-libbraille
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. It drives the braille display and provides
complete screen review functionality.
This package contains the libbraille braille driver.
%package driver-speech-dispatcher
License: GPLv2+
Summary: Speech Dispatcher driver for BRLTTY
Requires: %{name} = %{version}
Supplements: packageand(brltty:libspeechd2)
%description driver-speech-dispatcher
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. It drives the braille display and provides
complete screen review functionality.
This package contains the Speech Dispatcher speech driver.
%package driver-xwindow
License: GPLv2+
Summary: XWindow driver for BRLTTY
Requires: %{name} = %{version}
Supplements: packageand(brltty:xorg-x11-server)
%description driver-xwindow
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. It drives the braille display and provides
complete screen review functionality.
This package contains the XWindow braille driver.
%package utils
License: GPLv2+
Summary: Braille display driver for Linux/Unix
Requires: %{name} = %{version}
%description utils
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. It drives the braille display and provides
complete screen review functionality.
This package contain various utilities related to BRLTTY.
%package -n xbrlapi
License: GPLv2+
Summary: X BrlAPI helper
Requires: %{name} = %{version}
Supplements: packageand(libbrlapi0_5:xorg-x11-server)
%description -n xbrlapi
The xbrlapi utility is a helper to have BrlAPI work on a X system.
%package -n libbrlapi0_5
License: GPLv2+
Summary: Library to use BRLTTY from applications
Recommends: %{name}
%description -n libbrlapi0_5
BrlAPI is a service provided by the brltty daemon.
Its purpose is to allow programmers to write applications that take
advantage of a braille terminal in order to deliver a blind user
suitable information for his/her specific needs.
While an application communicates with the braille terminal, everything
brltty sends to the braille terminal in the application's console is
ignored, whereas each piece of data coming from the braille terminal is
sent to the application, rather than to brltty.
%package -n brlapi-devel
License: GPLv2+
Summary: Library to use BRLTTY from applications -- Development Files
Requires: libbrlapi0_5 = %{version}
%description -n brlapi-devel
BrlAPI is a service provided by the brltty daemon.
Its purpose is to allow programmers to write applications that take
advantage of a braille terminal in order to deliver a blind user
suitable information for his/her specific needs.
While an application communicates with the braille terminal, everything
brltty sends to the braille terminal in the application's console is
ignored, whereas each piece of data coming from the braille terminal is
sent to the application, rather than to brltty.
%package -n brlapi-java
License: GPLv2+
Summary: Library to use BRLTTY from applications -- Java Bindings
Requires: java
Requires: jpackage-utils
%description -n brlapi-java
BrlAPI is a service provided by the brltty daemon.
Its purpose is to allow programmers to write applications that take
advantage of a braille terminal in order to deliver a blind user
suitable information for his/her specific needs.
While an application communicates with the braille terminal, everything
brltty sends to the braille terminal in the application's console is
ignored, whereas each piece of data coming from the braille terminal is
sent to the application, rather than to brltty.
%package -n ocaml-brlapi
License: GPLv2+
Summary: Library to use BRLTTY from applications -- OCaml Bindings
Requires: ocaml
%description -n ocaml-brlapi
BrlAPI is a service provided by the brltty daemon.
Its purpose is to allow programmers to write applications that take
advantage of a braille terminal in order to deliver a blind user
suitable information for his/her specific needs.
While an application communicates with the braille terminal, everything
brltty sends to the braille terminal in the application's console is
ignored, whereas each piece of data coming from the braille terminal is
sent to the application, rather than to brltty.
%package -n python-brlapi
License: GPLv2+
Summary: Library to use BRLTTY from applications -- Python Bindings
%py_requires
%description -n python-brlapi
BrlAPI is a service provided by the brltty daemon.
Its purpose is to allow programmers to write applications that take
advantage of a braille terminal in order to deliver a blind user
suitable information for his/her specific needs.
While an application communicates with the braille terminal, everything
brltty sends to the braille terminal in the application's console is
ignored, whereas each piece of data coming from the braille terminal is
sent to the application, rather than to brltty.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
%build
for i in -I%{_libdir}/jvm/java/include{,/linux}; do
java_inc="$java_inc $i"
done
%configure CPPFLAGS="$java_inc" \
--disable-static \
--with-install-root="%{buildroot}" \
--disable-stripping
%__make %{?jobs:-j%jobs}
%install
%makeinstall
install -D -m644 Documents/brltty.conf %{buildroot}%{_sysconfdir}/brltty.conf
%{__rm} %{buildroot}%{_libdir}/libbrlapi.a
%{__rm} %{buildroot}%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a
# fix missing executable bits
test ! -x %{buildroot}%{_bindir}/brltty-config
chmod a+x %{buildroot}%{_bindir}/brltty-config
# clean up the manuals:
rm Documents/Manual-*/*/{*.mk,*.made,Makefile*,*.sgml,*-[0-9]*.html}
mv Documents/BrlAPIref/html Documents/BrlAPIref/BrlAPIref
# group all the documentation in a doc subdirectory:
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
done
%fdupes -s %{buildroot}%{_mandir}
%clean
%{__rm} -rf %{buildroot}
%post -n libbrlapi0_5 -p /sbin/ldconfig
%postun -n libbrlapi0_5 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc LICENSE-GPL LICENSE-LGPL README Documents/ChangeLog Documents/CONTRIBUTORS Documents/HISTORY Documents/README.Bluetooth Documents/TODO
%doc Documents/Manual-BRLTTY/
%doc doc/*
%config(noreplace) %{_sysconfdir}/brltty.conf
%{_sysconfdir}/brltty/
%{_bindir}/brltty
%{_bindir}/brltty-config
%{_bindir}/brltty-install
%{_libdir}/brltty/
%doc %{_mandir}/man1/brltty.1*
%exclude %{_libdir}/brltty/libbrlttybba.so
%exclude %{_libdir}/brltty/libbrlttybxw.so
%exclude %{_libdir}/brltty/libbrlttyblb.so
%exclude %{_libdir}/brltty/libbrlttyssd.so
%exclude %{_libdir}/brltty/libbrlttyxas.so
%files driver-at-spi
%defattr(-, root, root)
%{_libdir}/brltty/libbrlttybba.so
%files driver-brlapi
%defattr(-, root, root)
%doc Drivers/Braille/BrlAPI/README
%{_libdir}/brltty/libbrlttybxw.so
%files driver-libbraille
%defattr(-, root, root)
%{_libdir}/brltty/libbrlttyblb.so
%files driver-speech-dispatcher
%defattr(-, root, root)
%doc Drivers/Speech/SpeechDispatcher/README
%{_libdir}/brltty/libbrlttyssd.so
%files driver-xwindow
%defattr(-, root, root)
%doc Drivers/Braille/XWindow/README
%{_libdir}/brltty/libbrlttyxas.so
%files utils
%defattr(-, root, root)
%{_bindir}/vstp
%doc %{_mandir}/man1/vstp.1*
%files -n xbrlapi
%defattr(-, root, root)
%{_bindir}/xbrlapi
%doc %{_mandir}/man1/xbrlapi.1*
%files -n libbrlapi0_5
%defattr(-, root, root)
%doc Documents/Manual-BrlAPI/
%{_libdir}/libbrlapi.so.*
%files -n brlapi-devel
%defattr(-, root, root)
%doc Documents/BrlAPIref/BrlAPIref/
%{_includedir}/brltty/
%{_includedir}/brlapi*.h
%{_libdir}/libbrlapi.so
%doc %{_mandir}/man3/brlapi_*
%files -n brlapi-java
%defattr(-, root, root)
%{_jnidir}/libbrlapi_java.so
%{_javadir}/brlapi.jar
%files -n ocaml-brlapi
%defattr(-, root, root)
%{_libdir}/ocaml/brlapi/
%{_libdir}/ocaml/stublibs/dllbrlapi_stubs.so*
%files -n python-brlapi
%defattr(-, root, root)
%{python_sitearch}/brlapi.so
%{python_sitearch}/Brlapi-*.egg-info
%changelog
++++++ brltty-cppflags.patch ++++++
2009-05-06 Stepan Kasal