gnome-mag.spec revision 18615
10139N/A#
10139N/A# spec file for package gnome-mag
10139N/A#
12197N/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#
10139N/A%define owner liyuan
10139N/A#
10139N/A
10139N/A%define OSR LFI#105446 (gnome Exec. summary):n/a
10139N/A
13419N/AName: gnome-mag
10139N/ALicense: LGPL
10139N/AGroup: System/Libraries
10139N/AVersion: 0.16.1
10139N/ARelease: 201
13324N/ADistribution: Java Desktop System
10139N/AVendor: Gnome Community
10139N/ASummary: GNOME magnifier
13539N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.16/%{name}-%{version}.tar.bz2
13539N/A#owner:dcarbery date:2007-06-07 type:bug bugzilla:444137,444138
10139N/APatch1: gnome-mag-01-x11-build-error.diff
10139N/A#owner:dcarbery date:2007-08-28 type:branding
10139N/APatch2: gnome-mag-02-no-xext-dependency.diff
10139N/A#owner:chrisk date:2010-03-12 type:bug
10139N/APatch3: gnome-mag-03-enable-deprecated.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
10139N/A%patch1 -p1
10139N/A%patch2 -p1
10139N/A%patch3 -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
10139N/Alibtoolize --force
13539N/Aaclocal $ACLOCAL_FLAGS -I m4
10139N/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
12889N/A* Fri Mar 12 2010 - christian.kelly@sun.com
12889N/A- Add gnome-mag-03-enable-deprecated.diff.
10139N/A* Mon Feb 15 2010 - christian.kelly@sun.com
10139N/A- Bump to 0.16.0.
10139N/A* Wed Sep 23 2009 - dave.lin@sun.com
10139N/A- Bump to 0.15.9
10139N/A* Fri Aug 21 2009 - li.yuan@sun.com
10139N/A- Change owner to liyuan.
10139N/A* Tue Jul 28 2009 - christian.kelly@sun.com
10139N/A- Bump to 0.15.8.
10139N/A* Mon Jul 27 2009 - christian.kelly@sun.com
10139N/A- Bump to 0.15.7.
10139N/A* Wed Apr 15 2009 - dave.lin@sun.com
10139N/A- Bump to 0.15.6
10139N/A* Fri Mar 13 2009 - dave.lin@sun.com
10139N/A- Bump to 0.15.5
10139N/A* Sat Sep 27 2008 - christian.kelly@sun.com
10139N/A- Bump to 0.15.4.
10139N/A* Tue Sep 02 2008 - christian.kelly@sun.com
10139N/A- Bump to 0.15.3.
10139N/A* Tue Aug 05 2008 - damien.carbery@sun.com
10139N/A- Bump to 0.15.2.
10139N/A* Tue Jul 08 2008 - damien.carbery@sun.com
10139N/A- Call aclocal/automake to pick up modified intltool.m4.
10139N/A* Mon Jun 07 2008 - Christian.Kelly@Sun.Com
10139N/A- Bump to 0.15.1.
10139N/A* Thu Jan 03 2007 - damien.carbery@sun.com
10139N/A- Bump to 0.15.0.
10139N/A* Tue Sep 18 2007 - damien.carbery@sun.com
13539N/A- Bump to 0.14.10.
13539N/A* Tue Sep 11 2007 - damien.carbery@sun.com
13419N/A- Bump to 0.14.9.
13421N/A* Tue Aug 28 2007 - damien.carbery@sun.com
13324N/A- Add patch, 02-no-xext-dependency, to remove the xext dependency from
13324N/A configure.in. This module is not on Solaris and gnome-mag builds without it.
12889N/A* Tue Aug 28 2007 - damien.carbery@sun.com
12889N/A- Bump to 0.14.8.
12825N/A* Mon Aug 27 2007 - damien.carbery@sun.com
12825N/A- Bump to 0.14.7. Remove upstream patch, 02-pkg-config.
12616N/A* Thu Aug 16 2007 - damien.carbery@sun.com
12616N/A- Add patch 02-pkg-config to fix #467320, reorder two lines in .pc.in file.
12571N/A* Tue Jun 19 2007 - damien.carbery@sun.com
12574N/A- Bump to 0.14.6.
12574N/A* Thu Jun 07 2007 - damien.carbery@sun.com
12571N/A- Add patch 01-x11-build-error to fix #445140.
12467N/A* Wed Jun 06 2007 - damien.carbery@sun.com
12467N/A- Bump to 0.14.5.
12370N/A* Mon May 28 2007 - damien.carbery@sun.com
12370N/A- Bump to 0.14.4.
12281N/A* Sun Mar 11 2007 - damien.carbery@sun.com
12281N/A- Bump to 0.14.3.
12197N/A* Mon Mar 05 2007 - damien.carbery@sun.com
12197N/A- Bump to 0.14.2. Remove upstream patch, 01-uninstalled.pc.
11416N/A* Tue Jan 09 2007 - damien.carbery@sun.com
11416N/A- Bump to 0.14.1.
11273N/A* Sun Dec 17 2006 - damien.carbery@sun.com
11273N/A- Bump to 0.14.0.
10973N/A* Wed Jul 26 2006 - damien.carbery@sun.com
10973N/A- Bump to 0.13.1.
10823N/A* Tue Jul 25 2006 - damien.carbery@sun.com
10823N/A- Bump to 0.13.0.
10295N/A* Mon Mar 13 2006 - damien.carbery@sun.com
10296N/A- Bump to 0.12.4.
10295N/A* Tue Oct 11 2005 - damien.carbery@sun.com
10295N/A- Bump to 0.12.2
10295N/A* Thu May 12 2005 - bill.haneman@sun.com
10199N/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
10139N/A