[gthumb] - Spec file cleanup - Add BR for Web albums extension (#620707)
chkr
chkr at fedoraproject.org
Sun Aug 22 09:37:40 UTC 2010
commit 719a9c0cbab632d1f048313515364a665cf6c216
Author: Christian Krause <christian.krause at raritan.com>
Date: Sun Aug 22 11:37:34 2010 +0200
- Spec file cleanup
- Add BR for Web albums extension (#620707)
gthumb.spec | 40 +++++++++++++++++++++-------------------
1 files changed, 21 insertions(+), 19 deletions(-)
---
diff --git a/gthumb.spec b/gthumb.spec
index 66f7a33..1ef0e1f 100644
--- a/gthumb.spec
+++ b/gthumb.spec
@@ -1,8 +1,6 @@
%define gtk2_version 2.16.0
%define glib2_version 2.16.0
-%define desktop_file_utils_version 0.9
-%define gconf_version 2.14
%define unique_version 1.1.2
%define openraw_version 0.0.8
%define exiv2_version 0.18
@@ -13,7 +11,7 @@
Summary: Image viewer, editor, organizer
Name: gthumb
Version: 2.11.90
-Release: 1%{?dist}
+Release: 2%{?dist}
URL: http://gthumb.sourceforge.net
Source0: http://download.gnome.org/sources/gthumb/2.11/%{name}-%{version}.tar.bz2
@@ -22,7 +20,7 @@ Group: User Interface/X
BuildRequires: gtk2-devel >= %{gtk2_version}
BuildRequires: glib2-devel >= %{glib2_version}
-BuildRequires: GConf2-devel
+BuildRequires: GConf2, GConf2-devel
BuildRequires: unique-devel >= %{unique_version}
BuildRequires: exiv2-devel >= %{exiv2_version}
BuildRequires: libopenraw-gnome-devel >= %{openraw_version}
@@ -38,17 +36,17 @@ BuildRequires: libtiff-devel
BuildRequires: libgnome-keyring-devel
BuildRequires: brasero-devel
BuildRequires: libsoup-devel
-
BuildRequires: automake, autoconf, libtool
BuildRequires: gnome-common
-
BuildRequires: rarian-compat
+# For Web albums extension
+BuildRequires: bison flex
+
+Requires: hicolor-icon-theme
-Requires(post): desktop-file-utils >= %{desktop_file_utils_version}
-Requires(postun): desktop-file-utils >= %{desktop_file_utils_version}
-Requires(pre): GConf2 >= %{gconf_version}
-Requires(post): GConf2 >= %{gconf_version}
-Requires(preun): GConf2 >= %{gconf_version}
+Requires(pre): GConf2
+Requires(post): GConf2
+Requires(preun): GConf2
%description
gthumb is an application for viewing, editing, and organizing
@@ -97,7 +95,7 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
%find_lang %{name} --with-gnome
%post
-update-desktop-database -q
+update-desktop-database &> /dev/null || :
%gconf_schema_upgrade %{name}
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
@@ -108,7 +106,7 @@ touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
%gconf_schema_remove %{name}
%postun
-update-desktop-database -q
+update-desktop-database &> /dev/null || :
if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor >&/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
@@ -118,21 +116,25 @@ fi
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
%files -f %{name}.lang
-%defattr(-,root,root)
-
+%defattr(-,root,root,-)
%{_bindir}/*
%{_sysconfdir}/gconf/schemas/*
-%{_datadir}/gthumb
+%{_datadir}/gthumb/
%{_datadir}/applications/*
%{_datadir}/icons/hicolor/*/apps/gthumb.png
%{_datadir}/icons/hicolor/scalable/apps/gthumb.svg
-%{_libdir}/gthumb
+%{_libdir}/gthumb/
%files devel
-%{_includedir}/gthumb-2.12
+%defattr(-,root,root,-)
+%{_includedir}/gthumb-2.12/
%{_libdir}/pkgconfig/gthumb-2.12.pc
%changelog
+* Sun Aug 22 2010 Christian Krause <chkr at fedoraproject.org> - 2.11.90-2
+- Spec file cleanup
+- Add BR for Web albums extension (#620707)
+
* Tue Aug 17 2010 Matthias Clasen <mclasen at redhat.com> 2.11.90-1
- Update to 2.11.90
@@ -394,7 +396,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
* Wed Sep 29 2004 Ray Strode <rstrode at redhat.com> 2.4.2-2
- Move gthumb.desktop to redhat-menus (#131726)
- Require recent desktop-file-utils
-- Call update-desktop-database from %postun
+- Call update-desktop-database from %%postun
* Mon Sep 13 2004 Christopher Aillon <caillon at redhat.com> 2.4.2-1
- gthumb.desktop: Add supported mime types (#131740)
More information about the scm-commits
mailing list