95 lines
2.8 KiB
RPMSpec
95 lines
2.8 KiB
RPMSpec
#
|
|
# spec file for package orca
|
|
#
|
|
# Copyright (c) 2025 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/
|
|
#
|
|
|
|
|
|
%global __requires_exclude typelib\\(Wnck\\)
|
|
|
|
Name: orca
|
|
Version: 48.6
|
|
Release: 0
|
|
Summary: Screen reader for GNOME
|
|
License: LGPL-2.1-or-later
|
|
Group: System/GUI/GNOME
|
|
URL: https://wiki.gnome.org/Projects/Orca
|
|
Source0: %{name}-%{version}.tar.zst
|
|
# PATCH-FIX-UPSTREAM orca-large-set-oom.patch mgorse@suse.com -- fix possible out-of-memory when presenting gtk 4 list items.
|
|
Patch0: orca-large-set-oom.patch
|
|
|
|
BuildRequires: fdupes
|
|
BuildRequires: gobject-introspection
|
|
BuildRequires: hicolor-icon-theme
|
|
BuildRequires: liblouis-devel
|
|
BuildRequires: meson
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: python-rpm-macros
|
|
BuildRequires: python3-base >= 3.3
|
|
BuildRequires: python3-brlapi >= 0.5.1
|
|
BuildRequires: python3-gobject >= 3.18
|
|
BuildRequires: python3-louis
|
|
BuildRequires: python3-speechd
|
|
BuildRequires: yelp-tools
|
|
BuildRequires: pkgconfig(atk-bridge-2.0) >= 2.50.0
|
|
BuildRequires: pkgconfig(atspi-2) >= 2.2.50.0
|
|
BuildRequires: pkgconfig(gtk+-3.0) >= 3.24.0
|
|
BuildRequires: pkgconfig(pygobject-3.0) >= 3.18
|
|
# the gsettings tool is used to know if a11y is enabled
|
|
Requires: glib2-tools
|
|
Requires: python3-brlapi
|
|
Requires: python3-gobject
|
|
Requires: python3-gobject-Gdk
|
|
Requires: python3-louis
|
|
Requires: python3-speechd
|
|
Recommends: brltty >= 3.9
|
|
Recommends: typelib(Wnck) = 3.0
|
|
BuildArch: noarch
|
|
|
|
%description
|
|
Orca is an extensible screen reader that provides access to the
|
|
graphical desktop via user-customizable combinations of speech,
|
|
braille, and/or magnification.
|
|
|
|
%lang_package
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
%meson
|
|
%meson_build
|
|
|
|
%install
|
|
%meson_install
|
|
%find_lang %{name} %{?no_lang_C}
|
|
%fdupes %{buildroot}%{python3_sitelib}
|
|
%fdupes %{buildroot}%{_datadir}
|
|
%python3_fix_shebang
|
|
|
|
%files
|
|
%license COPYING
|
|
%doc AUTHORS ChangeLog MAINTAINERS NEWS TODO
|
|
%doc %{_datadir}/help/C/%{name}/
|
|
%{_bindir}/orca
|
|
%{_sysconfdir}/xdg/autostart/orca-autostart.desktop
|
|
%{_datadir}/icons/hicolor/*/apps/orca*
|
|
%{_datadir}/orca/
|
|
%{_mandir}/man1/orca.1%{?ext_man}
|
|
%{python3_sitelib}/orca/
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%changelog
|