]> git.pld-linux.org Git - SPECS.git/blob - xdelta3.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / xdelta3.spec
1 Summary:        XDELTA - version control system
2 Summary(es.UTF-8):      patch y diff para archivos binarios
3 Summary(pl.UTF-8):      XDELTA - system kontroli wersji
4 Summary(pt_BR.UTF-8):   patch e diff para arquivos binários
5 Name:           xdelta3
6 Version:        3.0.8
7 Release:        1
8 License:        GPL
9 Group:          Development/Version Control
10 #Source0Download: http://code.google.com/p/xdelta/downloads/list
11 Source0:        http://xdelta.googlecode.com/files/%{name}-%{version}.tar.xz
12 # Source0-md5:  c3ae3286ce4193de8e03d5bcaccf3bc3
13 Patch0:         patch-testing-regtest.cc.patch
14 URL:            http://www.xdelta.org/
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  glib-devel >= 1.2.0
18 BuildRequires:  libstdc++-devel
19 BuildRequires:  libtool
20 BuildRequires:  xz-devel
21 BuildRequires:  zlib-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 XDelta (X for XCF: the eXperimental Computing Facility at Berkeley) is
26 a library interface and binary delta generator (like a diff program
27 for binaries) and an RCS. These changes (deltas) are similar to the
28 output of the "diff" program in that they may be used to store and
29 transmit only the changes between files. However, unlike diff, the
30 output of XDelta is not expressed in a human-readable format - XDelta
31 can also also apply these deltas to a copy of the original file(s).
32 XDelta uses a fast, linear algorithm and performs well on both binary
33 and text files. XDelta typically outperforms GNU diff in both time and
34 generated-delta-size, even for plain text files. XDelta also includes
35 a simple implementation of the Rsync algorithm and several advanced
36 features for implementing RCS-like file-archival with.
37
38 The XDelta library performs its work independently of the actual
39 format used to encode the file and is intended to be used by various
40 higher-level programs such as XCF's Project Revision Control System
41 (PRCS). PRCS is a front end for a version control toolset. Xdelta uses
42 a binary file delta algorithm to replace the standard diff program
43 used by RCS.
44
45 %description -l es.UTF-8
46 xdelta es como las órdenes patch y diff, pero también funciona con
47 archivos binarios.
48
49 %description -l pl.UTF-8
50 XDelta (`X' od XCF - eXperimental Computing Facility w Berkeley) jest
51 biblioteką i generatorem binarnych delt (różnic podobnych do tych
52 tworzonych przez program diff, ale dla binariów) oraz systemem
53 kontroli wersji. Te zmiany (delty) są podobne do wyjścia programu diff
54 także w tym, że mogą być używane do przechowywania i transmisji tylko
55 zmian między plikami. Jednak, w przeciwieństwie do diffa, wyjście
56 XDelty nie jest wyrażone w postaci czytelnej dla człowieka; XDelta
57 może także nanieść te zmiany na kopię oryginalnego pliku (plików).
58 XDelta używa szybkiego, liniowego algorytmu i dobrze się sprawdza
59 zarówno na binarnych, jak i tekstowych plikach. Algorytm XDelta zwykle
60 jest wydajniejszy od GNU diffa zarówno pod względem czasu jak i
61 rozmiaru wygenerowanych różnic, nawet dla plików czysto tekstowych.
62 XDelta zawiera także przykładową implementację algorytmy Rsync i kilka
63 zaawansowanych możliwości do implementowania archiwizacji plików
64 podobnej do RCS.
65
66 Biblioteka XDelta działa dobrze niezależnie od formatu użytego przy
67 kodowaniu pliku i jest przeznaczona do używania w różnych
68 wysokopoziomowych programach takich jak system kontroli wersji z XCF
69 (PRCS - Project Revision Control System), będący frontendem do
70 zbioru narzędzi służących do kontroli wersji, w którym jest używany
71 algorytm binarnych różnic XDelta zamiast standardowego diffa używanego
72 przez RCS.
73
74 %description -l pt_BR.UTF-8
75 xdelta é como os comandos patch e diff, mas também funciona com
76 arquivos binários.
77
78 %prep
79 %setup -q
80 %patch0 -p1
81
82 %build
83 %{__libtoolize}
84 %{__aclocal}
85 %{__autoconf}
86 %{__autoheader}
87 %{__automake}
88 %configure
89
90 %{__make}
91
92 %install
93 rm -rf $RPM_BUILD_ROOT
94
95 %{__make} install \
96         DESTDIR=$RPM_BUILD_ROOT \
97         m4datadir=%{_aclocaldir}
98
99 %clean
100 rm -rf $RPM_BUILD_ROOT
101
102 %files
103 %defattr(644,root,root,755)
104 %doc README
105 %attr(755,root,root) %{_bindir}/xdelta3
106 %{_mandir}/man1/xdelta3*
This page took 1.842794 seconds and 3 git commands to generate.