287 lines
9.5 KiB
RPMSpec
287 lines
9.5 KiB
RPMSpec
#
|
|
# spec file for package ghex (Version 2.24.0)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
|
|
Name: ghex
|
|
BuildRequires: fdupes
|
|
BuildRequires: gnome-doc-utils-devel
|
|
BuildRequires: intltool
|
|
BuildRequires: libgnomeprintui-devel
|
|
BuildRequires: libgnomeui-devel
|
|
BuildRequires: translation-update-upstream
|
|
BuildRequires: update-desktop-files
|
|
License: GPL v2 or later
|
|
Group: Development/Tools/Other
|
|
Version: 2.24.0
|
|
Release: 2
|
|
Summary: GNOME Binary Editor
|
|
Url: http://www.gnome.org/
|
|
Source: ftp://ftp.gnome.org/pub/GNOME/sources/ghex/2.8/%{name}-%{version}.tar.bz2
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
# PATCH-FIX-UPSTREAM ghex-empty-search-crash.patch bgo532184
|
|
Patch7: ghex-empty-search-crash.patch
|
|
Requires: %{name}-lang = %{version}
|
|
%gconf_schemas_prereq
|
|
|
|
%description
|
|
GHex allows the user to load data from any file and to view and edit it
|
|
in either hex or ASCII. It is a must for anyone playing games that use
|
|
a non-ASCII format for saving.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Jaka Mocnik <jaka@gnu.org>
|
|
Chema Celorio <chema@ximian.com>
|
|
|
|
%package devel
|
|
License: GPL v2 or later
|
|
Summary: GNOME Binary Editor
|
|
Group: Development/Tools/Other
|
|
Requires: %{name} = %{version} gtk2-devel gail-devel atk-devel
|
|
|
|
%description devel
|
|
GHex allows the user to load data from any file and to view and edit it
|
|
in either hex or ASCII. It is a must for anyone playing games that use
|
|
a non-ASCII format for saving.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Jaka Mocnik <jaka@gnu.org>
|
|
Chema Celorio <chema@ximian.com>
|
|
|
|
%lang_package
|
|
%prep
|
|
%setup -n ghex-%{version}
|
|
translation-update-upstream
|
|
%patch7
|
|
|
|
%build
|
|
%configure --with-pic\
|
|
--disable-static\
|
|
--disable-scrollkeeper\
|
|
--disable-schemas-install
|
|
make %{?jobs:-j%jobs}
|
|
|
|
%install
|
|
%makeinstall
|
|
%suse_update_desktop_file -N GHex -G "Hex Editor" %name Utility Editor
|
|
sed -e "s@;Development;@;@" < $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop \
|
|
> $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop.new
|
|
mv $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop.new \
|
|
$RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop
|
|
# Change sr@Latn to sr@latin
|
|
mv %{buildroot}%{_datadir}/locale/sr@Latn %{buildroot}%{_datadir}/locale/sr@latin
|
|
%find_lang %{name}-2.0
|
|
%find_lang %{name}2
|
|
%find_gconf_schemas
|
|
cat %{name}.schemas_list >%{name}.lst
|
|
cat %{name}-2.0.lang %{name}2.lang > %{name}.lang
|
|
%{__rm} -vf %{buildroot}%{_libdir}/*.la
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
%clean
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
%post -p /sbin/ldconfig
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%files -f %{name}.lst
|
|
%defattr(-,root,root)
|
|
%doc README COPYING COPYING-DOCS AUTHORS
|
|
%{_bindir}/*
|
|
%{_libdir}/*.so.*
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/gnome-2.0/ui/*.xml
|
|
%{_datadir}/icons/hicolor/*/apps/ghex.*
|
|
|
|
%files lang -f %{name}.lang
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%changelog
|
|
* Mon Mar 16 2009 sbrabec@suse.cz
|
|
- Added support for translation-update-upstream (FATE#301344).
|
|
* Sun Feb 22 2009 vuntz@novell.com
|
|
- Update to version 2.24.0:
|
|
+ set G_LOG_DOMAIN for the shared libgtkhex library so that
|
|
warning messages use the right domain
|
|
+ fix background between the hex and ascii widgets becoming dark
|
|
black. (bgo#527279)
|
|
+ Fix the allocation code to allocate the child widgets relative
|
|
to the GtkHex allocation.x and allocation.y coordinates instead
|
|
of (0,0). (bgo#527272)
|
|
+ fix a bug where the selection would always start at 0 if the
|
|
user only used the keyboard
|
|
+ Update the About Dialog to use the application icon.
|
|
(bgo#520983)
|
|
+ fix ghex2 printing g_warning on startup because it uses a
|
|
deprecated API (bgo#564371)
|
|
+ remove unused variables (bgo#564375)
|
|
+ make desktop files follow freedesktop spec (bgo#568023)
|
|
+ Fix an off-by-one error in reporting the number of bytes
|
|
selected in the status bar
|
|
+ GObject type ids should be instances of GType, not of guint
|
|
- Remove BuildRequires: gail-devel (provided by gtk2-devel),
|
|
gnome-common, gnutls-devel, libglade2-devel, libwnck-devel,
|
|
perl-XML-Parser, scrollkeeper
|
|
- Remove check for old versions of openSUSE.
|
|
- Do not set DocPath in the desktop file (not needed by yelp).
|
|
- Remove call to autoreconf.
|
|
* Sat Jan 31 2009 vuntz@novell.com
|
|
- Use sr@latin instead of sr@Latn.
|
|
* Mon Jan 19 2009 crrodriguez@suse.de
|
|
- remove "la" files [BNC#357465]
|
|
* Tue Sep 02 2008 mboman@novell.com
|
|
- Update to version 2.22.0:
|
|
+ Cosmetic version bump
|
|
* Thu May 08 2008 rodrigo@suse.de
|
|
- Upstream remaining patch
|
|
* Mon Mar 31 2008 vuntz@suse.de
|
|
- Update to version 2.21.92 (too many changes to list here)
|
|
- Remove ghex_60921.diff (fixed upstream), ghex_60922.diff (fixed
|
|
upstream), ghex-search-crash.patch (fixed upstream).
|
|
- Remove workaround for no translations.
|
|
- Add gnome-doc-utils-devel buildrequires.
|
|
- Stop using %%run_ldconfig and call ldconfig.
|
|
* Thu Mar 13 2008 sbrabec@suse.cz
|
|
- Custom look'n'feel gconf keys moved to gconf2-branding-openSUSE.
|
|
* Thu Mar 06 2008 maw@suse.de
|
|
- Fix the build when against newer versions of intltool.
|
|
* Thu Oct 11 2007 sbrabec@suse.cz
|
|
- Removed bogus dependency on mDNSResponder.
|
|
* Mon Sep 03 2007 sbrabec@suse.cz
|
|
- Fixed crash for empty search string (GNOME#473208).
|
|
* Thu Aug 09 2007 maw@suse.de
|
|
- Fix up the lang subpackage.
|
|
* Wed Aug 08 2007 mauro@suse.de
|
|
- Split out a -lang subpackage
|
|
- Add %%fdupes stuff
|
|
* Fri Apr 27 2007 sbrabec@suse.cz
|
|
- Do not call meinproc (#227624).
|
|
* Wed Feb 07 2007 sbrabec@suse.cz
|
|
- Do not build unusable static libraries (#238552).
|
|
* Wed Jan 03 2007 sbrabec@suse.cz
|
|
- Prefix changed to /usr.
|
|
- Spec file cleanup.
|
|
- Created ghex-devel subpackage.
|
|
* Tue Sep 19 2006 jhargadon@suse.de
|
|
- update to version 2.8.2
|
|
- translation updates
|
|
* Wed Apr 19 2006 sbrabec@suse.cz
|
|
- Fixed crash in search (#155494).
|
|
* Wed Apr 19 2006 sbrabec@suse.cz
|
|
- I18N fix.
|
|
* 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
|
|
* Tue Feb 22 2005 ro@suse.de
|
|
- change category to build
|
|
* Fri Feb 18 2005 sbrabec@suse.cz
|
|
- Updated to version 2.8.1.
|
|
* Tue Nov 02 2004 ro@suse.de
|
|
- locale rename: no -> nb
|
|
* Wed Aug 25 2004 clahey@suse.de
|
|
- Cache the ghex help and show ghex in khelpcenter.
|
|
* Fri Jul 16 2004 shprasad@suse.de
|
|
- Fixes bug #60916 (Fix given by smadduri@novell.com)
|
|
Corrects Typo mistakes in status messages
|
|
- Fixes bug #60919 (Fix given by smadduri@novell.com)
|
|
Status bar resets upon file close
|
|
- Fixes bug #60921 (Fix given by smadduri@novell.com)
|
|
Removed ellipses in Menu option "Character Table"
|
|
- Fixes bug #60922 (Fix given by smadduri@novell.com)
|
|
Removes Duplicate accelerator keys for Edit menu options.
|
|
- Fixes bug #60918 (Fix given by smadduri@novell.com)
|
|
Avoids Crashing when trying to open /proc files.
|
|
* Wed Jun 23 2004 shprasad@suse.de
|
|
- Fixes bug #60089 (Fix given by smadduri@novell.com)
|
|
Changed The Title Pattern.
|
|
* Wed Jun 23 2004 shprasad@suse.de
|
|
- Fixes bug #59873 (Fix given by smadduri@novell.com)
|
|
Changed the default Fonts.
|
|
* Wed May 05 2004 sbrabec@suse.cz
|
|
- Updated to version 2.6.0 (GNOME 2.6).
|
|
* Wed Mar 10 2004 sbrabec@suse.cz
|
|
- Fixed gconf schemas installation (#33114).
|
|
* Fri Feb 20 2004 sbrabec@suse.cz
|
|
- Fixed PreReq.
|
|
* Thu Feb 12 2004 sbrabec@suse.cz
|
|
- Updated to version 2.4.1.
|
|
* Sat Jan 10 2004 adrian@suse.de
|
|
- add %%run_ldconfig
|
|
* Mon Oct 27 2003 sbrabec@suse.cz
|
|
- Updated to version 2.4.0.1 (GNOME 2.4).
|
|
* Sun Sep 14 2003 adrian@suse.de
|
|
- add Editor Category
|
|
* Mon Aug 18 2003 sbrabec@suse.cz
|
|
- Updated to version 2.2.1 (GNOME2).
|
|
* Wed May 28 2003 sbrabec@suse.cz
|
|
- Include all doc and omf files info package.
|
|
* Wed May 28 2003 ro@suse.de
|
|
- remove unpackaged files from buildroot
|
|
* Mon Nov 11 2002 ro@suse.de
|
|
- changed neededforbuild <jade_dsl> to <openjade>
|
|
* Tue Oct 22 2002 hhetter@suse.de
|
|
- added libxslt to #neededforbuild to get scrollkeeper to run
|
|
- removed wrong docdir
|
|
* Fri Sep 27 2002 ro@suse.de
|
|
- Added alsa alsa-devel to neededforbuild (esound)
|
|
* Fri Jul 26 2002 adrian@suse.de
|
|
- fix neededforbuild
|
|
* Tue May 28 2002 ro@suse.de
|
|
- removed gpc from neededforbuild
|
|
* Fri Feb 01 2002 ro@suse.de
|
|
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
|
* Fri Nov 30 2001 ro@suse.de
|
|
- changed neededforbuild <docbktls> to <docbook-toys>
|
|
* Wed Nov 21 2001 ro@suse.de
|
|
- added freetype2 to neededforbuild
|
|
* Fri Jun 15 2001 hhetter@suse.de
|
|
- update to 1.2.1
|
|
- use bz2
|
|
- added scrollkeeper to neededforbuild
|
|
- added suse_update_config
|
|
* Tue Mar 27 2001 ro@suse.de
|
|
- changed neededforbuild <docbkdsl> to <docbook-dsssl-stylesheets>
|
|
* Thu Mar 22 2001 hhetter@suse.de
|
|
- updated to version 1.2 (RC1)
|
|
- specfile improvements
|
|
* Wed Mar 14 2001 ro@suse.de
|
|
- changed neededforbuild <docbk_4> to <docbook_4>
|
|
* Thu Feb 22 2001 hhetter@suse.de
|
|
- initial build
|
|
- tested on 7.1 in GNOME1.4 Environment
|