Blob Blame History Raw
Name:           cpdup
Version:        1.11
Release:        1%{?dist}
Summary:        Filesystem mirroring utility

Group:          Applications/Archiving
License:        BSD
URL:            http://apollo.backplane.com/FreeSrc/
Source0:        http://apollo.backplane.com/FreeSrc/cpdup-%{version}.tgz
Source1:        Makefile.linux
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

# bz# 435508: cpdup not 64-bit clean
ExcludeArch:    x86_64
# bz# 435508
ExcludeArch:    ppc64

#BuildRequires:  
#Requires:       

%description
The cpdup utility makes an exact mirror copy of the source in the
destination, creating and deleting files and directories as necessary.
UTimes, hardlinks, softlinks, devices, permissions, and flags are
mirrored.  By default, cpdup asks for confirmation if any file or
directory needs to be removed from the destination and does not copy
files which it believes to have already been synchronized (by
observing that the source and destination file’s size and mtimes
match).  cpdup does not cross mount points in either the source or the
destination.  As a safety measure, cpdup refuses to replace a
destination directory with a file.


%prep
%setup -q -n %{name}
rm md5.c


%build
# configure
make %{?_smp_mflags} CFLAGS="${RPM_OPT_FLAGS}" -f %{SOURCE1}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT -f %{SOURCE1}


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc 
%{_bindir}/*
%{_mandir}/man1/*



%changelog
* Thu Jun  5 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.11-1
- Update to 1.11

* Thu Feb 28 2008 Michel Alexandre Salim <salimma@fedoraproject.org> - 1.07-1
- Initial Fedora package