]> git.pld-linux.org Git - packages/brltty.git/blame - brltty.spec
- fix java plugin install on 64bit archs
[packages/brltty.git] / brltty.spec
CommitLineData
3704768a 1# TODO:
e6a1be7c 2# - what is that huge %post script?
42577d78 3#
608626ec 4# Conditional build:
82b1c71c 5%bcond_without apidocs # documentation generated with doxygen
3dcc4a01 6%bcond_without java # Java bindings
82b1c71c
JB
7%bcond_without ocaml # OCaml bindings
8%bcond_without python # Python bindings
9%bcond_without tcl # Tcl bindings
10%bcond_without x # X11-based utilities
11%bcond_without gpm # mouse tracking via GPM
509de961 12%bcond_without libbraille # libbraille Braille driver
82b1c71c
JB
13%bcond_without espeak # eSpeak synthesizer driver
14%bcond_without flite # Flite synthesizer driver
dfe38ff6 15%bcond_with mikropuhe # Mikropuhe synthesizer driver [commercial, Finnish]
82b1c71c 16%bcond_without speech_dispatcher # Speech Dispatcher synthesizer driver
dfe38ff6
JB
17%bcond_with swift # Swift synthesizer driver [commercial, from Cepstral]
18%bcond_with theta # Theta synthesizer driver [commercial, from Cepstral]
19%bcond_with viavoice # IBM ViaVoice synthesizer driver [commercial]
509de961
JB
20%bcond_without at_spi # AtSpi screen driver
21%bcond_without at_spi2 # AtSpi2 screen driver
22#
23%define brlapi_ver 0.5.7
608626ec 24#
332e4348 25%include /usr/lib/rpm/macros.java
9b20373a 26Summary: Braille display driver for Linux/Unix
8731bfde 27Summary(pl.UTF-8): Sterownik do wyświetlaczy Braille'a
91162002 28Name: brltty
509de961 29Version: 4.4
538473c2 30Release: 3
9b20373a 31Group: Daemons
3dcc4a01 32License: GPL v2+ (brltty and drivers), LGPL v2.1+ (APIs)
91162002 33Source0: http://mielke.cc/brltty/releases/%{name}-%{version}.tar.gz
509de961 34# Source0-md5: 8ebe96efe679f5f6ccff08928fec5b26
6c9c25b1 35Patch0: %{name}-stat.patch
1a7665e9 36URL: http://mielke.cc/brltty/
82b1c71c
JB
37BuildRequires: alsa-lib-devel
38%{?with_at_spi:BuildRequires: at-spi-devel}
42577d78 39BuildRequires: autoconf >= 2.62
664a738b 40BuildRequires: automake
91162002 41BuildRequires: bison
82b1c71c
JB
42# just headers
43BuildRequires: bluez-libs-devel
44%{?with_at_spi2:BuildRequires: dbus-devel >= 1.0}
608626ec 45%{?with_apidocs:BuildRequires: doxygen}
ed3025fe 46%{?with_espeak:BuildRequires: espeak-devel}
dfe38ff6 47%{?with_flite:BuildRequires: flite-devel}
82b1c71c 48%{?with_gpm:BuildRequires: gpm-devel}
09255552 49%{?with_java:BuildRequires: jdk}
dfe38ff6 50%{?with_libbraille:BuildRequires: libbraille-devel}
82b1c71c 51BuildRequires: libicu-devel
eb77b64b 52BuildRequires: ncurses-devel
6913fe15 53%{?with_ocaml:BuildRequires: ocaml}
ac744b8d 54BuildRequires: pkgconfig
0bb357f1 55%{?with_python:BuildRequires: python-Pyrex}
332e4348 56%{?with_java:BuildRequires: rpm-javaprov}
0bb357f1 57%{?with_python:BuildRequires: rpm-pythonprov}
dfe38ff6 58%{?with_speech_dispatcher:BuildRequires: speech-dispatcher-devel}
5fa6377b 59%{?with_tcl:BuildRequires: tcl-devel}
82b1c71c
JB
60%if %{with x}
61BuildRequires: xorg-lib-libX11-devel
62BuildRequires: xorg-lib-libXaw-devel
63BuildRequires: xorg-lib-libXext-devel
64BuildRequires: xorg-lib-libXt-devel
65BuildRequires: xorg-lib-libXtst-devel
66%endif
dfe38ff6
JB
67#%{?with_mikropuhe:BuildRequires: Mikropuhe-devel (-lmikropuhe <mpwrfile.h>)}
68#%{?with_swift:BuildRequires: Swift-devel (-lswift <swift.h>)}
69#%{?with_theta:BuildRequires: Theta-devel (-ltheta <theta.h>)}
70#%{?with_viavoice:BuildRequires: ViaVoice-devel (-libmeci50 <eci.h>)}
91162002 71BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
72
73%description
74BRLTTY is a background process (daemon) which provides access to the
75Linux/Unix console (when in text mode) for a blind person using a
33e3c5f9 76refreshable Braille display. It drives the Braille display, and
3b0ec988 77provides complete screen review functionality. Some speech capability
91162002 78has also been incorporated.
79
54f59947
JR
80%description -l pl.UTF-8
81BRLTTY jest demonem, który udostępnia dostęp do linuksowej konsoli (w
82trybie tekstowym) dla niewidomych używających wyświetlaczy Braille'a z
83odświeżaniem (refreshable Braille display). BRLTTY steruje
84wyświetlaczem Braille'a i dostarcza funkcjonalność całkowitego
85przeglądu ekranu. Do tego pakietu została włączona możliwość syntezy
9b20373a 86mowy.
91162002 87
88%package -n brlapi
9b20373a 89Summary: Application Programming Interface for BRLTTY
8731bfde 90Summary(pl.UTF-8): API do BRLTTY
3dcc4a01
JB
91License: LGPL v2.1+
92Group: Libraries
91162002 93
94%description -n brlapi
95This package provides the run-time support for the Application
96Programming Interface to BRLTTY.
97
9b20373a 98Install this package if you have an application which directly
99accesses a refreshable Braille display.
91162002 100
54f59947
JR
101%description -n brlapi -l pl.UTF-8
102Ten pakiet zawiera środowisko uruchomieniowe dla programów
103korzystających z API BRLTTY.
91162002 104
54f59947
JR
105Zainstaluj ten pakiet jeśli masz aplikację, która bezpośrednio używa
106wyświetlacza Braille'a z odświeżaniem.
91162002 107
108%package -n brlapi-devel
9b20373a 109Summary: Headers and documentation for BrlAPI
8731bfde 110Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do BrlAPI
3dcc4a01 111License: LGPL v2.1+
3b0ec988 112Group: Development/Libraries
664a738b 113Requires: brlapi = %{version}-%{release}
91162002 114
115%description -n brlapi-devel
9b20373a 116This package provides the header files, shared object linker
117reference, and reference documentation for BrlAPI (the Application
3b0ec988 118Programming Interface to BRLTTY). It enables the implementation of
9b20373a 119applications which take direct advantage of a refreshable Braille
120display in order to present information in ways which are more
121appropriate for blind users and/or to provide user interfaces which
122are more specifically atuned to their needs.
91162002 123
3b0ec988 124Install this package if you're developing or maintaining an
125application which directly accesses a refreshable Braille display.
91162002 126
54f59947
JR
127%description -n brlapi-devel -l pl.UTF-8
128Ten pakiet zawiera pliki nagłówkowe oraz dokumentację do BrlAPI (API
129do BRLTTY). BrlAPI pozwala implementować aplikacje, które bezpośrednio
130korzystają z wyświetlaczy Braille'a dostarczając interfejs użytkownika
131bardziej przystosowany dla osób niewidomych.
91162002 132
54f59947
JR
133Zainstaluj ten pakiet, jeśli tworzysz lub nadzorujesz aplikację
134korzystającą bezpośrednio z odświeżalnych wyświetlaczy Braille'a.
91162002 135
136%package -n brlapi-static
9b20373a 137Summary: Static BrlAPI library
8731bfde 138Summary(pl.UTF-8): Statyczna biblioteka BrlAPI
3dcc4a01 139License: LGPL v2.1+
3b0ec988 140Group: Development/Libraries
664a738b 141Requires: brlapi-devel = %{version}-%{release}
91162002 142
143%description -n brlapi-static
9b20373a 144This is package with static BrlAPI library.
91162002 145
54f59947
JR
146%description -n brlapi-static -l pl.UTF-8
147Ten pakiet zawiera statyczną wersję biblioteki BrlAPI.
91162002 148
608626ec
SS
149%package -n brlapi-apidocs
150Summary: BrlAPI documentation
151Summary(pl.UTF-8): Documentacja BrlAPI
152Group: Documentation
153
154%description -n brlapi-apidocs
155Documentation for BrlAPI in HTML format generated from brltty
156sources by doxygen.
157
158%description -n brlapi-apidocs -l pl.UTF-8
159Dokumentacja BrlAPI w formacie HTML generowane ze
160źrodeł brltty przez doxygen.
161
332e4348 162%package -n java-brlapi
09255552
SS
163Summary: BrlAPI library for Java
164Summary(pl.UTF-8): Biblioteka BrlAPI dla Javy
3dcc4a01 165License: LGPL v2.1+
09255552
SS
166Group: Libraries
167Requires: brlapi = %{version}-%{release}
168
332e4348 169%description -n java-brlapi
09255552
SS
170BrlAPI library for Java.
171
332e4348 172%description -n java-brlapi -l pl.UTF-8
09255552
SS
173Biblioteka BrlAPI dla Javy.
174
82b1c71c
JB
175%package -n ocaml-brlapi
176Summary: OCaml binding for BrlAPI
177Summary(pl.UTF-8): Wiązania OCamla do BrlAPI
3dcc4a01 178License: LGPL v2.1+
82b1c71c
JB
179Group: Libraries
180Requires: brlapi = %{version}-%{release}
181%requires_eq ocaml-runtime
182
183%description -n ocaml-brlapi
184OCaml binding for BrlAPI.
185
186%description -n ocaml-brlapi -l pl.UTF-8
187Wiązania OCamla do BrlAPI.
188
189%package -n ocaml-brlapi-devel
190Summary: OCaml binding for BrlAPI - development files
191Summary(pl.UTF-8): Wiązania OCamla do BrlAPI - pliki programistyczne
3dcc4a01 192License: LGPL v2.1+
82b1c71c
JB
193Group: Libraries
194Requires: ocaml-brlapi = %{version}-%{release}
195%requires_eq ocaml
196
197%description -n ocaml-brlapi-devel
198OCaml binding for BrlAPI - development files.
199
200%description -n ocaml-brlapi-devel -l pl.UTF-8
201Wiązania OCamla do BrlAPI - pliki programistyczne.
202
0bb357f1
SS
203%package -n python-brlapi
204Summary: Python interface to BrlAPI
205Summary(pl.UTF-8): Pythonowy interfejs do BrlAPI
3dcc4a01 206License: LGPL v2.1+
0bb357f1
SS
207Group: Libraries
208Requires: brlapi = %{version}-%{release}
209
210%description -n python-brlapi
211Python interface to BrlAPI.
212
213%description -n python-brlapi -l pl.UTF-8
214Pythonowy interfejs do BrlAPI.
215
216%package -n brlapi-tcl
217Summary: BrlAPI library for Tcl
218Summary(pl.UTF-8): Biblioteka BrlAPI dla Tcl
3dcc4a01 219License: LGPL v2.1+
0bb357f1
SS
220Group: Libraries
221Requires: brlapi = %{version}-%{release}
222
223%description -n brlapi-tcl
224BrlAPI library for Tcl.
225
226%description -n brlapi-tcl -l pl.UTF-8
227Biblioteka BrlAPI dla Tcl.
228
91162002 229%prep
230%setup -q
6c9c25b1 231%patch0 -p1
91162002 232
233%build
915167f5 234CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
664a738b
JB
235%configure \
236 --with-install-root="$RPM_BUILD_ROOT" \
509de961 237 %{!?with_libbraille:--without-libbraille} \
82b1c71c
JB
238 %{!?with_espeak:--without-espeak} \
239 %{!?with_flite:--without-flite} \
240 %{!?with_speech_dispatcher:--without-speechd} \
241 %{!?with_ocaml:--disable-caml-bindings} \
242 %{!?with_gpm:--disable-gpm} \
f50dc761 243 %{!?with_java:--disable-java-bindings} \
82b1c71c
JB
244 %{!?with_python:--disable-python-bindings} \
245 %{!?with_tcl:--disable-tcl-bindings} \
246 %{!?with_x:--disable-x} \
91162002 247 --enable-api
245bd38d
JR
248
249%{__make} -j1
91162002 250
251directory="doc"
252mkdir -p "$directory"
253for file in `find . \( -path "./$directory" -o -path ./Documents \) -prune -o \( -name 'README*' -o -name '*.txt' -o -name '*.html' -o -name '*.sgml' -o \( -path "./Bootdisks/*" -type f -perm +ugo=x \) \) -print`
254do
9b20373a 255 mkdir -p "$directory/${file%/*}"
256 cp -rp "$file" "$directory/$file"
91162002 257done
258
259%install
260rm -rf $RPM_BUILD_ROOT
82b1c71c
JB
261
262%{__make} -j1 install \
263 OCAML_INSTALL_TARGET=install-without-findlib
264
538473c2
JR
265%if %{_lib} != "lib"
266 # Fix java plugin install path on 64-bit archs
267 install -d $RPM_BUILD_ROOT%{_libdir}/java
268 %{__mv} $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}}/java/libbrlapi_java.so
269%endif
270
3b0ec988 271install Documents/brltty.conf $RPM_BUILD_ROOT%{_sysconfdir}
91162002 272
82b1c71c
JB
273install -d $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
274cat >$RPM_BUILD_ROOT/usr/lib/tmpfiles.d/brltty.conf <<EOF
275d /var/run/brltty 0755 root root -
276EOF
277
91162002 278%clean
279rm -rf $RPM_BUILD_ROOT
280
281%pre
282# The pre-install scriptlet.
283
284# If a configuration file already exists then rpm installs the new one as
285# <path>.rpmnew. If this is done then the .rpmnew file is overwritten if it
286# already exists.
287
288# There's no explicit way to tell if a configuration file has been installed
289# as itself or as a .rpmnew file. The way we'll figure it out, therefore, is by
3b0ec988 290# erasing the .rpmnew file now so that we can see if it gets created later.
91162002 291rm -f "%{_sysconfdir}/brltty.conf.rpmnew"
292
293%post
294# The post-install scriptlet.
295
296# If BRLTTY's boot parameter has been specified then update the just installed
297# configuration file template to reflect the options supplied thereby.
298
299# First, we need to determine which file to update. If there's a .rpmnew file
300# then update it since a previous configuration file must already have existed.
301file="%{_sysconfdir}/brltty.conf"
302new="${file}.rpmnew"
303[ -f "${new}" ] && file="${new}"
304
305# Update the configuration file template via the Bootdisks/bp2cf script.
306# Include it right within this scriptlet so that it needn't be installed.
307# Imbed it within a subshell to ensure that it won't impact this scriptlet.
308(
c247b245 309 # First, set bp2cf's command line arguments.
310 set -- -u -f "${file}"
91162002 311
312#!/bin/sh
313###############################################################################
314# BRLTTY - A background process providing access to the Linux console (when in
9b20373a 315# text mode) for a blind person using a refreshable Braille display.
91162002 316#
317# Copyright (C) 1995-2003 by The BRLTTY Team. All rights reserved.
318#
319# BRLTTY comes with ABSOLUTELY NO WARRANTY.
320#
321# This is free software, placed under the terms of the
322# GNU General Public License, as published by the Free Software
323# Foundation. Please see the file COPYING for details.
324#
325# Web Page: http://mielke.cc/brltty/
326#
327# This software is maintained by Dave Mielke <dave@mielke.cc>.
328###############################################################################
329
330# Convert the boot parameter to configuration file directives.
331# If /proc is mounted then use the brltty= boot parameter in /proc/cmdline.
332# If /proc is not mounted then use the brltty environment variable.
333# Invoke with -h for usage information.
334
335programName="${0##*/}"
336programMessage()
337{
c247b245 338 echo 2>&1 "${programName}: ${1}"
91162002 339}
340syntaxError()
341{
c247b245 342 programMessage "${1}"
343 exit 2
91162002 344}
345internalError()
346{
c247b245 347 programMessage "${1}"
348 exit 3
91162002 349}
350
351configurationFile=""
352requestedAction=create
353deviceTranslation=none
354requestedParameter=""
355OPTIND=1
356while getopts ":f:cundop:h" option
357do
c247b245 358 case "${option}" in
359 f) configurationFile="${OPTARG}";;
360 c) requestedAction=create;;
361 u) requestedAction=update;;
362 n) deviceTranslation=none;;
363 d) deviceTranslation=devfs;;
364 o) deviceTranslation=old;;
365 p) requestedParameter="${OPTARG}";;
366 h)
367 cat <<EOF
91162002 368Usage: ${programName} [option ...]
369-f file The configuration file to create/update.
370-c Create the configuration file (write to stdout if no -f).
371-u Update the configuration file (copying from stdin to stdout if no -f).
372-n Do not translate device paths.
373-d Do old-style to devfs device path translation.
374-o Do devfs to old-style device path translation.
375-p [driver][,[device][,[table]]]
376 Explicitly specify the boot parameter.
377-h Display this usage summary.
378EOF
c247b245 379 exit 0
380 ;;
381 \?) syntaxError "unknown option: -${OPTARG}";;
382 :) syntaxError "missing value: -${OPTARG}";;
383 *) internalError "unimplemented option: -${option}";;
384 esac
91162002 385done
386shift "`expr $OPTIND - 1`"
387[ "${#}" -eq 0 ] || syntaxError "too many parameters."
388
c247b245 389case "${requestedAction}" in
390 create)
391 putConfigurationLine()
392 {
393 echo "${1}" || exit 4
394 }
395 startConfigurationFile()
396 {
397 [ -n "${configurationFile}" ] && exec >"${configurationFile}"
398 putConfigurationLine "`makeHeaderLine Created`"
399 putConfigurationLine "`makeParameterLine`"
400 putConfigurationLine ""
401 }
402 putConfigurationDirective()
403 {
404 putConfigurationLine "${1} ${2}"
405 }
406 finalizeConfigurationFile()
407 {
408 :
409 }
410 ;;
411 update)
412 putSedCommand()
413 {
414 sedScript="${sedScript}
91162002 415${1}"
c247b245 416 }
417 startConfigurationFile()
418 {
106ddbb5 419 if [ -n "${configurationFile}" ]; then
c247b245 420 [ -e "${configurationFile}" ] || syntaxError "file not found: ${configurationFile}"
421 [ -f "${configurationFile}" ] || syntaxError "not a file: ${configurationFile}"
422 [ -r "${configurationFile}" ] || syntaxError "file not readable: ${configurationFile}"
423 [ -w "${configurationFile}" ] || syntaxError "file not writable: ${configurationFile}"
424 outputFile="${configurationFile}.new"
425 exec <"${configurationFile}" >"${outputFile}"
426 fi
427 sedScript=""
428 putSedCommand "1i\\
91162002 429`makeHeaderLine Updated`\\
430`makeParameterLine`\\
431"
c247b245 432 }
433 putConfigurationDirective()
434 {
435 value="`echo "${2}" | sed -e 's%\\([/\\]\\)%\\\\\\1%g'`"
436 putSedCommand "/^ *#\\(${1} .*\\)/s//\\1/"
437 putSedCommand "/^ *\\(${1}\\) .*/s//\\1 ${value}/"
438 }
439 finalizeConfigurationFile()
440 {
441 sed -e "${sedScript}"
442 [ -n "${outputFile}" ] && mv -f "${outputFile}" "${configurationFile}"
443 }
444 ;;
445 *) internalError "unimplemented action: ${requestedAction}";;
91162002 446esac
447
448translateDevice_none()
449{
c247b245 450 :
91162002 451}
452translateDevice_devfs()
453{
c247b245 454 minor="${device#ttyS}"
106ddbb5 455 if [ "${minor}" != "${device}" ]; then
c247b245 456 device="tts/${minor}"
457 return 0
458 fi
459 minor="${device#lp}"
106ddbb5 460 if [ "${minor}" != "${device}" ]; then
c247b245 461 device="printers/${minor}"
462 return 0
463 fi
464 programMessage "unsupported old-style device: ${device}"
91162002 465}
466translateDevice_old()
467{
c247b245 468 major="${device%%/*}"
106ddbb5 469 if [ "${major}" != "${device}" ]; then
c247b245 470 minor="${device#*/}"
471 case "${major}" in
472 tts) devfs="ttyS${minor}";;
473 printers) devfs="lp${minor}";;
474 esac
475 fi
106ddbb5 476 if [ -n "${devfs}" ]; then
c247b245 477 device="${devfs}"
478 else
479 programMessage "unsupported devfs device: ${device}"
480 fi
91162002 481}
482
483makeHeaderLine()
484{
c247b245 485 echo "# ${1} by brltty-bp2cf`date +' on %Y-%m-%d at %H:%M:%S %Z (UTC%z)'`."
91162002 486}
487makeParameterLine()
488{
c247b245 489 echo "# Boot Parameter:${bootParameter}"
91162002 490}
491putConfigurationFile()
492{
c247b245 493 startConfigurationFile
494 [ -n "${brailleDriver}" ] && putConfigurationDirective "braille-driver" "${brailleDriver}"
495 [ -n "${brailleDevice}" ] && {
496 device="`echo "${brailleDevice}" | sed -e 's%//*%/%g' -e 's%^/dev/%%'`"
106ddbb5 497 if [ "${device#/}" = "${device}" ]; then
c247b245 498 translateDevice_${deviceTranslation}
499 fi
500 putConfigurationDirective "braille-device" "${device}"
501 }
502 [ -n "${textTable}" ] && putConfigurationDirective "text-table" "${textTable}"
503 finalizeConfigurationFile
91162002 504}
505parseBootParameter()
506{
c247b245 507 bootParameter="${bootParameter} ${1}"
508 number=1
106ddbb5 509 while [ "${number}" -le 3 ]; do
c247b245 510 cut="cut -d, -f${number}"
511 [ "${number}" -gt 1 ] && cut="${cut} -s"
512 operand="`echo ${1} | ${cut}`"
106ddbb5 513 if [ -n "${operand}" ]; then
c247b245 514 case "${number}" in
515 1) brailleDriver="${operand}";;
516 2) brailleDevice="${operand}";;
517 3) textTable="${operand}";;
518 esac
519 fi
520 number="`expr ${number} + 1`"
521 done
91162002 522}
523putBootParameter()
524{
c247b245 525 parseBootParameter "${1}"
526 putConfigurationFile
91162002 527}
528parseBootCommand()
529{
c247b245 530 found=false
106ddbb5 531 while [ "${#}" -gt 0 ]; do
c247b245 532 case "${1}" in
533 "brltty="*)
534 found=true
535 parseBootParameter "${1#*=}"
536 ;;
537 esac
538 shift
539 done
540 "${found}" && putConfigurationFile
91162002 541}
542
543brailleDriver=""
544brailleDevice=""
545textTable=""
546bootCommandFile="/proc/cmdline"
106ddbb5 547if [ -n "${requestedParameter}" ]; then
c247b245 548 putBootParameter "${requestedParameter}"
106ddbb5 549elif [ -f "${bootCommandFile}" ]; then
c247b245 550 parseBootCommand `cat "${bootCommandFile}"`
106ddbb5 551elif [ -n "${brltty}" ]; then
c247b245 552 putBootParameter "${brltty}"
91162002 553fi
554exit 0
555)
556
9b20373a 557%post -n brlapi -p /sbin/ldconfig
558%postun -n brlapi -p /sbin/ldconfig
91162002 559
560%files
561%defattr(644,root,root,755)
c0ab824f 562%doc Documents/{Manual-BRLTTY/English/BRLTTY*,ChangeLog,HISTORY,TODO}
b538cd8d 563%doc doc/{Bindings,Bootdisks,Drivers,Patches,Tables,README,nsistrings.txt}
91162002 564%attr(755,root,root) %{_bindir}/brltty
c0ab824f 565%attr(755,root,root) %{_bindir}/brltty-config
509de961
JB
566%attr(755,root,root) %{_bindir}/brltty-ctb
567%attr(755,root,root) %{_bindir}/brltty-install
568%attr(755,root,root) %{_bindir}/brltty-trtxt
569%attr(755,root,root) %{_bindir}/brltty-ttb
18f080b9 570%attr(755,root,root) %{_bindir}/vstp
eb77b64b 571%{?with_x:%attr(755,root,root) %{_bindir}/xbrlapi}
91162002 572%dir %{_libdir}/brltty
82b1c71c 573# Braille drivers
c0ab824f
SS
574%attr(755,root,root) %{_libdir}/brltty/libbrlttybal.so
575%attr(755,root,root) %{_libdir}/brltty/libbrlttybat.so
576%attr(755,root,root) %{_libdir}/brltty/libbrlttybba.so
82b1c71c 577%attr(755,root,root) %{_libdir}/brltty/libbrlttybbc.so
c0ab824f
SS
578%attr(755,root,root) %{_libdir}/brltty/libbrlttybbd.so
579%attr(755,root,root) %{_libdir}/brltty/libbrlttybbl.so
580%attr(755,root,root) %{_libdir}/brltty/libbrlttybbm.so
581%attr(755,root,root) %{_libdir}/brltty/libbrlttybbn.so
582%attr(755,root,root) %{_libdir}/brltty/libbrlttybcb.so
583%attr(755,root,root) %{_libdir}/brltty/libbrlttybec.so
584%attr(755,root,root) %{_libdir}/brltty/libbrlttybeu.so
585%attr(755,root,root) %{_libdir}/brltty/libbrlttybfs.so
82b1c71c 586%attr(755,root,root) %{_libdir}/brltty/libbrlttybhm.so
c0ab824f 587%attr(755,root,root) %{_libdir}/brltty/libbrlttybht.so
509de961 588%attr(755,root,root) %{_libdir}/brltty/libbrlttybhw.so
c0ab824f 589%attr(755,root,root) %{_libdir}/brltty/libbrlttybil.so
509de961
JB
590%attr(755,root,root) %{_libdir}/brltty/libbrlttybir.so
591%{?with_libbraille:%attr(755,root,root) %{_libdir}/brltty/libbrlttyblb.so}
c0ab824f
SS
592%attr(755,root,root) %{_libdir}/brltty/libbrlttyblt.so
593%attr(755,root,root) %{_libdir}/brltty/libbrlttybmb.so
594%attr(755,root,root) %{_libdir}/brltty/libbrlttybmd.so
595%attr(755,root,root) %{_libdir}/brltty/libbrlttybmn.so
82b1c71c 596%attr(755,root,root) %{_libdir}/brltty/libbrlttybmt.so
509de961 597%attr(755,root,root) %{_libdir}/brltty/libbrlttybnp.so
82b1c71c 598%attr(755,root,root) %{_libdir}/brltty/libbrlttybpg.so
c0ab824f 599%attr(755,root,root) %{_libdir}/brltty/libbrlttybpm.so
82b1c71c 600%attr(755,root,root) %{_libdir}/brltty/libbrlttybsk.so
c0ab824f
SS
601%attr(755,root,root) %{_libdir}/brltty/libbrlttybtn.so
602%attr(755,root,root) %{_libdir}/brltty/libbrlttybts.so
603%attr(755,root,root) %{_libdir}/brltty/libbrlttybtt.so
604%attr(755,root,root) %{_libdir}/brltty/libbrlttybvd.so
605%attr(755,root,root) %{_libdir}/brltty/libbrlttybvo.so
606%attr(755,root,root) %{_libdir}/brltty/libbrlttybvr.so
607%attr(755,root,root) %{_libdir}/brltty/libbrlttybvs.so
eb77b64b 608%{?with_x:%attr(755,root,root) %{_libdir}/brltty/libbrlttybxw.so}
82b1c71c 609# speech synthesizer drivers
c0ab824f
SS
610%attr(755,root,root) %{_libdir}/brltty/libbrlttysal.so
611%attr(755,root,root) %{_libdir}/brltty/libbrlttysbl.so
612%attr(755,root,root) %{_libdir}/brltty/libbrlttyscb.so
82b1c71c
JB
613%{?with_espeak:%attr(755,root,root) %{_libdir}/brltty/libbrlttyses.so}
614%{?with_flite:%attr(755,root,root) %{_libdir}/brltty/libbrlttysfl.so}
c0ab824f
SS
615%attr(755,root,root) %{_libdir}/brltty/libbrlttysfv.so
616%attr(755,root,root) %{_libdir}/brltty/libbrlttysgs.so
dfe38ff6 617%{?with_mikropuhe:%attr(755,root,root) %{_libdir}/brltty/libbrlttysmp.so}
82b1c71c 618%{?with_speech_dispatcher:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssd.so}
dfe38ff6
JB
619%{?with_swift:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssw.so}
620%{?with_theta:%attr(755,root,root) %{_libdir}/brltty/libbrlttysth.so}
621%{?with_viavoice:%attr(755,root,root) %{_libdir}/brltty/libbrlttysvv.so}
b538cd8d 622%attr(755,root,root) %{_libdir}/brltty/libbrlttysxs.so
82b1c71c 623# screen drivers
681d76a3 624%{?with_at_spi2:%attr(755,root,root) %{_libdir}/brltty/libbrlttyxa2.so}
82b1c71c
JB
625%{?with_at_spi:%attr(755,root,root) %{_libdir}/brltty/libbrlttyxas.so}
626%attr(755,root,root) %{_libdir}/brltty/libbrlttyxlx.so
627%attr(755,root,root) %{_libdir}/brltty/libbrlttyxsc.so
91162002 628%{_sysconfdir}/brltty
1c33f0ca 629%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/brltty.conf
82b1c71c
JB
630/usr/lib/tmpfiles.d/brltty.conf
631%dir /var/lib/BrlAPI
632%dir /var/run/brltty
c0ab824f
SS
633%{_mandir}/man1/brltty.1*
634%{_mandir}/man1/vstp.1*
b538cd8d 635%{?with_x:%{_mandir}/man1/xbrlapi.1*}
91162002 636
637%files -n brlapi
638%defattr(644,root,root,755)
82b1c71c 639%attr(755,root,root) %{_libdir}/libbrlapi.so.*.*.*
e6a1be7c 640%attr(755,root,root) %ghost %{_libdir}/libbrlapi.so.0.5
91162002 641
642%files -n brlapi-devel
643%defattr(644,root,root,755)
608626ec 644%doc Documents/Manual-BrlAPI/English/BrlAPI*
1c33f0ca 645%attr(755,root,root) %{_libdir}/libbrlapi.so
91162002 646%{_includedir}/brltty
18f080b9 647%{_includedir}/brlapi*.h
82b1c71c 648%{_mandir}/man3/brlapi_*.3*
91162002 649
650%files -n brlapi-static
651%defattr(644,root,root,755)
652%{_libdir}/libbrlapi.a
608626ec 653
09255552 654%if %{with apidocs}
608626ec
SS
655%files -n brlapi-apidocs
656%defattr(644,root,root,755)
657%doc Documents/BrlAPIref/html/*
09255552
SS
658%endif
659
660%if %{with java}
332e4348 661%files -n java-brlapi
09255552 662%defattr(644,root,root,755)
3dcc4a01 663%attr(755,root,root) %{_libdir}/java/libbrlapi_java.so
09255552
SS
664%{_javadir}/brlapi.jar
665%endif
0bb357f1 666
82b1c71c
JB
667%if %{with ocaml}
668%files -n ocaml-brlapi
669%defattr(644,root,root,755)
670%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllbrlapi_stubs.so
671%{_libdir}/ocaml/stublibs/dllbrlapi_stubs.so.owner
672
673%files -n ocaml-brlapi-devel
674%defattr(644,root,root,755)
675%dir %{_libdir}/ocaml/brlapi
676%{_libdir}/ocaml/brlapi/META
677%{_libdir}/ocaml/brlapi/brlapi.cm[aix]*
678%{_libdir}/ocaml/brlapi/brlapi.mli
679%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a
680%endif
681
0bb357f1
SS
682%if %{with python}
683%files -n python-brlapi
684%defattr(644,root,root,755)
0bb357f1 685%attr(755,root,root) %{py_sitedir}/brlapi.so
509de961 686%{py_sitedir}/Brlapi-%{brlapi_ver}-py*.egg-info
0bb357f1
SS
687%endif
688
689%if %{with tcl}
690%files -n brlapi-tcl
691%defattr(644,root,root,755)
509de961
JB
692%dir %{_libdir}/brlapi-%{brlapi_ver}
693%attr(755,root,root) %{_libdir}/brlapi-%{brlapi_ver}/libbrlapi_tcl.so
694%{_libdir}/brlapi-%{brlapi_ver}/pkgIndex.tcl
0bb357f1 695%endif
This page took 0.203218 seconds and 4 git commands to generate.