changeset 1669:4696cc54d870

updated spec file
author nadvornik
date Wed, 01 Jul 2009 07:04:42 +0000
parents 9e168ba1b0b9
children b302c9f87a36
files geeqie.spec.in
diffstat 1 files changed, 14 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/geeqie.spec.in	Tue Jun 30 20:15:33 2009 +0000
+++ b/geeqie.spec.in	Wed Jul 01 07:04:42 2009 +0000
@@ -1,8 +1,8 @@
 # norootforbuild
 
-BuildRequires:  gtk2-devel gcc-c++
+BuildRequires:  gtk2-devel gcc-c++ intltool
 %if 0%{?suse_version}
-BuildRequires:  liblcms-devel
+BuildRequires:  liblcms-devel update-desktop-files
 %define docname	%{name}
 %if %suse_version < 1030
 %define _prefix	    /opt/gnome
@@ -21,8 +21,12 @@
 BuildRequires:  exiv2-devel
 %endif
 %if 0%{?mandriva_version} > 2007
+%ifarch x86_64
+BuildRequires:  lib64exiv2-devel
+%else
 BuildRequires:  libexiv2-devel
 %endif
+%endif
 
 
 Summary:        Graphics file browser utility.
@@ -36,6 +40,9 @@
 Group:          Productivity/Graphics/Viewers
 Source:         geeqie-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
+#
+# these are requirements of the plugins
+Requires: exiv2 exiftran ImageMagick ufraw
 
 %description
 Geeqie is a browser for graphics files.
@@ -75,6 +82,10 @@
 %install
 make install DESTDIR=%{buildroot}
 
+%if 0%{?suse_version} > 1100
+%suse_update_desktop_file -n geeqie
+%endif
+
 %__install -m 644 AUTHORS COPYING ChangeLog NEWS README README.lirc "%{buildroot}/%{_docdir}/%{docname}/"
 
 %clean
@@ -89,4 +100,5 @@
 %{_datadir}/applications/geeqie.desktop
 %{_datadir}/pixmaps/geeqie.png
 %{_mandir}/man1/geeqie*
+%{_libdir}/geeqie