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