Name: asdf Summary: asdf - synchronize directories over slow connections Copyright: GPL Group: Productivity/Networking/Other Version: 1.0 Release: 0.mv.1.SuSE9.2 Packager: Martin Väth Source0: asdf.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix} %description asdf recursively synchronizes directories between two machines. The reason to use asdf in preference to other such systems is that asdf tries to minimize the number of bytes that travel between the two machines, updating only the files that are differnt. Thus, the usefulness of this program goes up as connection speed goes down. It is good for modem connections, probably not all that exciting for people with T1 lines. %prep umask 022 test -n '%{buildroot}' || { echo "Must use buildroot" ; exit 1 ; } %if %{?fake:%fake}%{!?fake:0} %setup -T -D -c %else %setup -c test -d %{name}-%{version} && mv %{name}-%{version}/* . test -d %{name} && mv %{name}/* . %endif %build umask 022 cd "$RPM_BUILD_DIR"/%{name}-%{version} %if %{?fake:%fake}%{!?fake:0} %else eval gcc ${CFLAGS:-%optflags} -o asdf asdf.c strip asdf gzip -9 man1/asdf.1 %endif %install umask 022 cd "$RPM_BUILD_DIR"/%{name}-%{version} test -n '%{buildroot}' test -d '%{buildroot}' && rm -rf '%{buildroot}' install -d -m 755 '%{buildroot}%{_bindir}' install -m 755 -s asdf '%{buildroot}%{_bindir}' install -d -m 755 '%{buildroot}%{_mandir}/man1' install -m 644 man1/asdf.1.gz '%{buildroot}%{_mandir}/man1/asdf.1.gz' %clean test -n '%{buildroot}' -a -d '%{buildroot}' && rm -rf '%{buildroot}' %files %defattr(-,root,root) %doc README COPYING VERSION asdfrc.example %{_bindir}/asdf %{_mandir}/man1/asdf.1.gz %changelog * Wed Nov 26 2003 Martin Väth - minor compatibility improvements * Fri Oct 31 2003 Martin Väth - built from scratch