]> git.pld-linux.org Git - packages/xdelta.git/blob - xdelta.spec
- release 5,
[packages/xdelta.git] / xdelta.spec
1 Summary:        XDELTA - version control system
2 Summary(pl):    XDELTA - system kontroli wersji
3 Name:           xdelta
4 Version:        1.1.1
5 Release:        5
6 License:        GPL
7 Group:          Development/Version Control
8 Group(de):      Entwicklung/Versionkontrolle
9 Group(pl):      Programowanie/Zarz±dzanie wersjami
10 Source0:        ftp://www.xcf.berkeley.edu/pub/xdelta/%{name}-%{version}.tar.gz
11 URL:            http://www.XCF.Berkeley.EDU/~jmacd/xdelta.html
12 BuildRequires:  glib-devel >= 1.2.0
13 BuildRequires:  zlib-devel
14 Requires:       glib >= 1.2.0
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 XDelta (X for XCF: the eXperimental Computing Facility at Berkeley) is
19 a library interface and binary delta generator (like a diff program
20 for binaries) and an RCS. These changes (deltas) are similar to the
21 output of the "diff" program in that they may be used to store and
22 transmit only the changes between files. However, unlike diff, the
23 output of XDelta is not expressed in a human-readable format--XDelta
24 can also also apply these deltas to a copy of the original file(s).
25 XDelta uses a fast, linear algorithm and performs well on both binary
26 and text files. XDelta typically outperforms GNU diff in both time and
27 generated-delta-size, even for plain text files. XDelta also includes
28 a simple implementation of the Rsync algorithm and several advanced
29 features for implementing RCS-like file-archival with.
30
31 The Xdelta library performs its work independently of the actual
32 format used to encode the file and is intended to be used by various
33 higher-level programs such as XCF's Project Revision Control System
34 (PRCS). PRCS is a front end for a version control toolset. Xdelta uses
35 a binary file delta algorithm to replace the standard diff program
36 used by RCS.
37
38 %description -l pl
39 XDELTA (`X' od XCF) jest bibliotek± systemu kontroli wersji tworzona
40 jako zamiennik RCS. Biblioteka XDELTA wykonuje ró¿ne czynno¶ci
41 niezale¿nie od bierz±cego formatu plików, u¿ywanych do kodowania
42 plików baz danych, systemu kontroli wersji i zaprojektowana jest do
43 u¿ywania w ró¿nych wysoko-poziomowych systemach kontroli wersji jak
44 PRCS.
45
46 %package devel
47 Summary:        XDELTA - header files
48 Summary(pl):    XDELTA - pliki nag³ówkowe
49 Group:          Development/Libraries
50 Group(de):      Entwicklung/Libraries
51 Group(fr):      Development/Librairies
52 Group(pl):      Programowanie/Biblioteki
53 Requires:       %{name} = %{version}
54
55 %description devel
56 This package contains the XDELTA header files required to develop
57 XDELTA-based applications.
58
59 %description -l pl devel
60 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
61 bazuj±cych na XDELTA.
62
63 %package static
64 Summary:        XDELTA - static library
65 Summary(pl):    XDELTA - biblioteka statyczna
66 Group:          Development/Libraries
67 Group(de):      Entwicklung/Libraries
68 Group(fr):      Development/Librairies
69 Group(pl):      Programowanie/Biblioteki
70 Requires:       %{name}-devel = %{version}
71
72 %description static
73 This package contains the XDELTA static libraries
74
75 %description -l pl static
76 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
77
78 %prep
79 %setup -q
80
81 %build
82 autoconf
83 %configure \
84         --x-includes=%{_prefix}/X11R6/lib/glib/include
85 %{__make}
86
87 %install
88 rm -rf $RPM_BUILD_ROOT
89 install -d $RPM_BUILD_ROOT%{_infodir}
90
91 %{__make} install DESTDIR=$RPM_BUILD_ROOT
92
93 gzip -9nf NEWS READ* ChangeLog
94
95 %post   -p /sbin/ldconfig
96 %postun -p /sbin/ldconfig
97
98 %clean
99 rm -rf $RPM_BUILD_ROOT
100
101 %files
102 %defattr(644,root,root,755)
103 %attr(755,root,root) %{_bindir}/xdelta
104 %attr(755,root,root) %{_libdir}/lib*.so.*.*
105 %{_mandir}/man1/*
106
107 %files devel
108 %defattr(644,root,root,755)
109 %doc {NEWS,READ*,ChangeLog}.gz
110
111 %attr(755,root,root) %{_bindir}/xdelta-config
112 %{_includedir}/*
113
114 %attr(755,root,root) %{_libdir}/lib*.so
115
116 %files static
117 %defattr(644,root,root,755)
118 %{_libdir}/lib*.a
This page took 0.036111 seconds and 3 git commands to generate.