File sharutils.spec of Package sharutils

# spec file for package sharutils
# Copyright (c) 2018 SUSE LINUX 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

Name:           sharutils
Version:        4.15.2
Release:        0
Summary:        GNU shar utilities
License:        GPL-3.0+
Group:          Productivity/Archiving/Compression
Source2:        %{name}.keyring
Patch0:         sharutils-testsuite.diff
Patch1:         sharutils-CVE-2018-1000097-fix_buffer_overflow.patch
BuildRequires:  libopenssl-devel
BuildRequires:  mailx
BuildRequires:  xz
Requires(pre):  %{install_info_prereq}
Requires(pre):  coreutils
Recommends:     %{name}-lang = %{version}
Provides:       sharutil = %{version}
Obsoletes:      sharutil < %{version}
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

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
chmod +w src/scripts.x

mkdir -p ../bin
ln -snf /bin/true ../bin/compress
%configure \

make %{?_smp_mflags}

make %{?_smp_mflags} check

make DESTDIR=%{buildroot} install %{?_smp_mflags}
%find_lang %{name}

%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz

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

%defattr(-, root, root)

openSUSE Build Service is sponsored by