]> git.pld-linux.org Git - packages/xdelta.git/blob - xdelta.spec
- add md5
[packages/xdelta.git] / xdelta.spec
1 Summary:        XDELTA - version control system
2 Summary(es):    patch y diff para archivos binarios
3 Summary(pl):    XDELTA - system kontroli wersji
4 Summary(pt_BR): patch e diff para arquivos binários
5 Name:           xdelta
6 Version:        1.1.3
7 Release:        2
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 URL:            http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html
17 BuildRequires:  autoconf
18 BuildRequires:  automake
19 BuildRequires:  glib-devel >= 1.2.0
20 BuildRequires:  libtool
21 BuildRequires:  zlib-devel
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 XDelta (X for XCF: the eXperimental Computing Facility at Berkeley) is
26 a library interface and binary delta generator (like a diff program
27 for binaries) and an RCS. These changes (deltas) are similar to the
28 output of the "diff" program in that they may be used to store and
29 transmit only the changes between files. However, unlike diff, the
30 output of XDelta is not expressed in a human-readable format--XDelta
31 can also also apply these deltas to a copy of the original file(s).
32 XDelta uses a fast, linear algorithm and performs well on both binary
33 and text files. XDelta typically outperforms GNU diff in both time and
34 generated-delta-size, even for plain text files. XDelta also includes
35 a simple implementation of the Rsync algorithm and several advanced
36 features for implementing RCS-like file-archival with.
37
38 The Xdelta library performs its work independently of the actual
39 format used to encode the file and is intended to be used by various
40 higher-level programs such as XCF's Project Revision Control System
41 (PRCS). PRCS is a front end for a version control toolset. Xdelta uses
42 a binary file delta algorithm to replace the standard diff program
43 used by RCS.
44
45 %description -l es
46 xdelta es como las órdenes patch y diff, pero también funciona con
47 archivos binarios.
48
49 %description -l pl
50 XDELTA (`X' od XCF) jest bibliotek± systemu kontroli wersji tworzona
51 jako zamiennik RCS. Biblioteka XDELTA wykonuje ró¿ne czynno¶ci
52 niezale¿nie od bie¿±cego formatu plików, u¿ywanych do kodowania plików
53 baz danych, systemu kontroli wersji i zaprojektowana jest do u¿ywania
54 w ró¿nych wysoko-poziomowych systemach kontroli wersji jak PRCS.
55
56 %description -l pt_BR
57 xdelta é como os comandos patch e diff, mas também funciona com
58 arquivos binários.
59
60 %package devel
61 Summary:        XDELTA - header files
62 Summary(pl):    XDELTA - pliki nag³ówkowe
63 Summary(pt_BR): Arquivos de desenvolvimento xdelta
64 Group:          Development/Libraries
65 Requires:       %{name} = %{version}
66
67 %description devel
68 This package contains the XDELTA header files required to develop
69 XDELTA-based applications.
70
71 %description devel -l pl
72 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
73 bazuj±cych na XDELTA.
74
75 %description devel -l pt_BR
76 Esse pacote contém os arquivos de desenvolvimento do xdelta.
77
78 %package static
79 Summary:        XDELTA - static library
80 Summary(pl):    XDELTA - biblioteka statyczna
81 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento com xdelta
82 Group:          Development/Libraries
83 Requires:       %{name}-devel = %{version}
84
85 %description static
86 This package contains the XDELTA static libraries.
87
88 %description static -l pl
89 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
90
91 %description static -l pt_BR
92 Bibliotecas estáticas para desenvolvimento com xdelta.
93
94 %prep
95 %setup -q
96 %patch0 -p1
97 %patch1 -p1
98 %patch2 -p1
99 %patch3 -p1
100
101 %build
102 rm -f missing
103 %{__libtoolize}
104 %{__aclocal}
105 %{__autoconf}
106 %{__automake}
107 %configure
108
109 %{__make}
110
111 %install
112 rm -rf $RPM_BUILD_ROOT
113
114 %{__make} install \
115         DESTDIR=$RPM_BUILD_ROOT \
116         m4datadir=%{_aclocaldir}
117
118 %clean
119 rm -rf $RPM_BUILD_ROOT
120
121 %post   -p /sbin/ldconfig
122 %postun -p /sbin/ldconfig
123
124 %files
125 %defattr(644,root,root,755)
126 %doc NEWS READ*
127 %attr(755,root,root) %{_bindir}/xdelta
128 %attr(755,root,root) %{_libdir}/lib*.so.*.*
129 %{_mandir}/man1/*
130
131 %files devel
132 %defattr(644,root,root,755)
133 %doc ChangeLog
134 %attr(755,root,root) %{_bindir}/xdelta-config
135 %attr(755,root,root) %{_libdir}/lib*.so
136 %{_libdir}/lib*.la
137 %{_aclocaldir}/*
138 %{_includedir}/*
139
140 %files static
141 %defattr(644,root,root,755)
142 %{_libdir}/lib*.a
This page took 0.038299 seconds and 4 git commands to generate.