]> git.pld-linux.org Git - packages/xdelta.git/blob - xdelta.spec
- Download URL
[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.4
7 Release:        0.1
8 License:        GPL
9 Group:          Development/Version Control
10 #Source0Download: http://code.google.com/p/xdelta/downloads/list
11 Source0:        http://xdelta.googlecode.com/files/%{name}-%{version}.tar.gz
12 # Source0-md5:  1b896c01ebf0e353b7e3c3071b05f496
13 Patch0:         %{name}-ac_fixes.patch
14 Patch1:         %{name}-use_sys_getopt.patch
15 Patch2:         %{name}-am15.patch
16 Patch3:         %{name}-ac25x.patch
17 Patch4:         %{name}-am18.patch
18 URL:            http://www.xdelta.org/
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
122 %build
123 %{__libtoolize}
124 %{__aclocal}
125 %{__autoconf}
126 %{__autoheader}
127 %{__automake}
128 %configure
129
130 %{__make}
131
132 %install
133 rm -rf $RPM_BUILD_ROOT
134
135 %{__make} install \
136         DESTDIR=$RPM_BUILD_ROOT \
137         m4datadir=%{_aclocaldir}
138
139 %clean
140 rm -rf $RPM_BUILD_ROOT
141
142 %post   -p /sbin/ldconfig
143 %postun -p /sbin/ldconfig
144
145 %files
146 %defattr(644,root,root,755)
147 %doc NEWS READ*
148 %attr(755,root,root) %{_bindir}/xdelta
149 %attr(755,root,root) %{_libdir}/lib*.so.*.*
150 %{_mandir}/man1/*
151
152 %files devel
153 %defattr(644,root,root,755)
154 %doc ChangeLog
155 %attr(755,root,root) %{_bindir}/xdelta-config
156 %attr(755,root,root) %{_libdir}/lib*.so
157 %{_libdir}/lib*.la
158 %{_aclocaldir}/*
159 %{_includedir}/*
160
161 %files static
162 %defattr(644,root,root,755)
163 %{_libdir}/lib*.a
This page took 0.052036 seconds and 3 git commands to generate.