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