Name: ht Version: 2.1.0 Release: 3%{?dist} Summary: File editor/viewer/analyzer for executables Group: Applications/Editors License: GPLv2 URL: http://hte.sourceforge.net/ Source0: http://downloads.sourceforge.net/hte/ht-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # naive upstreamable fix for building with -Werror=format-security Patch1: ht-2.0.22-format-security.patch # don't call abs with uint Patch2: ht-2.1.0-uint-abs.patch BuildRequires: libX11-devel ncurses-devel lzo-devel BuildRequires: recode BuildRequires: gcc-c++ %description HT is a file editor/viewer/analyzer for executables. The goal is to combine the low-level functionality of a debugger and the usability of IDEs. We plan to implement all (hex-)editing features and support of the most important file formats. %prep %autosetup -p1 recode latin1..utf8 TODO find . -name \*.cc -o -name \*.h | xargs chmod 0644 %build %configure --enable-maintainermode make %{?_smp_mflags} %install make install DESTDIR=$RPM_BUILD_ROOT # rename ht binary to hte, to avoid conflict with tex4ht mv $RPM_BUILD_ROOT%{_bindir}/ht $RPM_BUILD_ROOT%{_bindir}/hte %files %doc ChangeLog AUTHORS NEWS README TODO KNOWNBUGS %license COPYING %{_bindir}/hte %changelog * Sun Oct 21 2018 Ting-Wei Lan - 2.1.0-3 - Fedora 29 no longer includes GCC in the default buildroot. * Sat Jul 01 2017 Ting-Wei Lan - 2.1.0-2 - Use autosetup macro. - Fix compilation error with GCC 7. * Sat Nov 21 2015 Ting-Wei Lan - 2.1.0-1 - ht-2.1.0 - Drop ht-2.0.22-autotools.patch. * Wed Jul 15 2015 Ralf Corsépius - 2.0.22-4 - Add ht-2.0.22-autotools.patch (Fix F23FTBFS, RHBZ#1239565). - Modernize spec. - Add %%license. * Wed Jun 17 2015 Fedora Release Engineering - 2.0.22-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Aug 16 2014 Fedora Release Engineering - 2.0.22-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Mon Jun 09 2014 Rex Dieter 2.0.22-1 - ht-2.0.22 - fix FTBFS with -Werror=format-security (#1037124) * Mon Jun 09 2014 Rex Dieter 2.0.18-7 - rename ht binary to hte, avoids conflict with tex4ht (#959696) * Sat Jun 07 2014 Fedora Release Engineering - 2.0.18-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 2.0.18-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Feb 14 2013 Fedora Release Engineering - 2.0.18-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Thu Jul 19 2012 Fedora Release Engineering - 2.0.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jan 13 2012 Fedora Release Engineering - 2.0.18-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Sat Feb 19 2011 Andreas Bierfert - 2.0.18-1 - version upgrade * Wed Feb 09 2011 Fedora Release Engineering - 2.0.16-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Jul 24 2009 Fedora Release Engineering - 2.0.16-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Apr 5 2009 Dan Horák - 2.0.16-1 - version update - added patch for building with gcc 4.4 - remove executable permissions on source files * Tue Feb 24 2009 Fedora Release Engineering - 2.0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Nov 11 2008 Andreas Bierfert - 2.0.15-1 - version upgrade * Tue Nov 11 2008 Andreas Bierfert - 2.0.14-2 - recode TODO to utf8 - fix permissions on endianess.cc - honor optflags via non standard maintainer mode * Wed Sep 03 2008 Andreas Bierfert - 2.0.14-1 - version upgrade - BR lzo-devel - use opt flags * Mon Jan 07 2008 Andreas Bierfert - 2.0.10-1 - version upgrade - fix source location - fix license * Mon Jun 25 2007 Andreas Bierfert - 2.0.8-1 - initial version