File hexedit.spec of Package hexedit

Name: hexedit
Summary: View and edit files in hexadecimal or in ASCII 
Version: 1.5+git8.d4b92e2
Release: 0
License: GPL-2.0
Group: Development/Tools/Other
Url: http://rigaux.org/hexedit.html
Source0: %{name}-%{version}.tar.xz
Patch0: hexedit-search2a.diff

BuildRequires: ncurses-devel
BuildRequires: autoconf
BuildRoot: %{_tmppath}/%{name}-%{version}-build

%description
hexedit shows a file both in ASCII and in hexadecimal. The file can be a device as the file is read a piece at a time. You can modify the file and search through it.

%prep
%setup -q
%patch0

%build
./autogen.sh
%configure
make

%install
%make_install

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root,-)
%{_bindir}/%{name}
%{_datadir}/man/man1/%{name}.1.gz

%changelog
* Wed Mar 13 2013 Marcus Furlong <furlongm@gmail.com> 1.2.13
- Initial RPM Release
openSUSE Build Service is sponsored by