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