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