at-spi.spec revision 10604
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott#
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott# spec file for package at-spi
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott#
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott# Copyright (c) 2005 Sun Microsystems, Inc.
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott# This file and all modifications and additions to the pristine
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott# package are under the same license as the package itself.
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott#
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott# Owner: padraig
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert Wapshott#
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert WapshottName: at-spi
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert WapshottLicense: LGPL
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert WapshottGroup: System/Libraries
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert WapshottVersion: 1.19.1
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert WapshottRelease: 1
eaf6de42255b7dab8d5531d29fffc299b3aaddd4Robert WapshottDistribution: Java Desktop System
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsVendor: Sun Microsystems, Inc.
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsSummary: Assistive Technology Service Provider Interface
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsSource: http://ftp.gnome.org/pub/GNOME/sources/at-spi/1.19/%{name}-%{version}.tar.bz2
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken StubbingsURL: http://developer.gnome.org/projects/gap/
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsBuildRoot: %{_tmppath}/%{name}-%{version}-build
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsDocdir: %{_defaultdocdir}/%{name}
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsAutoreqprov: on
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsPrereq: /sbin/ldconfig
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshott
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbings%define gtk2_version 2.4.0
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbings%define libbonobo_version 2.6.0
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbings%define atk_version 1.7.2
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbings%define gail_version 1.6.3
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbings
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsBuildRequires: gtk2-devel >= %{gtk2_version}
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsBuildRequires: libbonobo-devel >= %{libbonobo_version}
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsBuildRequires: gail-devel >= %{gail_version}
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsRequires: gtk2 >= %{gtk2_version}
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsRequires: libbonobo >= %{libbonobo_version}
79153694f3d5870db134bf807c876eb3940b5f3aRobert WapshottRequires: gail >= %{gail_version}
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshott
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshott%description
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshottat-spi allows assistive technologies to access GTK-based
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshottapplications. Essentially it exposes the internals of applications for
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshottautomation, so tools such as screen readers, magnifiers, or even
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshottscripting interfaces can query and interact with GUI controls.
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshott
79153694f3d5870db134bf807c876eb3940b5f3aRobert Wapshott%package devel
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsSummary: Assistive Technology Service Provider Developer Interface
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsGroup: Development/Libraries/GNOME
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsRequires: %{name} = %{version}
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsRequires: libbonobo-devel >= %{libbonobo_version}
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken StubbingsRequires: atk-devel >= %{atk_version}
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbings
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbings%description devel
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbingsat-spi allows assistive technologies to access GTK-based
9e257788c96e27128e1ac9f7de72256f0da6b0fdKen Stubbingsapplications. Essentially it exposes the internals of applications for
9e257788c96e27128e1ac9f7de72256f0da6b0fdKen Stubbingsautomation, so tools such as screen readers, magnifiers, or even
9e257788c96e27128e1ac9f7de72256f0da6b0fdKen Stubbingsscripting interfaces can query and interact with GUI controls.
9e257788c96e27128e1ac9f7de72256f0da6b0fdKen Stubbings
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbings%prep
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbings%setup -q
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbings
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbings
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbings%build
9e257788c96e27128e1ac9f7de72256f0da6b0fdKen Stubbings%ifos linux
b76e85d5549ba6fc5535ec2a590bad9443bb14d8Ken Stubbingsif [ -x /usr/bin/getconf ]; then
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbings CPUS=`getconf _NPROCESSORS_ONLN`
4ae3c3faf53b9b7f0c4e8375d0a3cdf3846ef6c0Ken Stubbingsfi
%else
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
%endif
if test "x$CPUS" = "x" -o $CPUS = 0; then
CPUS=1
fi
aclocal $ACLOCAL_FLAGS
automake -a -c -f
autoconf
CFLAGS="$RPM_OPT_FLAGS" \
./configure --prefix=%{_prefix} \
--sysconfdir=%{_sysconfdir} \
--mandir=%{_mandir} \
--libexecdir=%{_libexecdir} \
%{gtk_doc_option}
make -j $CPUS
%install
make DESTDIR=$RPM_BUILD_ROOT install
rm $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/modules/*.la
rm $RPM_BUILD_ROOT%{_libdir}/orbit-2.0/*.la
rm $RPM_BUILD_ROOT%{_libdir}/*.la
%clean
rm -rf $RPM_BUILD_ROOT
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libspi*.so.*
%{_libdir}/libcspi*.so.*
%{_libdir}/libloginhelper*.so.*
%{_libdir}/gtk-2.0/modules/*.so
%{_libdir}/bonobo/servers/*.server
%{_libdir}/orbit-2.0/*.so
%{_libexecdir}/at-spi-registryd
%{_datadir}/locale/*
%files devel
%defattr(-, root, root)
%{_includedir}/at-spi-1.0/cspi/*.h
%{_includedir}/at-spi-1.0/libspi/*.h
%{_includedir}/at-spi-1.0/login-helper/*.h
%{_libdir}/pkgconfig/*.pc
%{_datadir}/gtk-doc/html
%{_datadir}/idl
%{_libdir}/libspi*.so
%{_libdir}/libcspi*.so
%{_libdir}/libloginhelper*.so
%{_mandir}/man3/*
%changelog
* Thu May 10 2007 - damien.carbery@sun.com
- Bump to 1.19.1.
* Thu Apr 12 2007 - damien.carbery@sun.com
- Bump to 1.18.1.
* Mon Mar 12 2007 - damien.carbery@sun.com
- Bump to 1.18.0.
* Mon Mar 05 2007 - damien.carbery@sun.com
- Bump to 1.17.2.
* Wed Feb 28 2007 - li.yuan@sun.com
- Remove upstream patch, at-spi-01-get-attributes-crash.diff
* Tue Feb 13 2007 - damien.carbery@sun.com
- Bump to 1.17.0.
* Mon Jan 22 2007 - damien.carbery@sun.com
- Bump to 1.7.16.
* Mon Jan 08 2007 - damien.carbery@sun.com
- Bump to 1.7.15.
* Tue Dec 19 2006 - damien.carbery@sun.com
- Bump to 1.7.14. Remove upstream patch, at-spi-01-fix-leak.diff.
* Fri Dec 08 2006 - damien.carbery@sun.com
- Bump to 1.7.13.
* Fri Nov 10 2006 - padraig.obriain@sun.com
- Remove patch 01-define-symbols.diff; move patch 02-fix-leak.diff to
01-fix-leak.diff
* Fri Nov 3 2006 - laca@sun.com
- use %gtk_doc_option in configure so that it can be disabled using
--without-gtk-doc
* Wed Oct 11 2006 - padraig.obriain@sun.com
- Add patch 02-fix-leak to fix bug 6457388
* Mon Oct 02 2006 - damien.carbery@sun.com
- Bump to 1.7.12.
* Tue Aug 22 2006 - damien.carbery@sun.com
- Bump to 1.7.11.
* Tue Jul 25 2006 - damien.carbery@sun.com
- Bump to 1.7.10.
* Wed Jul 19 2006 - dermot.mccluskey@sun.com
- Bump to 1.7.9
* Mon Apr 01 2006 - padraig.obriain@sun.com
- Add patch 01-define-symbols so that gok builds.
* Fri Mar 31 2006 - damien.carbery@sun.com
- Bump to 1.7.7.
* Tue Feb 28 2006 - damien.carbery@sun.com
- Bump to 1.7.6.
* Thu Feb 23 2006 - damien.carbery@sun.com
- Remove 'make clean' hack as 1.7.5 tarball fixed the issue.
* Tue Feb 21 2006 - damien.carbery@sun.com
- Bump to 1.7.5.
* Thu Feb 16 2006 - brian.cameron@sun.com
- Add "make clean" hack to ensure that the bonobo
registry server file is built with the right
sysconfdir.
* Tue Jan 31 2006 - damien.carbery@sun.com
- Bump to 1.7.4.
* Tue Jan 31 2006 - damien.carbery@sun.com
- Bump to 1.7.3.
* Fri Jan 20 2006 - damien.carbery@sun.com
- Bump to 1.7.2.
* Thu Sep 08 2005 - damien.carbery@sun.com
- Bump to 1.6.6.
* Mon Sep 05 2005 - damien.carbery@sun.com
- Bump to 1.6.5.
* Tue Aug 23 2005 - damien.carbery@sun.com
- Move CFLAGS setting as it was useless in original location.
* Tue Jun 14 2005 - brian.cameron@sun.com
- Added aclocal/automake/autoconf, needed for Solaris build.
* Mon May 16 2005 - balamurali.viswanathan@wipro.com
- Bump to 1.6.4
* Mon May 16 2005 - balamurali.viswanathan@wipro.com
- Bump to 1.6.3
* Tue Apr 5 2005 - bill.haneman@sun.com
- Added patch at-spi-01-leakfix.diff to fix leak in bounds-change events.
* Thu Dec 9 2004 - bill.haneman@sun.com
- Revved to 1.6.2, to get fixes for 6192693, 6205004, others.
* Wed Sep 1 2004 - bill.haneman@sun.com
- Bumped to version 1.5.4, to include fixes for
- activation issues with DISPLAY env, and gnopernicus
- dependencies.
* Tue Aug 31 2004 - bill.haneman@sun.com
- Removed patch since #5088625 has been fixed, and
- the patch is incompatible with the fix.
* Wed Aug 18 2004 - bill.haneman@sun.com
- added patch from Padraig to work around P1/S2 bug #5088625.
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds
* Fri Jun 11 2004 - dermot.mccluskey@sun.com
- add login-helper headers and lib to %files
* Wed Jun 02 2004 - <padraig.obriain@sun.com>
- Bump version to 1.5.2
* Fri Apr 30 2004 - <padraig.obriain@sun.com>
- Bump version to 1.5.1
* Tue Mar 23 2004 - <brian.cameron@sun.com>
- Remove "patch -p1" from the %prep section since
the patch was removed, and this is causing an
error on Solaris build.
* Tue Mar 23 2004 - <padraig.obriain@sun.com>
- Bump version to 1.4.0, remove reference to
at-spi-01-uninstalled-idldir.diff
* Mon Mar 22 2004 - <laca@sun.com>
- backport idldir fix in uninstalled.pc files from HEAD
* Tue Mar 16 2004 - <glynn.foster@sun.com>
- Remove the uninstalled-pc patch as it's
upstream now.
* Thu Mar 11 2004 - <damien.carbery@sun.com>
- Reset release to 1.
* Wed Mar 10 2004 - <damien.carbery@sun.com>
- Bump to 1.3.15
* Mon Feb 23 2004 - damien.carbery@sun.com
- Add '--libexecdir=%{_libexecdir}' to install files to correct dir on Solaris.
* Wed Feb 18 2004 - matt.keenan@sun.com
- tarball upgrade to 1.3.12, add manpages, update %files
* Wed Dec 16 2003 - glynn.foster@sun.com
- tarball upgrade to 1.3.9
* Fri Oct 10 2003 - Laszlo.Kovacs@sun.com
- tarball upgrade
* Thu Aug 14 2003 - <laca@sun.com>
- move *.so to -devel, remove *.a and *.al
* Thu May 08 2003 - ghee.teo@Sun.COM
- Created new spec file for at-spi