Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a60f188f8e | ||
|
|
c41b983665 | ||
|
|
bf3c5034b4 | ||
| b10865c28e |
5 changed files with 62 additions and 21 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
vbindiff-3.0_beta4.tar.gz
|
||||||
21
Makefile
21
Makefile
|
|
@ -1,21 +0,0 @@
|
||||||
# Makefile for source rpm: vbindiff
|
|
||||||
# $Id$
|
|
||||||
NAME := vbindiff
|
|
||||||
SPECFILE = $(firstword $(wildcard *.spec))
|
|
||||||
|
|
||||||
define find-makefile-common
|
|
||||||
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(find-makefile-common))
|
|
||||||
|
|
||||||
ifeq ($(MAKEFILE_COMMON),)
|
|
||||||
# attept a checkout
|
|
||||||
define checkout-makefile-common
|
|
||||||
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
|
|
||||||
endef
|
|
||||||
|
|
||||||
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
|
|
||||||
endif
|
|
||||||
|
|
||||||
include $(MAKEFILE_COMMON)
|
|
||||||
1
sources
1
sources
|
|
@ -0,0 +1 @@
|
||||||
|
dbda80ef580e1a0975ef50b9aaa5210e vbindiff-3.0_beta4.tar.gz
|
||||||
60
vbindiff.spec
Normal file
60
vbindiff.spec
Normal file
|
|
@ -0,0 +1,60 @@
|
||||||
|
%define beta_version 4
|
||||||
|
Name: vbindiff
|
||||||
|
Version: 3.0
|
||||||
|
Release: 0.2.beta%{beta_version}%{?dist}
|
||||||
|
Summary: Visual binary diff
|
||||||
|
|
||||||
|
Group: Applications/Editors
|
||||||
|
License: GPLv2+
|
||||||
|
URL: http://www.cjmweb.net/%{name}/
|
||||||
|
Source0: http://www.cjmweb.net/%{name}/%{name}-%{version}_beta%{beta_version}.tar.gz
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: ncurses-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
VBinDiff (Visual Binary Diff) displays files in hexadecimal
|
||||||
|
and ASCII (or EBCDIC). It can also display two files at once,
|
||||||
|
and highlight the differences between them.
|
||||||
|
Unlike diff, it works well with large files (up to 4 GB).
|
||||||
|
|
||||||
|
VBinDiff was inspired by the Compare Files function
|
||||||
|
of the ProSel utilities by Glen Bredon, for the Apple II.
|
||||||
|
|
||||||
|
The single-file mode was inspired by the LIST utility
|
||||||
|
of 4DOS and friends. While less provides a good line-oriented display,
|
||||||
|
it has no equivalent to LIST's hex display.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}_beta%{beta_version}
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure INSTALL="install -p"
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc AUTHORS NEWS README README.PuTTY COPYING putty.src
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/man/man?/%{name}*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Wed Dec 10 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 3.0-0.2.beta4
|
||||||
|
- Release tag fixed
|
||||||
|
- Install command fixed
|
||||||
|
* Sun Jul 27 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 3.0-0.1.beta4
|
||||||
|
- rebuild for version 3.0 beta 4
|
||||||
|
* Tue Jul 8 2008 Nicoleau Fabien <nicoleau.fabien@gmail.com> - 3.0-0.1.beta3
|
||||||
|
- Initial build
|
||||||
Loading…
Add table
Add a link
Reference in a new issue