[ghex] Update to 2.90.2

Kalev Lember kalev at fedoraproject.org
Sat Sep 10 09:17:32 UTC 2011


commit 90919bc583137312cb9a3e88e9b51ea42077764d
Author: Kalev Lember <kalevlember at gmail.com>
Date:   Sat Sep 10 11:36:20 2011 +0300

    Update to 2.90.2
    
    Switched to GSettings and updated description.

 .gitignore |    1 +
 ghex.spec  |   43 ++++++++++++++++++++++++++-----------------
 sources    |    2 +-
 3 files changed, 28 insertions(+), 18 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 5e64efd..1e44160 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 ghex-2.22.0.tar.bz2
 ghex-2.24.0.tar.bz2
 /ghex-2.90.0.tar.xz
+/ghex-2.90.2.tar.xz
diff --git a/ghex.spec b/ghex.spec
index cb5d919..787ef56 100644
--- a/ghex.spec
+++ b/ghex.spec
@@ -1,5 +1,5 @@
 Name:           ghex
-Version:        2.90.0
+Version:        2.90.2
 Release:        1%{?dist}
 
 Summary:        Binary editor for GNOME
@@ -11,7 +11,6 @@ Source0:        http://ftp.gnome.org/pub/GNOME/sources/ghex/2.90/ghex-%{version}
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:  gtk3-devel
-BuildRequires:  GConf2-devel
 BuildRequires:  gettext
 BuildRequires:  desktop-file-utils
 BuildRequires:  scrollkeeper
@@ -19,32 +18,34 @@ BuildRequires:  perl-XML-Parser
 BuildRequires:  gnome-doc-utils
 BuildRequires:  libtool
 BuildRequires:  intltool
-Requires(post): GConf2
 Requires(post): scrollkeeper
 Requires(post): /sbin/ldconfig
-Requires(postun): GConf2
 Requires(postun): scrollkeeper
 Requires(postun): /sbin/ldconfig
 
 %description
-GHex allows the user to load data from any file, view and edit it in
-either hex or ascii. A must for anyone playing games that use
-non-ascii format for saving.
+GHex can load raw data from binary files and display them for editing in the
+traditional hex editor view. The display is split in two columns, with
+hexadecimal values in one column and the ASCII representation in the other.
+A useful tool for working with raw data.
+
 
 %package        devel
-Summary:        Static library and include files for ghex
+Summary:        Development files for %{name}
 Group:          Development/Libraries
 Requires:       %{name} = %{version}-%{release}
 Requires:       gtk3-devel
 
 %description    devel
-This package contains a static library and include files for ghex.
+The %{name}-devel package contains libraries and header files for
+developing applications that use %{name}.
+
 
 %prep
 %setup -q
 
 %build
-%configure --disable-schemas-install --disable-static
+%configure --disable-static
 #Use system libtool to prevent the libtool in the package
 #to set standard rpath to the generated binaries
 make %{?_smp_mflags} LIBTOOL=%{_bindir}/libtool
@@ -71,24 +72,27 @@ rm -rf $RPM_BUILD_ROOT
 
 %post
 /sbin/ldconfig
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null || :
 scrollkeeper-update -q
 
 
 %postun
 /sbin/ldconfig
-export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
-gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/%{name}.schemas &>/dev/null || :
 scrollkeeper-update -q
+if [ $1 -eq 0 ] ; then
+    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
+fi
+
+%posttrans
+glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
 
 
 %files -f %{name}-3.0.lang
 %defattr(-,root,root,-)
-%doc AUTHORS COPYING COPYING-DOCS ChangeLog README
-%{_sysconfdir}/gconf/schemas/*
+%doc AUTHORS COPYING COPYING-DOCS NEWS README
 %{_bindir}/*
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/ghex.desktop
+%{_datadir}/GConf/gsettings/ghex.convert
+%{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
 %{_datadir}/gnome/help/*
 %{_datadir}/icons/hicolor/*/apps/*
 %{_datadir}/%{name}/
@@ -106,6 +110,11 @@ scrollkeeper-update -q
 
 
 %changelog
+* Sat Sep 10 2011 Kalev Lember <kalevlember at gmail.com> - 2.90.2-1
+- Update to 2.90.2
+- Switch to gsettings
+- Updated description
+
 * Sat Aug 13 2011 Adel Gadllah <adel.gadllah at gmail.com> - 2.90.0-1
 - Update to 2.90.0 - now uses GTK3
 - Remove now obsolete patch
diff --git a/sources b/sources
index bd111c2..aa66b66 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-27fd4c83ea57005998fd7cd1d7c55dd5  ghex-2.90.0.tar.xz
+1972dbf2c556af6c616082486361adb2  ghex-2.90.2.tar.xz


More information about the scm-commits mailing list