]> git.pld-linux.org Git - packages/bsdiff.git/commitdiff
- new
authorAdam Gołębiowski <adamg@pld-linux.org>
Sat, 22 Apr 2006 07:23:06 +0000 (07:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    bsdiff.spec -> 1.1

bsdiff.spec [new file with mode: 0644]

diff --git a/bsdiff.spec b/bsdiff.spec
new file mode 100644 (file)
index 0000000..b4fc5c7
--- /dev/null
@@ -0,0 +1,40 @@
+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/*
This page took 0.07305 seconds and 4 git commands to generate.