]> git.pld-linux.org Git - packages/rsync.git/blob - rsync.spec
- cosmetics.
[packages/rsync.git] / rsync.spec
1 Summary:        Program for efficient remote updates of files.
2 Summary(pl):    Program efektywnego modyfikowania plików na zdalnym komputerze.
3 Name:           rsync
4 Version:        2.3.1
5 Release:        4
6 Copyright:      GPL
7 Group:          Daemons
8 Group(pl):      Serwery
9 Source:         ftp://samba.anu.edu.au/pub/rsync/%{name}-%{version}.tar.gz
10 Patch0:         rsync-config.patch
11 Patch1:         rsync-man.patch
12 Patch2:         rsync-231-v6-19990520-PLD.patch
13 URL:            http://samba.anu.edu.au/rsync/
14 BuildRoot:      /tmp/%{name}-%{version}-root
15
16 %define _sysconfdir /etc/rsyncd
17
18 %description
19 rsync is a replacement for rcp that has many more features.
20
21 rsync uses the "rsync algorithm" which provides a very fast method for
22 bringing remote files into sync. It does this by sending just the
23 differences in the files across the link, without requiring that both
24 sets of files are present at one of the ends of the link beforehand.
25
26 A technical report describing the rsync algorithm is included with
27 this package. 
28
29 %description -l pl
30 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan± sk³adniê
31 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie komunikacji 
32 i transportu plików do systemu zdalnego. Dokumentacja techniczna nowego 
33 algorytmu zosta³a równie¿ do³±czona do pakietu.
34
35 %prep
36 %setup  -q
37 %patch0 -p1
38 %patch1 -p1
39 %patch2 -p1
40
41 %build
42 autoconf 
43 LDFLAGS="-s"; export LDFLAGS
44 %configure \
45         --enable-ipv6
46
47 make 
48
49 %install
50 rm -rf $RPM_BUILD_ROOT
51
52 make install \
53         prefix=$RPM_BUILD_ROOT%{_prefix} \
54         mandir=$RPM_BUILD_ROOT%{_mandir} \
55         bindir=$RPM_BUILD_ROOT%{_sbindir}
56
57 install -d $RPM_BUILD_ROOT/etc/rsyncd
58
59 :> $RPM_BUILD_ROOT/etc/rsyncd/rsyncd.conf
60 :> $RPM_BUILD_ROOT/etc/rsyncd/rsyncd.secrets
61
62 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README 
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc README.gz 
70 %dir /etc/rsyncd
71 %attr(640,root,root) %config /etc/rsyncd/rsyncd.conf
72 %attr(640,root,root) %config /etc/rsyncd/rsyncd.secrets
73
74 %attr(755,root,root) %{_sbindir}/*
75 %{_mandir}/man[15]/*
76
77 %changelog
78 * Thu Jun 17 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
79   [2.3.1-4]
80 - FHS 2.0 
81
82 * Wed Jun  9 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
83   [2.3.1-3]
84 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>,
85 - spec rewrited by PLD team.
This page took 0.052711 seconds and 3 git commands to generate.