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://prdownloads.sourceforge.net/xdelta/%{name}-%{version}.tar.gz
11 Patch0: %{name}-ac_fixes.patch
12 Patch1: %{name}-use_sys_getopt.patch
13 Patch2: %{name}-am15.patch
14 URL: http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html
15 BuildRequires: autoconf
16 BuildRequires: automake
17 BuildRequires: glib-devel >= 1.2.0
18 BuildRequires: libtool
19 BuildRequires: zlib-devel
20 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 XDelta (X for XCF: the eXperimental Computing Facility at Berkeley) is
24 a library interface and binary delta generator (like a diff program
25 for binaries) and an RCS. These changes (deltas) are similar to the
26 output of the "diff" program in that they may be used to store and
27 transmit only the changes between files. However, unlike diff, the
28 output of XDelta is not expressed in a human-readable format--XDelta
29 can also also apply these deltas to a copy of the original file(s).
30 XDelta uses a fast, linear algorithm and performs well on both binary
31 and text files. XDelta typically outperforms GNU diff in both time and
32 generated-delta-size, even for plain text files. XDelta also includes
33 a simple implementation of the Rsync algorithm and several advanced
34 features for implementing RCS-like file-archival with.
36 The Xdelta library performs its work independently of the actual
37 format used to encode the file and is intended to be used by various
38 higher-level programs such as XCF's Project Revision Control System
39 (PRCS). PRCS is a front end for a version control toolset. Xdelta uses
40 a binary file delta algorithm to replace the standard diff program
44 xdelta es como las órdenes patch y diff, pero también funciona con
48 XDELTA (`X' od XCF) jest bibliotek± systemu kontroli wersji tworzona
49 jako zamiennik RCS. Biblioteka XDELTA wykonuje ró¿ne czynno¶ci
50 niezale¿nie od bie¿±cego formatu plików, u¿ywanych do kodowania plików
51 baz danych, systemu kontroli wersji i zaprojektowana jest do u¿ywania
52 w ró¿nych wysoko-poziomowych systemach kontroli wersji jak PRCS.
55 xdelta é como os comandos patch e diff, mas também funciona com
59 Summary: XDELTA - header files
60 Summary(pl): XDELTA - pliki nag³ówkowe
61 Summary(pt_BR): Arquivos de desenvolvimento xdelta
62 Group: Development/Libraries
63 Requires: %{name} = %{version}
66 This package contains the XDELTA header files required to develop
67 XDELTA-based applications.
69 %description devel -l pl
70 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
73 %description devel -l pt_BR
74 Esse pacote contém os arquivos de desenvolvimento do xdelta.
77 Summary: XDELTA - static library
78 Summary(pl): XDELTA - biblioteka statyczna
79 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com xdelta
80 Group: Development/Libraries
81 Requires: %{name}-devel = %{version}
84 This package contains the XDELTA static libraries.
86 %description static -l pl
87 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
89 %description static -l pt_BR
90 Bibliotecas estáticas para desenvolvimento com xdelta.
100 libtoolize --copy --force
105 --x-includes=%{_prefix}/X11R6/lib/glib/include
109 rm -rf $RPM_BUILD_ROOT
112 DESTDIR=$RPM_BUILD_ROOT \
113 m4datadir=%{_aclocaldir}
115 gzip -9nf NEWS READ* ChangeLog
117 %post -p /sbin/ldconfig
118 %postun -p /sbin/ldconfig
121 rm -rf $RPM_BUILD_ROOT
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_bindir}/xdelta
126 %attr(755,root,root) %{_libdir}/lib*.so.*.*
130 %defattr(644,root,root,755)
131 %doc {NEWS,READ*,ChangeLog}.gz
132 %attr(755,root,root) %{_bindir}/xdelta-config
133 %attr(755,root,root) %{_libdir}/lib*.so
138 %defattr(644,root,root,755)