Name: ht Version: 2.0.22 Release: 10%{?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 # naive upstreamable fix for building with -Werror=format-security Patch1: ht-2.0.22-format-security.patch # Hack: Do not override CFLAGS/CXXFLAGS in configure[.in] # w/ --enable-maintainermode Patch2: ht-2.0.22-autotools.patch BuildRequires: gcc-c++ BuildRequires: gcc BuildRequires: libX11-devel ncurses-devel lzo-devel BuildRequires: recode %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 %setup -q %patch1 -p1 -b .format-security %patch2 -p1 # Avoid rerunning the autotools touch -r aclocal.m4 configure.* 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 * Fri Jul 13 2018 Fedora Release Engineering - 2.0.22-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Wed Feb 07 2018 Fedora Release Engineering - 2.0.22-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Wed Aug 02 2017 Fedora Release Engineering - 2.0.22-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 2.0.22-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 2.0.22-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Wed Feb 03 2016 Fedora Release Engineering - 2.0.22-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * 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