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