X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b7cc59c5030e13db41c00e7fb40446dd4a634744..827c37f63199992002dc3275bb17afee6bad47b0:/packaging/redhat/7.1/rsync.spec.tmpl diff --git a/packaging/redhat/7.1/rsync.spec.tmpl b/packaging/redhat/7.1/rsync.spec.tmpl index ce7082b5..d91a749f 100644 --- a/packaging/redhat/7.1/rsync.spec.tmpl +++ b/packaging/redhat/7.1/rsync.spec.tmpl @@ -21,8 +21,17 @@ A technical report describing the rsync algorithm is included with this package. %changelog +* Thu Jan 30 2003 Horst von Brand + Use %{_mandir} to point to manpages + Support for compressed manpages (* at end catches them in %files) + Add doc/README-SGML and doc/rsync.sgml to %doc + +* Mon Sep 11 2000 John H Terpstra + Changed target paths to be Linux Standards Base compliant + * Mon Jan 25 1999 Stefan Hornburg - quoted RPM_OPT_FLAGS for the sake of robustness + quoted RPM_OPT_FLAGS for the sake of robustness + * Mon May 18 1998 Andrew Tridgell reworked for auto-building when I release rsync (tridge@samba.anu.edu.au) @@ -59,23 +68,25 @@ previous package(s).) %setup %build -./configure --prefix=/usr +./configure --prefix=/usr --mandir=%{_mandir} make CFLAGS="$RPM_OPT_FLAGS" strip rsync %install -mkdir -p $RPM_BUILD_ROOT/usr/{bin,man/{man1,man5}} +mkdir -p $RPM_BUILD_ROOT/usr/bin +mkdir -p $RPM_BUILD_ROOT/%{_mandir}/man{1,5} install -m755 rsync $RPM_BUILD_ROOT/usr/bin -install -m644 rsync.1* $RPM_BUILD_ROOT/usr/man/man1 -install -m644 rsyncd.conf.5* $RPM_BUILD_ROOT/usr/man/man5 +install -m644 rsync.1 $RPM_BUILD_ROOT/%{_mandir}/man1 +install -m644 rsyncd.conf.5 $RPM_BUILD_ROOT/%{_mandir}/man5 %clean rm -rf $RPM_BUILD_ROOT %files %attr(-,root,root) /usr/bin/rsync -%attr(-,root,root) /usr/man/man1/rsync.1* -%attr(-,root,root) /usr/man/man5/rsyncd.conf.5* +%attr(-,root,root) %{_mandir}/man1/rsync.1* +%attr(-,root,root) %{_mandir}/man5/rsyncd.conf.5* %attr(-,root,root) %doc tech_report.tex %attr(-,root,root) %doc README %attr(-,root,root) %doc COPYING +%attr(-,root,root) %doc doc/README-SGML doc/rsync.sgml