Sophie

Sophie

distrib > Mandriva > 10.1 > i586 > by-pkgid > 55e27f4e254942dc22c4fdc583869c86 > files > 11

rdist-6.1.5-20mdk.src.rpm

%define name	rdist
%define version	6.1.5
%define release	20mdk

Summary:	Maintains identical copies of files on multiple machines
Name:		%{name}
Version:	%{version}
Release:	%{release}
License:	BSD
Group:		Networking/File transfer

Source:		ftp://ftp.sunet.se/pub/unix/admin/mirror-magnicomp/download/rdist/rdist-%{version}.tar.bz2
Patch0:		rdist-6.1.5-linux.patch.bz2
Patch1:		rdist-6.1.5-links.patch.bz2
Patch2:		rdist-6.1.5-oldpath.patch.bz2
Patch3:		rdist-6.1.5-environ.patch.bz2
Patch4:		rdist-6.1.5-build-os-type-linux-is-not-svr4.patch.bz2
# tmpfile security fix
Patch5:		rdist-6.1.5-tmpfile.patch.bz2
Patch6:		rdist-6.1.5-optflags.patch.bz2
Patch7:		rdist-6.1.5-bison.patch.bz2
Patch8:		rdist-6.1.5-varargs.patch.bz2

URL:		http://www.MagniComp.com/rdist
BuildRequires:	bison
BuildRoot:	%{_tmppath}/%{name}-%{version}-root

%description
The rdist program maintains identical copies of files on multiple
hosts.  If possible, rdist will preserve the owner, group, mode and
mtime of files and it can update programs that are executing.

%prep

%setup -q
%patch0 -p1 -b .linux
%patch1 -p0 -b .links
%patch2 -p1 -b .oldpath
%patch3 -p0 -b .environ
%patch4 -p1 -b .ostype
%patch5 -p1 -b .tmpfile
%patch6 -p1 -b .optflags
%patch7 -p1 -b .bison
%patch8 -p1 -b .varargs

%build
%make

%install
mkdir -p $RPM_BUILD_ROOT/%{_bindir}
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}/{man1,man8}

install -s -m755 src/rdist $RPM_BUILD_ROOT%{_bindir}
install -s -m755 src/rdistd $RPM_BUILD_ROOT/%{_sbindir}
ln -sf ../sbin/rdistd $RPM_BUILD_ROOT%{_bindir}/rdistd

install -m644 doc/rdist.man $RPM_BUILD_ROOT/%{_mandir}/man1/rdist.1
install -m644 doc/rdistd.man $RPM_BUILD_ROOT/%{_mandir}/man8/rdist.8

%clean
rm -fr $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc README
%{_bindir}/*
%{_sbindir}/*
%{_mandir}/man*/*

%changelog
* Mon Jul 14 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 6.1.5-20mdk
- added P7 & P9 from rawhide

* Tue Nov 20 2001 Geoffrey Lee <snailtalk@mandrakesoft.com> 6.1.5-19mdk
- Make it so as to use optimizations.

* Tue Sep 11 2001 Stefan van der Eijk <stefan@eijk.nu> 6.1.5-18mdk
- BuildRequires: bison

* Wed Jan 10 2001 Vincent Danen <baudens@mandrakesoft.com> 6.1.5-17mdk
- security fix for tmpfile problems

* Tue Dec 20 2000 David BAUDENS <baudens@mandrakesoft.com> 6.1.5-16mdk
- Fix build on Linux 2.4 (aka fix very buggy OS detection)

* Fri Dec 08 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 6.1.5-15mdk
- add a correct links patch. (wls@astro.umd.edu)

* Thu Oct 26 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 6.1.5-14mdk
- remove the patch 1 which was causing some problems apparently.

* Wed Jul 26 2000 Geoffrey Lee <snailtalk@mandrakesoft.com> 6.1.5-13mdk
- macroszifications
- BM

* Sun Apr 16 2000 Chmouel Boudjnah <chmouel@mandrakesoft.com> 6.1.5-12mdk
- Be sure to keep the environnement variable.

* Fri Apr 07 2000 Christopher Molnar <molnarc@mandrakesoft.com> 6.1.5-11mdk
- Update group to new grousp

* Sun Oct 31 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- Update Url
- Enable SMP build/check

* Sun Jul  4 1999 Axalon Bloodstone <axalon@linux-mandrake.com>
- bzip2 man pages not just rename them

* Wed May 05 1999 Bernhard Rosenkraenzer <bero@mandrakesoft.com>
- Mandrake adaptions
- handle RPM_OPT_FLAGS

* Tue Apr 13 1999 Jeff Johnson <jbj@redhat.com>
- add /usr/bin/rdistd symlink (#2154)
- update docs to reflect /usr/bin/oldrdist change.

* Mon Apr 12 1999 Jeff Johnson <jbj@redhat.com>
- use /usr/bin/oldrdist for old rdist compatibility path (#2044).

* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
- auto rebuild in the new build environment (release 5)

* Wed Feb 17 1999 Jeff Johnson <jbj@redhat.com>
- dynamic allocation for link info (#1046)

* Thu Nov 12 1998 Jeff Johnson <jbj@redhat.com>
- update to 6.1.5

* Sun Aug 16 1998 Jeff Johnson <jbj@redhat.com>
- build root

* Tue May 05 1998 Prospector System <bugs@redhat.com>
- translations modified for de, fr, tr

* Mon Oct 20 1997 Otto Hammersmith <otto@redhat.com>
- fixed the url to the source
- fixed the copyright field

* Mon Jul 21 1997 Erik Troan <ewt@redhat.com>
- built against glibc