gnome-mag.spec revision 10183
10139N/A#
10139N/A# spec file for package gnome-mag
10139N/A#
10139N/A# Copyright (c) 2005 Sun Microsystems, Inc.
10139N/A# This file and all modifications and additions to the pristine
15942N/A# package are under the same license as the package itself.
10139N/A#
10139N/A# Owner: dermot
10139N/A#
17185N/AName: gnome-mag
10139N/ALicense: LGPL
10139N/AGroup: System/Libraries
10139N/AVersion: 0.14.2
10139N/ARelease: 201
10139N/ADistribution: Java Desktop System
18584N/AVendor: Sun Microsystems, Inc.
18584N/ASummary: GNOME magnifier
18584N/ASource: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.14/%{name}-%{version}.tar.bz2
18584N/AURL: http://developer.gnome.org/projects/gap/
18584N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
18584N/ADocdir: %{_defaultdocdir}/%{name}
18584N/AAutoreqprov: on
18584N/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
18688N/ABuildRequires: gtk2-devel >= %{gtk2_version}
18688N/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
12739N/A
19097N/A%description
10139N/Agnome-mag is a screen magnification service using Bonobo.
10139N/A
10139N/A%prep
19142N/A%setup -q
16401N/A
10139N/A%build
13552N/A%ifos linux
16125N/Aif [ -x /usr/bin/getconf ]; then
18993N/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
18993N/A CPUS=1
18594N/Afi
10139N/A
10139N/Aautoconf
10139N/ACFLAGS="$RPM_OPT_FLAGS" \
10139N/A./configure --prefix=%{_prefix} \
10139N/A --sysconfdir=%{_sysconfdir} \
13442N/A --libdir=%{_libdir} \
18618N/A --bindir=%{_bindir} \
17284N/A --includedir=%{_includedir} \
18993N/A --mandir=%{_mandir}
19832N/Amake -j $CPUS
16401N/A
10139N/A%install
10139N/Amake DESTDIR=$RPM_BUILD_ROOT install
10139N/A#clean up unpackaged files
16526N/Arm $RPM_BUILD_ROOT%{_libdir}/*.la
16526N/A
16526N/A
10139N/A%clean
10139N/Arm -rf $RPM_BUILD_ROOT
10139N/A
10139N/A%post
18594N/A/sbin/ldconfig
10139N/A
10139N/A%postun
10139N/A/sbin/ldconfig
10139N/A
13442N/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/*
18618N/A%{_datadir}/idl/gnome-mag-1.0/GNOME_Magnifier.idl
16307N/A%{_datadir}/locale/*/*/*
17284N/A%{_mandir}/man1/*
10139N/A
10139N/A%changelog
10139N/A* Mon Mar 05 2007 - damien.carbery@sun.com
10139N/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.
19142N/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.
19142N/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.
19126N/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
19126N/A bugster bug.
10139N/A* Fri Jan 21 2005 - bill.haneman@sun.com
19142N/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
18584N/A- add --bindir=%{_bindir}, --libdir=%{_libdir} and --includedir=%{_includedir}
18584N/A to configure opts.
18584N/A* Fri Nov 05 2004 - bill.haneman@sun.com
18584N/A- Revved to 0.11.10. Should improve bugtraq 5099413 further.
18584N/A* Thu Oct 28 2004 - matt.keenan@sun.com
18584N/A- Add magnifier.1 man page
18584N/A* Wed Oct 06 2004 - bill.haneman@sun.com
18584N/A- Removed patch, revved to 0.11.8. Partial fix for bugtraq 5099413.
18584N/A* Mon Sep 20 2004 - bill.haneman@sun.com
18584N/A- Added patch gnome-mag-02-damage-fix.diff for bugtraq 5099413.
18584N/A* Tue Aug 31 2004 - bill.haneman@sun.com
18584N/A- Revved to 0.11.7, gives readable SourceDisplay and TargetDisplay
18584N/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
15694N/A configure takes.
15694N/A* Tue Aug 17 2004 - bill.haneman@sun.com
15694N/A- Updated to version 0.11.4, to fix bug #5083109.
15694N/A* Fri Jul 30 2004 - bill.haneman@sun.com
15694N/A- Updated to version 0.11.3, which includes a fix for
15694N/A the configure path to Damage and XFixes client libs,
18584N/A which are in /usr/openwin/sfw/lib for some reason.
18584N/A* Tue Jul 12 2004 - niall.power@sun.com
18710N/A- fixed packaging up for rpm4
18710N/A* Thu Jul 08 2004 - damien.donlon@sun.com
18710N/A- Updated l10n content to gnome-mag-l10n-po-1.2.tar.bz2
18710N/A* Wed Jul 07 2004 - dermot.mccluskey@sun.com
18710N/A- added "-j $CPUS" to make to speed up builds
18710N/A* Tue May 18 2004 - <laca@sun.com>
18584N/A- add patch 01 (uninstalled.pc)
18710N/A* Fri May 14 2004 - <padraig.obriain@sun.com>
18710N/A- Bump to 0.11.2
18584N/A* Wed May 12 2004 - damien.donlon@sun.com
10139N/A- Updated l10n content to gnome-mag-l10n-po-1.1.tar.bz2
18617N/A* Thu Apr 22 2004 - <padraig.obriain@sun.com>
10139N/A- Bump to 0.11.1
18584N/A* Wed Mar 31 2004 - brian.cameron@sun.com
10139N/A- replace tar jxf with the more solaris friendly
18584N/A bzcat piped through tar
19026N/A* Mon Mar 29 2004 - damien.donlon@sun.com
18617N/A- Adding gnome-mag-l10n-po-1.0.tar.bz2 l10n content
18584N/A* Tue Mar 23 2004 - <padraig.obriain@sun.com>
18584N/A- Bump to 0.10.10
18584N/A* Wed Feb 25 2004 - damien.carbery@sun.com
18584N/A- Created new spec file for gnome-mag
18584N/A