Blame SPECS/sharutils.spec

86775f
Summary: The GNU shar utilities for packaging and unpackaging shell archives
86775f
Name: sharutils
86775f
Version: 4.13.3
86775f
Release: 8%{?dist}
86775f
# The main code:                GPLv3+
86775f
# lib (gnulib):                 LGPLv3+
86775f
# lib/sys_socket.in.h:          LGPLv2+
86775f
# lib/md5.c:                    Public Domain
86775f
# libopts:                      LGPLv3+ or BSD
86775f
# doc/sharutils.texi:           GFDL
86775f
License: GPLv3+ and LGPLv3+ and (LGPLv3+ or BSD) and LGPLv2+ and Public Domain and GFDL
86775f
Group: Applications/Archiving
86775f
Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.xz
86775f
URL: http://www.gnu.org/software/%{name}/
86775f
# Bug #901895, in upstream 4.13.4pre2
86775f
Patch0: %{name}-4.13.3-Allow-exactly-one-input-file-when-specifying-output-.patch
86775f
# Bug #901895, in upstream 4.13.4pre2
86775f
Patch1: %{name}-4.13.3-Do-not-open-and-dev-stdout.patch
86775f
# Bug #1020287, fixed in upstream 4.13.4
86775f
Patch2: %{name}-4.13.3-Append-new-line-to-usage-output.patch
86775f
BuildRequires: gettext
86775f
Requires(post): info
86775f
Requires(preun): info
86775f
Provides: bundled(gnulib)
86775f
Provides: bundled(libopts)
86775f
86775f
%description
86775f
The sharutils package contains the GNU shar utilities, a set of tools
86775f
for encoding and decoding packages of files (in binary or text format)
86775f
in a special plain text format called shell archives (shar).  This
86775f
format can be sent through e-mail (which can be problematic for regular
86775f
binary files).  The shar utility supports a wide range of capabilities
86775f
(compressing, uuencoding, splitting long files for multi-part
86775f
mailings, providing check-sums), which make it very flexible at
86775f
creating shar files.  After the files have been sent, the unshar tool
86775f
scans mail messages looking for shar files.  Unshar automatically
86775f
strips off mail headers and introductory text and then unpacks the
86775f
shar files.
86775f
86775f
%prep
86775f
%setup -q
86775f
%patch0 -p1 -b .input_count
86775f
%patch1 -p1 -b .dev_stdout
86775f
%patch2 -p1 -b .usage_newline
86775f
86775f
# convert TODO, THANKS to UTF-8
86775f
for i in TODO THANKS; do
86775f
  iconv -f iso-8859-1 -t utf-8 -o $i{.utf8,}
86775f
  mv $i{.utf8,}
86775f
done
86775f
86775f
%build
86775f
%configure
86775f
make %{?_smp_mflags}
86775f
86775f
%install
86775f
make DESTDIR=${RPM_BUILD_ROOT} INSTALL='install -p' install
86775f
rm -f ${RPM_BUILD_ROOT}%{_infodir}/dir
86775f
# gnulib-tool installs compat header files mistakenly
86775f
rm -rf ${RPM_BUILD_ROOT}%{_includedir}
86775f
chmod 644 AUTHORS ChangeLog COPYING NEWS README THANKS TODO
86775f
%find_lang %{name}
86775f
86775f
%check
86775f
make check
86775f
86775f
%post
86775f
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir ||:
86775f
86775f
%preun
86775f
if [ $1 = 0 ]; then
86775f
    /sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir ||:
86775f
fi
86775f
86775f
%files -f %{name}.lang
86775f
%doc AUTHORS ChangeLog COPYING NEWS README THANKS TODO
86775f
%{_bindir}/*
86775f
%{_infodir}/*info*
86775f
%{_mandir}/man1/*
86775f
%{_mandir}/man5/*
86775f
86775f
%changelog
86775f
* Tue Mar 04 2014 Petr Pisar <ppisar@redhat.com> - 4.13.3-8
86775f
- Correct fix for new line at the end of usage texts (bug #1020287)
86775f
86775f
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 4.13.3-7
86775f
- Mass rebuild 2014-01-24
86775f
86775f
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 4.13.3-6
86775f
- Mass rebuild 2013-12-27
86775f
86775f
* Thu Oct 17 2013 Petr Pisar <ppisar@redhat.com> - 4.13.3-5
86775f
- Append new-line to usage output (bug #1020287)
86775f
86775f
* Tue May 28 2013 Petr Pisar <ppisar@redhat.com> - 4.13.3-4
86775f
- Correct license declaration (LGPLv3+ and (LGPLv3+ or BSD) and GFDL added)
86775f
86775f
* Fri Feb 08 2013 Petr Pisar <ppisar@redhat.com> - 4.13.3-3
86775f
- Collect message catalogs in install phase (bug #908967)
86775f
86775f
* Wed Jan 23 2013 Petr Pisar <ppisar@redhat.com> - 4.13.3-2
86775f
- Fix decoding from positional argument while overriding output file
86775f
  (bug #901895)
86775f
- Fix decoding to standard output when output file is - or /dev/stdout
86775f
  (bug #901895)
86775f
86775f
* Mon Jan 07 2013 Petr Pisar <ppisar@redhat.com> - 4.13.3-1
86775f
- 4.13.3 bump
86775f
86775f
* Thu Jan 03 2013 Petr Pisar <ppisar@redhat.com> - 4.13.1-2
86775f
- Fix MD5 checksum generation on big-endian machines
86775f
86775f
* Thu Jan 03 2013 Petr Pisar <ppisar@redhat.com> - 4.13.1-1
86775f
- 4.13.1 bump
86775f
86775f
* Thu Aug 02 2012 Petr Pisar <ppisar@redhat.com> - 4.11.1-5
86775f
- Fix building with glibc-2.16.6
86775f
86775f
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11.1-4
86775f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
86775f
86775f
* Tue May 15 2012 Petr Pisar <ppisar@redhat.com> - 4.11.1-3
86775f
- Export bundled(gnulib) (bug #821789)
86775f
86775f
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11.1-2
86775f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
86775f
86775f
* Fri May 06 2011 Petr Pisar <ppisar@redhat.com> - 4.11.1-1
86775f
- 4.11.1 bump
86775f
86775f
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.11-2
86775f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
86775f
86775f
* Mon Feb 07 2011 Petr Pisar <ppisar@redhat.com> - 4.11-1
86775f
- 4.11 bump
86775f
- Do not install header files injected by gnulib-tool
86775f
- Remove BuildRoot stuff
86775f
86775f
* Mon Aug 30 2010 Petr Pisar <ppisar@redhat.com> - 4.10-1
86775f
- 4.10 bump (bug #628304)
86775f
86775f
* Thu Jun  3 2010 Petr Pisar <ppisar@redhat.com> - 4.9-1
86775f
- version bump to 4.9 (bug #569059, bug #583187)
86775f
86775f
* Mon Feb  1 2010 Stepan Kasal <skasal@redhat.com> - 4.7-6
86775f
- fix the License tag
86775f
86775f
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-5
86775f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
86775f
86775f
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-4
86775f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
86775f
86775f
* Thu Sep 04 2008 Jason L Tibbitts III <tibbs@math.uh.edu> - 4.7-3
86775f
- Requires(pre) should be Requires(post).
86775f
86775f
* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.7-2
86775f
- forgot the new source
86775f
86775f
* Thu Sep  4 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 4.7-1
86775f
- update to 4.7
86775f
- fix license tag
86775f
- package cleanups
86775f
86775f
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 4.6.3-2
86775f
- Autorebuild for GCC 4.3
86775f
86775f
* Tue Apr 10 2007 Than Ngo <than@redhat.com> - 4.6.3-1
86775f
- 4.6.3
86775f
86775f
* Fri Jul 14 2006 Jesse Keating <jkeating@redhat.com> - 4.6.1-2
86775f
- rebuild
86775f
86775f
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 4.6.1-1.2
86775f
- bump again for double-long bug on ppc(64)
86775f
86775f
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 4.6.1-1.1
86775f
- rebuilt for new gcc4.1 snapshot and glibc changes
86775f
86775f
* Mon Feb 06 2006 Florian La Roche <laroche@redhat.com>
86775f
- 4.6.1
86775f
86775f
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
86775f
- rebuilt
86775f
86775f
* Thu Nov 03 2005 Than Ngo <than@redhat.com> 4.6-2
86775f
- fix wrong permission #171889
86775f
86775f
* Wed Oct 26 2005 Than Ngo <than@redhat.com> 4.6-1
86775f
- update to 4.6
86775f
86775f
* Mon Apr 11 2005 Than Ngo <than@redhat.com> 4.2.1-27
86775f
- apply debian patch to fix insecure temporary file creation
86775f
  in unshar #154049, CAN-2005-0990
86775f
86775f
* Thu Mar 31 2005 Than Ngo <than@redhat.com> 4.2.1-26
86775f
- apply patch to fix multiple buffer overflows #152571
86775f
86775f
* Mon Mar 07 2005 Than Ngo <than@redhat.com> 4.2.1-25
86775f
- cleanup
86775f
86775f
* Sat Mar 05 2005 Than Ngo <than@redhat.com> 4.2.1-24
86775f
- rebuilt
86775f
86775f
* Wed Feb 09 2005 Than Ngo <than@redhat.com> 4.2.1-23
86775f
- rebuilt
86775f
86775f
* Fri Oct 01 2004 Than Ngo <than@redhat.com> 4.2.1-22
86775f
- fix buffer overflow in shar, (from Ulf Harnhammer)
86775f
86775f
* Thu Jun 24 2004 Than Ngo <than@redhat.com> 4.2.1-21
86775f
- add builrequires on gettext, bug #126599
86775f
86775f
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
86775f
- rebuilt
86775f
86775f
* Fri May 21 2004 Than Ngo <than@redhat.com> 4.2.1-19
86775f
- add suse patch, which fixes buffer overflow in handling of -o option, #123230
86775f
86775f
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
86775f
- rebuilt
86775f
86775f
* Mon Jun 16 2003 Than Ngo <than@redhat.com> 4.2.1-17
86775f
- rebuilt
86775f
86775f
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
86775f
- rebuilt
86775f
86775f
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
86775f
- rebuilt
86775f
86775f
* Wed Dec 11 2002 Tim Powers <timp@redhat.com> 4.2.1-13
86775f
- rebuild on all arches
86775f
86775f
* Mon Jun 24 2002 Than Ngo <than@redhat.com> 4.2.1-12
86775f
- fixed #66892
86775f
86775f
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
86775f
- automated rebuild
86775f
86775f
* Thu May 23 2002 Tim Powers <timp@redhat.com>
86775f
- automated rebuild
86775f
86775f
* Sun Apr 14 2002 Than Ngo <than@redhat.com> 4.2.1-9
86775f
- added fix for Unsecure outputfile handling in uudecode (#63303)
86775f
- Copyright -> License
86775f
86775f
* Fri May 11 2001 Than Ngo <than@redhat.com>
86775f
- use find_lang macro
86775f
- use mktemp
86775f
86775f
* Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
86775f
- automatic rebuild
86775f
86775f
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
86775f
- fix typo (Bug# 12447)
86775f
86775f
* Sun Jun 18 2000 Than Ngo <than@redhat.de>
86775f
- rebuilt in the new build environment
86775f
86775f
* Thu Jun 08 2000 Than Ngo <than@redhat.de>
86775f
- add %%defattr(-,root,root) (Bug# 11990)
86775f
- use rpm macros
86775f
86775f
* Sun May 21 2000 Ngo Than <than@redhat.de>
86775f
- rebuild to put man pages and info files in right place
86775f
86775f
* Mon Feb 07 2000 Preston Brown <pbrown@redhat.com>
86775f
- rebuild to gzip man pages
86775f
86775f
* Tue Dec 21 1999 Preston Brown <pbrown@redhat.com>
86775f
- sharutils 4.2.1 for Y2K (2 digit date) fix.
86775f
- ja message catalog move (#7878)
86775f
86775f
* Tue Sep  7 1999 Jeff Johnson <jbj@redhat.com>
86775f
- handle spaces in uuencoded file names (David Fox <dsfox@cogsci.ucsd.edu>).
86775f
86775f
* Wed Jul 28 1999 Cristian Gafton <gafton@redhat.com>
86775f
- use the /usr/share/locale for the localedir instead of /usr/lib/locale
86775f
  (#2998)
86775f
86775f
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> 
86775f
- auto rebuild in the new build environment (release 12)
86775f
86775f
* Wed Dec 30 1998 Cristian Gafton <gafton@redhat.com>
86775f
- build for glibc 2.1
86775f
86775f
* Fri Apr 24 1998 Prospector System <bugs@redhat.com>
86775f
- translations modified for de, fr, tr
86775f
86775f
* Sat Apr 11 1998 Cristian Gafton <gafton@redhat.com>
86775f
- manhattan rebuild
86775f
86775f
* Fri Oct 17 1997 Donnie Barnes <djb@redhat.com>
86775f
- ALRIGHT!  Woo-hoo!  Erik already did the install-info stuff!
86775f
- added BuildRoot
86775f
- spec file cleanups
86775f
86775f
* Sun Sep 14 1997 Erik Troan <ewt@redhat.com>
86775f
- uses install-info
86775f
86775f
* Fri Jul 18 1997 Erik Troan <ewt@redhat.com>
86775f
- built against glibc
86775f