1 |
Summary: The GNU shar utilities for packaging and unpackaging shell archives |
2 |
Name: sharutils |
3 |
Version: 4.10 |
4 |
Release: %mkrel 1 |
5 |
License: GPLv3 |
6 |
Group: Archiving/Backup |
7 |
Url: http://www.gnu.org/software/sharutils/ |
8 |
Source0: ftp://ftp.gnu.org/pub/gnu/%name/%name-%version.tar.bz2 |
9 |
Patch0: sharutils-4.7-fix-str-fmt.patch |
10 |
Requires(pre): info-install |
11 |
BuildRequires: texinfo |
12 |
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot |
13 |
|
14 |
%description |
15 |
The sharutils package contains the GNU shar utilities, a set of tools |
16 |
for encoding and decoding packages of files (in binary or text format) |
17 |
in a special plain text format called shell archives (shar). This |
18 |
format can be sent through email (which can be problematic for |
19 |
regular binary files). The shar utility supports a wide range of |
20 |
capabilities (compressing, uuencoding, splitting long files for |
21 |
multi-part mailings, providing checksums), which make it very flexible |
22 |
at creating shar files. After the files have been sent, the unshar |
23 |
tool scans mail messages looking for shar files. Unshar automatically |
24 |
strips off mail headers and introductory text and then unpacks the shar |
25 |
files. |
26 |
|
27 |
Install sharutils if you send binary files through email very often. |
28 |
|
29 |
%prep |
30 |
%setup -q |
31 |
%patch0 -p0 |
32 |
|
33 |
%build |
34 |
%configure2_5x \ |
35 |
--disable-rpath |
36 |
|
37 |
%make |
38 |
|
39 |
%install |
40 |
rm -rf %{buildroot} |
41 |
|
42 |
%makeinstall_std |
43 |
|
44 |
%find_lang %{name} |
45 |
|
46 |
%post |
47 |
%_install_info %{name}.info |
48 |
|
49 |
%preun |
50 |
%_remove_install_info %{name}.info |
51 |
|
52 |
%clean |
53 |
rm -rf %{buildroot} |
54 |
|
55 |
%files -f %{name}.lang |
56 |
%defattr(-,root,root) |
57 |
%{_bindir}/* |
58 |
%{_infodir}/* |
59 |
%{_mandir}/man?/* |
60 |
|
61 |
|