1 Summary: XDELTA - version control system
2 Summary(pl): XDELTA - system kontroli wersji
7 Group: Development/Version Control
8 Group(pl): Programowanie/Kontrola Wersji
9 Source: ftp://www.xcf.berkeley.edu/pub/xdelta/%{name}-%{version}.tar.gz
10 URL: http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html
11 BuildRequires: glib-devel >= 1.2.0
12 BuildRequires: zlib-devel
13 Requires: glib >= 1.2.0
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 XDelta (X for XCF: the eXperimental Computing Facility at Berkeley) is a
18 library interface and binary delta generator (like a diff program for
19 binaries) and an RCS. These changes (deltas) are similar to the output of the
20 "diff" program in that they may be used to store and transmit only the
21 changes between files. However, unlike diff, the output of XDelta is not
22 expressed in a human-readable format--XDelta can also also apply these
23 deltas to a copy of the original file(s). XDelta uses a fast, linear
24 algorithm and performs well on both binary and text files. XDelta typically
25 outperforms GNU diff in both time and generated-delta-size, even for plain
26 text files. XDelta also includes a simple implementation of the Rsync
27 algorithm and several advanced features for implementing RCS-like
30 The Xdelta library performs its work independently of the actual format used
31 to encode the file and is intended to be used by various higher-level
32 programs such as XCF's Project Revision Control System (PRCS). PRCS is a
33 front end for a version control toolset. Xdelta uses a binary file delta
34 algorithm to replace the standard diff program used by RCS.
37 XDELTA (`X' od XCF) jest bibliotek± systemu kontroli wersji tworzona jako
38 zamiennik RCS. Biblioteka XDELTA wykonuje ró¿ne czynno¶ci niezale¿nie od
39 bierz±cego formatu plików, u¿ywanych do kodowania plików baz danych, systemu
40 kontroli wersji i zaprojektowana jest do u¿ywania w ró¿nych wysoko-poziomowych
41 systemach kontroli wersji jak PRCS.
44 Summary: XDELTA - header files
45 Summary(pl): XDELTA - pliki nag³ówkowe
46 Group: Development/Libraries
47 Group(pl): Programowanie/Biblioteki
48 Requires: %{name} = %{version}
51 This package contains the XDELTA header files required to develop
52 XDELTA-based applications.
54 %description -l pl devel
55 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
59 Summary: XDELTA - static library
60 Summary(pl): XDELTA - biblioteka statyczna
61 Group: Development/Libraries
62 Group(pl): Programowanie/Biblioteki
63 Requires: %{name}-devel = %{version}
66 This package contains the XDELTA static libraries
68 %description -l pl static
69 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
76 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
77 ./configure %{_target_platform}\
79 --x-includes=/usr/X11R6/lib/glib/include
83 rm -rf $RPM_BUILD_ROOT
84 install -d $RPM_BUILD_ROOT%{_infodir}
86 make DESTDIR=$RPM_BUILD_ROOT install
88 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
90 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
93 %post -p /sbin/ldconfig
94 %postun -p /sbin/ldconfig
97 rm -rf $RPM_BUILD_ROOT
100 %defattr(644,root,root,755)
101 %attr(755,root,root) %{_bindir}/xdelta
102 %attr(755,root,root) %{_libdir}/lib*.so.*.*
106 %defattr(644,root,root,755)
107 %doc {NEWS,READ*,ChangeLog}.gz
109 %attr(755,root,root) %{_bindir}/xdelta-config
112 %attr(755,root,root) %{_libdir}/lib*.so
115 %defattr(644,root,root,755)