]> git.pld-linux.org Git - packages/brltty.git/blame - brltty.spec
- release 2 (by relup.sh)
[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
f20f9e6f 30Release: 2
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
3b0ec988 265install Documents/brltty.conf $RPM_BUILD_ROOT%{_sysconfdir}
91162002 266
82b1c71c
JB
267install -d $RPM_BUILD_ROOT/usr/lib/tmpfiles.d
268cat >$RPM_BUILD_ROOT/usr/lib/tmpfiles.d/brltty.conf <<EOF
269d /var/run/brltty 0755 root root -
270EOF
271
91162002 272%clean
273rm -rf $RPM_BUILD_ROOT
274
275%pre
276# The pre-install scriptlet.
277
278# If a configuration file already exists then rpm installs the new one as
279# <path>.rpmnew. If this is done then the .rpmnew file is overwritten if it
280# already exists.
281
282# There's no explicit way to tell if a configuration file has been installed
283# as itself or as a .rpmnew file. The way we'll figure it out, therefore, is by
3b0ec988 284# erasing the .rpmnew file now so that we can see if it gets created later.
91162002 285rm -f "%{_sysconfdir}/brltty.conf.rpmnew"
286
287%post
288# The post-install scriptlet.
289
290# If BRLTTY's boot parameter has been specified then update the just installed
291# configuration file template to reflect the options supplied thereby.
292
293# First, we need to determine which file to update. If there's a .rpmnew file
294# then update it since a previous configuration file must already have existed.
295file="%{_sysconfdir}/brltty.conf"
296new="${file}.rpmnew"
297[ -f "${new}" ] && file="${new}"
298
299# Update the configuration file template via the Bootdisks/bp2cf script.
300# Include it right within this scriptlet so that it needn't be installed.
301# Imbed it within a subshell to ensure that it won't impact this scriptlet.
302(
c247b245 303 # First, set bp2cf's command line arguments.
304 set -- -u -f "${file}"
91162002 305
306#!/bin/sh
307###############################################################################
308# BRLTTY - A background process providing access to the Linux console (when in
9b20373a 309# text mode) for a blind person using a refreshable Braille display.
91162002 310#
311# Copyright (C) 1995-2003 by The BRLTTY Team. All rights reserved.
312#
313# BRLTTY comes with ABSOLUTELY NO WARRANTY.
314#
315# This is free software, placed under the terms of the
316# GNU General Public License, as published by the Free Software
317# Foundation. Please see the file COPYING for details.
318#
319# Web Page: http://mielke.cc/brltty/
320#
321# This software is maintained by Dave Mielke <dave@mielke.cc>.
322###############################################################################
323
324# Convert the boot parameter to configuration file directives.
325# If /proc is mounted then use the brltty= boot parameter in /proc/cmdline.
326# If /proc is not mounted then use the brltty environment variable.
327# Invoke with -h for usage information.
328
329programName="${0##*/}"
330programMessage()
331{
c247b245 332 echo 2>&1 "${programName}: ${1}"
91162002 333}
334syntaxError()
335{
c247b245 336 programMessage "${1}"
337 exit 2
91162002 338}
339internalError()
340{
c247b245 341 programMessage "${1}"
342 exit 3
91162002 343}
344
345configurationFile=""
346requestedAction=create
347deviceTranslation=none
348requestedParameter=""
349OPTIND=1
350while getopts ":f:cundop:h" option
351do
c247b245 352 case "${option}" in
353 f) configurationFile="${OPTARG}";;
354 c) requestedAction=create;;
355 u) requestedAction=update;;
356 n) deviceTranslation=none;;
357 d) deviceTranslation=devfs;;
358 o) deviceTranslation=old;;
359 p) requestedParameter="${OPTARG}";;
360 h)
361 cat <<EOF
91162002 362Usage: ${programName} [option ...]
363-f file The configuration file to create/update.
364-c Create the configuration file (write to stdout if no -f).
365-u Update the configuration file (copying from stdin to stdout if no -f).
366-n Do not translate device paths.
367-d Do old-style to devfs device path translation.
368-o Do devfs to old-style device path translation.
369-p [driver][,[device][,[table]]]
370 Explicitly specify the boot parameter.
371-h Display this usage summary.
372EOF
c247b245 373 exit 0
374 ;;
375 \?) syntaxError "unknown option: -${OPTARG}";;
376 :) syntaxError "missing value: -${OPTARG}";;
377 *) internalError "unimplemented option: -${option}";;
378 esac
91162002 379done
380shift "`expr $OPTIND - 1`"
381[ "${#}" -eq 0 ] || syntaxError "too many parameters."
382
c247b245 383case "${requestedAction}" in
384 create)
385 putConfigurationLine()
386 {
387 echo "${1}" || exit 4
388 }
389 startConfigurationFile()
390 {
391 [ -n "${configurationFile}" ] && exec >"${configurationFile}"
392 putConfigurationLine "`makeHeaderLine Created`"
393 putConfigurationLine "`makeParameterLine`"
394 putConfigurationLine ""
395 }
396 putConfigurationDirective()
397 {
398 putConfigurationLine "${1} ${2}"
399 }
400 finalizeConfigurationFile()
401 {
402 :
403 }
404 ;;
405 update)
406 putSedCommand()
407 {
408 sedScript="${sedScript}
91162002 409${1}"
c247b245 410 }
411 startConfigurationFile()
412 {
106ddbb5 413 if [ -n "${configurationFile}" ]; then
c247b245 414 [ -e "${configurationFile}" ] || syntaxError "file not found: ${configurationFile}"
415 [ -f "${configurationFile}" ] || syntaxError "not a file: ${configurationFile}"
416 [ -r "${configurationFile}" ] || syntaxError "file not readable: ${configurationFile}"
417 [ -w "${configurationFile}" ] || syntaxError "file not writable: ${configurationFile}"
418 outputFile="${configurationFile}.new"
419 exec <"${configurationFile}" >"${outputFile}"
420 fi
421 sedScript=""
422 putSedCommand "1i\\
91162002 423`makeHeaderLine Updated`\\
424`makeParameterLine`\\
425"
c247b245 426 }
427 putConfigurationDirective()
428 {
429 value="`echo "${2}" | sed -e 's%\\([/\\]\\)%\\\\\\1%g'`"
430 putSedCommand "/^ *#\\(${1} .*\\)/s//\\1/"
431 putSedCommand "/^ *\\(${1}\\) .*/s//\\1 ${value}/"
432 }
433 finalizeConfigurationFile()
434 {
435 sed -e "${sedScript}"
436 [ -n "${outputFile}" ] && mv -f "${outputFile}" "${configurationFile}"
437 }
438 ;;
439 *) internalError "unimplemented action: ${requestedAction}";;
91162002 440esac
441
442translateDevice_none()
443{
c247b245 444 :
91162002 445}
446translateDevice_devfs()
447{
c247b245 448 minor="${device#ttyS}"
106ddbb5 449 if [ "${minor}" != "${device}" ]; then
c247b245 450 device="tts/${minor}"
451 return 0
452 fi
453 minor="${device#lp}"
106ddbb5 454 if [ "${minor}" != "${device}" ]; then
c247b245 455 device="printers/${minor}"
456 return 0
457 fi
458 programMessage "unsupported old-style device: ${device}"
91162002 459}
460translateDevice_old()
461{
c247b245 462 major="${device%%/*}"
106ddbb5 463 if [ "${major}" != "${device}" ]; then
c247b245 464 minor="${device#*/}"
465 case "${major}" in
466 tts) devfs="ttyS${minor}";;
467 printers) devfs="lp${minor}";;
468 esac
469 fi
106ddbb5 470 if [ -n "${devfs}" ]; then
c247b245 471 device="${devfs}"
472 else
473 programMessage "unsupported devfs device: ${device}"
474 fi
91162002 475}
476
477makeHeaderLine()
478{
c247b245 479 echo "# ${1} by brltty-bp2cf`date +' on %Y-%m-%d at %H:%M:%S %Z (UTC%z)'`."
91162002 480}
481makeParameterLine()
482{
c247b245 483 echo "# Boot Parameter:${bootParameter}"
91162002 484}
485putConfigurationFile()
486{
c247b245 487 startConfigurationFile
488 [ -n "${brailleDriver}" ] && putConfigurationDirective "braille-driver" "${brailleDriver}"
489 [ -n "${brailleDevice}" ] && {
490 device="`echo "${brailleDevice}" | sed -e 's%//*%/%g' -e 's%^/dev/%%'`"
106ddbb5 491 if [ "${device#/}" = "${device}" ]; then
c247b245 492 translateDevice_${deviceTranslation}
493 fi
494 putConfigurationDirective "braille-device" "${device}"
495 }
496 [ -n "${textTable}" ] && putConfigurationDirective "text-table" "${textTable}"
497 finalizeConfigurationFile
91162002 498}
499parseBootParameter()
500{
c247b245 501 bootParameter="${bootParameter} ${1}"
502 number=1
106ddbb5 503 while [ "${number}" -le 3 ]; do
c247b245 504 cut="cut -d, -f${number}"
505 [ "${number}" -gt 1 ] && cut="${cut} -s"
506 operand="`echo ${1} | ${cut}`"
106ddbb5 507 if [ -n "${operand}" ]; then
c247b245 508 case "${number}" in
509 1) brailleDriver="${operand}";;
510 2) brailleDevice="${operand}";;
511 3) textTable="${operand}";;
512 esac
513 fi
514 number="`expr ${number} + 1`"
515 done
91162002 516}
517putBootParameter()
518{
c247b245 519 parseBootParameter "${1}"
520 putConfigurationFile
91162002 521}
522parseBootCommand()
523{
c247b245 524 found=false
106ddbb5 525 while [ "${#}" -gt 0 ]; do
c247b245 526 case "${1}" in
527 "brltty="*)
528 found=true
529 parseBootParameter "${1#*=}"
530 ;;
531 esac
532 shift
533 done
534 "${found}" && putConfigurationFile
91162002 535}
536
537brailleDriver=""
538brailleDevice=""
539textTable=""
540bootCommandFile="/proc/cmdline"
106ddbb5 541if [ -n "${requestedParameter}" ]; then
c247b245 542 putBootParameter "${requestedParameter}"
106ddbb5 543elif [ -f "${bootCommandFile}" ]; then
c247b245 544 parseBootCommand `cat "${bootCommandFile}"`
106ddbb5 545elif [ -n "${brltty}" ]; then
c247b245 546 putBootParameter "${brltty}"
91162002 547fi
548exit 0
549)
550
9b20373a 551%post -n brlapi -p /sbin/ldconfig
552%postun -n brlapi -p /sbin/ldconfig
91162002 553
554%files
555%defattr(644,root,root,755)
c0ab824f 556%doc Documents/{Manual-BRLTTY/English/BRLTTY*,ChangeLog,HISTORY,TODO}
b538cd8d 557%doc doc/{Bindings,Bootdisks,Drivers,Patches,Tables,README,nsistrings.txt}
91162002 558%attr(755,root,root) %{_bindir}/brltty
c0ab824f 559%attr(755,root,root) %{_bindir}/brltty-config
509de961
JB
560%attr(755,root,root) %{_bindir}/brltty-ctb
561%attr(755,root,root) %{_bindir}/brltty-install
562%attr(755,root,root) %{_bindir}/brltty-trtxt
563%attr(755,root,root) %{_bindir}/brltty-ttb
18f080b9 564%attr(755,root,root) %{_bindir}/vstp
eb77b64b 565%{?with_x:%attr(755,root,root) %{_bindir}/xbrlapi}
91162002 566%dir %{_libdir}/brltty
82b1c71c 567# Braille drivers
c0ab824f
SS
568%attr(755,root,root) %{_libdir}/brltty/libbrlttybal.so
569%attr(755,root,root) %{_libdir}/brltty/libbrlttybat.so
570%attr(755,root,root) %{_libdir}/brltty/libbrlttybba.so
82b1c71c 571%attr(755,root,root) %{_libdir}/brltty/libbrlttybbc.so
c0ab824f
SS
572%attr(755,root,root) %{_libdir}/brltty/libbrlttybbd.so
573%attr(755,root,root) %{_libdir}/brltty/libbrlttybbl.so
574%attr(755,root,root) %{_libdir}/brltty/libbrlttybbm.so
575%attr(755,root,root) %{_libdir}/brltty/libbrlttybbn.so
576%attr(755,root,root) %{_libdir}/brltty/libbrlttybcb.so
577%attr(755,root,root) %{_libdir}/brltty/libbrlttybec.so
578%attr(755,root,root) %{_libdir}/brltty/libbrlttybeu.so
579%attr(755,root,root) %{_libdir}/brltty/libbrlttybfs.so
82b1c71c 580%attr(755,root,root) %{_libdir}/brltty/libbrlttybhm.so
c0ab824f 581%attr(755,root,root) %{_libdir}/brltty/libbrlttybht.so
509de961 582%attr(755,root,root) %{_libdir}/brltty/libbrlttybhw.so
c0ab824f 583%attr(755,root,root) %{_libdir}/brltty/libbrlttybil.so
509de961
JB
584%attr(755,root,root) %{_libdir}/brltty/libbrlttybir.so
585%{?with_libbraille:%attr(755,root,root) %{_libdir}/brltty/libbrlttyblb.so}
c0ab824f
SS
586%attr(755,root,root) %{_libdir}/brltty/libbrlttyblt.so
587%attr(755,root,root) %{_libdir}/brltty/libbrlttybmb.so
588%attr(755,root,root) %{_libdir}/brltty/libbrlttybmd.so
589%attr(755,root,root) %{_libdir}/brltty/libbrlttybmn.so
82b1c71c 590%attr(755,root,root) %{_libdir}/brltty/libbrlttybmt.so
509de961 591%attr(755,root,root) %{_libdir}/brltty/libbrlttybnp.so
82b1c71c 592%attr(755,root,root) %{_libdir}/brltty/libbrlttybpg.so
c0ab824f 593%attr(755,root,root) %{_libdir}/brltty/libbrlttybpm.so
82b1c71c 594%attr(755,root,root) %{_libdir}/brltty/libbrlttybsk.so
c0ab824f
SS
595%attr(755,root,root) %{_libdir}/brltty/libbrlttybtn.so
596%attr(755,root,root) %{_libdir}/brltty/libbrlttybts.so
597%attr(755,root,root) %{_libdir}/brltty/libbrlttybtt.so
598%attr(755,root,root) %{_libdir}/brltty/libbrlttybvd.so
599%attr(755,root,root) %{_libdir}/brltty/libbrlttybvo.so
600%attr(755,root,root) %{_libdir}/brltty/libbrlttybvr.so
601%attr(755,root,root) %{_libdir}/brltty/libbrlttybvs.so
eb77b64b 602%{?with_x:%attr(755,root,root) %{_libdir}/brltty/libbrlttybxw.so}
82b1c71c 603# speech synthesizer drivers
c0ab824f
SS
604%attr(755,root,root) %{_libdir}/brltty/libbrlttysal.so
605%attr(755,root,root) %{_libdir}/brltty/libbrlttysbl.so
606%attr(755,root,root) %{_libdir}/brltty/libbrlttyscb.so
82b1c71c
JB
607%{?with_espeak:%attr(755,root,root) %{_libdir}/brltty/libbrlttyses.so}
608%{?with_flite:%attr(755,root,root) %{_libdir}/brltty/libbrlttysfl.so}
c0ab824f
SS
609%attr(755,root,root) %{_libdir}/brltty/libbrlttysfv.so
610%attr(755,root,root) %{_libdir}/brltty/libbrlttysgs.so
dfe38ff6 611%{?with_mikropuhe:%attr(755,root,root) %{_libdir}/brltty/libbrlttysmp.so}
82b1c71c 612%{?with_speech_dispatcher:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssd.so}
dfe38ff6
JB
613%{?with_swift:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssw.so}
614%{?with_theta:%attr(755,root,root) %{_libdir}/brltty/libbrlttysth.so}
615%{?with_viavoice:%attr(755,root,root) %{_libdir}/brltty/libbrlttysvv.so}
b538cd8d 616%attr(755,root,root) %{_libdir}/brltty/libbrlttysxs.so
82b1c71c 617# screen drivers
681d76a3 618%{?with_at_spi2:%attr(755,root,root) %{_libdir}/brltty/libbrlttyxa2.so}
82b1c71c
JB
619%{?with_at_spi:%attr(755,root,root) %{_libdir}/brltty/libbrlttyxas.so}
620%attr(755,root,root) %{_libdir}/brltty/libbrlttyxlx.so
621%attr(755,root,root) %{_libdir}/brltty/libbrlttyxsc.so
91162002 622%{_sysconfdir}/brltty
1c33f0ca 623%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/brltty.conf
82b1c71c
JB
624/usr/lib/tmpfiles.d/brltty.conf
625%dir /var/lib/BrlAPI
626%dir /var/run/brltty
c0ab824f
SS
627%{_mandir}/man1/brltty.1*
628%{_mandir}/man1/vstp.1*
b538cd8d 629%{?with_x:%{_mandir}/man1/xbrlapi.1*}
91162002 630
631%files -n brlapi
632%defattr(644,root,root,755)
82b1c71c 633%attr(755,root,root) %{_libdir}/libbrlapi.so.*.*.*
e6a1be7c 634%attr(755,root,root) %ghost %{_libdir}/libbrlapi.so.0.5
91162002 635
636%files -n brlapi-devel
637%defattr(644,root,root,755)
608626ec 638%doc Documents/Manual-BrlAPI/English/BrlAPI*
1c33f0ca 639%attr(755,root,root) %{_libdir}/libbrlapi.so
91162002 640%{_includedir}/brltty
18f080b9 641%{_includedir}/brlapi*.h
82b1c71c 642%{_mandir}/man3/brlapi_*.3*
91162002 643
644%files -n brlapi-static
645%defattr(644,root,root,755)
646%{_libdir}/libbrlapi.a
608626ec 647
09255552 648%if %{with apidocs}
608626ec
SS
649%files -n brlapi-apidocs
650%defattr(644,root,root,755)
651%doc Documents/BrlAPIref/html/*
09255552
SS
652%endif
653
654%if %{with java}
332e4348 655%files -n java-brlapi
09255552 656%defattr(644,root,root,755)
3dcc4a01 657%attr(755,root,root) %{_libdir}/java/libbrlapi_java.so
09255552
SS
658%{_javadir}/brlapi.jar
659%endif
0bb357f1 660
82b1c71c
JB
661%if %{with ocaml}
662%files -n ocaml-brlapi
663%defattr(644,root,root,755)
664%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllbrlapi_stubs.so
665%{_libdir}/ocaml/stublibs/dllbrlapi_stubs.so.owner
666
667%files -n ocaml-brlapi-devel
668%defattr(644,root,root,755)
669%dir %{_libdir}/ocaml/brlapi
670%{_libdir}/ocaml/brlapi/META
671%{_libdir}/ocaml/brlapi/brlapi.cm[aix]*
672%{_libdir}/ocaml/brlapi/brlapi.mli
673%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a
674%endif
675
0bb357f1
SS
676%if %{with python}
677%files -n python-brlapi
678%defattr(644,root,root,755)
0bb357f1 679%attr(755,root,root) %{py_sitedir}/brlapi.so
509de961 680%{py_sitedir}/Brlapi-%{brlapi_ver}-py*.egg-info
0bb357f1
SS
681%endif
682
683%if %{with tcl}
684%files -n brlapi-tcl
685%defattr(644,root,root,755)
509de961
JB
686%dir %{_libdir}/brlapi-%{brlapi_ver}
687%attr(755,root,root) %{_libdir}/brlapi-%{brlapi_ver}/libbrlapi_tcl.so
688%{_libdir}/brlapi-%{brlapi_ver}/pkgIndex.tcl
0bb357f1 689%endif
This page took 0.304999 seconds and 4 git commands to generate.