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