diff --git a/.cvsignore b/.cvsignore index e69de29..147b27c 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +hexedit-1.2.1.src.tgz diff --git a/hexedit.spec b/hexedit.spec new file mode 100644 index 0000000..e2ee7fc --- /dev/null +++ b/hexedit.spec @@ -0,0 +1,80 @@ +Summary: A hexadecimal file viewer and editor. +Name: hexedit +Version: 1.2.1 +Release: 2 +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}/man1 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root) +%doc COPYING TODO Changes +%{_bindir}/hexedit +%{_mandir}/*/* + +%changelog +* Tue Jul 31 2001 Than Ngo 1.2.1-2 +- fix bug #50488 + +* Tue Jun 26 2001 Than Ngo 1.2.1-1 +- update to 1.2.1 +- Copyright -> License +- add some Buildprereqs + +* Mon May 21 2001 Tim Powers +- built for the ldistro + +* Fri Feb 9 2001 Tim Powers +- patched so that it doesn't segfault on ia64 (bug 26845) + +* Mon Jul 24 2000 Prospector +- rebuilt + +* Mon Jul 10 2000 Tim Powers +- rebuilt + +* Wed Jun 7 2000 Tim Powers +- 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 +- rbeuilt for 7.0 +- made so that man pages are gzipped by RPM (glob) + +* Thu Jul 15 1999 Tim Powers +- updated source +- cleaned up %build section. Now uses make install instead of install + blah.... +-built for 6.1 + +* Tue Oct 06 1998 Michael Maher +- updated package + +* Mon Jul 20 1998 Michael Maher +- built package diff --git a/sources b/sources index e69de29..11a452e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +fb054afa8c7606c005642e3df8194b19 hexedit-1.2.1.src.tgz