Name: xdelta
Version: 1.1.1
Release: 4
-Copyright: GPL
+License: GPL
Group: Development/Version Control
+Group(de): Entwicklung/Versionkontrolle
Group(pl): Programowanie/Zarz±dzanie wersjami
-Source: ftp://www.xcf.berkeley.edu/pub/xdelta/%{name}-%{version}.tar.gz
+Source0: 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
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%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.
+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.
+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(de): Entwicklung/Libraries
+Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
Requires: %{name} = %{version}
Summary: XDELTA - static library
Summary(pl): XDELTA - biblioteka statyczna
Group: Development/Libraries
+Group(de): Entwicklung/Libraries
+Group(fr): Development/Librairies
Group(pl): Programowanie/Biblioteki
Requires: %{name}-devel = %{version}
%build
autoconf
-CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
+CFLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" \
./configure %{_target_platform}\
--prefix=%{_prefix} \
- --x-includes=/usr/X11R6/lib/glib/include
+ --x-includes=%{_prefix}/X11R6/lib/glib/include
%{__make}
%install
%{__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
+gzip -9nf NEWS READ* ChangeLog
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig