]> git.pld-linux.org Git - packages/xdelta.git/blob - xdelta.spec
- converted to UTF-8
[packages/xdelta.git] / xdelta.spec
1 Summary:        XDELTA - version control system
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
5 Name:           xdelta
6 Version:        1.1.3
7 Release:        3
8 License:        GPL
9 Group:          Development/Version Control
10 Source0:        http://dl.sourceforge.net/xdelta/%{name}-%{version}.tar.gz
11 # Source0-md5:  08e964c28541605b6fe61c0dd6595516
12 Patch0:         %{name}-ac_fixes.patch
13 Patch1:         %{name}-use_sys_getopt.patch
14 Patch2:         %{name}-am15.patch
15 Patch3:         %{name}-ac25x.patch
16 Patch4:         %{name}-am18.patch
17 Patch5:         %{name}-gcc4.patch
18 URL:            http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  glib-devel >= 1.2.0
22 BuildRequires:  libtool
23 BuildRequires:  zlib-devel
24 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25
26 %description
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
32 output of XDelta is not expressed in a human-readable format - XDelta
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
40 The XDelta library performs its work independently of the actual
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.
46
47 %description -l es.UTF-8
48 xdelta es como las órdenes patch y diff, pero también funciona con
49 archivos binarios.
50
51 %description -l pl.UTF-8
52 XDelta (`X' od XCF - eXperimental Computing Facility w Berkeley) jest
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
66 podobnej do RCS.
67
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
70 wysokopoziomowych programach takich jak system kontroli wersji z XCF
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
74 przez RCS.
75
76 %description -l pt_BR.UTF-8
77 xdelta é como os comandos patch e diff, mas também funciona com
78 arquivos binários.
79
80 %package devel
81 Summary:        XDELTA - header files
82 Summary(pl.UTF-8):   XDELTA - pliki nagłówkowe
83 Summary(pt_BR.UTF-8):   Arquivos de desenvolvimento xdelta
84 Group:          Development/Libraries
85 Requires:       %{name} = %{version}-%{release}
86
87 %description devel
88 This package contains the XDELTA header files required to develop
89 XDELTA-based applications.
90
91 %description devel -l pl.UTF-8
92 Pakiet ten zawiera pliki nagłówkowe potrzebne przy tworzeniu aplikacji
93 bazujących na XDELTA.
94
95 %description devel -l pt_BR.UTF-8
96 Esse pacote contém os arquivos de desenvolvimento do xdelta.
97
98 %package static
99 Summary:        XDELTA - static library
100 Summary(pl.UTF-8):   XDELTA - biblioteka statyczna
101 Summary(pt_BR.UTF-8):   Bibliotecas estáticas para desenvolvimento com xdelta
102 Group:          Development/Libraries
103 Requires:       %{name}-devel = %{version}-%{release}
104
105 %description static
106 This package contains the XDELTA static libraries.
107
108 %description static -l pl.UTF-8
109 Pakiet ten zawiera bibliotekę statyczną XDELTA.
110
111 %description static -l pt_BR.UTF-8
112 Bibliotecas estáticas para desenvolvimento com xdelta.
113
114 %prep
115 %setup -q
116 %patch0 -p1
117 %patch1 -p1
118 %patch2 -p1
119 %patch3 -p1
120 %patch4 -p1
121 %patch5 -p1
122
123 %build
124 %{__libtoolize}
125 %{__aclocal}
126 %{__autoconf}
127 %{__autoheader}
128 %{__automake}
129 %configure
130
131 %{__make}
132
133 %install
134 rm -rf $RPM_BUILD_ROOT
135
136 %{__make} install \
137         DESTDIR=$RPM_BUILD_ROOT \
138         m4datadir=%{_aclocaldir}
139
140 %clean
141 rm -rf $RPM_BUILD_ROOT
142
143 %post   -p /sbin/ldconfig
144 %postun -p /sbin/ldconfig
145
146 %files
147 %defattr(644,root,root,755)
148 %doc NEWS READ*
149 %attr(755,root,root) %{_bindir}/xdelta
150 %attr(755,root,root) %{_libdir}/lib*.so.*.*
151 %{_mandir}/man1/*
152
153 %files devel
154 %defattr(644,root,root,755)
155 %doc ChangeLog
156 %attr(755,root,root) %{_bindir}/xdelta-config
157 %attr(755,root,root) %{_libdir}/lib*.so
158 %{_libdir}/lib*.la
159 %{_aclocaldir}/*
160 %{_includedir}/*
161
162 %files static
163 %defattr(644,root,root,755)
164 %{_libdir}/lib*.a
This page took 0.081266 seconds and 3 git commands to generate.