SPECS: bsdiff.spec (NEW) - new

adamg adamg at pld-linux.org
Sat Apr 22 09:23:11 CEST 2006


Author: adamg                        Date: Sat Apr 22 07:23:11 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   bsdiff.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/bsdiff.spec
diff -u /dev/null SPECS/bsdiff.spec:1.1
--- /dev/null	Sat Apr 22 09:23:11 2006
+++ SPECS/bsdiff.spec	Sat Apr 22 09:23:06 2006
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+Summary:	Binary diff/patch utility
+Name:		bsdiff
+Version:	4.3
+Release:	1%{?dist}
+License:	BSD
+Group:		Development/Tools
+Source0:	http://www.daemonology.net/bsdiff/%{name}-%{version}.tar.gz
+# Source0-md5:	e6d812394f0e0ecc8d5df255aa1db22a
+URL:		http://www.daemonology.net/bsdiff/
+BuildRequires:	bzip2-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+bsdiff and bspatch are tools for building and applying patches to
+binary files. By using suffix sorting (specifically, Larsson and
+Sadakane's qsufsort) and taking advantage of how executable files
+change, bsdiff routinely produces binary patches 50-80% smaller than
+those produced by Xdelta, and 15% smaller than those produced by
+.RTPatch.
+
+%prep
+%setup -q
+
+%build
+%{__cc} bsdiff.c  -o bsdiff  %{rpmcflags} -lbz2
+%{__cc} bspatch.c -o bspatch %{rpmcflags} -lbz2
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d ${RPM_BUILD_ROOT}{%{_bindir},%{_mandir}/man1}
+install bsdiff bspatch ${RPM_BUILD_ROOT}%{_bindir}
+install bsdiff.1 bspatch.1 ${RPM_BUILD_ROOT}%{_mandir}/man1
+
+%clean
+rm -rf ${RPM_BUILD_ROOT}
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+
+$Log$
+Revision 1.1  2006/04/22 07:23:06  adamg
+- new
+
================================================================


More information about the pld-cvs-commit mailing list