Imported Fedora release 1.1.6-4 Fedora/1.1.6-4
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 15 Sep 2014 11:50:27 +0000 (14:50 +0300)
committerMarkus Lehtonen <markus.lehtonen@linux.intel.com>
Mon, 15 Sep 2014 11:50:27 +0000 (14:50 +0300)
pbzip2-1.1.6-buildflags.patch [new file with mode: 0644]
pbzip2.spec [new file with mode: 0644]

diff --git a/pbzip2-1.1.6-buildflags.patch b/pbzip2-1.1.6-buildflags.patch
new file mode 100644 (file)
index 0000000..2fb2f42
--- /dev/null
@@ -0,0 +1,21 @@
+diff -up pbzip2-1.1.6/Makefile~ pbzip2-1.1.6/Makefile
+--- pbzip2-1.1.6/Makefile~     2011-10-30 21:22:47.000000000 +0200
++++ pbzip2-1.1.6/Makefile      2012-06-01 23:42:11.653480198 +0300
+@@ -3,7 +3,7 @@ SHELL = /bin/sh
+ # Compiler to use
+ CC = g++
+-CFLAGS = -O2
++CFLAGS ?= -O2
+ #CFLAGS += -g -Wall
+ #CFLAGS += -ansi
+ #CFLAGS += -pedantic
+@@ -37,7 +37,7 @@ CFLAGS += -DUSE_STACKSIZE_CUSTOMIZATION
+ CFLAGS += -pthread
+ # External libraries
+-LDFLAGS = -lbz2
++LDFLAGS += -lbz2
+ LDFLAGS += -lpthread
+ # Where you want pbzip2 installed when you do 'make install'
diff --git a/pbzip2.spec b/pbzip2.spec
new file mode 100644 (file)
index 0000000..b1868f1
--- /dev/null
@@ -0,0 +1,152 @@
+Name:          pbzip2
+Version:       1.1.6
+Release:       4%{?dist}
+Summary:       Parallel implementation of bzip2
+URL:           http://www.compression.ca/pbzip2/
+License:       BSD
+Group:         Applications/File
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+%if %{?suse_version:1}0
+BuildRequires: bzip2
+%else
+BuildRequires: bzip2-devel
+%endif
+Source0:       http://www.compression.ca/pbzip2/%{name}-%{version}.tar.gz
+Patch0:                %{name}-1.1.6-buildflags.patch
+
+%description
+PBZIP2 is a parallel implementation of the bzip2 block-sorting file
+compressor that uses pthreads and achieves near-linear speedup on SMP
+machines.  The output of this version is fully compatible with bzip2
+v1.0.2 or newer (ie: anything compressed with pbzip2 can be 
+decompressed with bzip2).
+
+
+%prep
+%setup -q
+%patch0 -p1
+f=AUTHORS; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 && mv $f.utf8 $f
+
+
+%build
+CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" make %{?_smp_mflags}
+
+
+%install
+rm -rf %{buildroot}
+install -D -m755 %{name} %{buildroot}%{_bindir}/%{name}
+install -D -m644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
+ln -sf ./%{name} %{buildroot}%{_bindir}/pbunzip2
+ln -sf ./%{name} %{buildroot}%{_bindir}/pbzcat
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root)
+%doc AUTHORS ChangeLog COPYING README
+%{_bindir}/%{name}
+%{_bindir}/pbunzip2
+%{_bindir}/pbzcat
+%{_mandir}/man1/*
+
+
+%changelog
+* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
+
+* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
+
+* Fri Jul 20 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
+
+* Fri Jun  1 2012 Ville Skyttä <ville.skytta@iki.fi> - 1.1.6-1
+- Update to 1.1.6.
+- Build with %%{?__global_ldflags} and %%{?_smp_mflags}.
+- Fix some rpmlint warnings.
+
+* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-3
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
+
+* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
+
+* Sat Apr 17 2010 Jeff Gilchrist <pbzip2@compression.ca> - 1.1.1-1
+- Release 1.1.1
+
+* Sat Mar 13 2010 Jeff Gilchrist <pbzip2@compression.ca> - 1.1.0-1
+- Release 1.1.0
+
+* Fri Jan 8 2009 Jeff Gilchrist <pbzip2@compression.ca> - 1.0.5-1
+- Release 1.0.5
+
+* Fri Dec 21 2008 Jeff Gilchrist <pbzip2@compression.ca> - 1.0.4-1
+- Release 1.0.4
+
+* Tue Oct 31 2008 Jeff Gilchrist <pbzip2@compression.ca> - 1.0.3-1
+- Release 1.0.3
+- Added support for SUSE RPM build
+- Added symlink for pbzcat
+
+* Thu Jul 26 2007 Jeff Gilchrist <pbzip2@compression.ca> - 1.0.2-2
+- Fixed symbolic link for pbunzip2 file
+
+* Tue Jul 25 2007 Jeff Gilchrist <pbzip2@compression.ca> - 1.0.2-1
+- Release 1.0.2
+
+* Tue Mar 20 2007 Jeff Gilchrist <pbzip2@compression.ca> - 1.0.1-1
+- Release 1.0.1
+
+* Wed Mar 14 2007 Jeff Gilchrist <pbzip2@compression.ca> - 1.0-1
+- Release 1.0
+
+* Tue Sep 12 2006 Jeff Gilchrist <pbzip2@compression.ca> - 0.9.6-4
+- Rebuild for Fedora Extras 6
+
+* Tue May 23 2006 Jeff Gilchrist <pbzip2@compression.ca> - 0.9.6-3
+- Added support for $RPM_OPT_FLAGS thanks to Ville Skytta
+
+* Tue Feb 28 2006 Jeff Gilchrist <pbzip2@compression.ca> - 0.9.6-2
+- Rebuild for Fedora Extras 5
+
+* Sun Feb 5 2006 Jeff Gilchrist <pbzip2@compression.ca> - 0.9.6-1
+- Release 0.9.6
+
+* Sat Dec 31 2005 Jeff Gilchrist <pbzip2@compression.ca> - 0.9.5-1
+- Release 0.9.5
+
+* Tue Aug 30 2005 Jeff Gilchrist <pbzip2@compression.ca> - 0.9.4-1
+- Updated RPM spec with suggestions from Oliver Falk
+
+* Fri Jul 29 2005 Bryan Stillwell <bryan@bokeoa.com> - 0.9.3-1
+- Release 0.9.3
+- Removed non-packaging changelog info
+- Added dist macro to release field
+- Clean buildroot at the beginning of the install section
+- Modified buildroot tag to match with Fedora PackagingGuidelines
+- Shortened Requires and BuildRequires list
+- Changed description to match with the Debian package
+
+* Sat Mar 12 2005 Jeff Gilchrist <pbzip2@compression.ca> - 0.9.2-1
+- Release 0.9.2
+
+* Sat Jan 29 2005 Jeff Gilchrist <pbzip2@compression.ca> - 0.9.1-1
+- Release 0.9.1
+
+* Sun Jan 24 2005 Jeff Gilchrist <pbzip2@compression.ca> - 0.9-1
+- Release 0.9
+
+* Sun Jan 9 2005 Jeff Gilchrist <pbzip2@compression.ca> - 0.8.3-1
+- Release 0.8.3
+
+* Mon Nov 30 2004 Jeff Gilchrist <pbzip2@compression.ca> - 0.8.2-1
+- Release 0.8.2
+
+* Sat Nov 27 2004 Jeff Gilchrist <pbzip2@compression.ca> - 0.8.1-1
+- Release 0.8.1
+
+* Thu Oct 28 2004 Bryan Stillwell <bryan@bokeoa.com> - 0.8-1
+- Initial packaging