Sophie

Sophie

distrib > Mandriva > current > i586 > media > contrib-release-src > by-pkgid > a07fba83539681fdffc4e39a5441523c > files > 2

pbzip2-1.0.5-2mdv2010.0.src.rpm

Summary:	Parallel implementation of bzip2
Name:		pbzip2
Version:	1.0.5
Release:	%mkrel 2
URL:		http://www.compression.ca/pbzip2/
License:	BSD
Group:		Archiving/Compression
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root
BuildRequires:	tar, gzip, make, gcc-c++, bzip2-devel
Source0:	http://www.compression.ca/pbzip2/%{name}-%{version}.tar.gz

%description
PBZIP2 is a parallel implementation of the bzip2 block-sorting file
compressor that uses pthreads and achieves near-linear speedup on SMP
machines.

%prep
%setup -q

%build
g++ %optflags -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -o pbzip2 pbzip2.cpp -pthread -lpthread -lbz2

%install
install -D -m755 %{name} %{buildroot}%{_bindir}/%{name}

%clean
[ "%{buildroot}" != "/" ] && [ -d %{buildroot} ] && rm -rf %{buildroot}

%files
%defattr(-, root, root)
%doc README ChangeLog AUTHORS
%attr(0755,root,root) %{_bindir}/%{name}



%changelog
* Mon Sep 14 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.0.5-2mdv2010.0
+ Revision: 440499
- rebuild

* Mon Feb 23 2009 Olivier Thauvin <nanardon@mandriva.org> 1.0.5-1mdv2009.1
+ Revision: 344131
- 1.0.5

* Thu Dec 25 2008 Olivier Thauvin <nanardon@mandriva.org> 1.0.4-1mdv2009.1
+ Revision: 318579
- 1.0.4

* Fri Oct 31 2008 Olivier Thauvin <nanardon@mandriva.org> 1.0.3-1mdv2009.1
+ Revision: 299089
- 1.0.3

* Wed Jul 23 2008 Thierry Vignaud <tvignaud@mandriva.com> 1.0.2-3mdv2009.0
+ Revision: 241137
- rebuild
- kill re-definition of %%buildroot on Pixel's request

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Thu Jul 26 2007 Olivier Thauvin <nanardon@mandriva.org> 1.0.2-1mdv2008.0
+ Revision: 55797
- 1.0.2

* Mon Apr 30 2007 Olivier Thauvin <nanardon@mandriva.org> 1.0.1-1mdv2008.0
+ Revision: 19664
- 1.0.1


* Wed Aug 09 2006 Olivier Thauvin <nanardon@mandriva.org>
+ 08/09/06 17:41:05 (54942)
- rebuild

* Wed Aug 09 2006 Olivier Thauvin <nanardon@mandriva.org>
+ 08/09/06 17:36:11 (54938)
Import pbzip2

* Sun Feb 12 2006 Olivier Thauvin <nanardon@mandriva.org> 0.9.6-1mdk
- 0.9.6

* Sat Dec 31 2005 Olivier Thauvin <nanardon@mandriva.org> 0.9.5-1mdk
- 0.9.5

* Fri Apr 29 2005 Olivier Thauvin <nanardon@mandriva.org> 0.9.2-1mdk
- mdk adaptation

* Sat Mar 12 2005 Jeff Gilchrist <pbzip2@compression.ca>
- Created workaround for a major pthreads problem (on Linux at least) that would cause segfaults and missed signals in the pthreads, Increased size of BZIP2 header match from 56 bits to 72 bits for more accurate detection, Modified some buffers to use the vector class for easier memory management and to eliminate one read pass of the input data for decompression so should be slightly faster, Now checks if input file exists before checking if output file already exists (when not using -f), Now checks to ensure input is regular file and not a directory before processing, Now deletes input file only if output file exists and is greater than 0 bytes (-k will always preserve input file), Now checks input file for bzip2 header before trying to decompress file, Minor code cleanup

* Sat Jan 29 2005 Jeff Gilchrist <pbzip2@compression.ca>
- Fixed bug: -c switch now implies -k so input file is not deleted when data is output to stdout

* Mon Jan 24 2005 Jeff Gilchrist <pbzip2@compression.ca>
- Added -c switch for data output to stdout, Added -t switch to test integrity of compressed data, Added autodetection for # of CPUs on supported platforms and made detected value default # CPUs to use, Fixed bug where pbzip2 processed 0 byte files, Tried to make program exit codes the same as bzip2

* Sun Jan 09 2005 Jeff Gilchrist <pbzip2@compression.ca>
- Added support to maintain file metadata, added signal handling to cleanup partial files, added support to process multiple files

* Tue Nov 30 2004 Jeff Gilchrist <pbzip2@compression.ca>
- Added support for large (2GB+) files, added version info, made command line input more like bzip2, now checks if file is already .bz2 first

* Sat Nov 27 2004 Jeff Gilchrist <pbzip2@compression.ca>
- Fix pthread bug, now works on OSF1, code cleanup

* Thu Oct 28 2004 Bryan Stillwell <bryan@bokeoa.com>
- Initial packaging