orca/orca.spec

102 lines
2.9 KiB
RPMSpec

#
# spec file for package orca
#
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: orca
Version: 3.18.0
Release: 0
Summary: Screen reader for GNOME
License: LGPL-2.1+
Group: System/GUI/GNOME
Url: http://www.gnome.org/
Source: http://download.gnome.org/sources/orca/3.18/%{name}-%{version}.tar.xz
BuildRequires: fdupes
BuildRequires: gobject-introspection
BuildRequires: hicolor-icon-theme
BuildRequires: intltool
BuildRequires: liblouis-devel
BuildRequires: python >= 3.3
BuildRequires: python3-louis
BuildRequires: python3-speechd
BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files
BuildRequires: yelp-tools
BuildRequires: pkgconfig(atk-bridge-2.0) >= 2.10
BuildRequires: pkgconfig(atspi-2) >= 2.10
BuildRequires: pkgconfig(pygobject-3.0) >= 3.10
# the gsettings tool is used to know if a11y is enabled
Requires: glib2-tools
# pyatspi is a virtual name that is provided by the default at-spi stack
Requires: brltty
Requires: py3atspi
Requires: python3-brlapi
Requires: python3-gobject
Requires: python3-louis
Requires: python3-speechd
Requires: typelib-1_0-Wnck-3_0
Recommends: %{name}-lang
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%py_requires
%description
Orca is a free, open source, flexible, and extensible screen reader
that provides access to the graphical desktop via user-customizable
combinations of speech, braille, and/or magnification.
%lang_package
%prep
%setup -q
translation-update-upstream
%build
%configure
make %{?_smp_mflags}
%install
%makeinstall
%suse_update_desktop_file orca
%suse_update_desktop_file orca-autostart
%find_lang %{name} %{?no_lang_C}
%fdupes %{buildroot}
%clean
rm -rf %{buildroot}
%post
%desktop_database_post
%icon_theme_cache_post
%postun
%desktop_database_postun
%icon_theme_cache_postun
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%doc %{_datadir}/help/C/%{name}/
%{_bindir}/orca
%{_sysconfdir}/xdg/autostart/orca-autostart.desktop
%{_datadir}/applications/orca.desktop
%{_datadir}/icons/hicolor/*/apps/orca*
%{_datadir}/orca/
%{_mandir}/man1/orca.1%{?ext_man}
%{python3_sitelib}/orca/
%files lang -f %{name}.lang
%changelog