From b875e79996726e9123a263841c8b7d11eeac9835 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Wed, 7 Jun 2023 07:37:30 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 brltty revision b2a9352abc0c2b7fe90cdd7abeef81f3 --- .gitattributes | 23 ++ README.SUSE | 26 ++ brltty-6.5.tar.xz | 3 + brltty-udev-dir.patch | 13 + brltty.changes | 712 ++++++++++++++++++++++++++++++++++++++++++ brltty.spec | 561 +++++++++++++++++++++++++++++++++ 6 files changed, 1338 insertions(+) create mode 100644 .gitattributes create mode 100644 README.SUSE create mode 100644 brltty-6.5.tar.xz create mode 100644 brltty-udev-dir.patch create mode 100644 brltty.changes create mode 100644 brltty.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/README.SUSE b/README.SUSE new file mode 100644 index 0000000..db67118 --- /dev/null +++ b/README.SUSE @@ -0,0 +1,26 @@ +Some notes on SUSE-specific configuration of brltty +======================================================================== + +USB: +------------------------------------------------------------------------ +Most USB Braille displays should be autodetected by udev, starting brltty. +However, some Braille displays have the same product IDs as generic +USB-to-serial adapters, and, in order to avoid a conflict with these +adapters, the brltty udev rules for them are not installed by default. If +you have an Albatross, Cebra, Hims, HandyTech, or MDV display and connect it +via USB, then you may want to install the brltty-udev-generic package. + +Alternatively, you can have systemd automatically start brltty at boot. Run +chkconfig brltty on +as the superuser. + + +Authentication: +------------------------------------------------------------------------ +By default, brltty authenticates with clients (such as orca) via a key +file. However, SUSE enables polkit-based authentication instead. +This eliminates the need to, ie, add users to the brlapi group in order +to be able to have orca interact with the Braille display. It also +disallows remote users from interacting with the display. If you would +like to change this behavior, then you can edit the api-parameters +directive in /etc/brltty.conf. diff --git a/brltty-6.5.tar.xz b/brltty-6.5.tar.xz new file mode 100644 index 0000000..a51e9ed --- /dev/null +++ b/brltty-6.5.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f173535291ba39b5a9fc8d80c349234333d92042d95d6dd88796c98a02f316b +size 3631628 diff --git a/brltty-udev-dir.patch b/brltty-udev-dir.patch new file mode 100644 index 0000000..c15e922 --- /dev/null +++ b/brltty-udev-dir.patch @@ -0,0 +1,13 @@ +diff -urp brltty-6.5.orig/Autostart/Udev/Makefile.in brltty-6.5/Autostart/Udev/Makefile.in +--- brltty-6.5.orig/Autostart/Udev/Makefile.in 2022-05-21 02:30:08.000000000 -0500 ++++ brltty-6.5/Autostart/Udev/Makefile.in 2022-06-11 18:32:41.460215052 -0500 +@@ -17,7 +17,7 @@ + ############################################################################### + + UDEV_RULES_SEQUENCE = 90 +-UDEV_PARENT_LOCATION = $(libdir) ++UDEV_PARENT_LOCATION = /usr/lib + #UDEV_PARENT_LOCATION = $(sysconfdir) + + UDEV_SCRIPTS_DIRECTORY = $(INSTALL_ROOT)$(SCRIPTS_DIRECTORY) +Only in brltty-6.5.orig/Autostart/Udev: .Makefile.in.swp diff --git a/brltty.changes b/brltty.changes new file mode 100644 index 0000000..3cbb42a --- /dev/null +++ b/brltty.changes @@ -0,0 +1,712 @@ +------------------------------------------------------------------- +Sat Dec 17 09:09:09 UTC 2022 - olaf@aepfle.de + +- Use tmpfiles_create_package +- Use sysuser-tools unconditionally (bsc#1205161) + +------------------------------------------------------------------- +Mon Jun 13 08:09:53 UTC 2022 - Michael Gorse + +- Update to version 6.5 +- Update api_version. +- Add brltty-udev-dir.patch: install udev rules into /usr/lib. +- Remove the custom disabling of rules for generic USB serial + devices, since upstream now has these separated out. Instead, + provide these rules in a udev-generic package. + +------------------------------------------------------------------- +Thu Feb 10 12:10:15 UTC 2022 - Dominique Leuenberger + +- Pass --with-tables-directory=%{_datadir}/%{name} to configure: do + not install the tables to /etc, as they are not supposed to be + modified by local admins. + +------------------------------------------------------------------- +Tue Dec 14 14:14:14 UTC 2021 - ohering@suse.de + +- Add python-rpm-macros (bsc#1180125) + +------------------------------------------------------------------- +Tue Nov 23 19:48:16 UTC 2021 - Callum Farmer + +- Add all sysusers.d Requires + +------------------------------------------------------------------- +Sat Oct 2 17:59:08 UTC 2021 - Callum Farmer + +- Move sysusers.d to separate package +- Remove old SUSE RPM constructs + +------------------------------------------------------------------- +Fri Oct 1 12:46:43 UTC 2021 - Callum Farmer + +- Use sysuser-tools to process included sysusers.d file correctly + (bsc#1191465) + +------------------------------------------------------------------- +Sat Sep 25 14:35:23 UTC 2021 - Michael Gorse + +- Update to version 6.4: + + See ChangeLog for changes. +- API version is now 0.8.3. +- Add at-spi2 to BuildRequires. Now needed for at-spi driver. + +------------------------------------------------------------------- +Tue Feb 2 00:08:41 UTC 2021 - Michael Gorse + +- Update to version 6.3: + + See ChangeLog for changes. +- API version is now 0.8.2. +- Drop brltty-fix-install-dirs.patch: no longer needed. + +------------------------------------------------------------------- +Sun Jan 17 10:47:15 UTC 2021 - Dominique Leuenberger + +- Starting with the TCL 8.6.11 package, the default install path + for the TCL library is corrected to /usr/lib64/tcl: adjust the + move command for our tcl module basedon this change. + +------------------------------------------------------------------- +Fri Jan 1 19:32:18 UTC 2021 - Michael Gorse + +- Update to version 6.2: + + See ChangeLog for changes. +- Update api_version: now 0.8.1. +- Replace brltty-5.5-systemd-install.patch with + brltty-fix-install-dirs.patch: also adjust udev directory. +- Drop brltty-gcc10.patch: fixed upstream. +- Move udev rules patching to %build. +- Use the Makefile to install udev and polkit rules and docs. +- Brltty-config has been renamed to brltty-config.sh. +- Remove polkit conditional: we always have it enabled. +- Remove old espeak support: Leap prior to 15.0 is no longer + supported. +- Add python3-setuptools to BuildRequires: required by rpm during + checks. +- Add doxygen to BuildRequires: needed to build manual. +- Create a brltty user on install: now expected by service. + +------------------------------------------------------------------- +Wed Oct 14 18:14:27 UTC 2020 - Michael Gorse + +- Add coreutils and util-linux to post requires (boo#1177656). + +------------------------------------------------------------------- +Tue Jul 7 08:53:46 UTC 2020 - Callum Farmer + +- Fixes for %_libexecdir changing to /usr/libexec + +------------------------------------------------------------------- +Thu Apr 9 22:04:54 UTC 2020 - Michael Gorse + +- Update to version 6.1: + + See ChangeLog for changes. +- Rebased brltty-5.5-systemd-install.patch +- api_version is now 0.8.0, and sover is now 0_8 +- Add brltty-gcc10.patch: fix build with -fno-common. +- Adjust line to remove xsession file. +- Remove brltty-alsa.patch + +------------------------------------------------------------------- +Wed Oct 9 16:38:37 CEST 2019 - ro@suse.de + +- change udev rule again to also not automatically use the braille + driver for USB IDs 10c4:ea60 and 10c4:ea80 as these are generic + IDs of generic UART bridges and should not be used for higher + level devices (bsc#1093378, bsc#1093455, bsc#1007652) + +------------------------------------------------------------------- +Wed Jun 19 11:20:40 UTC 2019 - Dominique Leuenberger + +- BuildRequire pkgconfig(libsystemd) instead of systemd-devel: + allow OBS to shortcut by using systemd-devel-mini. + +------------------------------------------------------------------- +Tue Mar 26 07:03:44 UTC 2019 - olaf@aepfle.de + +- Use alsa API properly. Consumers are expected to use + instead of . + This is in preparation of an change to pkgconfig(alsa) to + not pollute CFLAGS with -I/usr/include/alsa anymore (bsc#1130333) + brltty-alsa.patch + +------------------------------------------------------------------- +Thu Feb 28 15:27:10 UTC 2019 - mgorse@suse.com + +- Update to version 6.0: + + Too many changes; please read ChangeLog : + - Rebased brltty-5.5-systemd-install.patch +- api_version is now 0.7.0, and sover is now 0_7 +- brltty-systemd-wrapper now installs into /usr/libexec +- Pass libexecdir in configure +- LICENSE-GPL no longer exists +- Package binaries new in 6.0 + +------------------------------------------------------------------- +Tue May 15 11:57:06 CEST 2018 - ro@suse.de + +- use brltty.path for systemd macros (boo#1074096 again) + +------------------------------------------------------------------- +Mon Mar 12 16:59:31 UTC 2018 - aloisio@gmx.com + +- Use correct license + +------------------------------------------------------------------- +Mon Mar 5 15:14:02 UTC 2018 - aloisio@gmx.com + +- Update to version 5.6 + * General updates: + + BRLTTY has been relicensed to the LGPL (from the GPL). + + Better cursor routing handling of status line updates and + vertical scrolling. + + The Track Screen Scroll setting has been added. + + The Word Wrap setting has been added. + + Panning left when using a contraction table now word wraps. + + Typing dismisses an alert message. + + The test for when INFO does text maximization instead has + been fixed. + + Overrides are now applied when the preferences haven't yet + been saved. + + The Inceptor braille driver (from Innovision) has been added. + * The Baum braille driver: + + On models with B9 and B10 by the joystick, both are + interpreted as Space. + + Input packet handling for Pronto! V3 models has been fixed. + * The EuroBraille braille driver: + + Improved autodetection when using Bluetooth. + + The Esytime braille keyboard can be used over Bluetooth and + USB. + + For Esytime models, B5 has been renamed to B8. + * The HIMS braille driver: + + The Smart Beetle is now recognized when using Bluetooth. + * The HumanWare braille driver: + + The BrailleNote Touch is recognized when using USB. + * BrlAPI changes: + + The version is now 0.6.7 (it was 0.6.6). + + The brlapi_getModelIdentifier() function has been added to + the API. + + The default character set is now based on the user's locale. + + Sessions would occasionally hang when connecting. + + PolKit authentication is no longer attempted when it isn't + available. + + Reading raw key codes no longer uses key ranges. + * Text tables: + + The lt (Lithuanian) table has been updated. + + The uk (Ukrainian) table has been added. + * Contraction tables: + + The fr-abrege (French) table has been updated. + + The lt (Lithuanian) table has been added. + + Support has been added for LibLouis tables. + + brltty-ctb's output is now UTF-8 (rather than ASCII). + * Key tables: + + The ifPlatform and ifNotPlatform directives have been added. + * Systemd changes: + + Path (rather than target) units are now used to manage BRLTTY + instances. + * Build features: + + Add the reload target to the make files for Systemd and Udev. + + A make file for install/uninstall of the AppStream rules has + been added. + + Python 3.6 is supported. + +- Use espeak-ng when available + +------------------------------------------------------------------- +Wed Jan 3 17:55:38 UTC 2018 - mgorse@suse.com + +- Fix %pre, %post, and %postun: brltty.service is now + brltty@.service (boo#1074096). + +------------------------------------------------------------------- +Tue Dec 5 09:10:42 UTC 2017 - cbosdonnat@suse.com + +- Drop python2 dependency (fate#323526) + +------------------------------------------------------------------- +Fri Sep 1 16:30:55 UTC 2017 - mgorse@suse.com + +- Update to version 5.5 + + HandyTech's Actilino is supported. + + HumanWare's Braille Note Touch is supported. + + The Orbit 20 is supported. + + Various other changes; please read ChangeLog : +- Drop brltty-udev-rule.patch, brltty-polkit-fixes.patch, + brltty-5.0-speechd.diff, + brltty-5.4-latex-tables-executable.patch, + brltty-braillenote-usb.patch, brltty.format-error.patch, + brltty.makedev.patch, and brltty.ocaml.patch: fixed upstream. +- Add brltty-5.5-systemd-install.patch: fix systemd service + directory on lib64 +- polkit policy is now named org.a11y.brlapi.policy +- API version is now 0.6.6 +- Don't create rcbrltty (why were we symlinking a systemd unit + file here? Seems wrong) + +------------------------------------------------------------------- +Thu Aug 10 15:12:23 UTC 2017 - olaf@aepfle.de + +- Update filename in /var/adm/update-messages to match documentation, + and build-compare pattern + +------------------------------------------------------------------- +Tue Jul 18 11:23:54 UTC 2017 - olaf@aepfle.de + +- Provide caml__frame with brltty.ocaml.patch + +------------------------------------------------------------------- +Fri Jun 9 11:01:50 UTC 2017 - tchvatal@suse.com + +- Require java-devel >= 1.6 to not fail during bootstrapping + +------------------------------------------------------------------- +Tue Mar 21 18:35:02 UTC 2017 - mgorse@suse.com + +- Replace brltty.format-error.patch with the upstream fix; our + current patch doesn't appear to be sufficient (boo#1030240). + +------------------------------------------------------------------- +Tue Mar 21 15:18:10 UTC 2017 - olaf@aepfle.de + +- Add -Wformat to work around build failure (boo#1030240) + Add brltty.format-error.patch + Add brltty.makedev.patch + +------------------------------------------------------------------- +Tue Feb 14 17:40:27 UTC 2017 - mgorse@suse.com + +- Disable udev rule for generic FTDI devices to avoid taking + USB-to-serial converters (boo#1007652). Add an update + message if one of these devices is detected. +- Add a README.SUSE. + +- Add brltty-polkit-fixes.patch: don't delay brltty if waiting + for polkit initialization, and fix polkit+key authentication + (bsc#930242). + +- Add brltty-braillenote-usb.patch: autodetect BrailleNote via + USB. + +- Always enable polkit (intention of the conditional was to + disable on 13.2 and 42.1, but it was being disabled under 42.2 + as well). + +------------------------------------------------------------------- +Mon Nov 7 07:58:11 UTC 2016 - olaf@aepfle.de + +- Fix syntax error in rule files + brltty-udev-rule.patch + +------------------------------------------------------------------- +Fri Sep 16 14:10:40 UTC 2016 - mgorse@suse.com + +- Update to version 5.4 + + Too many changes; please read ChangeLog : +- Drop b40-1.patch, brltty-polkit.patch, and + brltty-5.3.1-udev-systemd.patch: fixed upstream. +- Add brltty-5.4-latex-tables-executable.patch: LaTeX tables + should be executable. +- API version is now 0.6.5 + +- Install rules file into %{_udevdir}/rules.d + +- Install systemd files via the Makefile + +- Make polkit a conditional. + +------------------------------------------------------------------- +Thu Sep 15 15:00:36 UTC 2016 - mgorse@suse.com + +- Install polkit file (bsc#930242). + +- Add brltty-5.3.1-udev-systemd.patch: fix udev rules to work with + systemd. From upstream. + +------------------------------------------------------------------- +Sun Jun 19 22:59:02 UTC 2016 - jengelh@inai.de + +- Add missing service_add_pre call. Add missing argument to fdupes. +- Fix misplacement of /69-brltty.rules in the root directory + because pkgconfig(udev) was not requested, which led to _udevdir + being the empty string. + +------------------------------------------------------------------- +Tue Jun 7 19:01:14 UTC 2016 - mgorse@suse.com + +- Update to version 5.3.1 (fate#320893). + + Too many changes; please read ChangeLog : + usr/share/doc/packages/brltty/ChangeLog +- API version is now 0.6.4 +- Require systemd to build +- Install brltty-atb, brltty-ktb, and brltty-tune (new binaries) + +- Add b40-1.patch - fix for invalid packets from a Brailliant + +- Add brltty-polkit.patch: support polkit-based authentication for brlapi. + Install policy file + Set polkit as default brlapi authentication mechanism + +- Install udev rules + +------------------------------------------------------------------- +Tue Feb 10 19:25:01 UTC 2015 - mgorse@suse.com + +- Modify systemd service file to correct brltty path (boo#917176). + +------------------------------------------------------------------- +Tue Dec 23 13:21:58 UTC 2014 - p.drouand@gmail.com + +- Add a dependency to python3 for building; brltty fails in his staging + project because of mssing python3-xml module + +------------------------------------------------------------------- +Fri Dec 19 12:15:34 UTC 2014 - p.drouand@gmail.com + +- Update to version 5.2 + + Too many changes; please read ChangeLog : + usr/share/doc/packages/brltty/ChangeLog +- API version is now 0.6.3 +- Remove obsolete patches; + + brltty-python-prefix.patch + + brltty-5.1-fix-bashisms.patch + +------------------------------------------------------------------- +Sun Nov 16 19:06:00 UTC 2014 - Led + +- fix bashisms in brltty-install script +- add patches: + * brltty-5.1-fix-bashisms.patch + +------------------------------------------------------------------- +Sun Oct 19 17:27:14 UTC 2014 - crrodriguez@opensuse.org + +- Replace xorg-x11-devel by specific individual pkgconfig() + buildrequires. + +------------------------------------------------------------------- +Thu Jul 24 15:13:32 UTC 2014 - mgorse@suse.com + +- Remove byacc. Doesn't appear to be needed or used. +- Capitalize summary for driver-espeak. + +------------------------------------------------------------------- +Fri Jun 6 14:37:06 UTC 2014 - mgorse@suse.com + +- Update to version 5.1 + + Various changes. See ChangeLog. +- API version is now 0.6.2 + +- Build Python 3 bindings, rather than Python 2 bindings. + +------------------------------------------------------------------- +Mon May 19 15:10:37 UTC 2014 - schwab@suse.de + +- remove ocaml conditional, it is always available now +- don't fail if brlapi.cmxa wasn't built + +------------------------------------------------------------------- +Sat Mar 1 21:27:25 UTC 2014 - p.drouand@gmail.com + +- Update to version 5.0 + + Too many changes; please read ChangeLog : + usr/share/doc/packages/brltty/ChangeLog +- Define a sover and soname macro for further easy API number changes +- Use download Url as source +- Remove brltty-java-jni-dir.patch and brltty-cppflags.patch; no longer + needed +- Add byacc and linux-glibc-devel requires; new upstream dependencies +- Replace pyrex with python-Cython build require; upstream change +- Create brlapi.key file; now needed to access to brlapi; fix rhbz#1010656 +- Create an associated user +- Add shadow dependency; needed to create user +- Adapt brltty-speechd.diff to upstream changes +- Add systemd support to allow users to start brltty at startup + +------------------------------------------------------------------- +Fri Jan 10 19:44:52 UTC 2014 - mgorse@suse.com + +- Remove AT-SPI 1 driver; superseded by AT-SPI 2 since GNOME 3.0. + +------------------------------------------------------------------- +Tue Oct 29 11:52:13 CET 2013 - fcrozat@suse.com + +- Fix build:+ no longer rely on deprecated function (-perm +...) in + find. +- No longer use --disable-static, not supported in configure. + +------------------------------------------------------------------- +Tue Jun 25 09:20:12 UTC 2013 - tchvatal@suse.com + +- Adjust the patch application to be same like with other patches. + +------------------------------------------------------------------- +Tue Jun 18 09:32:01 UTC 2013 - jengelh@inai.de + +- Add brltty-speechd.diff to avert packaging failure and take + into account changed speechd location. +- More robust make install call. Remove redundant %clean section. + +------------------------------------------------------------------- +Sun Mar 24 14:00:47 UTC 2013 - schwab@suse.de + +- Don't build ocaml bindings on aarch64 + +------------------------------------------------------------------- +Sun Apr 15 07:11:57 UTC 2012 - simone.tolotti@gmail.com + +- Update to version 4.3: ++ New options: + The -F [--speech-fifo=] option has been renamed to -i [--speech-input=]. + The -F [--preferences-file=] option sets the path to the preferences file. + The -L [--log-file=] brltty option writes timestamped logs to a file. + The -q [--quiet] xbrlapi option suppresses the displaying of window titles. + The -r [--reformat-text] ctbtest option joins unindented input lines. + The log level can now be specified within brltty.conf. ++ New device support: + A braille driver for BrailComm displays has been added. + The HandyTech braille driver now supports the Active Braille. + The Voyager braille driver now supports the part 232 serial adapter. + The Voyager braille driver now supports the Braille Pen (aka Easy Link). ++ Preferences menu changes: + The preference selections now apply to the preferences menu itself, too. + Keyboard key bindings now work correctly within the preferences menu. + The "Text Style" preference has new settings: + 8-Dot Computer Braille (formerly 8-dot) + Contracted Braille (formerly 6-dot) + 6-Dot Computer Braille + The "Expand Current Word" preference has been added. + It's only visible if "Text Style" is set to "Contracted Braille". + It can be set to: + Yes (don't contract the word the cursor is on) + No (contract the whole line) + The "Capitalization Mode" preference has been added. + It's only visible if "Text Style" is set to "Contracted Braille". + It can be set to: + No Capitalization + Use Capital Sign + Superimpose Dot 7 ++ General changes: + Internationalization support has been improved. + French and German translations have been added. + Support for multi-byte local character sets has been improved. + Horizontal window motions now work correctly with contracted braille. + The half window left motion no longer can move to a bad location. + Alert messages no longer disappear unexpectedly. + The speech FIFO is now created relative to the current working directory. + Serial flow control is now enabled before device probing. + The following global variables for use within tables are now predefined: + tablesDirectory + tableExtension + subtableExtension ++ Alva braille driver changes: + The BC key bindings have been changed significantly in order to add + more functions and to support the USB640 (which has no smartpad). + The braille keyboard of the BC Feature Pack is now supported. ++ Baum braille driver changes: + Updating the text and status cells of the Vario 80 has been fixed. + The front and command keys of the Vario 80 are now supported. ++ EuroBraille braille driver changes: + Reading keys is faster and no longer generates spurious input errors. ++ HandyTech braille driver changes: + Support for the Active Braille has been added. + The help screen now describes how the keypad keys are named. ++ Papenmeier braille driver changes: + The initial state of the switches and keys of EL models is detected. ++ Seika braille driver changes: + The help screen now describes the key layout. ++ TTY braille driver changes: + A few more key bindings have been defined. ++ Voyager braille driver changes: + Serial support has been added. + Bluetooth support has been added. + Support for the part 232 serial adapter has been added. + Support for the Braille Pen (aka Easy Link) has been added. ++ XWindow braille driver changes: + More and less restrictive fonts are supported. + Hard program exits have been removed. ++ eSpeak speech driver changes: + The full advertized speech rate range can now be used. ++ FestivalLite speech driver changes: + The default voice has been changed to kal (from kal16). ++ AtSpi screen driver changes: + No more annoying warnings when not on an AtSpi widget. ++ BrlAPI fixes: + ISO-8859-1 is now accepted as a character set when iconv isn't available. + The autorepeat flags are now handled on a per session basis. + Commands are now processed when the device is released. ++ WindowEyes BrlAPI driver changes: + Testing for BrlAPI open errors has been improved. ++ Text table changes: + A common subtable for the block characters has been added. + The glyph directive has been added. + Several alternate fonts for the Latin letters are now defined. + If a character isn't defined then check for an alternative which is: + (its Unicode base character, its iconv-defined ASCII equivalent, etc). + The en_UK text table has been renamed to en_GB (to comply with ISO 3166). + Updated text tables: + bo (Tibetan) + brf: dot 7 is no longer presented + fr_FR (French France) + fr-vs (French table used by VisioBraille devices) + is (Icelandic): updated to the newly adopted standard ++ Contraction table changes: + If a zero-width character isn't defined then don't show it. + Updated tables: + de-kurzschrift (German) + en-us-g2 (American English) + es (Spanish) + fr-abrege (French) + zh-tw (Taiwanese Chinese) ++ Key table changes: + A specific key within a set can now be specified by number. + A key combination can now include specific keys which aren't in set 0. + Keys which aren't in set 0 can now be mapped to keyboard functions. + A key set name can now be used to define a hotkey. + The help text no longer includes hidden hotkeys. + The help text now handles context-specific hotkeys correctly. + The note directive now supports the use of variables. ++ Windows changes: + Serial devices beyond COM9 may now be specified. + The WindowEyes driver is now copied into the correct installation directory. ++ Build changes: + Building an exported (not checked out) copy now "knows" its revision number. + Make support for install/uninstall of /usr/share/doc/brltty has been added. + The make targets for source archives are now prefixed with "src-". + The bin-tar, bin-tar-gzip, and bin-tar-bzip2 make targets have been added. + Support for xz compression of binary and source archives has been added. + The preferences file has been moved to /var/lib/brltty/brltty.prefs. + There's now only one preferences file (instead of one per braille driver). + The preferences file is now text-based (instead of binary). + The "writable" directory has been moved to /var/run/brltty. + The "library" directory is now known as the "drivers" directory. + The "data" directory no longer has a use and has been removed. + Support for the "gjar" command has been added. + +- Fixed tcl bindings failing in brp-tcl + +------------------------------------------------------------------- +Sun Aug 7 22:51:50 CEST 2011 - meissner@suse.de + +- remove subversion buildrequries ... Seems unused. + +------------------------------------------------------------------- +Mon Jun 6 08:26:22 UTC 2011 - aj@suse.de + +- Add patch brltty-header.patch to fix build with newer glibc + due to missing sys/stat.h include. + +------------------------------------------------------------------- +Tue May 24 19:50:20 UTC 2011 - crrodriguez@opensuse.org + +- remove timestamps from binaries, breaks build-compare + +------------------------------------------------------------------- +Sun Sep 19 11:55:04 CEST 2010 - vuntz@opensuse.org + +- Update to version 4.2: + + Ending a cut operation beyond the right edge of the screen has + been fixed. + + Key/character insertion works with newer versions of Xorg. + + The braille driver help files have been converted to plain + text. + + Multiple instances of brltty may not use the same PID file. + + The keypad keyboard key table provides a braille input mode. + + The working directory is no longer set to the data directory. + + The writable directory is created if it doesn't already exist. + + USB I/O via libusb1 is supported. + + The Metec braille driver has been added. + + The eSpeak speech driver has been added. + + The AtSpi2 screen driver has been added. + + A BrlAPI client for Window-Eyes has been developed. + + Driver changes: + - Converted drivers to use key tables. + + Albatross braille driver changes: + - USB support has been added. + + Baum braille driver changes: + - Vario Pro wheels are supported. + - For Vario Pro models, only update the text cells which have + changed. + + FreedomScientific braille driver changes: + - Bluetooth support has been added. + - The Focus Blue is supported. + - Rockers and bumper bars are recognized as distinct keys. + + HandyTech braille driver changes: + - Pressing two routing keys simultaneously immediately cuts the + selected text. + - Newer models which use the USB HID interface are supported. + - The InputMode= parameter has been removed. + + Papenmeier braille driver changes: + - The DebugReads= and DebugWrites= parameters have been + removed. + - Support for the configuration file has been removed (now uses + key tables). + + BrlAPI changes: + - Key event support has been added. + - Various client fixes for the Windows environment. + - Various fixes for when threads aren't available. + - No more extraneous connection to localhost when using a + TCP/IP host name. + - A fix to exception handling within the Python bindings. + + ExternalSpeech speech driver changes: + - Two-letter driver identification code changed to "xs" (from + "es"). + + AtSpi screen driver changes: + - Static linking is supported. + - A problem causing crashes on 64-bit platforms has been + resolved. + + Windows screen driver changes: + - Significant reductions in memory usage. + - Better handling of unreadable screens. + - Better handling of the Alt+Tab window. + + DOS changes: + - Log records are written to the file "brltty.log". + - The TSI braille driver stays at 9600 baud. + + Key table changes: + - Add the following directives: assign, context, hide, hotkey, + ifkey, map, note, superimpose, title. + - Add the \{name} variable name expansion syntax. + - Add the ! immediate key syntax. + - A command may have more than one modifier. + - The line command modifiers are supported. + - Keyboard key table names are now prefixed with "kbd-". + - The ktbtest tool has been added. + + Linux changes: + - USB device inspection is more efficient. + - Fixes to keyboard connect/disconnect monitoring. + - Fixes to key event handling. + - PCM and MIDI support defaults to ALSA (instead of to OSS). + + Some windows changes. + + Text tables updated: hu, sk. + + Contraction tables updated: de-kurzschrift, en-us-g2, zh-tw. +- Add dbus-1-devel (for at-spi2 screen driver), espeak-devel (new + speech driver), libusb-1_0-devel BuildRequires. +- Create driver-at-spi2 and driver-espeak subpackages, for the new + drivers. +- Fix driver subpackages: for some reason, the files were not put + in the right subpackages. + +------------------------------------------------------------------- +Tue Sep 7 11:53:21 UTC 2010 - aj@suse.de + +- BuildRequire gpm-devel + +------------------------------------------------------------------- +Wed Jun 2 14:41:48 UTC 2010 - coolo@novell.com + +- disable parallel make to fix build + +------------------------------------------------------------------- +Thu Apr 8 18:31:44 CEST 2010 - vuntz@opensuse.org + +- Build libbraille driver. + +------------------------------------------------------------------- +Fri Apr 2 12:31:45 CEST 2010 - vuntz@opensuse.org + +- Build Speech Dispatcher driver. + +------------------------------------------------------------------- +Thu Apr 1 16:29:54 CEST 2010 - vuntz@opensuse.org + +- New package. + diff --git a/brltty.spec b/brltty.spec new file mode 100644 index 0000000..041874c --- /dev/null +++ b/brltty.spec @@ -0,0 +1,561 @@ +# +# spec file for package brltty +# +# Copyright (c) 2022 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{!?tcl_version: %global tcl_version %(echo 'puts $tcl_version' | tclsh)} +%{!?tcl_sitearch: %global tcl_sitearch %{_libdir}/tcl/tcl%{tcl_version}} +%define api_version 0.8.4 +%define sover 0_8 +%define soname libbrlapi%{sover} +Name: brltty +Version: 6.5 +Release: 0 +# FIXME libbraille driver when libbraille is in factory +Summary: Braille display driver for Linux/Unix +License: LGPL-2.1-or-later +Group: System/Daemons +URL: https://brltty.app/ + +Source0: https://brltty.app/archive/%{name}-%{version}.tar.xz +Source1: README.SUSE +Patch0: brltty-udev-dir.patch + +Requires(pre): system-user-brltty = %{version}-%{release} + +BuildRequires: bison +BuildRequires: doxygen +BuildRequires: espeak-ng-compat-devel +BuildRequires: fdupes +BuildRequires: gettext +BuildRequires: gpm-devel +BuildRequires: java-devel >= 1.6.0 +BuildRequires: jpackage-utils +BuildRequires: libbraille-devel +BuildRequires: ncurses-devel +BuildRequires: ocaml +BuildRequires: pkg-config +BuildRequires: python-rpm-macros +BuildRequires: python3 +BuildRequires: python3-Cython +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: systemd-rpm-macros +BuildRequires: tcl-devel +BuildRequires: pkgconfig(alsa) +BuildRequires: pkgconfig(atspi-2) +BuildRequires: pkgconfig(bluez) +BuildRequires: pkgconfig(dbus-1) +BuildRequires: pkgconfig(icu-i18n) +BuildRequires: pkgconfig(libsystemd) +BuildRequires: pkgconfig(libusb-1.0) +BuildRequires: pkgconfig(polkit-gobject-1) +BuildRequires: pkgconfig(speech-dispatcher) +BuildRequires: pkgconfig(udev) +BuildRequires: pkgconfig(x11) +BuildRequires: pkgconfig(xaw7) +BuildRequires: pkgconfig(xt) +%{?systemd_ordering} + +%description +BRLTTY is a background process (daemon) which provides access to the +Linux/Unix console (when in text mode) for a blind person using a +refreshable braille display. It drives the braille display and provides +complete screen review functionality. + +%package driver-at-spi2 +Summary: AT-SPI 2 driver for BRLTTY +Group: System/Daemons +Requires: %{name} = %{version} +Supplements: (brltty and at-spi2-core) + +%description driver-at-spi2 +BRLTTY is a background process (daemon) which provides access to the +Linux/Unix console (when in text mode) for a blind person using a +refreshable braille display. It drives the braille display and provides +complete screen review functionality. + +This package contains the AT-SPI 2 screen driver. + +%package driver-brlapi +Summary: BrlAPI driver for BRLTTY +Group: System/Daemons +Requires: %{name} = %{version} +Supplements: (brltty and %{soname}) + +%description driver-brlapi +BRLTTY is a background process (daemon) which provides access to the +Linux/Unix console (when in text mode) for a blind person using a +refreshable braille display. It drives the braille display and provides +complete screen review functionality. + +This package contains the BrlAPI braille driver. + +%package driver-libbraille +Summary: Libbraille driver for BRLTTY +Group: System/Daemons +Requires: %{name} = %{version} +Supplements: (brltty and libbraille) + +%description driver-libbraille +BRLTTY is a background process (daemon) which provides access to the +Linux/Unix console (when in text mode) for a blind person using a +refreshable braille display. It drives the braille display and provides +complete screen review functionality. + +This package contains the libbraille braille driver. + +%package driver-espeak +Summary: ESpeak driver for BRLTTY +Group: System/Daemons +Requires: %{name} = %{version} +Supplements: (brltty and espeak-ng-compat) + +%description driver-espeak +BRLTTY is a background process (daemon) which provides access to the +Linux/Unix console (when in text mode) for a blind person using a +refreshable braille display. It drives the braille display and provides +complete screen review functionality. + +This package contains the eSpeak speech driver. + +%package driver-speech-dispatcher +Summary: Speech Dispatcher driver for BRLTTY +Group: System/Daemons +Requires: %{name} = %{version} +Supplements: (brltty and libspeechd2) + +%description driver-speech-dispatcher +BRLTTY is a background process (daemon) which provides access to the +Linux/Unix console (when in text mode) for a blind person using a +refreshable braille display. It drives the braille display and provides +complete screen review functionality. + +This package contains the Speech Dispatcher speech driver. + +%package driver-xwindow +Summary: XWindow driver for BRLTTY +Group: System/Daemons +Requires: %{name} = %{version} +Supplements: (brltty and xorg-x11-server) + +%description driver-xwindow +BRLTTY is a background process (daemon) which provides access to the +Linux/Unix console (when in text mode) for a blind person using a +refreshable braille display. It drives the braille display and provides +complete screen review functionality. + +This package contains the XWindow braille driver. + +%package udev-generic +Summary: BRLTTY Udev rules for braille devices that use a generic USB to serial adapter. +Group: System/Daemons +Requires: %{name} = %{version}-%{release} + +%description udev-generic +This package provides additional rules for managing BRLTTY via Udev. + +Install this package in order to support braille devices that use a generic USB to serial adapter. + +%package utils +Summary: Braille display driver for Linux/Unix +Group: System/Daemons +Requires: %{name} = %{version} + +%description utils +BRLTTY is a background process (daemon) which provides access to the +Linux/Unix console (when in text mode) for a blind person using a +refreshable braille display. It drives the braille display and provides +complete screen review functionality. + +This package contain various utilities related to BRLTTY. + +%package -n xbrlapi +Summary: X BrlAPI helper +Group: System/Daemons +Requires: %{name} = %{version} +Supplements: (%{soname} and xorg-x11-server) + +%description -n xbrlapi +The xbrlapi utility is a helper to have BrlAPI work on a X system. + +%package -n %{soname} +Summary: Library to use BRLTTY from applications +Group: System/Daemons +Requires(post): coreutils +#!BuildIgnore: group(brlapi) +Requires(post): group(brlapi) +Requires(post): util-linux +Recommends: %{name} + +%description -n %{soname} +BrlAPI is a service provided by the brltty daemon. + +Its purpose is to allow programmers to write applications that take +advantage of a braille terminal in order to deliver a blind user +suitable information for his/her specific needs. + +While an application communicates with the braille terminal, everything +brltty sends to the braille terminal in the application's console is +ignored, whereas each piece of data coming from the braille terminal is +sent to the application, rather than to brltty. + +%package -n brlapi-devel +Summary: Library to use BRLTTY from applications -- Development Files +Group: Development/Libraries/C and C++ +Requires: %{soname} = %{version} + +%description -n brlapi-devel +BrlAPI is a service provided by the brltty daemon. + +Its purpose is to allow programmers to write applications that take +advantage of a braille terminal in order to deliver a blind user +suitable information for his/her specific needs. + +While an application communicates with the braille terminal, everything +brltty sends to the braille terminal in the application's console is +ignored, whereas each piece of data coming from the braille terminal is +sent to the application, rather than to brltty. + +%package -n brlapi-java +Summary: Library to use BRLTTY from applications -- Java Bindings +Group: System/Daemons +Requires: java +Requires: jpackage-utils + +%description -n brlapi-java +BrlAPI is a service provided by the brltty daemon. + +Its purpose is to allow programmers to write applications that take +advantage of a braille terminal in order to deliver a blind user +suitable information for his/her specific needs. + +While an application communicates with the braille terminal, everything +brltty sends to the braille terminal in the application's console is +ignored, whereas each piece of data coming from the braille terminal is +sent to the application, rather than to brltty. + +%package -n ocaml-brlapi +Summary: Library to use BRLTTY from applications -- OCaml Bindings +Group: System/Daemons +Requires: ocaml + +%description -n ocaml-brlapi +BrlAPI is a service provided by the brltty daemon. + +Its purpose is to allow programmers to write applications that take +advantage of a braille terminal in order to deliver a blind user +suitable information for his/her specific needs. + +While an application communicates with the braille terminal, everything +brltty sends to the braille terminal in the application's console is +ignored, whereas each piece of data coming from the braille terminal is +sent to the application, rather than to brltty. + +%package -n python3-brlapi +Summary: Library to use BRLTTY from applications -- Python Bindings +Group: System/Daemons + +%description -n python3-brlapi +BrlAPI is a service provided by the brltty daemon. + +Its purpose is to allow programmers to write applications that take +advantage of a braille terminal in order to deliver a blind user +suitable information for his/her specific needs. + +While an application communicates with the braille terminal, everything +brltty sends to the braille terminal in the application's console is +ignored, whereas each piece of data coming from the braille terminal is +sent to the application, rather than to brltty. + +%package -n tcl-brlapi +Summary: Library to use BRLTTY from applications -- Tcl Bindings +Group: System/Daemons +Requires: tcl + +%description -n tcl-brlapi +BrlAPI is a service provided by the brltty daemon. + +Its purpose is to allow programmers to write applications that take +advantage of a braille terminal in order to deliver a blind user +suitable information for his/her specific needs. + +While an application communicates with the braille terminal, everything +brltty sends to the braille terminal in the application's console is +ignored, whereas each piece of data coming from the braille terminal is +sent to the application, rather than to brltty. + +%package -n system-user-brltty +Summary: System user and group named brltty +Group: System/Base +Requires(pre): group(pulse-access) +Requires(pre): group(root) +Requires(pre): group(tty) +Requires(pre): group(dialout) +Requires(pre): group(audio) +Requires(pre): group(input) +BuildArch: noarch +BuildRequires: sysuser-tools +%sysusers_requires + +%description -n system-user-brltty +System user for the Braille display driver for Linux/Unix + +%lang_package + +%prep +%autosetup -p1 + +%build +%sysusers_generate_pre Autostart/Systemd/sysusers system-user-brltty %{name}.conf +cp %{_sourcedir}/README.SUSE . +# Fix "wrong-file-end-of-line-encoding" rpmlint warning +sed -i 's/\r$//' Documents/Manual-BRLTTY/Portuguese/BRLTTY.txt + +modified="$(sed -n '/^----/n;s/ - .*$//;p;q' "%{_sourcedir}/%{name}.changes")" +DATE="\"$(date -d "${modified}" "+%%b %%e %%Y")\"" +TIME="\"$(date -d "${modified}" "+%%R")\"" +find . -type f -regex ".*\.c\|.*\.cpp\|.*\.h" -exec sed -i "s/__DATE__/${DATE}/g;s/__TIME__/${TIME}/g" {} + +for i in -I%{_libdir}/jvm/java/include{,/linux}; do + java_inc="$java_inc $i" +done +export PYTHON=/usr/bin/python3 +%configure CPPFLAGS="$java_inc" \ + --with-install-root="%{buildroot}" \ + --with-tables-directory=%{_datadir}/%{name} \ + --libexecdir=%_libexecdir \ + --disable-stripping +make -j1 # not parallel build safe + +%install +sed -i "s=/usr/libexec/brltty-systemd-wrapper=%_libexecdir/brltty-systemd-wrapper=" Autostart/Systemd/brltty@.service +make install install-systemd install-udev install-polkit DESTDIR="%buildroot" +%find_lang %{name} +sed -i "s/#api-parameters Auth=polkit/api-parameters Auth=polkit/" Documents/brltty.conf +install -D -m644 Documents/brltty.conf %{buildroot}%{_sysconfdir}/brltty.conf +# ghost brlapi.key +touch %{buildroot}%{_sysconfdir}/brlapi.key +# Don't include source files in binary package +rm -f %{buildroot}%{_libdir}/ocaml/brlapi/brlapi.{mli,cmxa} +rm %{buildroot}%{_libdir}/libbrlapi.a +rm %{buildroot}%{_libdir}/ocaml/brlapi/libbrlapi_stubs.a +rm %{buildroot}/etc/X11/Xsession.d/90xbrlapi # TODO: install this somewhere? +# fix missing executable bits +test ! -x %{buildroot}%{_bindir}/brltty-config.sh +chmod a+x %{buildroot}%{_bindir}/brltty-config.sh +# clean up the manuals: +rm Documents/Manual-*/*/{*.mk,Makefile*,*.sgml} +mv Documents/BrlAPIref/html Documents/BrlAPIref/BrlAPIref +# group all the documentation in a doc subdirectory: +find . \( -path ./doc -o -path ./Documents \) -prune -o \ + \( -name 'README*' -o -name '*.txt' -o -name '*.html' -o \ + -name '*.sgml' -o -name '*.patch' -o \ + \( -path './Bootdisks/*' -type f -perm /ugo=x \) \) -print | +while read file; do + mkdir -p doc/${file%/*} && cp -rp $file doc/$file || exit 1 +done + +# disable xbrlapi gdm autostart, there is already orca +rm -f %{buildroot}%{_datadir}/gdm/greeter/autostart/xbrlapi.desktop + +install -Dm0644 Autostart/AppStream/org.a11y.brltty.metainfo.xml \ + %{buildroot}%{_datadir}/metainfo/org.a11y.brltty.metainfo.xml + +%fdupes -s %{buildroot}%{_mandir} +%fdupes -s %{buildroot} + + # fix brp-tcl wrong location for Tcl files - This was fixed in the TCL 8.6.11 package + mkdir -p %{buildroot}%{tcl_sitearch} +%if %{pkg_vcmp tcl < 8.6.11} + mv %{buildroot}%{_libdir}/brlapi-%{api_version} %{buildroot}%{tcl_sitearch}/ +%else + # this move is possibly not needed at all anymore, but to keep the old layout, we do it + mv %{buildroot}%{_libdir}/tcl/brlapi-%{api_version} %{buildroot}%{tcl_sitearch}/ +%endif + +%pre -n system-user-brltty -f system-user-brltty.pre + +%post -n %{soname} +if [ ! -e %{_sysconfdir}/brlapi.key ]; then + mcookie > %{_sysconfdir}/brlapi.key + chgrp brlapi %{_sysconfdir}/brlapi.key + chmod 0640 %{_sysconfdir}/brlapi.key +fi +/sbin/ldconfig + +%postun -n %{soname} -p /sbin/ldconfig + +%pre +%if %{defined tmpfiles_create_package} +%tmpfiles_create_package %{name} %{buildroot}%{_tmpfilesdir}/%{name}.conf +%endif +%service_add_pre %{name}.path + +%post +%if ! %{defined tmpfiles_create_package} +%tmpfiles_create %{_tmpfilesdir}/%{name}.conf +%endif +%service_add_post %{name}.path + +# Remove any messages that could've been in place about the upgrade +rm -f %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something + +if [ -f /usr/bin/lsusb ]; then + lsusb 2>/dev/null |grep -q 0403:6001 + if [ $? -eq 0 ]; then + cat >> %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something << EOF + +WARNING: The SUSE brltty package no longer enables certain USB +refreshable Braille displays by default, and it appears that you may have +one of these displays attached. If so, then you may need to edit +%{_udevrulesdir}/90-brltty-device.rules. +If your device is a standard USB-to-serial converter, rather than a +refreshable Braille display, then you can ignore this message. +See /usr/share/doc/packages/brltty/README.SUSE for more information. + +EOF + fi +fi + +%preun +%service_del_preun %{name}.path + +%postun +%service_del_postun %{name}.path +# Remove the /var/adm updatemsg that was hand-created and thus not on filelist +rm -f %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something + +%files +%license LICENSE-LGPL +%doc README README.SUSE Documents/ChangeLog Documents/CONTRIBUTORS Documents/HISTORY Documents/README.Bluetooth Documents/TODO +%doc Documents/Manual-BRLTTY/English +%config(noreplace) %{_sysconfdir}/brltty.conf +%{_datadir}/brltty/ +%{_bindir}/brltty +%{_bindir}/brltty-clip +%{_bindir}/brltty-atb +%{_bindir}/brltty-cldr +%{_bindir}/brltty-config.sh +%{_bindir}/brltty-ctb +%{_bindir}/brltty-genkey +%{_bindir}/brltty-hid +%{_bindir}/brltty-ktb +%{_bindir}/brltty-lscmds +%{_bindir}/brltty-lsinc +%{_bindir}/brltty-mkuser +%{_bindir}/brltty-morse +%{_bindir}/brltty-prologue.bash +%{_bindir}/brltty-prologue.lua +%{_bindir}/brltty-prologue.tcl +%{_bindir}/brltty-prologue.sh +%{_bindir}/brltty-setcaps +%{_bindir}/brltty-trtxt +%{_bindir}/brltty-ttb +%{_bindir}/brltty-ttysize +%{_bindir}/brltty-tune +%{_bindir}/eutp +%dir %{_datadir}/metainfo +%{_datadir}/metainfo/org.a11y.%{name}.metainfo.xml +%{_datadir}/polkit-1/actions/org.a11y.brlapi.policy +%{_datadir}/polkit-1/rules.d/org.a11y.brlapi.rules +%{_libdir}/brltty/ +%{_libexecdir}/brltty/ +%{_mandir}/man1/brltty.1* +%{_mandir}/man1/eutp.1.gz +%{_tmpfilesdir}/%{name}.conf +%{_udevrulesdir}/90-%{name}-hid.rules +%{_udevrulesdir}/90-%{name}-uinput.rules +%{_udevrulesdir}/90-%{name}-usb-customized.rules +%{_unitdir}/%{name}.path +%{_unitdir}/%{name}@.path +%{_unitdir}/%{name}-device@.service +%{_unitdir}/%{name}@.service +%exclude %{_libdir}/brltty/libbrlttybba.so +%exclude %{_libdir}/brltty/libbrlttyblb.so +%exclude %{_libdir}/brltty/libbrlttybxw.so +%exclude %{_libdir}/brltty/libbrlttyses.so +%exclude %{_libdir}/brltty/libbrlttyssd.so +%exclude %{_libdir}/brltty/libbrlttyxa2.so +%ghost %{_localstatedir}/adm/update-messages/%{name}-%{version}-%{release}-something + +%files driver-at-spi2 +%{_libdir}/brltty/libbrlttyxa2.so + +%files driver-brlapi +%doc Drivers/Braille/BrlAPI/README +%{_libdir}/brltty/libbrlttybba.so + +%files driver-libbraille +%{_libdir}/brltty/libbrlttyblb.so + +%files driver-espeak +%doc Drivers/Speech/eSpeak/README +%{_libdir}/brltty/libbrlttyses.so + +%files driver-speech-dispatcher +%doc Drivers/Speech/SpeechDispatcher/README +%{_libdir}/brltty/libbrlttyssd.so + +%files driver-xwindow +%doc Drivers/Braille/XWindow/README +%{_libdir}/brltty/libbrlttybxw.so + +%files udev-generic +%{_udevrulesdir}/90-%{name}-usb-generic.rules + +%files utils +%{_bindir}/vstp +%{_mandir}/man1/vstp.1* + +%files -n xbrlapi +%{_bindir}/xbrlapi +%{_mandir}/man1/xbrlapi.1* + +%files -n %{soname} +%doc Documents/Manual-BrlAPI/ +%{_libdir}/libbrlapi.so.* +%ghost %{_sysconfdir}/brlapi.key + +%files -n brlapi-devel +%{_includedir}/brltty/ +%{_includedir}/brlapi*.h +%{_libdir}/libbrlapi.so +%{_libdir}/pkgconfig/brltty.pc +%doc %{_mandir}/man3/brlapi_* + +%files -n brlapi-java +%{_jnidir}/libbrlapi_java.so +%{_javadir}/brlapi.jar + +%files -n ocaml-brlapi +%{_libdir}/ocaml/brlapi/ +%{_libdir}/ocaml/stublibs/dllbrlapi_stubs.so* + +%files -n python3-brlapi +%{python3_sitearch}/brlapi.cpython*.so +%{python3_sitearch}/Brlapi-*.egg-info + +%files -n tcl-brlapi +%{tcl_sitearch}/brlapi-%{api_version}/ + +%files -n system-user-brltty +%{_sysusersdir}/%{name}.conf + +%files lang -f %{name}.lang +%doc Documents/Manual-BRLTTY/French +%doc Documents/Manual-BRLTTY/Portuguese + +%changelog