hexedit/hexedit.spec

84 lines
1.9 KiB
RPMSpec
Raw Normal View History

Summary: A hexadecimal file viewer and editor.
Name: hexedit
Version: 1.2.1
Release: 3
License: GPL
Group: Applications/Editors
Url: http://www.chez.com/prigaux
Source: ftp://sunsite.unc.edu/pub/Linux/utils/file/hex/hexedit-%{version}.src.tgz
Patch0: hexedit-1.2.1-config.patch
BuildPrereq: ncurses-devel
Buildroot: %{_tmppath}/%{name}-root
%description
Hexedit is a utility which allows you to view and edit hexadecimal or
ASCII files and/or view binary files.
%prep
%setup -q -n hexedit
%patch0 -p1 -b .config
%build
%configure --mandir=%{_mandir}/man1
CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE" make
%install
rm -rf $RPM_BUILD_ROOT
%makeinstall mandir=$RPM_BUILD_ROOT%{_mandir}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc COPYING TODO Changes
%{_bindir}/hexedit
%{_mandir}/*/*
%changelog
* Thu Aug 9 2001 Than Ngo <than@redhat.com> 1.2.1-3
- install man page in correct place
* Tue Jul 31 2001 Than Ngo <than@redhat.com> 1.2.1-2
- fix bug #50488
* Tue Jun 26 2001 Than Ngo <than@redhat.com> 1.2.1-1
- update to 1.2.1
- Copyright -> License
- add some Buildprereqs
* Mon May 21 2001 Tim Powers <timp@redhat.com>
- built for the ldistro
* Fri Feb 9 2001 Tim Powers <timp@redhat.com>
- patched so that it doesn't segfault on ia64 (bug 26845)
* Mon Jul 24 2000 Prospector <prospector@redhat.com>
- rebuilt
* Mon Jul 10 2000 Tim Powers <timp@redhat.com>
- rebuilt
* Wed Jun 7 2000 Tim Powers <timp@redhat.com>
- fixed man page location
- use %%makeinstall
- use predefined RPM macros wherever possible
- patched so that regular users can build
* Fri May 12 2000 Tim Powers <timp@redhat.com>
- rbeuilt for 7.0
- made so that man pages are gzipped by RPM (glob)
* Thu Jul 15 1999 Tim Powers <timp@redhat.com>
- updated source
- cleaned up %build section. Now uses make install instead of install
blah....
-built for 6.1
* Tue Oct 06 1998 Michael Maher <mike@redhat.com>
- updated package
* Mon Jul 20 1998 Michael Maher <mike@redhat.com>
- built package