SPECS: pbzip2.spec (NEW) - initial - don't know if fixing OPTFLAGS...

vip vip at pld-linux.org
Sat Jul 28 18:01:35 CEST 2007


Author: vip                          Date: Sat Jul 28 16:01:35 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial
- don't know if fixing OPTFLAGS is correct, if yes, please make rel 1.0

---- Files affected:
SPECS:
   pbzip2.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/pbzip2.spec
diff -u /dev/null SPECS/pbzip2.spec:1.1
--- /dev/null	Sat Jul 28 18:01:35 2007
+++ SPECS/pbzip2.spec	Sat Jul 28 18:01:30 2007
@@ -0,0 +1,68 @@
+# $Revision$, $Date$
+Summary:	Parallel implementation of bzip2
+Summary(pl.UTF-8):	Zrównoleglona implementacja bzip2
+Name:		pbzip2
+Version:	1.0.2
+Release:	0.9
+License:	BSD
+Group:		Applications/Archiving
+URL:		http://www.compression.ca/pbzip2/
+BuildRequires:	bzip2-devel
+BuildRequires:	sed >= 4.0
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+Source0:	http://www.compression.ca/pbzip2/%{name}-%{version}.tar.gz
+# Source0-md5:	2f58b4e844c74d0c98b98326c6a3945f
+Patch0:		%{name}-optflags.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).
+
+%description -l pl.UTF-8
+PBZIP2 to zrównoleglona implementacja algorytmu kompresji plików
+metodą sortowania bloków sobzip2, wykorzystująca mechanizm wątków
+pthread i osiągająca prawie liniowe przyspieszenie na maszynach
+wieloprocesorowych. Wyjście z tego programu jest w pełni
+kompatybilne z formatem bzip2 w wersji 1.0.2 lub nowszej (tzn.
+wszystko skompresowane programem pbzip2 może być rozpakowane przy
+pomocy bzip2).
+
+%prep
+%setup -q
+%patch0 -p0
+
+%build
+%{__make} \
+	CC=%{__cxx} \
+	OPTFLAGS="%{rpmcxxflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -D %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}
+install -D %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1/%{name}.1
+ln -sf %{name} $RPM_BUILD_ROOT%{_bindir}/pbunzip2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog COPYING README
+%attr(755,root,root) %{_bindir}/%{name}
+%attr(755,root,root) %{_bindir}/pbunzip2
+%{_mandir}/man1/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/07/28 16:01:30  vip
+- initial
+- don't know if fixing OPTFLAGS is correct, if yes, please make rel 1.0
+
================================================================


More information about the pld-cvs-commit mailing list