File sharutils.spec of Package sharutils

# spec file for package sharutils (Version 4.6.3)
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

# norootforbuild

Name:           sharutils
BuildRequires:  mailx
License:        GPL v2 or later
Group:          Productivity/Archiving/Compression
AutoReqProv:    on
Provides:       sharutil
Obsoletes:      sharutil
Version:        4.6.3
Release:        87
Summary:        GNU shar utilities
Source:         sharutils-%{version}.tar.bz2
Patch:          quoting.diff
Patch1:         testsuite.diff
Patch2:         set-file-mode.diff
Patch3:         dummy.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         /bin/ln /bin/rm %{install_info_prereq}

This is the set of GNU shar utilities.

shar makes shell archives out of many files, preparing them for
transmission by electronic mail services.  Use unshar to unpack shell
archives after reception.

uuencode prepares a file for transmission over an electronic channel
which ignores or otherwise mangles the eight bit (high order bit) of
bytes.	uudecode does the converse transformation.

remsync allows for remote synchronization of directory trees, using
e-mail.  This part of sharutils is still alpha.

%setup -q

mkdir -p ../bin
ln -snf /bin/true ../bin/compress
autoreconf --force --install
./configure CFLAGS="$RPM_OPT_FLAGS" --prefix=%{_prefix} --mandir=%{_mandir} \
make check

make install DESTDIR="$RPM_BUILD_ROOT"
%find_lang %name

%install_info --info-dir=%{_infodir} %{_infodir}/

%install_info_delete --info-dir=%{_infodir} %{_infodir}/


%files -f %name.lang
%defattr(-, root, root)