sharutils/sharutils.spec

70 lines
1.8 KiB
RPMSpec
Raw Normal View History

2019-09-30 11:17:07 -04:00
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
2019-11-06 19:52:40 +08:00
%license COPYING AUTHORS
%doc README
2019-09-30 11:17:07 -04:00
%{_bindir}/*
%{_infodir}/*info*
%exclude %{_infodir}/dir
%files help
2019-11-06 19:52:40 +08:00
%doc ChangeLog NEWS THANKS TODO
2019-09-30 11:17:07 -04:00
%{_mandir}/man*
%changelog
* Thu Aug 22 2019 openEuler Buildteam <buildteam@openeuler.org> - 4.15.2-14
- Package init