23ecd53
Name:           ht
c97021a
Version:        2.0.18
Rex Dieter 766a609
Release:        7%{?dist}
23ecd53
Summary:        File editor/viewer/analyzer for executables
23ecd53
23ecd53
Group:          Applications/Editors
23ecd53
License:        GPLv2
23ecd53
URL:            http://hte.sourceforge.net/
23ecd53
Source0:        http://downloads.sourceforge.net/hte/ht-%{version}.tar.bz2
23ecd53
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
23ecd53
23ecd53
BuildRequires:  libX11-devel ncurses-devel lzo-devel
23ecd53
BuildRequires:  recode
23ecd53
23ecd53
%description
23ecd53
HT is a file editor/viewer/analyzer for executables. The goal is to combine
23ecd53
the low-level functionality of a debugger and the usability of IDEs. We plan
23ecd53
to implement all (hex-)editing features and support of the most important
23ecd53
file formats.
23ecd53
23ecd53
%prep
23ecd53
%setup -q
23ecd53
recode latin1..utf8 TODO
b68776b
find . -name \*.cc -o -name \*.h | xargs chmod 0644
23ecd53
23ecd53
%build
23ecd53
%configure --enable-maintainermode
23ecd53
CXXFLAGS="%{optflags}" make %{?_smp_mflags}
23ecd53
23ecd53
%install
23ecd53
rm -rf $RPM_BUILD_ROOT
23ecd53
make install DESTDIR=$RPM_BUILD_ROOT
23ecd53
Rex Dieter 766a609
# rename ht binary to hte, to avoid conflict with tex4ht
Rex Dieter 766a609
mv $RPM_BUILD_ROOT%{_bindir}/ht $RPM_BUILD_ROOT%{_bindir}/hte
Rex Dieter 766a609
23ecd53
%clean
23ecd53
rm -rf $RPM_BUILD_ROOT
23ecd53
23ecd53
%files
23ecd53
%defattr(-,root,root,-)
23ecd53
%doc ChangeLog COPYING AUTHORS NEWS README TODO KNOWNBUGS
Rex Dieter 766a609
%{_bindir}/hte
23ecd53
23ecd53
%changelog
Rex Dieter 766a609
* Mon Jun 09 2014 Rex Dieter <rdieter@fedoraproject.org> 2.0.18-7
Rex Dieter 766a609
- rename ht binary to hte, avoids conflict with tex4ht (#959696)
Rex Dieter 766a609
10c305e
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.18-6
10c305e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
10c305e
d5b5f06
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.18-5
d5b5f06
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
d5b5f06
77d7dd3
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.18-4
77d7dd3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
77d7dd3
761bd46
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.18-3
761bd46
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
761bd46
41eb600
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.18-2
41eb600
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
41eb600
c97021a
* Sat Feb 19 2011 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
c97021a
- 2.0.18-1
c97021a
- version upgrade
c97021a
e7019e2
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-3
e7019e2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
e7019e2
e72ba4b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.16-2
e72ba4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
e72ba4b
b68776b
* Sun Apr  5 2009 Dan Horák <dan[AT]danny.cz>
b68776b
- 2.0.16-1
b68776b
- version update
b68776b
- added patch for building with gcc 4.4
b68776b
- remove executable permissions on source files
b68776b
77d8969
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.15-2
77d8969
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
77d8969
23ecd53
* Tue Nov 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
6372fb7
- 2.0.15-1
6372fb7
- version upgrade
6372fb7
6372fb7
* Tue Nov 11 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
23ecd53
- 2.0.14-2
23ecd53
- recode TODO to utf8
23ecd53
- fix permissions on endianess.cc
23ecd53
- honor optflags via non standard maintainer mode
23ecd53
23ecd53
* Wed Sep 03 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
23ecd53
- 2.0.14-1
23ecd53
- version upgrade
23ecd53
- BR lzo-devel
23ecd53
- use opt flags
23ecd53
23ecd53
* Mon Jan 07 2008 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
23ecd53
- 2.0.10-1
23ecd53
- version upgrade
23ecd53
- fix source location
23ecd53
- fix license
23ecd53
23ecd53
* Mon Jun 25 2007 Andreas Bierfert <andreas.bierfert[AT]lowlatency.de>
23ecd53
- 2.0.8-1
23ecd53
- initial version