File ht.spec of Package ht
#
# spec file for package ht
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: ht
Version: 2.0.18
Release: 1
Group: Development/Tools/Debuggers
Summary: Disassembler, object dumper and hex editor
License: GPL2
Url: http://hte.sf.net/
#Source-DL: http://downloads.sf.net/%name/%name-%version.tar.bz2
Source: %name-%version.tar.xz
Patch1: ht-locale-fix.diff
Patch2: ht-search-progress.diff
Patch3: ht-enable-math.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: bison flex
BuildRequires: gcc-c++ libstdc++-devel lzo-devel ncurses-devel xz
%description
This program is a file viewer, editor and analyzer for text, binary,
and (especially) executable files.
Authors:
--------
Stefan Weyergraf
Sebastian Biallas
%prep
%setup -q
%patch -P 1 -P 2 -P 3 -p1
%build
autoreconf -fi;
%configure --enable-release
make %{?_smp_mflags};
%install
b="%buildroot";
make install DESTDIR="$b";
%files
%defattr(-,root,root)
%_bindir/%name
%doc AUTHORS ChangeLog KNOWNBUGS NEWS README TODO
%changelog