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