diff --git a/.cvsignore b/.cvsignore index e69de29..79f4b99 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +sharutils-4.2.1.tar.gz diff --git a/sharutils.spec b/sharutils.spec new file mode 100644 index 0000000..4c8c3e7 --- /dev/null +++ b/sharutils.spec @@ -0,0 +1,124 @@ +Summary: The GNU shar utilities for packaging and unpackaging shell archives. +Name: sharutils +Version: 4.2.1 +Release: 7 +Copyright: GPL +Group: Applications/Archiving +Source: ftp://prep.ai.mit.edu/pub/gnu/sharutils/sharutils-%{version}.tar.gz +Patch1: sharutils-4.2-gmo.patch +Patch2: sharutils-4.2-man.patch +Patch3: sharutils-4.2-po.patch +Patch4: sharutils-4.2-share.patch +Patch5: sharutils-4.2-uudecode.patch +Prereq: /sbin/install-info +Buildroot: %{_tmppath}/%{name}-root + +%description +The sharutils package contains the GNU shar utilities, a set of tools +for encoding and decoding packages of files (in binary or text format) +in a special plain text format called shell archives (shar). This +format can be sent through e-mail (which can be problematic for regular +binary files). The shar utility supports a wide range of capabilities +(compressing, uuencoding, splitting long files for multi-part +mailings, providing checksums), which make it very flexible at +creating shar files. After the files have been sent, the unshar tool +scans mail messages looking for shar files. Unshar automatically +strips off mail headers and introductory text and then unpacks the +shar files. + +Install sharutils if you send binary files through e-mail. + +%prep +%setup -q +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 + +%build +%configure +make + +%install +rm -rf ${RPM_BUILD_ROOT} + +%makeinstall install-man +gzip -9nf ${RPM_BUILD_ROOT}%{_infodir}/{sharutils*,remsync*} + +# fix jp location +mv ${RPM_BUILD_ROOT}%{_datadir}/locale/ja_JP.EUC \ + ${RPM_BUILD_ROOT}%{_datadir}/locale/ja + +%post +/sbin/install-info %{_infodir}/sharutils.info.gz %{_infodir}/dir + +%preun +if [ $1 = 0 ]; then + /sbin/install-info --delete %{_infodir}/sharutils.info.gz %{_infodir}/dir +fi + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%{_bindir}/* +%{_infodir}/*info* +%{_mandir}/*/* +%{_datadir}/locale/*/*/* + +%changelog +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Sun Jun 18 2000 Than Ngo +- fix typo (Bug# 12447) + +* Sun Jun 18 2000 Than Ngo +- rebuilt in the new build environment + +* Thu Jun 08 2000 Than Ngo +- add %defattr(-,root,root) (Bug# 11990) +- use rpm macros + +* Sun May 21 2000 Ngo Than +- rebuild to put man pages and info files in right place + +* Mon Feb 07 2000 Preston Brown +- rebuild to gzip man pages + +* Tue Dec 21 1999 Preston Brown +- sharutils 4.2.1 for Y2K (2 digit date) fix. +- ja message catalog move (#7878) + +* Tue Sep 7 1999 Jeff Johnson +- handle spaces in uuencoded file names (David Fox ). + +* Wed Jul 28 1999 Cristian Gafton +- use the /usr/share/locale for the localedir instead of /usr/lib/locale + (#2998) + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 12) + +* Wed Dec 30 1998 Cristian Gafton +- build for glibc 2.1 + +* Fri Apr 24 1998 Prospector System +- translations modified for de, fr, tr + +* Sat Apr 11 1998 Cristian Gafton +- manhattan rebuild + +* Fri Oct 17 1997 Donnie Barnes +- ALRIGHT! Woo-hoo! Erik already did the install-info stuff! +- added BuildRoot +- spec file cleanups + +* Sun Sep 14 1997 Erik Troan +- uses install-info + +* Fri Jul 18 1997 Erik Troan +- built against glibc + diff --git a/sources b/sources index e69de29..11bb86c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b8ba1d409f07edcb335ff72a27bd9828 sharutils-4.2.1.tar.gz