69 lines
1.8 KiB
RPMSpec
69 lines
1.8 KiB
RPMSpec
|
|
Name: sharutils
|
||
|
|
Version: 4.15.2
|
||
|
|
Release: 14
|
||
|
|
Summary: The set of GNU shar utilities
|
||
|
|
License: GPLv3+ and (GPLv3+ and BSD) and (LGPLv3+ or BSD) and LGPLv2+ and Public Domain and GFDL
|
||
|
|
URL: http://www.gnu.org/software/%{name}/
|
||
|
|
Source0: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
|
||
|
|
Source1: LicenseList
|
||
|
|
|
||
|
|
Patch0: %{name}-4.14.2-Pass-compilation-with-Werror-format-security.patch
|
||
|
|
Patch1: %{name}-4.15.2-Fix-a-heap-buffer-overflow-in-find_archive.patch
|
||
|
|
Patch2: %{name}-4.15.2-fflush-adjust-to-glibc-2.28-libio.h-removal.patch
|
||
|
|
|
||
|
|
BuildRequires: binutils coreutils gcc gettext glibc-common make sed diffutils
|
||
|
|
Provides: bundled(gnulib)
|
||
|
|
Provides: bundled(libopts) = 41.1
|
||
|
|
|
||
|
|
%description
|
||
|
|
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.
|
||
|
|
|
||
|
|
%package_help
|
||
|
|
|
||
|
|
%prep
|
||
|
|
%autosetup -n %{name}-%{version} -p1
|
||
|
|
|
||
|
|
for i in TODO THANKS; do
|
||
|
|
iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
|
||
|
|
mv $i{.utf8,}
|
||
|
|
done
|
||
|
|
|
||
|
|
%build
|
||
|
|
%configure
|
||
|
|
make %{?_smp_mflags}
|
||
|
|
|
||
|
|
%install
|
||
|
|
%make_install
|
||
|
|
|
||
|
|
chmod 644 AUTHORS ChangeLog COPYING NEWS README THANKS TODO
|
||
|
|
|
||
|
|
%find_lang %{name}
|
||
|
|
|
||
|
|
%check
|
||
|
|
make check
|
||
|
|
|
||
|
|
%files -f %{name}.lang
|
||
|
|
%license COPYING
|
||
|
|
%{_bindir}/*
|
||
|
|
%{_infodir}/*info*
|
||
|
|
%exclude %{_infodir}/dir
|
||
|
|
|
||
|
|
%files help
|
||
|
|
%doc AUTHORS ChangeLog NEWS README THANKS TODO
|
||
|
|
%{_mandir}/man*
|
||
|
|
|
||
|
|
%changelog
|
||
|
|
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.15.2-14
|
||
|
|
- Package init
|