sharutils/sharutils.spec

105 lines
3.0 KiB
RPMSpec

Name: sharutils
Version: 4.15.2
Release: 2mamba
Summary: The GNU shar utilities for packaging and unpackaging shell archives
Group: Applications/Archiving
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gnu.org/software/sharutils/sharutils.html
Source: ftp://ftp.gnu.org/gnu/sharutils/sharutils-%{version}.tar.xz
#Source: ftp://ftp.gnu.org/gnu/sharutils/%{name}-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: perl-devel
## AUTOBUILDREQ-END
BuildRequires: gettext
BuildRoot: %{_tmppath}/%{name}-%{version}-root
Requires(post):%{__install_info}
%description
GNU shar makes so-called shell archives out of many files, preparing them for transmission by electronic mail services.
A shell archive is a collection of files that can be unpacked by /bin/sh.
Install sharutils if you send binary files through e-mail.
%debug_package
%prep
%setup -q
# Fix for aarch64
sed 's/FUNC_FFLUSH_STDIN/-1/g' -i lib/fseeko.c
%build
%configure \
CFLAGS="%{optflags} -fcommon"
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeoldinstall install-man
%{find_lang} %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
%install_info %{name}.info
%preun
%uninstall_info %{name}.info
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/shar
%{_bindir}/unshar
%{_bindir}/uudecode
%{_bindir}/uuencode
%{_infodir}/sharutils.info*
%{_mandir}/man1/shar.1*
%{_mandir}/man1/unshar.1*
%{_mandir}/man1/uudecode.1*
%{_mandir}/man1/uuencode.1*
%{_mandir}/man5/uuencode.5*
%doc AUTHORS COPYING
# ChangeLog NEWS README THANKS TODO
%changelog
* Fri Nov 27 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 4.15.2-2mamba
- rebuilt with debug package and fix for aarch64
* Mon Jun 01 2015 Automatic Build System <autodist@mambasoft.it> 4.15.2-1mamba
- automatic version update by autodist
* Fri May 08 2015 Automatic Build System <autodist@mambasoft.it> 4.15.1-1mamba
- automatic update by autodist
* Mon Mar 16 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.15-1mamba
- update to 4.15
* Sun Jan 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 4.14.2-1mamba
- update to 4.14.2
* Sun Oct 20 2013 Automatic Build System <autodist@mambasoft.it> 4.14-1mamba
- automatic version update by autodist
* Tue Apr 16 2013 Automatic Build System <autodist@mambasoft.it> 4.13.5-1mamba
- automatic version update by autodist
* Tue Apr 02 2013 Automatic Build System <autodist@mambasoft.it> 4.13.4-1mamba
- automatic version update by autodist
* Thu Jan 10 2013 Automatic Build System <autodist@mambasoft.it> 4.13.3-1mamba
- update to 4.13.3
* Sat Jul 21 2012 Automatic Build System <autodist@mambasoft.it> 4.11.1-1mamba
- update to 4.11.1
* Wed May 07 2008 Tiziana Ferro <tiziana.ferro@email.it> 4.6.3-1mamba
- update to 4.6.3
* Fri Apr 15 2005 Davide Madrisan <davide.madrisan@qilinux.it> 4.2.1-1qilnx
- package created by autospec