orca/orca.spec

107 lines
3.1 KiB
RPMSpec
Raw Normal View History

#
# spec file for package orca (Version 2.29.92)
#
# Copyright (c) 2010 SUSE LINUX Products 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/
#
# norootforbuild
Name: orca
BuildRequires: at-spi-devel
BuildRequires: dbus-1-python-devel
BuildRequires: fdupes
BuildRequires: glib2-devel
BuildRequires: gnome-common
BuildRequires: gnome-mag-devel
BuildRequires: gnome-speech-devel
BuildRequires: intltool
BuildRequires: liblouis-devel
BuildRequires: python
BuildRequires: python-atspi
BuildRequires: python-louis
BuildRequires: python-gnome-devel
BuildRequires: python-gtk-devel
BuildRequires: update-desktop-files
Version: 2.29.92
Release: 1
Url: http://www.gnome.org/
Group: System/GUI/GNOME
License: LGPLv2.1+
Summary: Screen reader for GNOME
Source: %{name}-%{version}.tar.bz2
# PATCH-NEEDS-REBASE orca-bgo550717-brld.patch bgo550717
Patch: orca-bgo550717-brld.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Recommends: gnome-mag
Recommends: gnome-speech
Requires: dbus-1-python
Requires: python-atspi
Requires: python-louis
Requires: python-gnome
Requires: python-gstreamer-0_10
Requires: python-gtk
# Needed only when orca-bgo550717-brld.patch is rebased
#Requires: sbl
Requires: %{name}-lang = %{version}
%if %suse_version <= 1110
%define python_sitearch %{py_sitedir}
%endif
%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. Under
development by the Sun Microsystems, Inc., Accessibility Program Office
since 2004, Orca has been created with early input from and continued
engagement with its end users. In fact, the user interface designer
for Orca is also a user.
%lang_package
%prep
%setup
# need rebase
#%patch0 -p1
%build
#autoreconf -f -i
# FIXME: enable brltty support
%configure
make %{?jobs:-j%jobs}
%install
%makeinstall
%suse_update_desktop_file orca GNOME Lockdown X-SuSE-ControlCenter-LookAndFeel
%find_lang %{name}
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/orca
%{_datadir}/applications/orca.desktop
%{_datadir}/icons/hicolor/*/apps/orca.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/orca
%{_datadir}/man/man1/orca.1.gz
%{python_sitearch}/orca
%files lang -f %{name}.lang
%changelog