]> git.pld-linux.org Git - packages/xdelta.git/blob - xdelta.spec
- revision up to 3,
[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:        3
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 BuildPrereq:    glib-devel >= 1.2.0
12 BuildPrereq:    zlib-devel
13 Requires:       glib >= 1.2.0
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %description
17 XDELTA (`X' for XCF) is a version-control library and file-format designed as
18 a replacement for RCS.  The XDELTA library performs its work independently of
19 the actual file-format used to encode the version-file and is intended to be
20 used by various higher-level programs such as PRCS.
21
22 XDELTA uses a binary file-delta algorithm to replace the standard diff
23 program used by RCS.
24
25 %description -l pl
26 XDELTA (`X' od XCF) jest bibliotek± systemu kontroli wersji tworzona jako
27 zamiennik RCS. Biblioteka XDELTA wykonuje ró¿ne czynno¶ci niezale¿nie od
28 bierz±cego formatu plików, u¿ywanych do kodowania plików baz danych, systemu
29 kontroli wersji i zaprojektowana jest do u¿ywania w ró¿nych wysoko-poziomowych
30 systemach kontroli wersji jak PRCS.
31
32 XDELTA u¿ywa binarnego formatu zamiast standardowego diif-a u¿ywanego przez
33 RCS.
34
35 %package devel
36 Summary:        XDELTA - header files
37 Summary(pl):    XDELTA - pliki nag³ówkowe
38 Group:          Development/Libraries
39 Group(pl):      Programowanie/Biblioteki
40 PreReq:         /sbin/install-info
41 Requires:       %{name} = %{version}
42
43 %description devel
44 This package contains the XDELTA header files required to develop
45 XDELTA-based applications.
46
47 %description -l pl devel
48 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
49 bazuj±cych na XDELTA.
50
51 %package static
52 Summary:        XDELTA - static library
53 Summary(pl):    XDELTA - biblioteka statyczna
54 Group:          Development/Libraries
55 Group(pl):      Programowanie/Biblioteki
56 Requires:       %{name}-devel = %{version}
57
58 %description static
59 This package contains the XDELTA static libraries
60
61 %description -l pl static
62 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
63
64 %prep
65 %setup -q
66
67 %build
68 autoconf
69 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
70 ./configure %{_target}\
71         --prefix=%{_prefix} \
72         --x-includes=/usr/X11R6/lib/glib/include
73 make
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77 install -d $RPM_BUILD_ROOT%{_infodir}
78
79 make DESTDIR=$RPM_BUILD_ROOT install
80
81 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
82
83 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
84         NEWS READ* ChangeLog
85
86 %post   -p /sbin/ldconfig
87 %postun -p /sbin/ldconfig
88
89 %clean
90 rm -rf $RPM_BUILD_ROOT
91
92 %files
93 %defattr(644,root,root,755)
94 %attr(755,root,root) %{_bindir}/xdelta
95 %attr(755,root,root) %{_libdir}/lib*.so.*.*
96 %{_mandir}/man1/*
97
98 %files devel
99 %defattr(644,root,root,755)
100 %doc {NEWS,READ*,ChangeLog}.gz
101
102 %attr(755,root,root) %{_bindir}/xdelta-config
103 %{_includedir}/*
104
105 %attr(755,root,root) %{_libdir}/lib*.so
106
107 %files static
108 %defattr(644,root,root,755)
109 %{_libdir}/lib*.a
110
111 %changelog
112 * Fri May 28 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
113   [1.1.1-2]
114 - based on spec from RH contrib,
115 - spec rewrited by PLD team,
116 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>.
This page took 0.068362 seconds and 4 git commands to generate.