diff --git a/.cvsignore b/.cvsignore index e69de29..68d5a91 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1,2 @@ +bzip2-1.0.1-autoconflibtoolize.patch.gz +bzip2-1.0.1.tar.gz diff --git a/bzip2.spec b/bzip2.spec new file mode 100644 index 0000000..35f02d8 --- /dev/null +++ b/bzip2.spec @@ -0,0 +1,160 @@ +Summary: A file compression utility. +Name: bzip2 +Version: 1.0.1 +Release: 3 +Copyright: BSD +Group: Applications/File +URL: http://sources.redhat.com/bzip2/ +Source: ftp://sources.redhat.com/pub/bzip2/v100/bzip2-%{version}.tar.gz +Patch0: bzip2-1.0.1-autoconflibtoolize.patch.gz +Source1: bzgrep +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Bzip2 is a freely available, patent-free, high quality data compressor. +Bzip2 compresses files to within 10 to 15 percent of the capabilities +of the best techniques available. However, bzip2 has the added benefit +of being approximately two times faster at compression and six times +faster at decompression than those techniques. Bzip2 is not the +fastest compression utility, but it does strike a balance between speed +and compression capability. + +Install bzip2 if you need a compression utility. + +%package devel +Summary: Header files and libraries for developing apps which will use bzip2. +Group: Development/Libraries +Requires: bzip2 = %{version} + +%description devel + +Header files and a static library of bzip2 functions, for developing apps +which will use the library. + +%prep +%setup -q + +%patch -p1 +cp m4/largefile.m4 . +chmod a+x configure +touch ChangeLog + +%build + +%configure --enable-shared --enable-static + +# XXX avoid rerunning automake et al. +touch aclocal.m4 + +touch configure +chmod +x install-sh + +make + +%install +rm -rf ${RPM_BUILD_ROOT} + +%makeinstall + +cp %SOURCE1 ${RPM_BUILD_ROOT}%{_bindir} +chmod 0755 ${RPM_BUILD_ROOT}%{_bindir}/bzgrep + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%clean +rm -rf ${RPM_BUILD_ROOT} + +%files +%defattr(-,root,root) +%doc AUTHORS COPYING README README.COMPILATION.PROBLEMS Y2K_INFO NEWS ChangeLog +%{_bindir}/* +%{_mandir}/*/* +%{_libdir}/*so.* + +%files devel +%defattr(-,root,root) +%{_includedir}/* +%{_libdir}/*.a +%{_libdir}/*so + +%changelog +* Fri Jul 21 2000 Trond Eivind Glomsrød +- new URL and source location + +* Wed Jul 12 2000 Prospector +- automatic rebuild + +* Sat Jul 01 2000 Trond Eivind Glomsrød +- 1.0.1 +- ported my patch + +* Tue Jun 13 2000 Jeff Johnson +- FHS packaging to build on solaris2.5.1. +- remove config.cache from autoconf patch. +- sparc: use %%configure, but not the m4 macros. + +* Tue Jun 06 2000 Trond Eivind Glomsrød +- Use %%configure, %%makeinstall, %%{_manpath} and %%{_tmpdir} + +* Wed May 17 2000 Trond Eivind Glomsrød +- 1.0.0 - ported my 1.0pre8 libtoolizedautoconf patch + +* Tue May 16 2000 Trond Eivind Glomsrød +- use soft links, not hardlinks, for binaries +- mv .so to devel + +* Mon May 15 2000 Trond Eivind Glomsrød +- autoconfed and libtoolized package +- fixed Copyright (it's BSD, not GPL) +- dumped bzless (less works fine with bz2-files) +- rewrote build and install parts +- separated main package and devel package + +* Mon May 8 2000 Bernhard Rosenkränzer +- 1.0pre8 + +* Fri Apr 14 2000 Bernhard Rosenkränzer +- Add bzgrep (a version of zgrep hacked to do bzip2) + +* Mon Feb 7 2000 Bill Nottingham +- handle compressed manpages + +* Fri Dec 31 1999 Bernhard Rosenkränzer +- 0.9.5d +- Update download URL, add URL: tag in header + +* Tue Aug 10 1999 Jeff Johnson +- upgrade to 0.9.5c. + +* Mon Aug 9 1999 Bill Nottingham +- install actual bzip2 binary, not libtool cruft. + +* Sun Aug 8 1999 Jeff Johnson +- run ldconfig to get shared library. + +* Mon Aug 2 1999 Jeff Johnson +- create shared libbz1.so.* library. + +* Sun Apr 4 1999 Jeff Johnson +- update to bzip2-0.9.0c. + +* Sun Mar 21 1999 Cristian Gafton +- auto rebuild in the new build environment (release 4) + +* Thu Dec 17 1998 Cristian Gafton +- build against glibc 2.1 + +* Wed Sep 30 1998 Cristian Gafton +- force compilation with egcs to avoid gcc optimization bug (thank God + we haven't been beaten by it) + +* Wed Sep 09 1998 Cristian Gafton +- version 0.9.0b + +* Tue Sep 08 1998 Cristian Gafton +- updated to 0.9.0 + +* Thu Apr 09 1998 Cristian Gafton +- first build for Manhattan diff --git a/sources b/sources index e69de29..8728070 100644 --- a/sources +++ b/sources @@ -0,0 +1,2 @@ +26429428a29a6615c20aca8b7902bd04 bzip2-1.0.1-autoconflibtoolize.patch.gz +770135dc94369cb3eb6013ed505c8dc5 bzip2-1.0.1.tar.gz