]> git.pld-linux.org Git - packages/rsync.git/blob - rsync.spec
small changes - 2 new patches
[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-pld.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 %description
17 rsync is a replacement for rcp that has many more features.
18
19 rsync uses the "rsync algorithm" which provides a very fast method for
20 bringing remote files into sync. It does this by sending just the
21 differences in the files across the link, without requiring that both
22 sets of files are present at one of the ends of the link beforehand.
23
24 A technical report describing the rsync algorithm is included with
25 this package. 
26
27 %description -l pl
28 Rsync jest zamiennikiem programu rcp i jest bardziej rozbudowan± sk³adniê
29 poleceñ. Program ten u¿ywa efektywnego algorytmu "rsync" w czasie komunikacji 
30 i transportu plików do systemu zdalnego. Dokumentacja techniczna nowego 
31 algorytmu zosta³a równie¿ do³±czona do pakietu.
32
33 %prep
34 %setup  -q
35 %patch0 -p1
36 %patch1 -p1
37 %patch2 -p1
38
39 %build
40 aclocal && autoconf 
41
42 %define _sysconfdir /etc/rsyncd
43
44 %configure --enable-ipv6
45
46 make 
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 make \
52     prefix=$RPM_BUILD_ROOT%{_prefix} \
53     mandir=$RPM_BUILD_ROOT%{_mandir} \
54     bindir=$RPM_BUILD_ROOT%{_sbindir} \
55     install 
56
57 strip $RPM_BUILD_ROOT%{_sbindir}/rsync
58
59 install -d $RPM_BUILD_ROOT/etc/rsyncd
60
61 :> $RPM_BUILD_ROOT/etc/rsyncd/rsyncd.conf
62 :> $RPM_BUILD_ROOT/etc/rsyncd/rsyncd.secrets
63
64 gzip -9nf $RPM_BUILD_ROOT%{_mandir}/man*/* README 
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %doc README.gz 
72
73 %attr(750,root,root) %dir /etc/rsyncd
74 %attr(640,root,root) %ghost /etc/rsyncd/rsyncd.conf
75 %attr(600,root,root) %ghost /etc/rsyncd/rsyncd.secrets
76
77 %attr(755,root,root) %{_sbindir}/rsync
78
79 %{_mandir}/man[15]/*
80
81 %changelog
82 * Thu Jun 17 1999 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
83   [2.3.1-4]
84 - FHS 2.0 
85
86 * Wed Jun  9 1999 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
87   [2.3.1-3]
88 - pl translation by Wojtek ¦lusarczyk <wojtek@shadow.eu.org>,
89 - spec rewrited by PLD team.
This page took 0.074714 seconds and 4 git commands to generate.