File eog.spec of Package eog

#
# spec file for package eog (Version 2.17.91)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild

Name:           eog
BuildRequires:  docbook_4 eel-devel gnome-doc-utils-devel gnome-icon-theme gnutls-devel
BuildRequires:  indent kdelibs3-doc libgnomeprintui-devel libidl librsvg-devel
BuildRequires:  libwnck-devel mDNSResponder-devel perl-XML-Parser scrollkeeper
BuildRequires:  libexif-devel update-desktop-files
License:        GNU General Public License (GPL), GNU Library General Public License v. 2.0 and 2.1 (LGPL)
Group:          Productivity/Graphics/Viewers
Provides:       eog2
Obsoletes:      eog2
Autoreqprov:    on
Requires:       gnome-icon-theme
Version:        2.17.91
Release:        1
Summary:        Eye of GNOME for the GNOME 2.x Desktop
Source:         %{name}-%{version}.tar.bz2
Patch:          eog-casts.patch
Patch1:         eog-fast-image-switch-crash.patch
Patch2:         eog-pixeldim.patch
Patch3:         abuild.patch
URL:            http://www.gnome.org/
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%gconf_schemas_prereq

%description
Eye of GNOME is a very fast picture viewer. It can be used as a plug-in
for Nautilus or as a stand-alone application. This version of EOG is
compiled for the GNOME 2.x Desktop.



%prep
%setup -q
%patch
%patch1
%patch2
%patch3 -p1

%build
%configure\
	--disable-schemas-install\
	--disable-scrollkeeper
make %{?jobs:-j%jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT
rm -rf $RPM_BUILD_ROOT/var/scrollkeeper
ln -s ../icons/gnome/48x48/apps/image-viewer.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
%suse_update_desktop_file -r -N "Eye of Gnome" -G "Image Viewer" eog GNOME Application Graphics Viewer
for xml in $RPM_BUILD_ROOT%{_datadir}/gnome/help/eog/*/eog.xml; do
    meinproc --check --cache `echo $xml | sed 's/xml$/cache.bz2/'` $xml || :
done
%find_lang %{name}
%find_gconf_schemas
cat %{name}.lang %{name}.schemas_list >%{name}.lst

%clean
rm -rf $RPM_BUILD_ROOT

%pre -f %{name}.schemas_pre

%posttrans -f %{name}.schemas_posttrans

%preun -f %{name}.schemas_preun

%files -f %{name}.lst
%defattr (-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/*
%{_datadir}/applications/eog.desktop
# %{_datadir}/pixmaps/eog
%{_datadir}/pixmaps/*.png
%{_datadir}/eog
%{_datadir}/omf/eog
%{_datadir}/icons/*/*/*/*.png
%{_datadir}/icons/*/*/*/*.svg

%changelog
* Thu Mar 08 2007 - maw@suse.de
- Update to version 2.17.91
- Refresh some patches that didn't cleanly apply.
* Sat Mar 03 2007 - dmueller@suse.de
- readd accidentally dropped exif dependency
* Tue Feb 27 2007 - dmueller@suse.de
- reduce buildrequires
* Thu Jan 04 2007 - sbrabec@suse.cz
- Prefix changed to /usr.
- Spec file cleanup.
* Fri Oct 27 2006 - meissner@suse.de
- If we only have "short" space for an entry, only
  try to write a "short" in there, not a "long". #214690
* Fri Oct 13 2006 - aj@suse.de
- Add gnome-doc-utils-devel to BuildRequires.
* Tue Oct 03 2006 - jhargadon@suse.de
- update to version 2.16.1
- Fixed memory leaks
- Code cleanups
- Fixed critical warnings
- Make sure the correct image is displayed when reselecting the current image
  while loading another one
- Updated translations
* Thu Sep 14 2006 - jhargadon@suse.de
- update to version 2.16.0.1
- Fix infinite loop on canvas destruction
- Updated translations
* Wed Aug 30 2006 - jhargadon@suse.de
- update to version 2.15.92
- .desktop file small fix
- Fix error when loading images with ':' in their filenames
  from command line
- Fix critical warnings when opening remote images
- Make transparency color preferences work on full screen
  mode
- Updated translations
* Fri Aug 18 2006 - jhargadon@suse.de
- update to version 2.15.91
- Small fixes on error dialog
- Fix memory leak on image transformation
- Fix typo on UI message
- Panning around the image with arrows on fullscreen mode
- Updated translations
* Wed Aug 02 2006 - gekker@suse.de
- Update to version 2.15.90
- Avoid losing EXIF data when saving changed jpeg images (Felix Riemman)
  [#309219]
- Make transparent color selection work (Felix Riemman) [#347600].
- Fix crash when switching images with mouse wheel (Callum McKenzie) [#340827]
- Updated translations
- Respect desktop saving lockdown (Lucas Rocha) [#341862]
- Disable xscreensaver on fullscreen mode (#326369)
- UI redesign. Fixes bugs #148643 and #320542. (Lucas Rocha)
- Fix crash when setting window icon. Fixes bug #320245.
- More coherent fullscreen/slide show behavior. Fixes
  bug #317392. (Lucas Rocha)
- Use intuitive gnome-icon-theme icon for image viewer
  instead of EOG icon. Fixes bug #167087. (Lucas Rocha)
- Don't crash when removing images from a collection.
  Fixes bug #313003. (Lucas Rocha)
- Add image/svg+xml to the list of supported file types.
- Fix RGBA->RGB conversion when saving PNG images to JPEG.
  Fixes bug #314742. (Felix Riemann)
- Update "recent files" when viewing images. Fixes bug #316004.
  (Lucas Rocha)
- Fix crash when trying to view an image from recent list that
  doesn't exist anymore. Fixes bug #312448. (Lucas Rocha)
- Fix crash when adding new non-image files to a directory eog
  watches and when trying to view a PNG image with a JPEG extension.
  Fixes bugs #316808 and #311925. (Callum McKenzie)
* Thu Jun 01 2006 - joeshaw@suse.de
- Add a patch to fix a crash when toggling very quickly between
  two images.  (bnc #180396)
* Mon Mar 27 2006 - ro@suse.de
- remove scrollkeeper stuff if created on s390*
* Tue Feb 28 2006 - sbrabec@suse.cz
- Use kdelibs3-doc in BuildRequires for meinproc (#153635#c14).
* Fri Feb 17 2006 - sreeves@suse.de
- Update .desktop file (Name, GenericName, Comment, DocPath)
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Wed Nov 30 2005 - gekker@suse.de
- Update to version 2.12.2
* Wed Oct 05 2005 - sbrabec@suse.cz
- Fixed gcc cast warnings.
* Mon Sep 05 2005 - sbrabec@suse.cz
- Updated to version 2.12.0.
* Mon Aug 22 2005 - gekker@suse.de
- Update to version 2.11.92
* Tue Aug 02 2005 - gekker@suse.de
- Update to version 2.11.90
* Thu Jul 21 2005 - gekker@suse.de
- Update to version 2.11.0
* Fri Jun 17 2005 - gekker@suse.de
- Update to 2.10.0 (GNOME 2.10).
* Thu Feb 24 2005 - sbrabec@suse.cz
- Removed gconf makefile-uninstall-rule (#33114).
* Tue Jan 04 2005 - gekker@suse.de
- Update to version 2.9.0
- Removed exif patch which is no longer needed
* Wed Oct 27 2004 - mmj@suse.de
- Locale rename no to nb
* Wed Aug 25 2004 - clahey@suse.de
- Cache eog help files and have eog show up in khelpcenter.
- Only apply libexif patch if suse_version > 910.
* Fri Jul 30 2004 - meissner@suse.de
- Fixed to work with newer libexif version.
* Mon Apr 26 2004 - sbrabec@suse.cz
- Updated to version 2.6.1 (GNOME 2.6).
* Tue Feb 24 2004 - sbrabec@suse.cz
- Use gconftool-2 scriptlets correctly.
* Fri Feb 20 2004 - sbrabec@suse.cz
- Fixed PreReq.
* Fri Feb 20 2004 - sbrabec@suse.cz
- Package renamed to eog.
* Thu Feb 12 2004 - hhetter@suse.de
- gconf schema (de-)installation in %%post and %%postun
* Sat Jan 10 2004 - adrian@suse.de
- add %%run_ldconfig
* Mon Oct 27 2003 - sbrabec@suse.cz
- Updated to version 2.4.1 (GNOME 2.4).
* Wed Sep 17 2003 - adrian@suse.de
- Martin wished to get it in Viewer menu
* Tue Aug 19 2003 - sbrabec@suse.cz
- Updated neededforbuild (rename of librsvg2, eel2).
* Mon Jul 14 2003 - sbrabec@suse.cz
- GNOME prefix change to /opt/gnome.
* Fri Jul 11 2003 - hhetter@suse.de
- %%_lib fixes
- %%files fixes
* Thu Jun 26 2003 - sbrabec@suse.cz
- Updated to version 2.2.2.
- Updated neededforbuild.
- Use %%find_lang.
* Tue Jan 28 2003 - hhetter@suse.de
- updated to 2.2.0
* Mon Jan 20 2003 - ro@suse.de
- update to 1.1.4
- review filelist
* Thu Nov 28 2002 - hhetter@suse.de
- updated to version 1.0.4 [GNOME 2.0.3]
* Mon Nov 11 2002 - ro@suse.de
- changed neededforbuild <xf86 xdevel> to <x-devel-packages>
* Tue Oct 22 2002 - hhetter@suse.de
- updated to stable version 1.0.3
- remove wrong docdir
- %%_lib fixes
- FHS fix
* Mon Sep 23 2002 - sbrabec@suse.cz
- Added alsa to neededforbuild, because esound can depend on it.
* Tue Aug 20 2002 - hhetter@suse.de
- added PreReq: filesystem
* Tue Aug 13 2002 - ro@suse.de
- remove control-center from neededforbuild
* Tue Aug 06 2002 - hhetter@suse.de
- updated to version 1.0.2
  * We don't crash anymore if the user doesn't have
  permissions to read
  a file - #85263
  * We do the right thing to destroy the window
  list on File/Exit -
  [#86469]
  * Components are installed in $(libexec)
  * The window is correctly sized upon startup,
  and you can shrink it
  again - #72352, #75713
  * No distorted view when resizing an empty window - #85927
  * DnD into an empty window doesn't open a new window.
  * New Bulgarian translation
  * Load control ui xml file correctly
  * New Albanian translation
- libexec filelist corrections
* Thu Jun 20 2002 - hhetter@suse.de
- don't install schemas while make install
* Thu Jun 20 2002 - hhetter@suse.de
- updated to version 1.0.1
- provide bonobo servers
* Fri Jun 14 2002 - hhetter@suse.de
- filelist fix
* Thu Jun 13 2002 - hhetter@suse.de
- supply schema file
* Tue Jun 11 2002 - hhetter@suse.de
- updated to version 1.0.0
* Fri Jun 07 2002 - hhetter@suse.de
- initial SuSE Release
openSUSE Build Service is sponsored by