eog.spec revision 12217
826N/A#
826N/A# spec file for package eog
826N/A#
826N/A# Copyright (c) 2008 Sun Microsystems, Inc.
826N/A# This file and all modifications and additions to the pristine
826N/A# package are under the same license as the package itself.
826N/A#
826N/A# Owner: rickju
826N/A#
826N/A%include l10n.inc
826N/AName: eog
826N/ALicense: GPL
826N/AGroup: System/GUI/GNOME
826N/AVersion: 2.21.4
826N/ARelease: 1
826N/ADistribution: Java Desktop System
826N/AVendor: Sun Microsystems, Inc.
826N/ASummary: Eye Of GNOME Image Viewer
873N/ASource: http://ftp.gnome.org/pub/GNOME/sources/eog/2.21/eog-%{version}.tar.bz2
826N/A%if %build_l10n
826N/ASource1: %{name}-po-sun-%{po_sun_version}.tar.bz2
826N/A%endif
826N/A# date:2006-06-06 owner:gman type:branding
826N/APatch1: eog-01-menu-entry.diff
3231N/A# date:2007-11-22 owner:mattman type:bug bugster:6536622 bugzilla:498989
5613N/APatch2: eog-02-threads.diff
826N/AURL: http://www.gnome.org
5613N/ABuildRoot: %{_tmppath}/%{name}-%{version}-build
826N/ADocdir: %{_defaultdocdir}/doc
826N/AAutoreqprov: on
961N/A
961N/A%define libgnomeui_version 2.5.90
961N/A%define libgnomeprintui_version 2.6.0
961N/A%define scrollkeeper_version 0.3.12
826N/A%define eel_version 2.5.90
961N/A
961N/ARequires: libgnomeui >= %{libgnomeui_version}
5613N/ARequires: libgnomeprintui >= %{libgnomeprintui_version}
826N/ARequires: eel > %{eel_version}
5613N/APrereq: GConf
5613N/ABuildRequires: libgnomeui-devel >= %{libgnomeui_version}
961N/ABuildRequires: libgnomeprintui-devel >= %{libgnomeprintui_version}
961N/ABuildRequires: eel-devel >= %{eel_version}
961N/ABuildRequires: scrollkeeper >= %{scrollkeeper_version}
961N/ABuildRequires: intltool
961N/A
961N/A%description
1878N/AThe "Eye of GNOME" is a very fast picture viewer, which can either be used as a
1878N/Aplugin for Nautilus, or as a standalone application. This version of EOG is
1878N/Acompiled for the GNOME 2.0 Desktop platform.
1878N/A
1878N/A%prep
1878N/A%setup -q
1878N/A%if %build_l10n
1878N/Abzcat %SOURCE1 | tar xf -
1878N/Acd po-sun; make; cd ..
1878N/A%endif
961N/A%patch1 -p1
961N/A%patch2 -p1
961N/A
826N/Afor po in po/*.po; do
961N/A dos2unix -ascii $po $po
961N/Adone
961N/A
961N/A
961N/A%build
961N/A%ifos linux
961N/Aif [ -3 /usr/bin/getconf ]; then
961N/A CPUS=`getconf _NPROCESSORS_ONLN`
961N/Afi
961N/A%else
961N/A CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
961N/A%endif
826N/Aif test "x$CPUS" = "x" -o $CPUS = 0; then
826N/A CPUS=1
826N/Afi
961N/A
961N/Agnome-doc-common
961N/Alibtoolize --force
961N/Aglib-gettextize -f
961N/Aintltoolize --force --copy
961N/Aaclocal $ACLOCAL_FLAGS
961N/Aautomake -a -c -f
826N/Aautoconf
826N/A
826N/ACFLAGS="$RPM_OPT_FLAGS" \
961N/A./configure --prefix=%{_prefix} \
961N/A --sysconfdir=%{_sysconfdir} \
961N/A --libexecdir=%{_libexecdir} \
826N/A --disable-scrollkeeper \
826N/A --without-lcms
826N/Amake -j $CPUS
826N/A
826N/A%install
826N/Arm -rf $RPM_BUILD_ROOT
826N/Aexport GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
826N/Amake DESTDIR=$RPM_BUILD_ROOT install
826N/Aunset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
961N/A#Copy zh_HK from zh_TW
826N/A#Fixes bug 4930405
826N/Ainstall -d $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES
961N/Ainstall --mode=0644 $RPM_BUILD_ROOT%{_datadir}/locale/zh_TW/LC_MESSAGES/*.mo $RPM_BUILD_ROOT%{_datadir}/locale/zh_HK/LC_MESSAGES/
961N/Achmod 644 $RPM_BUILD_ROOT%{_datadir}/gnome/help/eog/*/*.xml
5613N/A
961N/A
5613N/A%clean
3906N/Arm -rf $RPM_BUILD_ROOT
961N/A
5613N/A%post
961N/Aexport GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
961N/ASCHEMAS="eog.schemas"
961N/Afor S in $SCHEMAS; do
961N/A gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >/dev/null
961N/Adone
961N/A
961N/A%files
961N/A%defattr (-, root, root)
961N/A%{_bindir}/*
961N/A%{_sysconfdir}/gconf/schemas/eog.schemas
961N/A%{_datadir}/applications/eog.desktop
5613N/A%{_datadir}/eog/*
961N/A%{_datadir}/gnome/help/*
961N/A%{_datadir}/locale/*/LC_MESSAGES/*.mo
%{_datadir}/omf/eog/*
%{_datadir}/pixmaps/*
%{_datadir}/man/man1/*
%{_prefix}/var/scrollkeeper
%changelog
* Thu Jan 17 2007 - damien.carbery@sun.com
- Bump to 2.21.4.
* Tue Dec 18 2007 - damien.carbery@sun.com
- Bump to 2.21.3.
* Tue Dec 04 2007 - damien.carbery@sun.com
- Bump to 2.21.2.
* Thu Nov 22 2007 - matt.keenan@sun.com
- Add Patch 02-threads.diff resolves bugs 6536622/498989
* Tue Oct 30 2007 - damien.carbery@sun.com
- Bump to 2.21.1.
* Fri Oct 19 2007 - damien.carbery@sun.com
- Bump to 2.20.1.
* Tue Sep 18 2007 - damien.carbery@sun.com
- Bump to 2.20.0.
* Tue Sep 04 2007 - damien.carbery@sun.com
- Bump to 2.19.92.
* Tue Aug 28 2007 - damien.carbery@sun.com
- Bump to 2.19.91.
* Wed Aug 15 2007 - damien.carbery@sun.com
- Bump to 2.19.5.
* Tue Jul 10 2007 - damien.carbery@sun.com
- Bump to 2.19.4.
* Wed Jun 06 2007 - damien.carbery@sun.com
- Bump to 2.19.3. Remove upstream patch, 02-sys-time.
* Wed May 16 2007 - damien.carbery@sun.com
- Bump to 2.19.2.
* Thu May 10 2007 - damien.carbery@sun.com
- Bump to 2.19.1. Add patch, 02-sys-time, to fix build issue where sys/time.h
not included unless included at top of source file.
* Thu Apr 29 2007 - rick.ju@sun.com
- remove the upstreamed patch eog-01-full-screen-show.diff
* Thu Apr 12 2007 - damien.carbery@sun.com
- Bump to 2.18.1.
* Wed Apr 04 2007 - darren.kenny@sun.com
- Wrapped Source1 in a %if %build_l10n
* Tue Mar 13 2007 - damien.carbery@sun.com
- Bump to 2.18.0.1.
* Mon Mar 12 2007 - damien.carbery@sun.com
- Bump to 2.18.0.
* Tue Mar 06 2005 - damien.carbery@sun.com
- Bump to 2.17.92.
* Tue Feb 13 2007 - takao.fujiwara@sun.com
- Add l10n tarball.
* Tue Feb 13 2007 - damien.carbery@sun.com
- Bump to 2.17.91.
* Tue Feb 06 2007 - matt.keenan@sun.com
- Remove patch eog-02-jpeg.diff, linker patch no longer needed
* Tue Jan 23 2007 - damien.carbery@sun.com
- Bump to 2.17.90.
* Tue Jan 09 2007 - damien.carbery@sun.com
- Bump to 2.17.4.
* Tue Dec 19 2006 - damien.carbery@sun.com
- Bump to 2.17.3.
* Tue Dec 05 2006 - damien.carbery@sun.com
- Bump to 2.17.2.
* Mon Nov 20 2006 - damien.carbery@sun.com
- Bump to 2.17.1.
* Fri Oct 20 2006 - damien.carbery@sun.com
- Bump to 2.16.1.1.
* Mon Oct 02 2006 - damien.carbery@sun.com
- Bump to 2.16.1.
* Mon Sep 04 2006 - damien.carbery@sun.com
- Bump to 2.16.0.1.
* Mon Sep 04 2006 - damien.carbery@sun.com
- Bump to 2.16.0.
* Tue Aug 22 2006 - damien.carbery@sun.com
- Bump to 2.15.92.
* Tue Aug 08 2006 - damien.carbery@sun.com
- Bump to 2.15.91.
* Thu Jul 27 2006 - damien.carbery@sun.com
- Add dos2unix call to fix po files.
* Mon Jul 24 2006 - damien.carbery@sun.com
- Bump to 2.15.90.
* Fri Jul 21 2006 - laca@sun.com
- add --without-lcms to avoid accidentally picking up liblcms (part of
spec-files-extra), fixes 6425540
* Web Jul 19 2006 - dermot.mccluskey@sun.com
- Bump to 2.15.4.
* Tue Apr 11 2006 - damien.carbery@sun.com
- Bump to 2.14.1.
* Tue Mar 14 2006 - damien.carbery@sun.com
- Bump to 2.14.0.
* Sun Mar 5 2006 - damien.carbery@sun.com
- Bump to 2.13.92.
* Wed Feb 15 2006 - damien.carbery@sun.com
- Bump to 2.13.91.
* Thu Jan 19 2006 - damien.carbery@sun.com
- Running glib-gettextize is a better fix than patching the Makefile to
not go into the po directory. This fixes infinite loop also.
* Wed Jan 18 2006 - damien.carbery@sun.com
- Add intltoolize call.
* Tue Jan 17 2006 - glynn.foster@sun.com
- Bump to 2.13.5
* Sun Jan 15 2006 - damien.carbery@sun.com
- Bump to 2.13.4
* Tue Dec 20 2005 - dermot.mccluskey@sun.com
- Bump to 2.13.3
* Tue Nov 29 2005 - laca.com
- remove javahelp stuff
* Tue Nov 29 2005 - damien.carbery@sun.com
- Bump to 2.12.2.
* Tue Oct 11 2005 - damien.carbery@sun.com
- Bump to 2.12.1
* Mon Oct 03 2005 - damien.carbery@sun.com
- Add patch to link with X11 to build on Solaris. Bugzilla 317828.
* Sat Sep 17 2005 - glynn.foster@sun.com
- Bump to 2.12.0
* Mon Sep 05 2005 - damien.carbery@sun.com
- Bump to 2.11.92.
* Mon Aug 15 2005 - damien.carbery@sun.com
- Bump to 2.11.90.
* Thu Aug 04 2005 - laca@sun.com
- removed patch image-save-as.diff, fix now in gnome-vfs
* Thu Jun 23 2005 - arvind.samptur@wipro.com
- Fix files getting deleted when doing a save as. Fixes #6288517
* Thu May 19 2005 - glynn.foster@sun.com
- Bump to 2.10.0
* Fri May 05 2005 - kieran.colfer@sun.com
- updating l10n po tarball to 1.15. Fixing CR 6265841
* Mon Mar 21 2005 - srirama.sharma@wipro.com
- Added eog-06-full-screen-show.diff to see that gtk_grab_add is
done only when no other widget holds the grab.
Fixes bug #6238888.
* Mon Mar 07 2005 - damien.carbery@sun.com
* 6233036: Add Source6 to specify Linux version of docs tarball.
* Thu Mar 03 2005 - srirama.sharma@wipro.com
- Added eog-05-multihead-functionality.diff to
make eog functional on a multihead system.
Fixes bug #4893502.
* Tue Feb 22 2005 - damien.carbery@sun.com
* Correct name of docs tarball.
* Mon Feb 21 2005 - damien.carbery@sun.com
- Correct commit of Jan 25 to update docs tarball to 0.4.
* Tue Feb 08 2005 - srirama.sharma@wipro.com
- Updated eog-02-print-preview.diff to see that the print-preview window
does not diminish in size when invoked multiple times. Fixes bug #6221186.
* Tue Jan 25 2005 - damien.carbery@sun.com
- Update docs with Linux specific tarball from maeve.anslow@sun.com.
* Fri Jan 14 2005 - kazuhiko.maekawa@sun.com
- Updated l10n help tarball for cinnabar-linux
* Wed Dec 22 2004 - takao.fujiwara@sun.com
- Added eog-04-g11n-i18n-ui.diff to localize eog printer dialog.
Fix bug 6174164
* Wed Aug 25 2004 - Kazuhiko.Maekawa@sun.com
- Added l10n help contents with patch
* Mon Aug 16 2004 - shirley.woo@sun.com
- Updated /usr/share/gnome/help/eog/*/*.xml to 0644 for Solaris integration
* Thu Aug 05 2004 - damien.carbery@sun.com
- Incorporate new docs tarball from breda.mccolgan@sun.com.
* Thu Jul 08 2004 - damien.donlon@sun.com
- Updated l10n content to eog-l10n-po-1.2.tar.bz2
* Wed Jul 07 2004 - dermot.mccluskey@sun.com
- added "-j $CPUS" to make to speed up builds
* Thu Jun 10 2004 - vijaykumar.patwari@wipro.com
- Added patch for print preview.
* Fri May 28 2004 - damien.carbery@sun.com
- Incorporate new docs tarball from breda.mccolgan@sun.com.
* Thu May 13 2004 - narayana.pattipati@wipro.com
- Added patch eog-01-image-collection-viewer.diff to provide viewer_label
for Image Collection Viewer. Fixes bugtraq bug#5043908. Also the changes
have been committed to community CVS HEAD on May 12 2004
(bugzilla bug#142347)
* Wed May 12 2004 - damien.donlon@sun.com
- Updated l10n content to eog-l10n-po-1.1.tar.bz2
* Fri May 07 2004 - matt.keenan@sun.com
- Bump to 2.6.1
* Sun Apr 18 2004 - laca@sun.com
- enable javahelp conversion on Solaris
* Fri Apr 09 2004 - brian.cameron@sun.com
- Change the way the build directory is cleaned so that eog and
gthumb can be built into the same Solaris package.
* Tue Apr 06 2004 - glynn.foster@sun.com
- Bump to 2.6.0
* Thu Apr 01 2004 - matt.keenan@sun.com
- Javahelp conversion
* Mon Mar 29 2004 - damien.donlon@sun.com
- Updated l10n content to eog-l10n-po-1.0.tar.bz2
* Mon Mar 01 2004 - <laca@sun.com>
- add $ACLOCAL_FLAGS to aclocal args
* Fri Feb 06 2004 - <matt.keenan@sun.com>
- Bump tarball to 2.5.4 because of intltool (OrigTree) Failures
- Remove patch1 and patch2 no longer needed
- bump l10n release
* Thu Jan 29 2004 - <dermot.mccluskey@sun.com>
- add patch 02 for intltool-merge and dep. on intltool
* Wed Dec 17 2003 - <glynn.foster@sun.com>
- Bump to 2.5.1
* Fri Oct 31 2003 - <glynn.foster@sun.com>
- Remove potfiles patch [not needed] and Sun Support
keyword patch, since we're no longer using the Extras
menu.
- Update to 2.4.0
* Fri Oct 10 2003 - <laca@sun.com>
- Update to 2.4.0
* Fri Sep 26 2003 - <laca@sun.com>
- Integrate Sun docs
* Fri Aug 07 2003 - <glynn.foster@sun.com>
- Add mnemonics to some menu items.
* Fri Aug 01 2003 - <glynn.foster@sun.com>
- Add recent files support
* Wed Jul 30 2003 - <glynn.foster@sun.com>
- New tarball
* Mon Jul 28 2003 - <glynn.foster@sun.com>
- Change menu entry.
* Wed Jul 09 2003 - <michael.twomey@sun.com>
- add in sun po files
* Wed Jul 02 2003 - glynn.foster@sun.com
- Fix up the install of the glade file to stop things
crashing
* Wed May 14 2003 - Stephen.Browne@sun.com
- initial release