fe476b9
Summary: The GNU shar utilities for packaging and unpackaging shell archives
cvsdist d4756e1
Name: sharutils
56663ec
Version: 4.11.1
6c67a32
Release: 3%{?dist}
c9b3ac5
License: GPLv3+ and LGPLv2+ and Public Domain
cvsdist d4756e1
Group: Applications/Archiving
565bb81
Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
565bb81
URL: http://www.gnu.org/software/%{name}/
cvsdist d2fe678
BuildRequires: gettext
26f08aa
Requires(post): info
fe476b9
Requires(preun): info
6c67a32
Provides: bundled(gnulib)
cvsdist d4756e1
cvsdist d4756e1
%description
cvsdist d4756e1
The sharutils package contains the GNU shar utilities, a set of tools
cvsdist d4756e1
for encoding and decoding packages of files (in binary or text format)
cvsdist d4756e1
in a special plain text format called shell archives (shar).  This
cvsdist d4756e1
format can be sent through e-mail (which can be problematic for regular
cvsdist d4756e1
binary files).  The shar utility supports a wide range of capabilities
cvsdist d4756e1
(compressing, uuencoding, splitting long files for multi-part
565bb81
mailings, providing check-sums), which make it very flexible at
cvsdist d4756e1
creating shar files.  After the files have been sent, the unshar tool
cvsdist d4756e1
scans mail messages looking for shar files.  Unshar automatically
cvsdist d4756e1
strips off mail headers and introductory text and then unpacks the
cvsdist d4756e1
shar files.
cvsdist d4756e1
cvsdist d4756e1
%prep
cvsdist d4756e1
%setup -q
cvsdist d4756e1
fe476b9
# convert TODO, THANKS to UTF-8
fe476b9
for i in TODO THANKS; do
fe476b9
  iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
fe476b9
  mv $i{.utf8,}
fe476b9
done
fe476b9
cvsdist d4756e1
%build
cvsdist d4756e1
%configure
fe476b9
make %{?_smp_mflags}
cvsdist d4756e1
cvsdist d4756e1
%install
fe476b9
make DESTDIR=${RPM_BUILD_ROOT} INSTALL='install -p' install
2eb7625
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
44ba4b7
# gnulib-tool installs compat header files mistakenly
44ba4b7
rm -rf ${RPM_BUILD_ROOT}%{_includedir}
c6bfefe
chmod 644 AUTHORS ChangeLog COPYING NEWS README THANKS TODO
cvsdist d4756e1
fe476b9
%check
fe476b9
make check
fe476b9
cvsdist d977c7b
%find_lang %{name}
cvsdist d977c7b
cvsdist d4756e1
%post
fe476b9
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir ||:
cvsdist d4756e1
cvsdist d4756e1
%preun
cvsdist d4756e1
if [ $1 = 0 ]; then
fe476b9
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
cvsdist d4756e1
fi
cvsdist d4756e1
cvsdist d977c7b
%files -f %{name}.lang
fe476b9
%defattr(-,root,root,-)
c6bfefe
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
cvsdist d4756e1
%{_bindir}/*
cvsdist d4756e1
%{_infodir}/*info*
fe476b9
%{_mandir}/man1/*
fe476b9
%{_mandir}/man5/*
cvsdist d4756e1
cvsdist d4756e1
%changelog
6c67a32
* Tue May 15 2012 Petr Pisar <ppisar@redhat.com> - 4.11.1-3
6c67a32
- Export bundled(gnulib) (bug #821789)
6c67a32
17bd4f7
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11.1-2
17bd4f7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
17bd4f7
56663ec
* Fri May 06 2011 Petr Pisar <ppisar@redhat.com> - 4.11.1-1
56663ec
- 4.11.1 bump
56663ec
9df3139
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-2
9df3139
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
9df3139
44ba4b7
* Mon Feb 07 2011 Petr Pisar <ppisar@redhat.com> - 4.11-1
44ba4b7
- 4.11 bump
44ba4b7
- Do not install header files injected by gnulib-tool
44ba4b7
- Remove BuildRoot stuff
44ba4b7
a696675
* Mon Aug 30 2010 Petr Pisar <ppisar@redhat.com> - 4.10-1
a696675
- 4.10 bump (bug #628304)
a696675
fa10702
* Thu Jun  3 2010 Petr Pisar <ppisar@redhat.com> - 4.9-1
565bb81
- version bump to 4.9 (bug #569059, bug #583187)
565bb81
c9b3ac5
* Mon Feb  1 2010 Stepan Kasal <skasal@redhat.com> - 4.7-6
c9b3ac5
- fix the License tag
c9b3ac5
9159b22
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-5
9159b22
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
9159b22
db78adf
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-4
db78adf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
db78adf
26f08aa
* Thu Sep 04 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 4.7-3
26f08aa
- Requires(pre) should be Requires(post).
26f08aa
419da3b
* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.7-2
419da3b
- forgot the new source
419da3b
fe476b9
* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.7-1
fe476b9
- update to 4.7
fe476b9
- fix license tag
fe476b9
- package cleanups
fe476b9
7fc7f33
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.6.3-2
7fc7f33
- Autorebuild for GCC 4.3
7fc7f33
175f0e9
* Tue Apr 10 2007 Than Ngo <than@redhat.com> - 4.6.3-1
175f0e9
- 4.6.3
175f0e9
691b85a
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 4.6.1-2
691b85a
- rebuild
691b85a
1d9e100
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.6.1-1.2
1d9e100
- bump again for double-long bug on ppc(64)
1d9e100
aaec950
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.6.1-1.1
aaec950
- rebuilt for new gcc4.1 snapshot and glibc changes
aaec950
Florian La Roche 57527b0
* Mon Feb 06 2006 Florian La Roche <laroche@redhat.com>
Florian La Roche 57527b0
- 4.6.1
Florian La Roche 57527b0
3055c92
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
3055c92
- rebuilt
3055c92
c6bfefe
* Thu Nov 03 2005 Than Ngo <than@redhat.com> 4.6-2
c6bfefe
- fix wrong permission #171889
c6bfefe
e95d5a7
* Wed Oct 26 2005 Than Ngo <than@redhat.com> 4.6-1
e95d5a7
- update to 4.6
e95d5a7
6a6c05e
* Mon Apr 11 2005 Than Ngo <than@redhat.com> 4.2.1-27
6a6c05e
- apply debian patch to fix insecure temporary file creation
6a6c05e
  in unshar #154049, CAN-2005-0990
6a6c05e
44ab48e
* Thu Mar 31 2005 Than Ngo <than@redhat.com> 4.2.1-26
44ab48e
- apply patch to fix multiple buffer overflows #152571
44ab48e
b1113df
* Mon Mar 07 2005 Than Ngo <than@redhat.com> 4.2.1-25
b1113df
- cleanup
b1113df
97a1bfa
* Sat Mar 05 2005 Than Ngo <than@redhat.com> 4.2.1-24
97a1bfa
- rebuilt
97a1bfa
6577144
* Wed Feb 09 2005 Than Ngo <than@redhat.com> 4.2.1-23
6577144
- rebuilt
6577144
e11c1ef
* Fri Oct 01 2004 Than Ngo <than@redhat.com> 4.2.1-22
e11c1ef
- fix buffer overflow in shar, (from Ulf Harnhammer)
e11c1ef
cvsdist d2fe678
* Thu Jun 24 2004 Than Ngo <than@redhat.com> 4.2.1-21
cvsdist d2fe678
- add builrequires on gettext, bug #126599
cvsdist d2fe678
cvsdist fc9ca8b
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist fc9ca8b
- rebuilt
cvsdist fc9ca8b
cvsdist 50bee0f
* Fri May 21 2004 Than Ngo <than@redhat.com> 4.2.1-19
cvsdist 50bee0f
- add suse patch, which fixes buffer overflow in handling of -o option, #123230
cvsdist 50bee0f
cvsdist 91bef8d
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 91bef8d
- rebuilt
cvsdist 91bef8d
cvsdist 9eb2795
* Mon Jun 16 2003 Than Ngo <than@redhat.com> 4.2.1-17
cvsdist 9eb2795
- rebuilt
cvsdist 9eb2795
cvsdist 9eb2795
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 9eb2795
- rebuilt
cvsdist 9eb2795
cvsdist 493cb43
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist 493cb43
- rebuilt
cvsdist 493cb43
cvsdist 493cb43
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 4.2.1-13
cvsdist 493cb43
- rebuild on all arches
cvsdist 493cb43
cvsdist 9cb676c
* Mon Jun 24 2002 Than Ngo <than@redhat.com> 4.2.1-12
cvsdist 9cb676c
- fixed #66892
cvsdist 9cb676c
cvsdist 6da5810
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
cvsdist 6da5810
- automated rebuild
cvsdist 6da5810
cvsdist 6da5810
* Thu May 23 2002 Tim Powers <timp@redhat.com>
cvsdist 6da5810
- automated rebuild
cvsdist 6da5810
cvsdist 78a2dcb
* Sun Apr 14 2002 Than Ngo <than@redhat.com> 4.2.1-9
cvsdist d977c7b
- added fix for Unsecure outputfile handling in uudecode (#63303)
cvsdist d977c7b
- Copyright -> License
cvsdist d977c7b
cvsdist d977c7b
* Fri May 11 2001 Than Ngo <than@redhat.com>
cvsdist d977c7b
- use find_lang macro
cvsdist d977c7b
- use mktemp
cvsdist d977c7b
cvsdist d4756e1
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
cvsdist d4756e1
- automatic rebuild
cvsdist d4756e1
cvsdist d4756e1
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
cvsdist d4756e1
- fix typo (Bug# 12447)
cvsdist d4756e1
cvsdist d4756e1
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
cvsdist d4756e1
- rebuilt in the new build environment
cvsdist d4756e1
cvsdist d4756e1
* Thu Jun 08 2000 Than Ngo <than@redhat.de>
fe476b9
- add %%defattr(-,root,root) (Bug# 11990)
cvsdist d4756e1
- use rpm macros
cvsdist d4756e1
cvsdist d4756e1
* Sun May 21 2000 Ngo Than <than@redhat.de>
cvsdist d4756e1
- rebuild to put man pages and info files in right place
cvsdist d4756e1
cvsdist d4756e1
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
cvsdist d4756e1
- rebuild to gzip man pages
cvsdist d4756e1
cvsdist d4756e1
* Tue Dec 21 1999 Preston Brown <pbrown@redhat.com>
cvsdist d4756e1
- sharutils 4.2.1 for Y2K (2 digit date) fix.
cvsdist d4756e1
- ja message catalog move (#7878)
cvsdist d4756e1
cvsdist d4756e1
* Tue Sep  7 1999 Jeff Johnson <jbj@redhat.com>
cvsdist d4756e1
- handle spaces in uuencoded file names (David Fox <dsfox@cogsci.ucsd.edu>).
cvsdist d4756e1
cvsdist d4756e1
* Wed Jul 28 1999 Cristian Gafton <gafton@redhat.com>
cvsdist d4756e1
- use the /usr/share/locale for the localedir instead of /usr/lib/locale
cvsdist d4756e1
  (#2998)
cvsdist d4756e1
cvsdist d4756e1
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
cvsdist d4756e1
- auto rebuild in the new build environment (release 12)
cvsdist d4756e1
cvsdist d4756e1
* Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
cvsdist d4756e1
- build for glibc 2.1
cvsdist d4756e1
cvsdist d4756e1
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
cvsdist d4756e1
- translations modified for de, fr, tr
cvsdist d4756e1
cvsdist d4756e1
* Sat Apr 11 1998 Cristian Gafton <gafton@redhat.com>
cvsdist d4756e1
- manhattan rebuild
cvsdist d4756e1
cvsdist d4756e1
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
cvsdist d4756e1
- ALRIGHT!  Woo-hoo!  Erik already did the install-info stuff!
cvsdist d4756e1
- added BuildRoot
cvsdist d4756e1
- spec file cleanups
cvsdist d4756e1
cvsdist d4756e1
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
cvsdist d4756e1
- uses install-info
cvsdist d4756e1
cvsdist d4756e1
* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
cvsdist d4756e1
- built against glibc
cvsdist d4756e1