2007-01-10 23:37:03 +01:00
|
|
|
#
|
|
|
|
# spec file for package ghex (Version 2.8.2)
|
|
|
|
#
|
|
|
|
# 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: ghex
|
2007-08-10 01:17:13 +02:00
|
|
|
BuildRequires: fdupes gail-devel gnome-common gnutls-devel intltool libglade2-devel libgnomeprintui-devel libgnomeui-devel libwnck-devel mDNSResponder-devel perl-XML-Parser update-desktop-files
|
2007-01-10 23:37:03 +01:00
|
|
|
# FIXME: only for directory ownership:
|
|
|
|
BuildRequires: scrollkeeper
|
2007-08-10 01:17:13 +02:00
|
|
|
License: GPL v2 or later
|
2007-01-10 23:37:03 +01:00
|
|
|
Group: Development/Tools/Other
|
|
|
|
Version: 2.8.2
|
2007-08-10 01:17:13 +02:00
|
|
|
Release: 92
|
2007-01-10 23:37:03 +01:00
|
|
|
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: ghex_59873.diff
|
|
|
|
Patch4: ghex_60921.diff
|
|
|
|
Patch5: ghex_60922.diff
|
|
|
|
Patch6: ghex-search-crash.patch
|
2007-08-10 01:17:13 +02:00
|
|
|
%if %suse_version > 1020
|
|
|
|
Requires: %{name}-lang = %{version}
|
|
|
|
%endif
|
2007-01-10 23:37:03 +01:00
|
|
|
|
|
|
|
%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
|
|
|
|
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>
|
|
|
|
|
2007-08-10 01:17:13 +02:00
|
|
|
%lang_package
|
2007-01-10 23:37:03 +01:00
|
|
|
%prep
|
|
|
|
%setup -n ghex-%{version}
|
|
|
|
%patch -p1
|
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
|
|
|
%patch6
|
|
|
|
# Change po files according to ghex_60921.diff and ghex_60922.diff.
|
|
|
|
sed -i '
|
|
|
|
/^msgid "Character _Table\.\.\."/,/^$/s/\.\.\.//
|
|
|
|
s/^msgid "C_ut"/msgid "Cu_t"/
|
|
|
|
s/^msgid "_Paste"/msgid "Pa_ste"/
|
|
|
|
s/^msgid "_Replace"/msgid "R_eplace"/
|
|
|
|
' po/*.po
|
|
|
|
|
|
|
|
%build
|
|
|
|
rm po/no.*
|
|
|
|
sed -i "s/\(ALL_LINGUAS.*\) no /\1 /" configure.in
|
|
|
|
autoreconf -f -i
|
|
|
|
# FIXME: Build as root modifies system!
|
|
|
|
# ghex-2.8.2: --disable-schemas-install is not implemented.
|
|
|
|
%configure\
|
2007-02-07 17:28:00 +01:00
|
|
|
--disable-static\
|
2007-01-10 23:37:03 +01:00
|
|
|
--disable-scrollkeeper\
|
|
|
|
--disable-schemas-install
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
%install
|
2007-02-07 17:28:00 +01:00
|
|
|
%makeinstall
|
2007-01-10 23:37:03 +01:00
|
|
|
%suse_update_desktop_file -N GHex -G "Hex Editor" -D ghex2 %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
|
|
|
|
%find_lang %{name}-2.0
|
|
|
|
%find_lang %{name}2
|
|
|
|
%find_gconf_schemas
|
2007-08-10 01:17:13 +02:00
|
|
|
cat %{name}.schemas_list >%{name}.lst
|
|
|
|
cat %{name}-2.0.lang %{name}2.lang > %{name}.lang
|
|
|
|
%if %suse_version > 1020
|
|
|
|
|
|
|
|
%fdupes -s $RPM_BUILD_ROOT
|
|
|
|
%endif
|
2007-01-10 23:37:03 +01:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%pre -f %{name}.schemas_pre
|
|
|
|
|
|
|
|
%post
|
|
|
|
%run_ldconfig
|
|
|
|
|
|
|
|
%posttrans -f %{name}.schemas_posttrans
|
|
|
|
|
|
|
|
%preun -f %{name}.schemas_preun
|
|
|
|
|
|
|
|
%postun
|
|
|
|
%run_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}/pixmaps/*.png
|
|
|
|
%{_datadir}/omf/*
|
|
|
|
|
2007-08-10 01:17:13 +02:00
|
|
|
%files lang -f %{name}.lang
|
|
|
|
|
2007-01-10 23:37:03 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/*.*a
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
2007-04-27 16:45:18 +02:00
|
|
|
%changelog
|
2007-08-10 01:17:13 +02:00
|
|
|
* 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
|
2007-04-27 16:45:18 +02:00
|
|
|
* Fri Apr 27 2007 - sbrabec@suse.cz
|
|
|
|
- Do not call meinproc (#227624).
|
2007-02-07 17:28:00 +01:00
|
|
|
* Wed Feb 07 2007 - sbrabec@suse.cz
|
|
|
|
- Do not build unusable static libraries (#238552).
|
2007-01-10 23:37:03 +01:00
|
|
|
* 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
|