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