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