Blob Blame History Raw
Summary: Ncurses based hexadecimal editor with a diff mode
Name: dhex
Version: 0.68
Release: 5%{?dist}
License: GPLv2+
Group: Applications/Editors
URL: http://www.dettus.net/dhex/
Source: http://www.dettus.net/dhex/%{name}_%{version}.tar.gz
Patch0: dhex-0.68-build-fix.patch
BuildRequires: ncurses-devel

%description
DHEX is a more than just another hex editor: It includes a diff mode, which
can be used to easily and conveniently compare two binary files. Since it is
based on ncurses and is themeable, it can run on any number of systems and
scenarios. With its utilization of search logs, it is possible to track
changes in different iterations of files easily.

%prep
%setup -q -n %{name}_%{version}
%patch0 -p1 -b .build-fix

%build
make %{?_smp_mflags} CFLAGS="%{optflags}" %{?__global_ldflags: LDFLAGS="%{__global_ldflags}"}

%install
install -dD %{buildroot}%{_bindir} %{buildroot}%{_mandir}/man{1,5}
make %{?_smp_mflags} DESTDIR=%{buildroot} BINDIR=%{_bindir} \
     MANDIR=%{_mandir} install

%files
%doc README.txt gpl.txt todo.txt

%{_bindir}/*
%{_mandir}/*/*

%changelog
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.68-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild

* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild

* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.68-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild

* Fri Jun 20 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 0.68-2
- Various fixes according to review

* Fri Jun 20 2014 Jaroslav Škarvada <jskarvad@redhat.com> - 0.68-1
- Initial release