]> git.pld-linux.org Git - packages/xdelta.git/blob - xdelta.spec
fe97a75413768cf1c605064dda19c91ea96edb41
[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 BuildRequires:  glib-devel >= 1.2.0
12 BuildRequires:  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 Requires:       %{name} = %{version}
41
42 %description devel
43 This package contains the XDELTA header files required to develop
44 XDELTA-based applications.
45
46 %description -l pl devel
47 Pakiet ten zawiera pliki nag³ówkowe potrzebne przy tworzeniu aplikacji
48 bazuj±cych na XDELTA.
49
50 %package static
51 Summary:        XDELTA - static library
52 Summary(pl):    XDELTA - biblioteka statyczna
53 Group:          Development/Libraries
54 Group(pl):      Programowanie/Biblioteki
55 Requires:       %{name}-devel = %{version}
56
57 %description static
58 This package contains the XDELTA static libraries
59
60 %description -l pl static
61 Pakiet ten zawiera bibliotekê statyczn± XDELTA.
62
63 %prep
64 %setup -q
65
66 %build
67 autoconf
68 CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \
69 ./configure %{_target_platform}\
70         --prefix=%{_prefix} \
71         --x-includes=/usr/X11R6/lib/glib/include
72 make
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76 install -d $RPM_BUILD_ROOT%{_infodir}
77
78 make DESTDIR=$RPM_BUILD_ROOT install
79
80 strip --strip-unneeded $RPM_BUILD_ROOT%{_libdir}/lib*so.*.*
81
82 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man1/* \
83         NEWS READ* ChangeLog
84
85 %post   -p /sbin/ldconfig
86 %postun -p /sbin/ldconfig
87
88 %clean
89 rm -rf $RPM_BUILD_ROOT
90
91 %files
92 %defattr(644,root,root,755)
93 %attr(755,root,root) %{_bindir}/xdelta
94 %attr(755,root,root) %{_libdir}/lib*.so.*.*
95 %{_mandir}/man1/*
96
97 %files devel
98 %defattr(644,root,root,755)
99 %doc {NEWS,READ*,ChangeLog}.gz
100
101 %attr(755,root,root) %{_bindir}/xdelta-config
102 %{_includedir}/*
103
104 %attr(755,root,root) %{_libdir}/lib*.so
105
106 %files static
107 %defattr(644,root,root,755)
108 %{_libdir}/lib*.a
This page took 0.099509 seconds and 2 git commands to generate.