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