~vcs-imports/rsync/master

« back to all changes in this revision

Viewing changes to packaging/lsb/rsync.spec.tmpl

  • Committer: John H Terpstra
  • Date: 2000-09-11 18:04:35 UTC
  • Revision ID: git-v1:3ff1e677a14fb20ab620fd816c4dd25e5c295d27
Added provision for packaging for Linux Standards Base compliant Linux systems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Summary: Program for efficient remote updates of files.
 
2
Name: rsync
 
3
Version: PVERSION
 
4
Release: PRELEASE
 
5
Copyright: GPL
 
6
Group: Applications/Networking
 
7
Source: ftp://samba.anu.edu.au/pub/rsync/rsync-PVERSION.tar.gz
 
8
URL: http://samba.anu.edu.au/rsync/
 
9
Packager: Andrew Tridgell <tridge@samba.anu.edu.au>
 
10
BuildRoot: /tmp/rsync
 
11
 
 
12
%description
 
13
rsync is a replacement for rcp that has many more features.
 
14
 
 
15
rsync uses the "rsync algorithm" which provides a very fast method for
 
16
bringing remote files into sync. It does this by sending just the
 
17
differences in the files across the link, without requiring that both
 
18
sets of files are present at one of the ends of the link beforehand.
 
19
 
 
20
A technical report describing the rsync algorithm is included with
 
21
this package. 
 
22
 
 
23
%changelog
 
24
* Mon Sept 11 2000 John H Terpstra <jht@turbolinux.com>
 
25
  Changed target paths to be Linux Standards Base compliant
 
26
 
 
27
* Mon Jan 25 1999 Stefan Hornburg <racke@linuxia.de>
 
28
  quoted RPM_OPT_FLAGS for the sake of robustness  
 
29
* Mon May 18 1998 Andrew Tridgell <tridge@samba.anu.edu.au>
 
30
  reworked for auto-building when I release rsync (tridge@samba.anu.edu.au)
 
31
 
 
32
* Sat May 16 1998 John H Terpstra <jht@aquasoft.com.au>
 
33
  Upgraded to Rsync 2.0.6
 
34
    -new feature anonymous rsync
 
35
 
 
36
* Mon Apr  6 1998 Douglas N. Arnold <dna@math.psu.edu>
 
37
 
 
38
Upgrade to rsync version 1.7.2.
 
39
 
 
40
* Sun Mar  1 1998 Douglas N. Arnold <dna@math.psu.edu>
 
41
 
 
42
Built 1.6.9-1 based on the 1.6.3-2 spec file of John A. Martin.
 
43
Changes from 1.6.3-2 packaging: added latex and dvips commands
 
44
to create tech_report.ps.
 
45
 
 
46
* Mon Aug 25 1997 John A. Martin <jam@jamux.com>
 
47
 
 
48
Built 1.6.3-2 after finding no rsync-1.6.3-1.src.rpm although there
 
49
was an ftp://ftp.redhat.com/pub/contrib/alpha/rsync-1.6.3-1.alpha.rpm
 
50
showing no packager nor signature but giving 
 
51
"Source RPM: rsync-1.6.3-1.src.rpm".
 
52
 
 
53
Changes from 1.6.2-1 packaging: added '$RPM_OPT_FLAGS' to make, strip
 
54
to '%build', removed '%prefix'.
 
55
 
 
56
* Thu Apr 10 1997 Michael De La Rue <miked@ed.ac.uk>
 
57
 
 
58
rsync-1.6.2-1 packaged.  (This entry by jam to credit Michael for the
 
59
previous package(s).)
 
60
 
 
61
%prep
 
62
%setup
 
63
 
 
64
%build
 
65
./configure --prefix=/usr --mandir=/usr/share/man
 
66
make CFLAGS="$RPM_OPT_FLAGS"
 
67
strip rsync
 
68
 
 
69
%install
 
70
mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/man/{man1,man5}}
 
71
install -m755 rsync $RPM_BUILD_ROOT/usr/bin
 
72
install -m644 rsync.1 $RPM_BUILD_ROOT/usr/share/man/man1
 
73
install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5
 
74
 
 
75
%clean
 
76
rm -rf $RPM_BUILD_ROOT
 
77
 
 
78
%files
 
79
%attr(-,root,root) /usr/bin/rsync
 
80
%attr(-,root,root) /usr/share/man/man1/rsync.1
 
81
%attr(-,root,root) /usr/share/man/man5/rsyncd.conf.5
 
82
%attr(-,root,root) %doc tech_report.tex
 
83
%attr(-,root,root) %doc README
 
84
%attr(-,root,root) %doc COPYING