10139N/A#
10139N/A# spec file for package gnome-mag
10139N/A#
12113N/A# Copyright (c) 2008 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
10139N/A# package are under the same license as the package itself.
10139N/A#
17185N/A%define owner liyuan
10139N/A#
17177N/A
18603N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
17177N/A
10139N/AName: gnome-mag
19963N/ALicense: LGPL v2
10139N/AGroup: System/Libraries
19063N/AVersion: 0.16.2
10139N/ARelease: 201
10139N/ADistribution: Java Desktop System
18615N/AVendor: Gnome Community
10139N/ASummary: GNOME magnifier
18321N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.16/%{name}-%{version}.tar.bz2
11127N/A#owner:dcarbery date:2007-08-28 type:branding
19063N/APatch1: gnome-mag-01-no-xext-dependency.diff
18994N/A#owner:liyuan date:2010-09-25 type:bug doo:7131
19063N/APatch2: gnome-mag-02-display-env.diff
19010N/A#owner:liyuan date:2010-10-15 type:bug doo:17162
19063N/APatch3: gnome-mag-03-translate-region.diff
20865N/APatch4: gnome-mag-04-makefile.diff
10139N/AURL: http://developer.gnome.org/projects/gap/
10139N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
10139N/ADocdir: %{_defaultdocdir}/%{name}
10139N/AAutoreqprov: on
10139N/APrereq: /sbin/ldconfig
10139N/A
10139N/A%define gtk2_version 2.2.4
10139N/A%define libbonobo_version 2.4.0
10139N/A%define popt_version 1.6.4
10139N/A%define at_spi_version 1.5.4
10139N/A
10139N/A# Requirements
10139N/ABuildRequires: gtk2-devel >= %{gtk2_version}
10139N/ABuildRequires: libbonobo-devel >= %{libbonobo_version}
10139N/ABuildRequires: popt-devel >= %{popt_version}
10139N/ARequires: gtk2 >= %{gtk2_version}
10139N/ARequires: libbonobo >= %{libbonobo_version}
10139N/ARequires: at-spi >= %at_spi_version
10139N/A
10139N/A%description
10139N/Agnome-mag is a screen magnification service using Bonobo.
10139N/A
10139N/A%prep
10139N/A%setup -q
10759N/A%patch1 -p1
11123N/A%patch2 -p1
18447N/A%patch3 -p1
20865N/A%patch4 -p1
10139N/A
10139N/A%build
10139N/A%ifos linux
10139N/Aif [ -x /usr/bin/getconf ]; then
10139N/A CPUS=`getconf _NPROCESSORS_ONLN`
10139N/Afi
10139N/A%else
10139N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
10139N/A%endif
10139N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
10139N/A CPUS=1
10139N/Afi
10139N/A
16886N/Alibtoolize --force
13516N/Aaclocal $ACLOCAL_FLAGS -I m4
13516N/Aautomake
10139N/Aautoconf
10139N/ACFLAGS="$RPM_OPT_FLAGS" \
10139N/A./configure --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
10139N/A --libdir=%{_libdir} \
10139N/A --bindir=%{_bindir} \
10139N/A --includedir=%{_includedir} \
10139N/A --mandir=%{_mandir}
10139N/Amake -j $CPUS
10139N/A
10139N/A%install
10139N/Amake DESTDIR=$RPM_BUILD_ROOT install
10139N/A#clean up unpackaged files
10139N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
10139N/A
10139N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
10139N/A/sbin/ldconfig
10139N/A
10139N/A%postun
10139N/A/sbin/ldconfig
10139N/A
10139N/A%files
10139N/A%defattr(-,root,root)
10139N/A%{_bindir}/*
10139N/A%{_includedir}/gnome-mag-1.0/*/*
10139N/A%{_libdir}/*.so*
10139N/A%{_libdir}/bonobo/servers/GNOME_Magnifier.server
10139N/A%{_libdir}/pkgconfig/*.pc
10139N/A%{_datadir}/gnome-mag/*
10139N/A%{_datadir}/idl/gnome-mag-1.0/GNOME_Magnifier.idl
10139N/A%{_datadir}/locale/*/*/*
10139N/A%{_mandir}/man1/*
10139N/A
10139N/A%changelog
19963N/A* Thu Jan 20 2011 - lee.yuan@oracle.com
19963N/A- Fix license to LGPLv2.
19063N/A* Tue Oct 26 2010 - brian.cameron@oracle.com
19063N/A- Bump to 0.16.2.
19010N/A* Fri Oct 15 2010 - lee.yuan@oracle.com
19010N/A- Add gnome-mag-05-translate-region.diff.
18994N/A* Sat Sep 25 2010 - lee.yuan@oracle.com
18994N/A- Add gnome-mag-04-display-env.diff.
18447N/A* Fri Mar 12 2010 - christian.kelly@sun.com
18447N/A- Add gnome-mag-03-enable-deprecated.diff.
18303N/A* Mon Feb 15 2010 - christian.kelly@sun.com
18303N/A- Bump to 0.16.0.
17408N/A* Wed Sep 23 2009 - dave.lin@sun.com
17408N/A- Bump to 0.15.9
17075N/A* Fri Aug 21 2009 - li.yuan@sun.com
17075N/A- Change owner to liyuan.
16907N/A* Tue Jul 28 2009 - christian.kelly@sun.com
16907N/A- Bump to 0.15.8.
16886N/A* Mon Jul 27 2009 - christian.kelly@sun.com
16886N/A- Bump to 0.15.7.
16379N/A* Wed Apr 15 2009 - dave.lin@sun.com
16379N/A- Bump to 0.15.6
16149N/A* Fri Mar 13 2009 - dave.lin@sun.com
16149N/A- Bump to 0.15.5
14542N/A* Sat Sep 27 2008 - christian.kelly@sun.com
14542N/A- Bump to 0.15.4.
14114N/A* Tue Sep 02 2008 - christian.kelly@sun.com
14114N/A- Bump to 0.15.3.
13764N/A* Tue Aug 05 2008 - damien.carbery@sun.com
13764N/A- Bump to 0.15.2.
13516N/A* Tue Jul 08 2008 - damien.carbery@sun.com
13516N/A- Call aclocal/automake to pick up modified intltool.m4.
13509N/A* Mon Jun 07 2008 - Christian.Kelly@Sun.Com
13509N/A- Bump to 0.15.1.
12113N/A* Thu Jan 03 2007 - damien.carbery@sun.com
12113N/A- Bump to 0.15.0.
11250N/A* Tue Sep 18 2007 - damien.carbery@sun.com
11250N/A- Bump to 0.14.10.
11230N/A* Tue Sep 11 2007 - damien.carbery@sun.com
11230N/A- Bump to 0.14.9.
11123N/A* Tue Aug 28 2007 - damien.carbery@sun.com
11127N/A- Add patch, 02-no-xext-dependency, to remove the xext dependency from
11127N/A configure.in. This module is not on Solaris and gnome-mag builds without it.
11127N/A* Tue Aug 28 2007 - damien.carbery@sun.com
11123N/A- Bump to 0.14.8.
11115N/A* Mon Aug 27 2007 - damien.carbery@sun.com
11115N/A- Bump to 0.14.7. Remove upstream patch, 02-pkg-config.
11080N/A* Thu Aug 16 2007 - damien.carbery@sun.com
11080N/A- Add patch 02-pkg-config to fix #467320, reorder two lines in .pc.in file.
10818N/A* Tue Jun 19 2007 - damien.carbery@sun.com
10818N/A- Bump to 0.14.6.
10759N/A* Thu Jun 07 2007 - damien.carbery@sun.com
10759N/A- Add patch 01-x11-build-error to fix #445140.
10746N/A* Wed Jun 06 2007 - damien.carbery@sun.com
10746N/A- Bump to 0.14.5.
10691N/A* Mon May 28 2007 - damien.carbery@sun.com
10691N/A- Bump to 0.14.4.
10258N/A* Sun Mar 11 2007 - damien.carbery@sun.com
10258N/A- Bump to 0.14.3.
10183N/A* Mon Mar 05 2007 - damien.carbery@sun.com
10183N/A- Bump to 0.14.2. Remove upstream patch, 01-uninstalled.pc.
10139N/A* Tue Jan 09 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.14.1.
10139N/A* Sun Dec 17 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.14.0.
10139N/A* Wed Jul 26 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.13.1.
10139N/A* Tue Jul 25 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.13.0.
10139N/A* Mon Mar 13 2006 - damien.carbery@sun.com
10139N/A- Bump to 0.12.4.
10139N/A* Tue Oct 11 2005 - damien.carbery@sun.com
10139N/A- Bump to 0.12.2
10139N/A* Thu May 12 2005 - bill.haneman@sun.com
10139N/A- Revved to 0.12.1, fixes #6199929. Removed obsolete g11n patch.
10139N/A* Fri Feb 04 2005 - bill.haneman@sun.com
10139N/A- Revved to 0.11.14, fixes bugzilla bug #166282 which should be a P2
10139N/A bugster bug.
10139N/A* Fri Jan 21 2005 - bill.haneman@sun.com
10139N/A Corrected dependencies - removed gnome-speech and gail dependencies,
10139N/A added at-spi dependency (for LoginHelper API) and popt dependency.
10139N/A* Wed Jan 19 2005 - bill.haneman@sun.com
10139N/A Revved to 0.11.13, fixes for 618662, 6217152, 6205225, 6199929.
10139N/A* Tue Dec 07 2004 - bill.haneman@sun.com
10139N/A Revved to 0.11.11, fixes for bugs 6192805, 6182499, 6182502.
10139N/A* Fri Nov 19 2004 - damien.carbery@sun.com
10139N/A- add --bindir=%{_bindir}, --libdir=%{_libdir} and --includedir=%{_includedir}
10139N/A to configure opts.
10139N/A* Fri Nov 05 2004 - bill.haneman@sun.com
10139N/A- Revved to 0.11.10. Should improve bugtraq 5099413 further.
10139N/A* Thu Oct 28 2004 - matt.keenan@sun.com
10139N/A- Add magnifier.1 man page
10139N/A* Wed Oct 06 2004 - bill.haneman@sun.com
10139N/A- Removed patch, revved to 0.11.8. Partial fix for bugtraq 5099413.
10139N/A* Mon Sep 20 2004 - bill.haneman@sun.com
10139N/A- Added patch gnome-mag-02-damage-fix.diff for bugtraq 5099413.
10139N/A* Tue Aug 31 2004 - bill.haneman@sun.com
10139N/A- Revved to 0.11.7, gives readable SourceDisplay and TargetDisplay
10139N/A params, and better debugging support for XDAMAGE.
10139N/A* Tue Aug 31 2004 - bill.haneman@sun.com
10139N/A- Revved to 0.11.5, to include LoginHelper support.
10139N/A* Wed Aug 18 2004 - brian.cameron@sun.com
10139N/A- removed --disable-gtk-doc since this isn't an option this module's
10139N/A configure takes.
10139N/A* Tue Aug 17 2004 - bill.haneman@sun.com
10139N/A- Updated to version 0.11.4, to fix bug #5083109.
10139N/A* Fri Jul 30 2004 - bill.haneman@sun.com
10139N/A- Updated to version 0.11.3, which includes a fix for
10139N/A the configure path to Damage and XFixes client libs,
10139N/A which are in /usr/openwin/sfw/lib for some reason.
10139N/A* Tue Jul 12 2004 - niall.power@sun.com
10139N/A- fixed packaging up for rpm4
10139N/A* Thu Jul 08 2004 - damien.donlon@sun.com
10139N/A- Updated l10n content to gnome-mag-l10n-po-1.2.tar.bz2
10139N/A* Wed Jul 07 2004 - dermot.mccluskey@sun.com
10139N/A- added "-j $CPUS" to make to speed up builds
10139N/A* Tue May 18 2004 - <laca@sun.com>
10139N/A- add patch 01 (uninstalled.pc)
10139N/A* Fri May 14 2004 - <padraig.obriain@sun.com>
10139N/A- Bump to 0.11.2
10139N/A* Wed May 12 2004 - damien.donlon@sun.com
10139N/A- Updated l10n content to gnome-mag-l10n-po-1.1.tar.bz2
10139N/A* Thu Apr 22 2004 - <padraig.obriain@sun.com>
10139N/A- Bump to 0.11.1
10139N/A* Wed Mar 31 2004 - brian.cameron@sun.com
10139N/A- replace tar jxf with the more solaris friendly
10139N/A bzcat piped through tar
10139N/A* Mon Mar 29 2004 - damien.donlon@sun.com
10139N/A- Adding gnome-mag-l10n-po-1.0.tar.bz2 l10n content
10139N/A* Tue Mar 23 2004 - <padraig.obriain@sun.com>
10139N/A- Bump to 0.10.10
10139N/A* Wed Feb 25 2004 - damien.carbery@sun.com
10139N/A- Created new spec file for gnome-mag