summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authoryang.zhang <y0169.zhang@samsung.com>2016-05-18 11:25:47 +0800
committeryang.zhang <y0169.zhang@samsung.com>2016-05-18 11:27:16 +0800
commit41c06420b9ff028fd452cec19ac1412be665673f (patch)
treeece29e014e212b56654888fa3f95f50625164919 /packaging
parenta96d62621beefe4aa20b696744be6325bc536fb6 (diff)
downloadxdelta3-41c06420b9ff028fd452cec19ac1412be665673f.tar.gz
xdelta3-41c06420b9ff028fd452cec19ac1412be665673f.tar.bz2
xdelta3-41c06420b9ff028fd452cec19ac1412be665673f.zip
Change-Id: I8423a2e4bed8a15b862b6b1ab6f6371c92e78b3f
Diffstat (limited to 'packaging')
-rw-r--r--packaging/xdelta3.spec76
1 files changed, 76 insertions, 0 deletions
diff --git a/packaging/xdelta3.spec b/packaging/xdelta3.spec
new file mode 100644
index 0000000..9e890a2
--- /dev/null
+++ b/packaging/xdelta3.spec
@@ -0,0 +1,76 @@
+#
+# spec file for package xdelta3
+#
+# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+Name: xdelta3
+Version: 3.0.8
+Release: 2.1.2
+Summary: A diff utility which works with binary files
+License: GPL-2.0
+Group: Productivity/Archiving/Compression
+Url: http://xdelta.org/
+Source: https://xdelta.googlecode.com/files/xdelta3-%{version}.tar.xz
+# upstream bug https://code.google.com/p/xdelta/issues/detail?id=161
+BuildRequires: gcc-c++
+BuildRequires: xz
+BuildRoot: %{_tmppath}/%{name}-%{version}-build
+
+%description
+Xdelta3 is a set of tools designed to compute changes between
+binary files. These changes (delta files) are similar to the output of the
+"diff" program, in that they may be used to store and transmit only the
+changes between files. The "delta files" that Xdelta3 manages are
+stored in RFC3284 (VCDIFF) format.
+
+%prep
+%setup -q
+
+%build
+sed -i -e '/python/s:2.6:2:' testing/xdelta3-regtest.py || die
+sed -i -e '/python/s:2.7:2:' testing/xdelta3-test.py || die
+%configure
+make CFLAGS="%{optflags} -Wall -Wshadow -fno-builtin" %{?_smp_mflags}
+
+%check
+./xdelta3regtest
+
+%install
+strip %{name}
+mkdir -p %{buildroot}/%{_bindir}
+cp %{name} %{buildroot}/%{_bindir}
+
+%files
+%defattr(-, root, root)
+%doc README COPYING
+%{_bindir}/%{name}
+
+%changelog
+* Tue Jun 24 2014 pgajdos@suse.com
+- fix 32-bit build (testsuite helper)
+- added patches:
+ * xdelta3-regtest.patch
+* Mon Jun 23 2014 pgajdos@suse.com
+- updated to 3.0.8:
+ * bugfixes, see http://xdelta.org/ for details
+* Mon Nov 7 2011 pgajdos@suse.com
+- "GPLv2" to "GPL-2.0"
+* Mon Oct 31 2011 pgajdos@suse.com
+- make test
+* Tue Oct 4 2011 pgajdos@suse.com
+- Updated to 3.0.0
+* Tue Jul 13 2010 mook.moz+rpm.buildservice@gmail.com
+- Initial package (xdelta 3.0y)