Summary: XDELTA - version control system Summary(pl): XDELTA - system kontroli wersji Name: xdelta Version: 1.1.1 Release: 4 Copyright: GPL Group: Development/Version Control Group(pl): Programowanie/Kontrola Wersji Source: ftp://www.xcf.berkeley.edu/pub/xdelta/%{name}-%{version}.tar.gz URL: http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html BuildRequires: glib-devel >= 1.2.0 BuildRequires: zlib-devel Requires: glib >= 1.2.0 BuildRoot: /tmp/%{name}-%{version}-root %description XDelta (X for XCF: the eXperimental Computing Facility at Berkeley) is a library interface and binary delta generator (like a diff program for binaries) and an RCS. These changes (deltas) are similar to the output of the "diff" program in that they may be used to store and transmit only the changes between files. However, unlike diff, the output of XDelta is not expressed in a human-readable format--XDelta can also also apply these deltas to a copy of the original file(s). XDelta uses a fast, linear algorithm and performs well on both binary and text files. XDelta typically outperforms GNU diff in both time and generated-delta-size, even for plain text files. XDelta also includes a simple implementation of the Rsync algorithm and several advanced features for implementing RCS-like file-archival with. The Xdelta library performs its work independently of the actual format used to encode the file and is intended to be used by various higher-level programs such as XCF's Project Revision Control System (PRCS). PRCS is a front end for a version control toolset. Xdelta uses a binary file delta algorithm to replace the standard diff program used by RCS. %description -l pl XDELTA (`X' od XCF) jest biblioteką systemu kontroli wersji tworzona jako zamiennik RCS. Biblioteka XDELTA wykonuje różne czynności niezależnie od bierzącego formatu plików, używanych do kodowania plików baz danych, systemu kontroli wersji i zaprojektowana jest do używania w różnych wysoko-poziomowych systemach kontroli wersji jak PRCS. %package devel Summary: XDELTA - header files Summary(pl): XDELTA - pliki nagłówkowe Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name} = %{version} %description devel This package contains the XDELTA header files required to develop XDELTA-based applications. %description -l pl devel Pakiet ten zawiera pliki nagłówkowe potrzebne przy tworzeniu aplikacji bazujących na XDELTA. %package static Summary: XDELTA - static library Summary(pl): XDELTA - biblioteka statyczna Group: Development/Libraries Group(pl): Programowanie/Biblioteki Requires: %{name}-devel = %{version} %description static This package contains the XDELTA static libraries %description -l pl static Pakiet ten zawiera bibliotekę statyczną XDELTA. %prep %setup -q %build autoconf CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ ./configure %{_target_platform}\ --prefix=%{_prefix} \ --x-includes=/usr/X11R6/lib/glib/include make %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_infodir} make DESTDIR=$RPM_BUILD_ROOT install strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.* gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \ NEWS READ* ChangeLog %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/xdelta %attr(755,root,root) %{_libdir}/lib*.so.*.* %{_mandir}/man1/* %files devel %defattr(644,root,root,755) %doc {NEWS,READ*,ChangeLog}.gz %attr(755,root,root) %{_bindir}/xdelta-config %{_includedir}/* %attr(755,root,root) %{_libdir}/lib*.so %files static %defattr(644,root,root,755) %{_libdir}/lib*.a