gnome-mag.spec revision 10759
18861N/A#
18861N/A# spec file for package gnome-mag
18861N/A#
18861N/A# Copyright (c) 2005 Sun Microsystems, Inc.
18861N/A# This file and all modifications and additions to the pristine
18861N/A# package are under the same license as the package itself.
18861N/A#
18861N/A# Owner: dermot
18861N/A#
18861N/AName: gnome-mag
18861N/ALicense: LGPL
18861N/AGroup: System/Libraries
18861N/AVersion: 0.14.5
18861N/ARelease: 201
18861N/ADistribution: Java Desktop System
18861N/AVendor: Sun Microsystems, Inc.
18861N/ASummary: GNOME magnifier
18861N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.14/%{name}-%{version}.tar.bz2
18861N/A#owner:dcarbery date:2007-06-07 type:bug bugzilla:445140
18861N/APatch1: gnome-mag-01-x11-build-error.diff
19067N/AURL: http://developer.gnome.org/projects/gap/
18861N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18861N/ADocdir: %{_defaultdocdir}/%{name}
18861N/AAutoreqprov: on
18861N/APrereq: /sbin/ldconfig
18861N/A
18861N/A%define gtk2_version 2.2.4
18861N/A%define libbonobo_version 2.4.0
18861N/A%define popt_version 1.6.4
18861N/A%define at_spi_version 1.5.4
18861N/A
18861N/A# Requirements
18861N/ABuildRequires: gtk2-devel >= %{gtk2_version}
19142N/ABuildRequires: libbonobo-devel >= %{libbonobo_version}
18861N/ABuildRequires: popt-devel >= %{popt_version}
18861N/ARequires: gtk2 >= %{gtk2_version}
18861N/ARequires: libbonobo >= %{libbonobo_version}
18861N/ARequires: at-spi >= %at_spi_version
18861N/A
18861N/A%description
18861N/Agnome-mag is a screen magnification service using Bonobo.
18861N/A
18862N/A%prep
18993N/A%setup -q
18993N/A%patch1 -p1
18862N/A
18861N/A%build
18861N/A%ifos linux
19126N/Aif [ -x /usr/bin/getconf ]; then
18861N/A CPUS=`getconf _NPROCESSORS_ONLN`
19126N/Afi
18861N/A%else
19142N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
18861N/A%endif
18861N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
18861N/A CPUS=1
18861N/Afi
18861N/A
18861N/Aautoconf
18861N/ACFLAGS="$RPM_OPT_FLAGS" \
18861N/A./configure --prefix=%{_prefix} \
18861N/A --sysconfdir=%{_sysconfdir} \
18861N/A --libdir=%{_libdir} \
18861N/A --bindir=%{_bindir} \
18861N/A --includedir=%{_includedir} \
18861N/A --mandir=%{_mandir}
18861N/Amake -j $CPUS
18861N/A
18861N/A%install
18861N/Amake DESTDIR=$RPM_BUILD_ROOT install
18861N/A#clean up unpackaged files
18861N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
18861N/A
18861N/A
18861N/A%clean
18861N/Arm -rf $RPM_BUILD_ROOT
18861N/A
18861N/A%post
18861N/A/sbin/ldconfig
18861N/A
18861N/A%postun
18861N/A/sbin/ldconfig
18861N/A
18861N/A%files
18861N/A%defattr(-,root,root)
18861N/A%{_bindir}/*
18861N/A%{_includedir}/gnome-mag-1.0/*/*
18861N/A%{_libdir}/*.so*
18861N/A%{_libdir}/bonobo/servers/GNOME_Magnifier.server
18861N/A%{_libdir}/pkgconfig/*.pc
18861N/A%{_datadir}/gnome-mag/*
18861N/A%{_datadir}/idl/gnome-mag-1.0/GNOME_Magnifier.idl
18861N/A%{_datadir}/locale/*/*/*
18861N/A%{_mandir}/man1/*
18861N/A
18861N/A%changelog
18861N/A* Thu Jun 07 2007 - damien.carbery@sun.com
18861N/A- Add patch 01-x11-build-error to fix #445140.
18861N/A* Wed Jun 06 2007 - damien.carbery@sun.com
18861N/A- Bump to 0.14.5.
18861N/A* Mon May 28 2007 - damien.carbery@sun.com
18861N/A- Bump to 0.14.4.
18861N/A* Sun Mar 11 2007 - damien.carbery@sun.com
18861N/A- Bump to 0.14.3.
18861N/A* Mon Mar 05 2007 - damien.carbery@sun.com
18861N/A- Bump to 0.14.2. Remove upstream patch, 01-uninstalled.pc.
18861N/A* Tue Jan 09 2007 - damien.carbery@sun.com
18861N/A- Bump to 0.14.1.
18861N/A* Sun Dec 17 2006 - damien.carbery@sun.com
18861N/A- Bump to 0.14.0.
18861N/A* Wed Jul 26 2006 - damien.carbery@sun.com
18861N/A- Bump to 0.13.1.
18861N/A* Tue Jul 25 2006 - damien.carbery@sun.com
18861N/A- Bump to 0.13.0.
18861N/A* Mon Mar 13 2006 - damien.carbery@sun.com
19067N/A- Bump to 0.12.4.
19067N/A* Tue Oct 11 2005 - damien.carbery@sun.com
18861N/A- Bump to 0.12.2
18861N/A* Thu May 12 2005 - bill.haneman@sun.com
18861N/A- Revved to 0.12.1, fixes #6199929. Removed obsolete g11n patch.
18861N/A* Fri Feb 04 2005 - bill.haneman@sun.com
18861N/A- Revved to 0.11.14, fixes bugzilla bug #166282 which should be a P2
18861N/A bugster bug.
18861N/A* Fri Jan 21 2005 - bill.haneman@sun.com
18861N/A Corrected dependencies - removed gnome-speech and gail dependencies,
18861N/A added at-spi dependency (for LoginHelper API) and popt dependency.
18861N/A* Wed Jan 19 2005 - bill.haneman@sun.com
18861N/A Revved to 0.11.13, fixes for 618662, 6217152, 6205225, 6199929.
19171N/A* Tue Dec 07 2004 - bill.haneman@sun.com
19488N/A Revved to 0.11.11, fixes for bugs 6192805, 6182499, 6182502.
* Fri Nov 19 2004 - damien.carbery@sun.com
- add --bindir=%{_bindir}, --libdir=%{_libdir} and --includedir=%{_includedir}
to configure opts.
* Fri Nov 05 2004 - bill.haneman@sun.com
- Revved to 0.11.10. Should improve bugtraq 5099413 further.
* Thu Oct 28 2004 - matt.keenan@sun.com
- Add magnifier.1 man page
* Wed Oct 06 2004 - bill.haneman@sun.com
- Removed patch, revved to 0.11.8. Partial fix for bugtraq 5099413.
* Mon Sep 20 2004 - bill.haneman@sun.com
- Added patch gnome-mag-02-damage-fix.diff for bugtraq 5099413.
* Tue Aug 31 2004 - bill.haneman@sun.com
- Revved to 0.11.7, gives readable SourceDisplay and TargetDisplay
params, and better debugging support for XDAMAGE.
* Tue Aug 31 2004 - bill.haneman@sun.com
- Revved to 0.11.5, to include LoginHelper support.
* Wed Aug 18 2004 - brian.cameron@sun.com
- removed --disable-gtk-doc since this isn't an option this module's
configure takes.
* Tue Aug 17 2004 - bill.haneman@sun.com
- Updated to version 0.11.4, to fix bug #5083109.
* Fri Jul 30 2004 - bill.haneman@sun.com
- Updated to version 0.11.3, which includes a fix for
the configure path to Damage and XFixes client libs,
which are in /usr/openwin/sfw/lib for some reason.
* Tue Jul 12 2004 - niall.power@sun.com
- fixed packaging up for rpm4
* Thu Jul 08 2004 - damien.donlon@sun.com
- Updated l10n content to gnome-mag-l10n-po-1.2.tar.bz2
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds
* Tue May 18 2004 - <laca@sun.com>
- add patch 01 (uninstalled.pc)
* Fri May 14 2004 - <padraig.obriain@sun.com>
- Bump to 0.11.2
* Wed May 12 2004 - damien.donlon@sun.com
- Updated l10n content to gnome-mag-l10n-po-1.1.tar.bz2
* Thu Apr 22 2004 - <padraig.obriain@sun.com>
- Bump to 0.11.1
* Wed Mar 31 2004 - brian.cameron@sun.com
- replace tar jxf with the more solaris friendly
bzcat piped through tar
* Mon Mar 29 2004 - damien.donlon@sun.com
- Adding gnome-mag-l10n-po-1.0.tar.bz2 l10n content
* Tue Mar 23 2004 - <padraig.obriain@sun.com>
- Bump to 0.10.10
* Wed Feb 25 2004 - damien.carbery@sun.com
- Created new spec file for gnome-mag