Commit d092924c authored by Martin Pool's avatar Martin Pool

Updated spec file from Jason Haar. Seems to mostly just change the

path for manuals, and bumps the version.
parent 34027489
Summary: Program for efficient remote updates of files. Summary: Program for efficient remote updates of files.
Name: rsync Name: rsync
Version: 2.5.1 Version: 2.5.4
Release: 1 Release: 1
Copyright: GPL Copyright: GPL
Group: Applications/Networking Group: Applications/Networking
Source: ftp://samba.anu.edu.au/pub/rsync/rsync-2.5.1.tar.gz Source: ftp://samba.anu.edu.au/pub/rsync/rsync-%{version}.tar.gz
URL: http://samba.anu.edu.au/rsync/ URL: http://samba.anu.edu.au/rsync/
Packager: Andrew Tridgell <tridge@samba.anu.edu.au> Packager: Andrew Tridgell <tridge@samba.anu.edu.au>
BuildRoot: /tmp/rsync BuildRoot: /tmp/rsync
...@@ -21,6 +21,9 @@ A technical report describing the rsync algorithm is included with ...@@ -21,6 +21,9 @@ A technical report describing the rsync algorithm is included with
this package. this package.
%changelog %changelog
* Mon Sep 11 2000 John H Terpstra <jht@turbolinux.com>
Changed target paths to be Linux Standards Base compliant
* Mon Jan 25 1999 Stefan Hornburg <racke@linuxia.de> * Mon Jan 25 1999 Stefan Hornburg <racke@linuxia.de>
quoted RPM_OPT_FLAGS for the sake of robustness quoted RPM_OPT_FLAGS for the sake of robustness
* Mon May 18 1998 Andrew Tridgell <tridge@samba.anu.edu.au> * Mon May 18 1998 Andrew Tridgell <tridge@samba.anu.edu.au>
...@@ -59,23 +62,23 @@ previous package(s).) ...@@ -59,23 +62,23 @@ previous package(s).)
%setup %setup
%build %build
./configure --prefix=/usr ./configure --prefix=/usr --mandir=/usr/share/man
make CFLAGS="$RPM_OPT_FLAGS" make CFLAGS="$RPM_OPT_FLAGS"
strip rsync strip rsync
%install %install
mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/{man1,man5}} mkdir -p $RPM_BUILD_ROOT/usr/{bin,share/man/{man1,man5}}
install -m755 rsync $RPM_BUILD_ROOT/usr/bin install -m755 rsync $RPM_BUILD_ROOT/usr/bin
install -m644 rsync.1* $RPM_BUILD_ROOT/usr/man/man1 install -m644 rsync.1 $RPM_BUILD_ROOT/usr/share/man/man1
install -m644 rsyncd.conf.5* $RPM_BUILD_ROOT/usr/man/man5 install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5
%clean %clean
rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_ROOT
%files %files
%attr(-,root,root) /usr/bin/rsync %attr(-,root,root) /usr/bin/rsync
%attr(-,root,root) /usr/man/man1/rsync.1* %attr(-,root,root) /usr/share/man/man1/rsync.1*
%attr(-,root,root) /usr/man/man5/rsyncd.conf.5* %attr(-,root,root) /usr/share/man/man5/rsyncd.conf.5*
%attr(-,root,root) %doc tech_report.tex %attr(-,root,root) %doc tech_report.tex
%attr(-,root,root) %doc README %attr(-,root,root) %doc README
%attr(-,root,root) %doc COPYING %attr(-,root,root) %doc COPYING
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment