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