]> git.pld-linux.org Git - packages/brltty.git/blame - brltty.spec
icu rebuild
[packages/brltty.git] / brltty.spec
CommitLineData
47848a6a 1# TODO: user/group (see Autostart/Systemd/sysusers)
42577d78 2#
608626ec 3# Conditional build:
82b1c71c 4%bcond_without apidocs # documentation generated with doxygen
3dcc4a01 5%bcond_without java # Java bindings
82b1c71c
JB
6%bcond_without ocaml # OCaml bindings
7%bcond_without python # Python bindings
75f78027 8%bcond_without python3 # Python 3.x bindings
82b1c71c
JB
9%bcond_without tcl # Tcl bindings
10%bcond_without x # X11-based utilities
11%bcond_without gpm # mouse tracking via GPM
509de961 12%bcond_without libbraille # libbraille Braille driver
1db3af51 13%bcond_without liblouis # liblouis in-line contracted Braille support
82b1c71c 14%bcond_without espeak # eSpeak synthesizer driver
1db3af51 15%bcond_without espeak_ng # eSpeak-NG synthesizer driver
82b1c71c 16%bcond_without flite # Flite synthesizer driver
dfe38ff6 17%bcond_with mikropuhe # Mikropuhe synthesizer driver [commercial, Finnish]
82b1c71c 18%bcond_without speech_dispatcher # Speech Dispatcher synthesizer driver
dfe38ff6
JB
19%bcond_with swift # Swift synthesizer driver [commercial, from Cepstral]
20%bcond_with theta # Theta synthesizer driver [commercial, from Cepstral]
21%bcond_with viavoice # IBM ViaVoice synthesizer driver [commercial]
e4015245 22%bcond_with at_spi # AtSpi screen driver
509de961 23%bcond_without at_spi2 # AtSpi2 screen driver
a8f3581f 24
47848a6a 25%define brlapi_ver 0.8.3
9b20373a 26Summary: Braille display driver for Linux/Unix
8731bfde 27Summary(pl.UTF-8): Sterownik do wyświetlaczy Braille'a
91162002 28Name: brltty
47848a6a 29Version: 6.4
b74fef39 30Release: 2
3dcc4a01 31License: GPL v2+ (brltty and drivers), LGPL v2.1+ (APIs)
a8f3581f 32Group: Daemons
295e8be4 33Source0: http://mielke.cc/brltty/archive/%{name}-%{version}.tar.xz
47848a6a 34# Source0-md5: 6400b2b6cb8bbbb31d850a24903ddb67
ad027d08 35Patch1: %{name}-speech-dispatcher.patch
0285055e 36Patch4: %{name}-glibc25.patch
1a7665e9 37URL: http://mielke.cc/brltty/
82b1c71c
JB
38BuildRequires: alsa-lib-devel
39%{?with_at_spi:BuildRequires: at-spi-devel}
dc8771ff 40%{?with_at_spi2:BuildRequires: at-spi2-core-devel >= 2.0}
c80b057e 41BuildRequires: autoconf >= 2.64
664a738b 42BuildRequires: automake
91162002 43BuildRequires: bison
82b1c71c
JB
44# just headers
45BuildRequires: bluez-libs-devel
46%{?with_at_spi2:BuildRequires: dbus-devel >= 1.0}
608626ec 47%{?with_apidocs:BuildRequires: doxygen}
ed3025fe 48%{?with_espeak:BuildRequires: espeak-devel}
1db3af51
JB
49%{?with_espeak_ng:BuildRequires: espeak-ng-devel}
50BuildRequires: expat-devel
dfe38ff6 51%{?with_flite:BuildRequires: flite-devel}
1db3af51 52BuildRequires: gettext-tools
dc8771ff 53%{?with_at_spi2:BuildRequires: glib2-devel >= 2.0}
82b1c71c 54%{?with_gpm:BuildRequires: gpm-devel}
09255552 55%{?with_java:BuildRequires: jdk}
0b1afa7b 56%{?with_java:BuildRequires: jpackage-utils}
dfe38ff6 57%{?with_libbraille:BuildRequires: libbraille-devel}
82b1c71c 58BuildRequires: libicu-devel
1db3af51 59%{?with_liblouis:BuildRequires: liblouis-devel}
eb77b64b 60BuildRequires: ncurses-devel
6913fe15 61%{?with_ocaml:BuildRequires: ocaml}
dc8771ff 62BuildRequires: pcre2-32-devel
ac744b8d 63BuildRequires: pkgconfig
1db3af51 64BuildRequires: polkit-devel
295e8be4 65%{?with_python:BuildRequires: python-Cython}
75f78027 66%{?with_python3:BuildRequires: python3-Cython}
332e4348 67%{?with_java:BuildRequires: rpm-javaprov}
0bb357f1 68%{?with_python:BuildRequires: rpm-pythonprov}
dc8771ff
JB
69BuildRequires: rpmbuild(macros) >= 1.714
70BuildRequires: sed >= 4.0
0b1afa7b 71%{?with_speech_dispatcher:BuildRequires: speech-dispatcher-devel >= 0.8}
47848a6a 72BuildRequires: systemd-devel >= 1:209
295e8be4
JB
73BuildRequires: tar >= 1:1.22
74%{?with_tcl:BuildRequires: tcl-devel >= 8.5}
82b1c71c
JB
75%if %{with x}
76BuildRequires: xorg-lib-libX11-devel
77BuildRequires: xorg-lib-libXaw-devel
78BuildRequires: xorg-lib-libXext-devel
dc8771ff 79BuildRequires: xorg-lib-libXfixes-devel
82b1c71c
JB
80BuildRequires: xorg-lib-libXt-devel
81BuildRequires: xorg-lib-libXtst-devel
82%endif
dfe38ff6
JB
83#%{?with_mikropuhe:BuildRequires: Mikropuhe-devel (-lmikropuhe <mpwrfile.h>)}
84#%{?with_swift:BuildRequires: Swift-devel (-lswift <swift.h>)}
85#%{?with_theta:BuildRequires: Theta-devel (-ltheta <theta.h>)}
86#%{?with_viavoice:BuildRequires: ViaVoice-devel (-libmeci50 <eci.h>)}
a8f3581f 87BuildRequires: xz
91162002 88BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
89
90%description
91BRLTTY is a background process (daemon) which provides access to the
92Linux/Unix console (when in text mode) for a blind person using a
33e3c5f9 93refreshable Braille display. It drives the Braille display, and
3b0ec988 94provides complete screen review functionality. Some speech capability
91162002 95has also been incorporated.
96
54f59947
JR
97%description -l pl.UTF-8
98BRLTTY jest demonem, który udostępnia dostęp do linuksowej konsoli (w
99trybie tekstowym) dla niewidomych używających wyświetlaczy Braille'a z
100odświeżaniem (refreshable Braille display). BRLTTY steruje
101wyświetlaczem Braille'a i dostarcza funkcjonalność całkowitego
102przeglądu ekranu. Do tego pakietu została włączona możliwość syntezy
9b20373a 103mowy.
91162002 104
47848a6a
JB
105%package -n dracut-brltty
106Summary: Braille support for Dracut
107Summary(pl.UTF-8): Obsługa Braille'a dla Dracuta
108Group: Applications/Text
109Requires: %{name} = %{version}-%{release}
110Requires: dracut
111
112%description -n dracut-brltty
113Braille support for Dracut.
114
115%description -n dracut-brltty -l pl.UTF-8
116Obsługa Braille'a dla Dracuta.
117
91162002 118%package -n brlapi
9b20373a 119Summary: Application Programming Interface for BRLTTY
8731bfde 120Summary(pl.UTF-8): API do BRLTTY
3dcc4a01
JB
121License: LGPL v2.1+
122Group: Libraries
91162002 123
124%description -n brlapi
125This package provides the run-time support for the Application
126Programming Interface to BRLTTY.
127
9b20373a 128Install this package if you have an application which directly
129accesses a refreshable Braille display.
91162002 130
54f59947
JR
131%description -n brlapi -l pl.UTF-8
132Ten pakiet zawiera środowisko uruchomieniowe dla programów
133korzystających z API BRLTTY.
91162002 134
54f59947
JR
135Zainstaluj ten pakiet jeśli masz aplikację, która bezpośrednio używa
136wyświetlacza Braille'a z odświeżaniem.
91162002 137
138%package -n brlapi-devel
9b20373a 139Summary: Headers and documentation for BrlAPI
8731bfde 140Summary(pl.UTF-8): Pliki nagłówkowe i dokumentacja do BrlAPI
3dcc4a01 141License: LGPL v2.1+
3b0ec988 142Group: Development/Libraries
664a738b 143Requires: brlapi = %{version}-%{release}
91162002 144
145%description -n brlapi-devel
9b20373a 146This package provides the header files, shared object linker
147reference, and reference documentation for BrlAPI (the Application
3b0ec988 148Programming Interface to BRLTTY). It enables the implementation of
9b20373a 149applications which take direct advantage of a refreshable Braille
150display in order to present information in ways which are more
151appropriate for blind users and/or to provide user interfaces which
152are more specifically atuned to their needs.
91162002 153
3b0ec988 154Install this package if you're developing or maintaining an
155application which directly accesses a refreshable Braille display.
91162002 156
54f59947
JR
157%description -n brlapi-devel -l pl.UTF-8
158Ten pakiet zawiera pliki nagłówkowe oraz dokumentację do BrlAPI (API
159do BRLTTY). BrlAPI pozwala implementować aplikacje, które bezpośrednio
160korzystają z wyświetlaczy Braille'a dostarczając interfejs użytkownika
161bardziej przystosowany dla osób niewidomych.
91162002 162
54f59947
JR
163Zainstaluj ten pakiet, jeśli tworzysz lub nadzorujesz aplikację
164korzystającą bezpośrednio z odświeżalnych wyświetlaczy Braille'a.
91162002 165
166%package -n brlapi-static
9b20373a 167Summary: Static BrlAPI library
8731bfde 168Summary(pl.UTF-8): Statyczna biblioteka BrlAPI
3dcc4a01 169License: LGPL v2.1+
3b0ec988 170Group: Development/Libraries
664a738b 171Requires: brlapi-devel = %{version}-%{release}
91162002 172
173%description -n brlapi-static
9b20373a 174This is package with static BrlAPI library.
91162002 175
54f59947
JR
176%description -n brlapi-static -l pl.UTF-8
177Ten pakiet zawiera statyczną wersję biblioteki BrlAPI.
91162002 178
608626ec
SS
179%package -n brlapi-apidocs
180Summary: BrlAPI documentation
181Summary(pl.UTF-8): Documentacja BrlAPI
182Group: Documentation
a8f3581f 183BuildArch: noarch
608626ec
SS
184
185%description -n brlapi-apidocs
a8f3581f
ER
186Documentation for BrlAPI in HTML format generated from brltty sources
187by doxygen.
608626ec
SS
188
189%description -n brlapi-apidocs -l pl.UTF-8
a8f3581f
ER
190Dokumentacja BrlAPI w formacie HTML generowane ze źrodeł brltty przez
191doxygen.
608626ec 192
332e4348 193%package -n java-brlapi
09255552
SS
194Summary: BrlAPI library for Java
195Summary(pl.UTF-8): Biblioteka BrlAPI dla Javy
3dcc4a01 196License: LGPL v2.1+
09255552
SS
197Group: Libraries
198Requires: brlapi = %{version}-%{release}
199
332e4348 200%description -n java-brlapi
09255552
SS
201BrlAPI library for Java.
202
332e4348 203%description -n java-brlapi -l pl.UTF-8
09255552
SS
204Biblioteka BrlAPI dla Javy.
205
82b1c71c
JB
206%package -n ocaml-brlapi
207Summary: OCaml binding for BrlAPI
208Summary(pl.UTF-8): Wiązania OCamla do BrlAPI
3dcc4a01 209License: LGPL v2.1+
82b1c71c
JB
210Group: Libraries
211Requires: brlapi = %{version}-%{release}
212%requires_eq ocaml-runtime
213
214%description -n ocaml-brlapi
215OCaml binding for BrlAPI.
216
217%description -n ocaml-brlapi -l pl.UTF-8
218Wiązania OCamla do BrlAPI.
219
220%package -n ocaml-brlapi-devel
221Summary: OCaml binding for BrlAPI - development files
222Summary(pl.UTF-8): Wiązania OCamla do BrlAPI - pliki programistyczne
3dcc4a01 223License: LGPL v2.1+
82b1c71c
JB
224Group: Libraries
225Requires: ocaml-brlapi = %{version}-%{release}
226%requires_eq ocaml
227
228%description -n ocaml-brlapi-devel
229OCaml binding for BrlAPI - development files.
230
231%description -n ocaml-brlapi-devel -l pl.UTF-8
232Wiązania OCamla do BrlAPI - pliki programistyczne.
233
0bb357f1 234%package -n python-brlapi
75f78027
JB
235Summary: Python 2.x interface to BrlAPI
236Summary(pl.UTF-8): Interfejs Pythona 2.x do BrlAPI
3dcc4a01 237License: LGPL v2.1+
0bb357f1
SS
238Group: Libraries
239Requires: brlapi = %{version}-%{release}
240
241%description -n python-brlapi
75f78027 242Python 2.x interface to BrlAPI.
0bb357f1
SS
243
244%description -n python-brlapi -l pl.UTF-8
75f78027
JB
245Interfejs Pythona 2.x do BrlAPI.
246
247%package -n python3-brlapi
248Summary: Python 3.x interface to BrlAPI
249Summary(pl.UTF-8): Interfejs Pythona 3.x do BrlAPI
250License: LGPL v2.1+
251Group: Libraries
252Requires: brlapi = %{version}-%{release}
253
254%description -n python3-brlapi
255Python 3.x interface to BrlAPI.
256
257%description -n python3-brlapi -l pl.UTF-8
258Interfejs Pythona 3.x do BrlAPI.
0bb357f1
SS
259
260%package -n brlapi-tcl
261Summary: BrlAPI library for Tcl
262Summary(pl.UTF-8): Biblioteka BrlAPI dla Tcl
3dcc4a01 263License: LGPL v2.1+
0bb357f1
SS
264Group: Libraries
265Requires: brlapi = %{version}-%{release}
266
267%description -n brlapi-tcl
268BrlAPI library for Tcl.
269
270%description -n brlapi-tcl -l pl.UTF-8
271Biblioteka BrlAPI dla Tcl.
272
91162002 273%prep
274%setup -q
0b1afa7b 275%patch1 -p1
47848a6a 276#patch2 -p1
0285055e 277%patch4 -p1
91162002 278
dc8771ff
JB
279%{__sed} -i -e '1s,/usr/bin/python$,%{__python},' Tables/Contraction/latex-access.ctb
280
91162002 281%build
dc8771ff 282%{__aclocal} -I m4
0b1afa7b 283%{__autoconf}
915167f5 284CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
664a738b 285%configure \
0b1afa7b 286 %{?with_java:JAVA_HOME=%{java_home}} \
664a738b 287 --with-install-root="$RPM_BUILD_ROOT" \
509de961 288 %{!?with_libbraille:--without-libbraille} \
82b1c71c 289 %{!?with_espeak:--without-espeak} \
1db3af51 290 %{!?with_espeak_ng:--without-espeak_ng} \
82b1c71c
JB
291 %{!?with_flite:--without-flite} \
292 %{!?with_speech_dispatcher:--without-speechd} \
293 %{!?with_ocaml:--disable-caml-bindings} \
294 %{!?with_gpm:--disable-gpm} \
f50dc761 295 %{!?with_java:--disable-java-bindings} \
1db3af51
JB
296 %{!?with_liblouis:--disable-liblouis} \
297 --enable-lisp-bindings \
82b1c71c
JB
298 %{!?with_python:--disable-python-bindings} \
299 %{!?with_tcl:--disable-tcl-bindings} \
300 %{!?with_x:--disable-x} \
91162002 301 --enable-api
245bd38d
JR
302
303%{__make} -j1
91162002 304
850bcb5b
JR
305%if %{with python}
306cd Bindings/Python
307%py_build
308cd ../..
309%endif
310
75f78027
JB
311%if %{with python3}
312cd Bindings/Python
850bcb5b 313%py3_build
75f78027
JB
314cd ../..
315%endif
316
91162002 317%install
318rm -rf $RPM_BUILD_ROOT
47848a6a 319install -d $RPM_BUILD_ROOT/var/lib/brltty
82b1c71c 320
47848a6a 321%{__make} -j1 install install-appstream install-dracut install-polkit install-systemd install-udev \
82b1c71c
JB
322 OCAML_INSTALL_TARGET=install-without-findlib
323
4bef0dd9
JB
324# findlib-specific, useless in rpm
325%{__rm} $RPM_BUILD_ROOT%{_libdir}/ocaml/stublibs/dllbrlapi_stubs.so.owner
326
850bcb5b
JR
327%if %{with python}
328cd Bindings/Python
329%py_install
330cd ../..
331%endif
332
75f78027
JB
333%if %{with python3}
334cd Bindings/Python
850bcb5b 335%py3_install
75f78027
JB
336cd ../..
337%endif
338
a1d6e289 339%if "%{_lib}" != "lib"
538473c2
JR
340 # Fix java plugin install path on 64-bit archs
341 install -d $RPM_BUILD_ROOT%{_libdir}/java
342 %{__mv} $RPM_BUILD_ROOT%{_prefix}/{lib,%{_lib}}/java/libbrlapi_java.so
343%endif
344
dc8771ff 345install Bootdisks/bp2cf $RPM_BUILD_ROOT%{_bindir}/brltty-bp2cf
b25dee4e 346cp -p Documents/brltty.conf $RPM_BUILD_ROOT%{_sysconfdir}
91162002 347
1db3af51
JB
348# no sign in source wheter it is zh_CN or zh_TW
349# but seems to contain Traditional Chinese characters
350%{__mv} $RPM_BUILD_ROOT%{_localedir}/{zh,zh_TW}
287defab 351
47848a6a
JB
352# packaged as %doc
353%{__rm} $RPM_BUILD_ROOT%{_prefix}/lib/dracut/modules.d/99brltty/README
354
295e8be4
JB
355%find_lang %{name}
356
91162002 357%clean
358rm -rf $RPM_BUILD_ROOT
359
360%pre
361# The pre-install scriptlet.
362
363# If a configuration file already exists then rpm installs the new one as
364# <path>.rpmnew. If this is done then the .rpmnew file is overwritten if it
365# already exists.
366
367# There's no explicit way to tell if a configuration file has been installed
368# as itself or as a .rpmnew file. The way we'll figure it out, therefore, is by
3b0ec988 369# erasing the .rpmnew file now so that we can see if it gets created later.
91162002 370rm -f "%{_sysconfdir}/brltty.conf.rpmnew"
371
372%post
91162002 373# If BRLTTY's boot parameter has been specified then update the just installed
374# configuration file template to reflect the options supplied thereby.
375
376# First, we need to determine which file to update. If there's a .rpmnew file
377# then update it since a previous configuration file must already have existed.
378file="%{_sysconfdir}/brltty.conf"
379new="${file}.rpmnew"
380[ -f "${new}" ] && file="${new}"
381
382# Update the configuration file template via the Bootdisks/bp2cf script.
dc8771ff 383%{_bindir}/brltty-bp2cf -u -f "${file}" >/dev/null 2>&1 || :
91162002 384
9b20373a 385%post -n brlapi -p /sbin/ldconfig
386%postun -n brlapi -p /sbin/ldconfig
91162002 387
295e8be4 388%files -f %{name}.lang
91162002 389%defattr(644,root,root,755)
c0ab824f 390%doc Documents/{Manual-BRLTTY/English/BRLTTY*,ChangeLog,HISTORY,TODO}
91162002 391%attr(755,root,root) %{_bindir}/brltty
c80b057e 392%attr(755,root,root) %{_bindir}/brltty-atb
dc8771ff 393%attr(755,root,root) %{_bindir}/brltty-bp2cf
47848a6a 394%{_bindir}/brltty-config.sh
dc8771ff 395%attr(755,root,root) %{_bindir}/brltty-clip
1db3af51 396%attr(755,root,root) %{_bindir}/brltty-cldr
509de961 397%attr(755,root,root) %{_bindir}/brltty-ctb
47848a6a 398%attr(755,root,root) %{_bindir}/brltty-genkey
c80b057e 399%attr(755,root,root) %{_bindir}/brltty-ktb
1db3af51
JB
400%attr(755,root,root) %{_bindir}/brltty-lscmds
401%attr(755,root,root) %{_bindir}/brltty-lsinc
47848a6a 402%attr(755,root,root) %{_bindir}/brltty-mkuser
1db3af51 403%attr(755,root,root) %{_bindir}/brltty-morse
47848a6a
JB
404%{_bindir}/brltty-prologue.sh
405%attr(755,root,root) %{_bindir}/brltty-setcaps
509de961
JB
406%attr(755,root,root) %{_bindir}/brltty-trtxt
407%attr(755,root,root) %{_bindir}/brltty-ttb
c80b057e 408%attr(755,root,root) %{_bindir}/brltty-tune
295e8be4 409%attr(755,root,root) %{_bindir}/eutp
18f080b9 410%attr(755,root,root) %{_bindir}/vstp
eb77b64b 411%{?with_x:%attr(755,root,root) %{_bindir}/xbrlapi}
91162002 412%dir %{_libdir}/brltty
82b1c71c 413# Braille drivers
c0ab824f
SS
414%attr(755,root,root) %{_libdir}/brltty/libbrlttybal.so
415%attr(755,root,root) %{_libdir}/brltty/libbrlttybat.so
416%attr(755,root,root) %{_libdir}/brltty/libbrlttybba.so
82b1c71c 417%attr(755,root,root) %{_libdir}/brltty/libbrlttybbc.so
c0ab824f 418%attr(755,root,root) %{_libdir}/brltty/libbrlttybbd.so
c80b057e 419%attr(755,root,root) %{_libdir}/brltty/libbrlttybbg.so
c0ab824f
SS
420%attr(755,root,root) %{_libdir}/brltty/libbrlttybbl.so
421%attr(755,root,root) %{_libdir}/brltty/libbrlttybbm.so
422%attr(755,root,root) %{_libdir}/brltty/libbrlttybbn.so
423%attr(755,root,root) %{_libdir}/brltty/libbrlttybcb.so
0b1afa7b 424%attr(755,root,root) %{_libdir}/brltty/libbrlttybce.so
dc8771ff 425%attr(755,root,root) %{_libdir}/brltty/libbrlttybcn.so
c0ab824f
SS
426%attr(755,root,root) %{_libdir}/brltty/libbrlttybec.so
427%attr(755,root,root) %{_libdir}/brltty/libbrlttybeu.so
47848a6a 428%attr(755,root,root) %{_libdir}/brltty/libbrlttybfa.so
c0ab824f 429%attr(755,root,root) %{_libdir}/brltty/libbrlttybfs.so
935a2a62 430%attr(755,root,root) %{_libdir}/brltty/libbrlttybhd.so
82b1c71c 431%attr(755,root,root) %{_libdir}/brltty/libbrlttybhm.so
c0ab824f 432%attr(755,root,root) %{_libdir}/brltty/libbrlttybht.so
509de961 433%attr(755,root,root) %{_libdir}/brltty/libbrlttybhw.so
1db3af51 434%attr(755,root,root) %{_libdir}/brltty/libbrlttybic.so
509de961
JB
435%attr(755,root,root) %{_libdir}/brltty/libbrlttybir.so
436%{?with_libbraille:%attr(755,root,root) %{_libdir}/brltty/libbrlttyblb.so}
c0ab824f
SS
437%attr(755,root,root) %{_libdir}/brltty/libbrlttyblt.so
438%attr(755,root,root) %{_libdir}/brltty/libbrlttybmb.so
439%attr(755,root,root) %{_libdir}/brltty/libbrlttybmd.so
295e8be4 440%attr(755,root,root) %{_libdir}/brltty/libbrlttybmm.so
c0ab824f 441%attr(755,root,root) %{_libdir}/brltty/libbrlttybmn.so
82b1c71c 442%attr(755,root,root) %{_libdir}/brltty/libbrlttybmt.so
509de961 443%attr(755,root,root) %{_libdir}/brltty/libbrlttybnp.so
82b1c71c 444%attr(755,root,root) %{_libdir}/brltty/libbrlttybpg.so
c0ab824f 445%attr(755,root,root) %{_libdir}/brltty/libbrlttybpm.so
82b1c71c 446%attr(755,root,root) %{_libdir}/brltty/libbrlttybsk.so
c0ab824f
SS
447%attr(755,root,root) %{_libdir}/brltty/libbrlttybtn.so
448%attr(755,root,root) %{_libdir}/brltty/libbrlttybts.so
449%attr(755,root,root) %{_libdir}/brltty/libbrlttybtt.so
450%attr(755,root,root) %{_libdir}/brltty/libbrlttybvd.so
451%attr(755,root,root) %{_libdir}/brltty/libbrlttybvo.so
452%attr(755,root,root) %{_libdir}/brltty/libbrlttybvr.so
453%attr(755,root,root) %{_libdir}/brltty/libbrlttybvs.so
eb77b64b 454%{?with_x:%attr(755,root,root) %{_libdir}/brltty/libbrlttybxw.so}
82b1c71c 455# speech synthesizer drivers
c0ab824f
SS
456%attr(755,root,root) %{_libdir}/brltty/libbrlttysal.so
457%attr(755,root,root) %{_libdir}/brltty/libbrlttysbl.so
458%attr(755,root,root) %{_libdir}/brltty/libbrlttyscb.so
1db3af51 459%{?with_espeak_ng:%attr(755,root,root) %{_libdir}/brltty/libbrlttysen.so}
82b1c71c
JB
460%{?with_espeak:%attr(755,root,root) %{_libdir}/brltty/libbrlttyses.so}
461%{?with_flite:%attr(755,root,root) %{_libdir}/brltty/libbrlttysfl.so}
c0ab824f
SS
462%attr(755,root,root) %{_libdir}/brltty/libbrlttysfv.so
463%attr(755,root,root) %{_libdir}/brltty/libbrlttysgs.so
dfe38ff6 464%{?with_mikropuhe:%attr(755,root,root) %{_libdir}/brltty/libbrlttysmp.so}
82b1c71c 465%{?with_speech_dispatcher:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssd.so}
dfe38ff6
JB
466%{?with_swift:%attr(755,root,root) %{_libdir}/brltty/libbrlttyssw.so}
467%{?with_theta:%attr(755,root,root) %{_libdir}/brltty/libbrlttysth.so}
468%{?with_viavoice:%attr(755,root,root) %{_libdir}/brltty/libbrlttysvv.so}
b538cd8d 469%attr(755,root,root) %{_libdir}/brltty/libbrlttysxs.so
82b1c71c 470# screen drivers
681d76a3 471%{?with_at_spi2:%attr(755,root,root) %{_libdir}/brltty/libbrlttyxa2.so}
82b1c71c
JB
472%{?with_at_spi:%attr(755,root,root) %{_libdir}/brltty/libbrlttyxas.so}
473%attr(755,root,root) %{_libdir}/brltty/libbrlttyxlx.so
474%attr(755,root,root) %{_libdir}/brltty/libbrlttyxsc.so
47848a6a
JB
475%if "%{_libexecdir}" != "%{_libdir}"
476%dir %{_libexecdir}/brltty
477%endif
478%attr(755,root,root) %{_libexecdir}/brltty/systemd-wrapper
479%attr(755,root,root) %{_libexecdir}/brltty/udev-wrapper
91162002 480%{_sysconfdir}/brltty
1c33f0ca 481%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/brltty.conf
47848a6a
JB
482/lib/udev/rules.d/90-brltty-device.rules
483/lib/udev/rules.d/90-brltty-uinput.rules
484%{systemdunitdir}/brltty.path
485%{systemdunitdir}/brltty@.path
486%{systemdunitdir}/brltty@.service
487%{systemdunitdir}/brltty-device@.service
a8f3581f 488%{systemdtmpfilesdir}/brltty.conf
47848a6a
JB
489#%{_prefix}/lib/sysusers.d/brltty.conf
490#%attr(3777,brltty,brltty)
82b1c71c 491%dir /var/lib/BrlAPI
47848a6a
JB
492#%attr(2770,brltty,brltty)
493%dir /var/lib/brltty
c0ab824f 494%{_mandir}/man1/brltty.1*
295e8be4 495%{_mandir}/man1/eutp.1*
c0ab824f 496%{_mandir}/man1/vstp.1*
b538cd8d 497%{?with_x:%{_mandir}/man1/xbrlapi.1*}
91162002 498
295e8be4
JB
499%if %{with x}
500# gdm autostart - subpackage?
501#%{_datadir}/gdm/greeter/autostart/xbrlapi.desktop
b439830f 502#/etc/X11/Xsession.d/90xbrlapi
b25dee4e 503%{_datadir}/metainfo/org.a11y.brltty.metainfo.xml
295e8be4 504%endif
b25dee4e 505%{_datadir}/polkit-1/actions/org.a11y.brlapi.policy
47848a6a
JB
506%{_datadir}/polkit-1/rules.d/org.a11y.brlapi.rules
507
508%files -n dracut-brltty
509%defattr(644,root,root,755)
510%doc Initramfs/Dracut/README
511%dir %{_prefix}/lib/dracut/modules.d/99brltty
512%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/alsa-start.sh
513%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/bluetooth-start.sh
514%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/brltty-start.sh
515%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/brltty-stop.sh
516%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/dbus-start.sh
517%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/module-setup.sh
518%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/pulse-start.sh
519%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/pulse-stop.sh
520%attr(755,root,root) %{_prefix}/lib/dracut/modules.d/99brltty/speechd-start.sh
295e8be4 521
91162002 522%files -n brlapi
523%defattr(644,root,root,755)
82b1c71c 524%attr(755,root,root) %{_libdir}/libbrlapi.so.*.*.*
dc8771ff 525%attr(755,root,root) %ghost %{_libdir}/libbrlapi.so.0.8
91162002 526
527%files -n brlapi-devel
528%defattr(644,root,root,755)
608626ec 529%doc Documents/Manual-BrlAPI/English/BrlAPI*
1c33f0ca 530%attr(755,root,root) %{_libdir}/libbrlapi.so
91162002 531%{_includedir}/brltty
18f080b9 532%{_includedir}/brlapi*.h
47848a6a 533%{_pkgconfigdir}/brltty.pc
82b1c71c 534%{_mandir}/man3/brlapi_*.3*
91162002 535
536%files -n brlapi-static
537%defattr(644,root,root,755)
538%{_libdir}/libbrlapi.a
608626ec 539
09255552 540%if %{with apidocs}
608626ec
SS
541%files -n brlapi-apidocs
542%defattr(644,root,root,755)
543%doc Documents/BrlAPIref/html/*
09255552
SS
544%endif
545
546%if %{with java}
332e4348 547%files -n java-brlapi
09255552 548%defattr(644,root,root,755)
3dcc4a01 549%attr(755,root,root) %{_libdir}/java/libbrlapi_java.so
09255552
SS
550%{_javadir}/brlapi.jar
551%endif
0bb357f1 552
82b1c71c
JB
553%if %{with ocaml}
554%files -n ocaml-brlapi
555%defattr(644,root,root,755)
556%attr(755,root,root) %{_libdir}/ocaml/stublibs/dllbrlapi_stubs.so
82b1c71c
JB
557
558%files -n ocaml-brlapi-devel
559%defattr(644,root,root,755)
560%dir %{_libdir}/ocaml/brlapi
561%{_libdir}/ocaml/brlapi/META
562%{_libdir}/ocaml/brlapi/brlapi.cm[aix]*
563%{_libdir}/ocaml/brlapi/brlapi.mli
564%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a
565%endif
566
0bb357f1
SS
567%if %{with python}
568%files -n python-brlapi
569%defattr(644,root,root,755)
0bb357f1 570%attr(755,root,root) %{py_sitedir}/brlapi.so
509de961 571%{py_sitedir}/Brlapi-%{brlapi_ver}-py*.egg-info
75f78027
JB
572
573%if %{with python3}
574%files -n python3-brlapi
575%defattr(644,root,root,755)
576%attr(755,root,root) %{py3_sitedir}/brlapi.cpython-*.so
577%{py3_sitedir}/Brlapi-%{brlapi_ver}-py*.egg-info
578%endif
0bb357f1
SS
579%endif
580
581%if %{with tcl}
582%files -n brlapi-tcl
583%defattr(644,root,root,755)
509de961
JB
584%dir %{_libdir}/brlapi-%{brlapi_ver}
585%attr(755,root,root) %{_libdir}/brlapi-%{brlapi_ver}/libbrlapi_tcl.so
586%{_libdir}/brlapi-%{brlapi_ver}/pkgIndex.tcl
0bb357f1 587%endif
This page took 0.191536 seconds and 4 git commands to generate.