File gnopernicus.spec of Package gnopernicus
#
# spec file for package gnopernicus (Version 1.1.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: gnopernicus
BuildRequires: at-spi-devel fdupes gail-devel gnome-common gnome-desktop-devel gnome-mag-devel gnome-speech-devel gtk-doc intltool libglade2-devel libgnomeui-devel libidl perl-XML-Parser scrollkeeper update-desktop-files
License: LGPL v2.1 or later
Group: System/GUI/GNOME
Version: 1.1.2
Release: 188
Summary: Assistive Technologies for Blind and Visually Impaired Users of the GNOME Desktop
Source: %{name}-%{version}.tar.bz2
Url: http://www.baum.ro/gnopernicus.html
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# FIXME: For correct directory ownership (applet seems to not link with gnome-panel):
Requires: gnome-panel
Requires: %{name}-lang = %{version}
BuildRequires: gnome-panel
%gconf_schemas_prereq
%description
The gnopernicus project enables users with limited vision or no vision
to use the GNOME 2 desktop and GNOME/GTK+-2 applications effectively.
By providing automated focus tracking and fullscreen magnification,
Gnopernicus aids low-vision GNOME users. Its screen reader features
allow low-vision and blind users access to standard GTK+2 and
Java-based GUI applications via speech and Braille output. By
leveraging GNOME 2's built-in accessibility framework, Gnopernicus
makes interacting with applications more efficient for these users and
enables use of the GNOME 2 desktop for some users who otherwise would
have no access to GNOME.
Authors:
--------
Adriana Iobb <ai@baum.de>
Draghi Puterity <mp@baum.de>
Pal Csongor Sprencz <ps@baum.ro>
Iuliu Szijjarto <is@baum.ro>
Remus Draica <rd@baum.ro>
Adi Dascal <ad@baum.ro>
%package devel
Summary: Assistive Technologies for Blind and Visually Impaired Users of the GNOME Desktop
Group: System/GUI/GNOME
Requires: %{name} = %{version} at-spi-devel gtk2-devel libglade2-devel libgnome-devel libgnomeui-devel libxml2-devel gail-devel gnome-mag gnome-speech-devel
%description devel
The gnopernicus project enables users with limited vision or no vision
to use the GNOME 2 desktop and GNOME/GTK+-2 applications effectively.
By providing automated focus tracking and fullscreen magnification,
Gnopernicus aids low-vision GNOME users and its screen reader features
allow low-vision and blind users access to standard GTK+2 and
Java-based GUI applications via speech and Braille output. By
leveraging GNOME 2's built-in accessibility framework, Gnopernicus
makes interacting with applications more efficient for these users and
enables use of the GNOME 2 desktop for some users who otherwise would
have no access to GNOME.
Authors:
--------
Adriana Iobb <ai@baum.de>
Draghi Puterity <mp@baum.de>
Pal Csongor Sprencz <ps@baum.ro>
Iuliu Szijjarto <is@baum.ro>
Remus Draica <rd@baum.ro>
Adi Dascal <ad@baum.ro>
%lang_package
%prep
%setup -q
%build
%{?suse_update_config:%{suse_update_config -f}}
# needed for gnopernicus-1.1.2:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
# FIXME: enable brltty support
# FIXME: --disable-scrollkeeper is not implemented
%configure\
--libexecdir=%{_prefix}/lib/gnome-panel\
--disable-scrollkeeper
make %{?jobs:-j%jobs}
%install
%makeinstall
# FIXME: --disable-scrollkeeper is not implemented
rm -r $RPM_BUILD_ROOT%{_localstatedir}/scrollkeeper
%suse_update_desktop_file -N Gnopernicus -G "Screen Reader and Magnifier" %name Utility Accessibility
%find_lang %{name}
%find_lang brlmonitor
%find_gconf_schemas
cat brlmonitor.lang >> %{name}.lang
cat %{name}.schemas_list >%{name}.lst
rm $RPM_BUILD_ROOT%{_libdir}/*/*.*a
%fdupes $RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%pre -f %{name}.schemas_pre
%post
/sbin/ldconfig
%posttrans -f %{name}.schemas_posttrans
%preun -f %{name}.schemas_preun
%postun
/sbin/ldconfig
%files -f %{name}.lst
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_datadir}/applications/*.desktop
%{_datadir}/gnopernicus
%{_datadir}/icons/hicolor/48x48/apps/gnopernicus.png
%{_datadir}/omf/gnopernicus
%{_bindir}/*
%{_libdir}/gnopernicus-1.0
%{_prefix}/lib/gnome-panel/*
%{_sysconfdir}/gnopernicus-1.0
%files lang -f %{name}.lang
%files devel
%defattr(-,root,root)
%{_libdir}/pkgconfig/*.pc
%{_includedir}/gnopernicus-1.0
%changelog
* Thu Mar 06 2008 maw@suse.de
- Don't run autoreconf.
* Thu Oct 11 2007 sbrabec@suse.cz
- Removed bogus dependency on mDNSResponder.
* Wed Aug 08 2007 maw@suse.de
- Use %%fdupes
- Split off a -lang subpackage
- s#%%run_ldconfig#/sbin/ldconfig/ in %%post and %%postun.
* Fri May 11 2007 pgajdos@suse.cz
- removed gnome-icon-theme from BuildRequires and Requires
[#247449]
* Fri Apr 27 2007 sbrabec@suse.cz
- Do not call meinproc (#227624).
* Thu Mar 08 2007 sbrabec@suse.cz
- Removed obsolete hicolor icon symlink (#248676).
* Wed Jan 03 2007 sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Thu Sep 21 2006 jhargadon@suse.de
- update to version 1.1.2
- translation updates
* Tue Aug 15 2006 sbrabec@suse.cz
- Updated to version 1.1.1:
* Speech:
* Report selection across paragraphs.
* added presentation for spread sheet cells and paragraphs
* reworked presentation for combos
* shutup speech when a key is pressed
* changed keyboard library
* Magnifier:
* Reduce the number of gnome-mag calls.
* Start gnopernicus in the "source" screen if magnifier is on.
* changed presentation for paragraphs
* zoomer boundaries clamped to screen boundaries
* do not assume that source and target have same size
* when source changes, move UI to the new source.
* Braille:
* added French braille table
* added braille tty support
* send text to brltty, this way it decides what to display
* Navigation:
* Improve the goto first/last navigation in flat review.
* Tue May 09 2006 lmichnovic@suse.cz
- fixed use of uninitialized variable [#159101] based on upstream patch
* Mon Feb 27 2006 sbrabec@suse.cz
- Added kdelibs3-doc to BuildRequires (for meinproc, #153635).
* Sat Feb 25 2006 aj@suse.de
- Reduce BuildRequires.
* Sat Feb 18 2006 sreeves@suse.de
- Update .desktop file (Name, GenericName, Comment, DocPath)
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Jan 18 2006 sbrabec@suse.cz
- Updated to version 1.0.0.
* Thu Oct 13 2005 gekker@suse.de
- Update to version 0.11.7
* Mon Sep 05 2005 gekker@suse.de
- Update to version 0.11.6 (GNOME 2.12).
* Thu Aug 11 2005 gekker@suse.de
- Update to version 0.11.4
* Tue Aug 02 2005 gekker@suse.de
- Update to version 0.11.3
- Split out -devel subpackage
* Fri Jul 22 2005 gekker@suse.de
- Update to version 0.11.2
* Tue Jun 21 2005 gekker@suse.de
- Update to version 0.11.1
* Thu Mar 10 2005 gekker@suse.de
- Update to 0.10.4 (GNOME 2.10).
* Mon Mar 07 2005 ro@suse.de
- fix build on lib64
* Fri Mar 04 2005 gekker@suse.de
- Update version to 0.10.3
* Fri Feb 11 2005 gekker@suse.de
- Updated to 0.10.1
- Remove upstreamed patch
* Fri Jan 14 2005 clahey@suse.de
- Updated to 0.10.0.
* Fri Nov 19 2004 ro@suse.de
- removed extra aclocal include directive
* Mon Nov 08 2004 ro@suse.de
- make it build with current intltool
* Tue Nov 02 2004 ro@suse.de
- locale rename: no -> nb
* Fri Sep 10 2004 ro@suse.de
- added shared-mime-info to neededforbuild
* Fri Aug 27 2004 clahey@suse.de
- Cache gnopernicus help and show gnopernicus in khelpcenter.
* Thu May 13 2004 clahey@suse.de
- Added brlmonitor.schemas.
* Tue May 11 2004 sbrabec@suse.cz
- List schemas files in file list explicitly to ensure %%post completness
(cosmetical change).
* Fri May 07 2004 sbrabec@suse.cz
- Updated to version 0.9.1 (GNOME 2.6).
* Wed Mar 31 2004 adrian@suse.de
- add Categories
* Mon Mar 22 2004 ke@suse.de
- brlmonitor-C-omf.diff: Fix omf file [# 36655].
* Wed Mar 17 2004 hhetter@suse.de
- Fixed scrollkeeper calling conventions (#36215)
* Wed Mar 10 2004 sbrabec@suse.cz
- Fixed gconf schemas installation (#33114).
* Thu Feb 12 2004 hhetter@suse.de
- gconf schema (de-)installation in %%post and %%postun
* Tue Feb 10 2004 hhetter@suse.de
- initial SUSE package