1 Summary: XDELTA - version control system
2 Summary(es): patch y diff para archivos binarios
3 Summary(pl): XDELTA - system kontroli wersji
4 Summary(pt_BR): patch e diff para arquivos binários
9 Group: Development/Version Control
10 Source0: http://dl.sourceforge.net/xdelta/%{name}-%{version}.tar.gz
11 # Source0-md5: 08e964c28541605b6fe61c0dd6595516
12 Patch0: %{name}-ac_fixes.patch
13 Patch1: %{name}-use_sys_getopt.patch
14 Patch2: %{name}-am15.patch
15 Patch3: %{name}-ac25x.patch
16 URL: http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html
17 BuildRequires: autoconf
18 BuildRequires: automake
19 BuildRequires: glib-devel >= 1.2.0
20 BuildRequires: libtool
21 BuildRequires: zlib-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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.
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
46 xdelta es como las órdenes patch y diff, pero también funciona con
50 XDELTA (`X' od XCF) jest bibliotek± systemu kontroli wersji tworzona
51 jako zamiennik RCS. Biblioteka XDELTA wykonuje ró¿ne czynno¶ci
52 niezale¿nie od bie¿±cego formatu plików, u¿ywanych do kodowania plików
53 baz danych, systemu kontroli wersji i zaprojektowana jest do u¿ywania
54 w ró¿nych wysoko-poziomowych systemach kontroli wersji jak PRCS.
57 xdelta é como os comandos patch e diff, mas também funciona com
61 Summary: XDELTA - header files
62 Summary(pl): XDELTA - pliki nag³ówkowe
63 Summary(pt_BR): Arquivos de desenvolvimento xdelta
64 Group: Development/Libraries
65 Requires: %{name} = %{version}
68 This package contains the XDELTA header files required to develop
69 XDELTA-based applications.
71 %description devel -l pl
72 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
75 %description devel -l pt_BR
76 Esse pacote contém os arquivos de desenvolvimento do xdelta.
79 Summary: XDELTA - static library
80 Summary(pl): XDELTA - biblioteka statyczna
81 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com xdelta
82 Group: Development/Libraries
83 Requires: %{name}-devel = %{version}
86 This package contains the XDELTA static libraries.
88 %description static -l pl
89 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
91 %description static -l pt_BR
92 Bibliotecas estáticas para desenvolvimento com xdelta.
112 rm -rf $RPM_BUILD_ROOT
115 DESTDIR=$RPM_BUILD_ROOT \
116 m4datadir=%{_aclocaldir}
119 rm -rf $RPM_BUILD_ROOT
121 %post -p /sbin/ldconfig
122 %postun -p /sbin/ldconfig
125 %defattr(644,root,root,755)
127 %attr(755,root,root) %{_bindir}/xdelta
128 %attr(755,root,root) %{_libdir}/lib*.so.*.*
132 %defattr(644,root,root,755)
134 %attr(755,root,root) %{_bindir}/xdelta-config
135 %attr(755,root,root) %{_libdir}/lib*.so
141 %defattr(644,root,root,755)