]> git.pld-linux.org Git - packages/xdelta.git/blame - xdelta.spec
- added the unresolved.patch
[packages/xdelta.git] / xdelta.spec
CommitLineData
9528db44 1Summary: XDELTA - version control system
c339f091
ER
2Summary(es.UTF-8): patch y diff para archivos binarios
3Summary(pl.UTF-8): XDELTA - system kontroli wersji
4Summary(pt_BR.UTF-8): patch e diff para arquivos binários
9528db44 5Name: xdelta
e81deb6d 6Version: 1.1.4
4d26d006 7Release: 2
e73a5741 8License: GPL
9528db44 9Group: Development/Version Control
1307dbc0 10#Source0Download: http://code.google.com/p/xdelta/downloads/list
e81deb6d
SS
11Source0: http://xdelta.googlecode.com/files/%{name}-%{version}.tar.gz
12# Source0-md5: 1b896c01ebf0e353b7e3c3071b05f496
86a97ae2 13Patch0: %{name}-ac_fixes.patch
14Patch1: %{name}-use_sys_getopt.patch
15Patch2: %{name}-am15.patch
788af2bd 16Patch3: %{name}-ac25x.patch
d2b953ca 17Patch4: %{name}-am18.patch
4d26d006 18Patch5: unresolved.patch
aa23f900 19URL: http://www.xdelta.org/
4724d231 20BuildRequires: autoconf
21BuildRequires: automake
a142b148 22BuildRequires: glib-devel >= 1.2.0
4724d231 23BuildRequires: libtool
a142b148 24BuildRequires: zlib-devel
6c064c42 25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
954b1112 26
27%description
e73a5741
JB
28XDelta (X for XCF: the eXperimental Computing Facility at Berkeley) is
29a library interface and binary delta generator (like a diff program
30for binaries) and an RCS. These changes (deltas) are similar to the
31output of the "diff" program in that they may be used to store and
32transmit only the changes between files. However, unlike diff, the
d2b953ca 33output of XDelta is not expressed in a human-readable format - XDelta
e73a5741
JB
34can also also apply these deltas to a copy of the original file(s).
35XDelta uses a fast, linear algorithm and performs well on both binary
36and text files. XDelta typically outperforms GNU diff in both time and
37generated-delta-size, even for plain text files. XDelta also includes
38a simple implementation of the Rsync algorithm and several advanced
39features for implementing RCS-like file-archival with.
40
d2b953ca 41The XDelta library performs its work independently of the actual
e73a5741
JB
42format used to encode the file and is intended to be used by various
43higher-level programs such as XCF's Project Revision Control System
44(PRCS). PRCS is a front end for a version control toolset. Xdelta uses
45a binary file delta algorithm to replace the standard diff program
46used by RCS.
954b1112 47
9fb5f176
JR
48%description -l es.UTF-8
49xdelta es como las órdenes patch y diff, pero también funciona con
4724d231 50archivos binarios.
51
9fb5f176 52%description -l pl.UTF-8
d2b953ca 53XDelta (`X' od XCF - eXperimental Computing Facility w Berkeley) jest
9fb5f176
JR
54biblioteką i generatorem binarnych delt (różnic podobnych do tych
55tworzonych przez program diff, ale dla binariów) oraz systemem
56kontroli wersji. Te zmiany (delty) są podobne do wyjścia programu diff
57także w tym, że mogą być używane do przechowywania i transmisji tylko
58zmian między plikami. Jednak, w przeciwieństwie do diffa, wyjście
59XDelty nie jest wyrażone w postaci czytelnej dla człowieka; XDelta
60może także nanieść te zmiany na kopię oryginalnego pliku (plików).
61XDelta używa szybkiego, liniowego algorytmu i dobrze się sprawdza
62zarówno na binarnych, jak i tekstowych plikach. Algorytm XDelta zwykle
63jest wydajniejszy od GNU diffa zarówno pod względem czasu jak i
64rozmiaru wygenerowanych różnic, nawet dla plików czysto tekstowych.
65XDelta zawiera także przykładową implementację algorytmy Rsync i kilka
66zaawansowanych możliwości do implementowania archiwizacji plików
d2b953ca
JB
67podobnej do RCS.
68
9fb5f176
JR
69Biblioteka XDelta działa dobrze niezależnie od formatu użytego przy
70kodowaniu pliku i jest przeznaczona do używania w różnych
d2b953ca 71wysokopoziomowych programach takich jak system kontroli wersji z XCF
9fb5f176
JR
72(PRCS - Project Revision Control System), będący frontendem do
73zbioru narzędzi służących do kontroli wersji, w którym jest używany
74algorytm binarnych różnic XDelta zamiast standardowego diffa używanego
d2b953ca 75przez RCS.
954b1112 76
9fb5f176
JR
77%description -l pt_BR.UTF-8
78xdelta é como os comandos patch e diff, mas também funciona com
79arquivos binários.
4724d231 80
954b1112 81%package devel
9528db44 82Summary: XDELTA - header files
c339f091
ER
83Summary(pl.UTF-8): XDELTA - pliki nagłówkowe
84Summary(pt_BR.UTF-8): Arquivos de desenvolvimento xdelta
9528db44 85Group: Development/Libraries
0580ce38 86Requires: %{name} = %{version}-%{release}
9ddeb1a3 87
954b1112 88%description devel
89This package contains the XDELTA header files required to develop
90XDELTA-based applications.
91
9fb5f176
JR
92%description devel -l pl.UTF-8
93Pakiet ten zawiera pliki nagłówkowe potrzebne przy tworzeniu aplikacji
94bazujących na XDELTA.
954b1112 95
9fb5f176
JR
96%description devel -l pt_BR.UTF-8
97Esse pacote contém os arquivos de desenvolvimento do xdelta.
4724d231 98
954b1112 99%package static
9528db44 100Summary: XDELTA - static library
c339f091
ER
101Summary(pl.UTF-8): XDELTA - biblioteka statyczna
102Summary(pt_BR.UTF-8): Bibliotecas estáticas para desenvolvimento com xdelta
9528db44 103Group: Development/Libraries
0580ce38 104Requires: %{name}-devel = %{version}-%{release}
9ddeb1a3 105
954b1112 106%description static
3d8c33d0 107This package contains the XDELTA static libraries.
4724d231 108
9fb5f176
JR
109%description static -l pl.UTF-8
110Pakiet ten zawiera bibliotekę statyczną XDELTA.
954b1112 111
9fb5f176
JR
112%description static -l pt_BR.UTF-8
113Bibliotecas estáticas para desenvolvimento com xdelta.
4724d231 114
954b1112 115%prep
116%setup -q
4724d231 117%patch0 -p1
118%patch1 -p1
119%patch2 -p1
788af2bd 120%patch3 -p1
d2b953ca 121%patch4 -p1
4d26d006 122%patch5 -p1
954b1112 123
124%build
9935baac 125%{__libtoolize}
15c11504 126%{__aclocal}
79de226d 127%{__autoconf}
d2b953ca 128%{__autoheader}
79de226d 129%{__automake}
788af2bd
JB
130%configure
131
cb1f1c06 132%{__make}
954b1112 133
134%install
135rm -rf $RPM_BUILD_ROOT
7a8abf2e 136
4724d231 137%{__make} install \
138 DESTDIR=$RPM_BUILD_ROOT \
139 m4datadir=%{_aclocaldir}
9528db44 140
788af2bd
JB
141%clean
142rm -rf $RPM_BUILD_ROOT
9ddeb1a3 143
7aeb6f4d 144%post -p /sbin/ldconfig
86a97ae2 145%postun -p /sbin/ldconfig
954b1112 146
954b1112 147%files
75158fe6 148%defattr(644,root,root,755)
788af2bd 149%doc NEWS READ*
e2ffeded 150%attr(755,root,root) %{_bindir}/xdelta
4d26d006
WF
151%attr(755,root,root) %{_libdir}/libedsio.so.*.*
152%attr(755,root,root) %ghost %{_libdir}/libedsio.so.0
153%attr(755,root,root) %{_libdir}/libxdelta.so.*.*
154%attr(755,root,root) %ghost %{_libdir}/libxdelta.so.2
d2bd793d 155%{_mandir}/man1/*
954b1112 156
157%files devel
9528db44 158%defattr(644,root,root,755)
788af2bd 159%doc ChangeLog
e2ffeded 160%attr(755,root,root) %{_bindir}/xdelta-config
4d26d006
WF
161%attr(755,root,root) %{_libdir}/libedsio.so
162%attr(755,root,root) %{_libdir}/libxdelta.so
788af2bd 163%{_libdir}/lib*.la
4724d231 164%{_aclocaldir}/*
165%{_includedir}/*
954b1112 166
914e5788 167%files static
75158fe6 168%defattr(644,root,root,755)
0bffb5a6 169%{_libdir}/lib*.a
This page took 0.10701 seconds and 4 git commands to generate.