cvsextras 9bdee7a
Name:           ghex
95572c1
Version:        3.0.0
0293dda
Release:        1%{?dist}
70e24c9
6f12a40
Summary:        Binary editor for GNOME
cvsextras 9bdee7a
cvsextras 9bdee7a
Group:          Applications/Editors
436e2bc
License:        GPLv2+
e3ebdda
URL:            http://ftp.gnome.org/pub/GNOME/sources/ghex/
0293dda
Source0:        http://ftp.gnome.org/pub/GNOME/sources/ghex/2.90/ghex-%{version}.tar.xz
cvsextras 9bdee7a
0293dda
BuildRequires:  gtk3-devel
cvsextras 9bdee7a
BuildRequires:  gettext
cvsextras 9bdee7a
BuildRequires:  desktop-file-utils
07679f1
BuildRequires:  perl-XML-Parser
e3ebdda
BuildRequires:  gnome-doc-utils
46a4004
BuildRequires:  intltool
cvsextras d53b621
Requires(post): /sbin/ldconfig
cvsextras d53b621
Requires(postun): /sbin/ldconfig
cvsextras 9bdee7a
cvsextras 9bdee7a
%description
90919bc
GHex can load raw data from binary files and display them for editing in the
90919bc
traditional hex editor view. The display is split in two columns, with
90919bc
hexadecimal values in one column and the ASCII representation in the other.
90919bc
A useful tool for working with raw data.
90919bc
cvsextras 9bdee7a
cvsextras 9bdee7a
%package        devel
90919bc
Summary:        Development files for %{name}
cvsextras 9bdee7a
Group:          Development/Libraries
f910cae
Requires:       %{name} = %{version}-%{release}
0293dda
Requires:       gtk3-devel
cvsextras 9bdee7a
cvsextras 9bdee7a
%description    devel
90919bc
The %{name}-devel package contains libraries and header files for
90919bc
developing applications that use %{name}.
90919bc
cvsextras 9bdee7a
cvsextras 9bdee7a
%prep
cvsextras 9bdee7a
%setup -q
cvsextras 9bdee7a
cvsextras 9bdee7a
%build
1a4844e
%configure --disable-scrollkeeper
135c0d8
make %{?_smp_mflags}
cvsextras 9bdee7a
cvsextras 9bdee7a
cvsextras 9bdee7a
%install
e3ebdda
make install DESTDIR=$RPM_BUILD_ROOT
cvsextras 9bdee7a
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
cvsextras 9bdee7a
1a4844e
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/ghex.desktop
cvsextras 9bdee7a
0293dda
%find_lang %{name}-3.0
cvsextras 9bdee7a
cvsextras 9bdee7a
cvsextras 9bdee7a
%post
cvsextras 9bdee7a
/sbin/ldconfig
3db942c
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
cvsextras 9bdee7a
cvsextras 9bdee7a
%postun
cvsextras 9bdee7a
/sbin/ldconfig
90919bc
if [ $1 -eq 0 ] ; then
90919bc
    glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
3db942c
    touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
3db942c
    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
90919bc
fi
90919bc
90919bc
%posttrans
90919bc
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
3db942c
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
cvsextras 9bdee7a
cvsextras 9bdee7a
0293dda
%files -f %{name}-3.0.lang
90919bc
%doc AUTHORS COPYING COPYING-DOCS NEWS README
cvsextras 9bdee7a
%{_bindir}/*
90919bc
%{_datadir}/applications/ghex.desktop
90919bc
%{_datadir}/GConf/gsettings/ghex.convert
90919bc
%{_datadir}/glib-2.0/schemas/org.gnome.GHex.gschema.xml
cvsextras d53b621
%{_datadir}/gnome/help/*
e3ebdda
%{_datadir}/icons/hicolor/*/apps/*
0293dda
%{_datadir}/%{name}/
0293dda
%{_datadir}/omf/%{name}/
cvsextras 9bdee7a
%{_libdir}/*.so.*
cvsextras 9bdee7a
cvsextras 9bdee7a
%files devel
0293dda
%{_includedir}/*
cvsextras 9bdee7a
%{_libdir}/*.so
cvsextras 9bdee7a
%{_libdir}/pkgconfig/*.pc
cvsextras 9bdee7a
cvsextras 9bdee7a
cvsextras 9bdee7a
%changelog
95572c1
* Tue Sep 27 2011 Ray <rstrode@redhat.com> - 3.0.0-1
95572c1
- Update to 3.0.0
95572c1
90919bc
* Sat Sep 10 2011 Kalev Lember <kalevlember@gmail.com> - 2.90.2-1
90919bc
- Update to 2.90.2
90919bc
- Switch to gsettings
90919bc
- Updated description
1a4844e
- Don't require scrollkeeper
1a4844e
- Make sure files aren't listed twice in %%files
3db942c
- Added icon cache scriplets
90919bc
0293dda
* Sat Aug 13 2011 Adel Gadllah <adel.gadllah@gmail.com> - 2.90.0-1
0293dda
- Update to 2.90.0 - now uses GTK3
0293dda
- Remove now obsolete patch
0293dda
5c4184b
* Tue Feb 09 2010 Dodji Seketeli <dodji@redhat.com> - 2.24.0-5
5c4184b
- Add patch to fix building with --no-as-needed as linker option.
5c4184b
d7283d6
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.0-4
d7283d6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
d7283d6
86291ae
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.24.0-3
86291ae
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
86291ae
0f3f9d3
* Fri Feb 20 2009 Dodji Seketeli <dodji@redhat.org> 2.24.0-2
0f3f9d3
- Use %{?dist} in the Release number
0f3f9d3
46a4004
* Fri Feb 20 2009 Dodji Seketeli <dodji@redhat.org> 2.24.0-1
46a4004
- Update to 2.24.0
46a4004
- Use system libtool
46a4004
- Explicitely exclude static libraries
46a4004
- Added BuildRequires intltools,libtool
46a4004
37582cc
* Fri Apr 11 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.22.0-1
37582cc
- Update to 2.22.0 (no code changes, just a late release for Gnome 2.22 with
37582cc
  updated translations)
37582cc
37582cc
* Sun Mar 02 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.21.92-1
d763e84
- Update to 2.21.92
d763e84
0b73833
* Fri Feb 08 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.21.90-1
0b73833
- Update to 2.21.90
0b73833
1317592
* Sat Dec 29 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.21.4-1
1317592
- Update to 2.21.4
1317592
- Pass --disable-static to configure
1317592
- remove obsolete rm -rf RPM_BUILD_ROOT/var/scrollkeeper from install section
1317592
e81e099
* Fri Dec 14 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.20.1-1
e81e099
- Update to 2.20.1
e81e099
ce0feb7
* Fri Sep 21 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.20.0-1
ce0feb7
- Update to 2.20.0
ce0feb7
af13ff7
* Fri Aug 31 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.19.91-1
af13ff7
- Update to 2.19.91
af13ff7
201e5c5
* Fri Aug 17 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.19.90-1
201e5c5
- Update to 2.19.90
201e5c5
e3ebdda
* Fri Aug 09 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 2.19.0-1
e3ebdda
- Update to 2.19.0 and drop patches (stuff got fixed upstream)
e3ebdda
- use make isntall instread of %%makeinstall
e3ebdda
436e2bc
* Fri Aug 03 2007 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info>
436e2bc
- Update License field due to the "Licensing guidelines changes"
436e2bc
93dccbe
* Sun May 20 2007 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 2.8.2-5
93dccbe
- Update project URL (#240646)
93dccbe
07679f1
* Tue Aug 29 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 2.8.2-4
07679f1
- Add BR perl-XML-Parser
07679f1
9bc3490
* Tue Aug 29 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> - 2.8.2-3
9bc3490
- Rebuild for devel
9bc3490
036e7a8
* Wed Aug 09 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 2.8.2-2
036e7a8
- apply ghex-search-crash.patch from b.g.o #339055 -- fixes #175957 
036e7a8
c6cd021
* Sat Jul 15 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info> 2.8.2-1
c6cd021
- Update to 2.8.2
c6cd021
- Don't use the libtool worksaroung anymore
c6cd021
- Rename ghex-2.8.0-no-scrollkeeper.patch to
c6cd021
  ghex-no-scrollkeeper.patch and and update it
c6cd021
4a21d07
* Mon Feb 13 2006 Thorsten Leemhuis <fedora[AT]leemhuis.info>
4a21d07
- Rebuild for Fedora Extras 5
4a21d07
70e24c9
* Fri Apr  7 2005 Michael Schwendt <mschwendt[AT]users.sf.net>
70e24c9
- rebuilt
70e24c9
683a260
* Sun Jan 09 2005 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.8.1-2
6f12a40
- Use make param LIBTOOL=/usr/bin/libtool instead autoreconf -- fixes x86_64
683a260
  build
683a260
683a260
* Mon Dec 27 2004 Thorsten Leemhuis <fedora[AT]leemhuis[DOT]info> - 2.8.1-1
683a260
- Update to 2.8.1
683a260
- recreate autoconf & co data during pre; fixes build issues on x86_64
683a260
f910cae
* Tue Dec 21 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.8.0-3
f910cae
- Ran into the incomplete-removal-of-epoch trap. Fixed that.
f910cae
466b168
* Wed Nov 10 2004 Michael Schwendt <mschwendt[AT]users.sf.net> - 2.8.0-2
466b168
- Add patch to prevent scrollkeeper-updates during %%install.
466b168
- Drop Epoch.
466b168
cvsextras 4b5fa38
* Sun Oct 17 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.8.0-0.fdr.1
cvsextras 4b5fa38
- Updated to 2.8.0.
cvsextras 4b5fa38
cvsextras d53b621
* Fri Jun  4 2004 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.6.1-0.fdr.1
cvsextras d53b621
- Updated to 2.6.1.
cvsextras d53b621
- Reenabled parallel make (fixed upstream).
cvsextras d53b621
cvsextras d53b621
* Mon May 17 2004 Mark A. Fonnemann <m.fonneman.n@bc.edu> - 0:2.6.0-0.fdr.1
cvsextras d53b621
- Updated to 2.6.0.
cvsextras d53b621
- Divided Requires(post, postun) into Requires(post) and Requires(postun) (thanks, Michael Schwendt).
cvsextras d53b621
- Added gtk2-devel and gail-devel to build requirements (thanks, Michael).
cvsextras d53b621
- Changed {_datadir}/path to {_datadir}/path/* (thanks again, Michael).
cvsextras d53b621
cvsextras d53b621
* Thu Oct 23 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.4.0.1-0.fdr.4
cvsextras 9bdee7a
- Reverted previous change.
cvsextras 9bdee7a
- Disabled parallell make.
cvsextras 9bdee7a
- Added build req scrollkeeper.
cvsextras 9bdee7a
cvsextras d53b621
* Sat Oct 11 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.4.0.1-0.fdr.3
cvsextras 9bdee7a
- Remove sr@Latn locale from desktop file if old desktop-file-install.
cvsextras 9bdee7a
cvsextras d53b621
* Thu Oct  9 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.4.0.1-0.fdr.2
cvsextras 9bdee7a
- Post req GConf2.
cvsextras 9bdee7a
- Split out devel package.
cvsextras 9bdee7a
- Added URL.
cvsextras 9bdee7a
cvsextras d53b621
* Wed Sep 24 2003 Marius L. Jøhndal <mariuslj at ifi.uio.no> - 0:2.4.0.1-0.fdr.1
cvsextras 9bdee7a
- Initial RPM release.