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