]> git.pld-linux.org Git - SPECS.git/blob - pbzip2.spec
SPECS updated Sun 1 Aug 20:13:02 CEST 2021
[SPECS.git] / pbzip2.spec
1 # TODO
2 # - check minimum gcc ver:
3 #   on ac gcc 3.3.6: - BZ2StreamScanner.cpp:(.text+0x219): undefined reference to `std::char_traits<unsigned char>::length(unsigned char const*)'
4 Summary:        Parallel implementation of bzip2
5 Summary(pl.UTF-8):      Zrównoleglona implementacja bzip2
6 Name:           pbzip2
7 Version:        1.1.13
8 Release:        1
9 License:        BSD
10 Group:          Applications/Archiving
11 Source0:        https://launchpad.net/pbzip2/1.1/%{version}/+download/%{name}-%{version}.tar.gz
12 # Source0-md5:  4cb87da2dba05540afce162f34b3a9a6
13 URL:            http://www.compression.ca/pbzip2/
14 BuildRequires:  bzip2-devel
15 BuildRequires:  libstdc++-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 PBZIP2 is a parallel implementation of the bzip2 block-sorting file
20 compressor that uses pthreads and achieves near-linear speedup on SMP
21 machines. The output of this version is fully compatible with bzip2
22 v1.0.2 or newer (ie: anything compressed with pbzip2 can be
23 decompressed with bzip2).
24
25 %description -l pl.UTF-8
26 PBZIP2 to zrównoleglona implementacja algorytmu kompresji plików
27 metodą sortowania bloków sobzip2, wykorzystująca mechanizm wątków
28 pthread i osiągająca prawie liniowe przyspieszenie na maszynach
29 wieloprocesorowych. Wyjście z tego programu jest w pełni kompatybilne
30 z formatem bzip2 w wersji 1.0.2 lub nowszej (tzn. wszystko
31 skompresowane programem pbzip2 może być rozpakowane przy pomocy
32 bzip2).
33
34 %prep
35 %setup -q
36
37 %build
38 %{__make} \
39         CXX="%{__cxx}" \
40         OPTFLAGS="%{rpmcxxflags}"
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
45 install -p %{name} $RPM_BUILD_ROOT%{_bindir}
46 ln -sf %{name} $RPM_BUILD_ROOT%{_bindir}/pbunzip2
47 cp -a %{name}.1 $RPM_BUILD_ROOT%{_mandir}/man1
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc AUTHORS ChangeLog COPYING README
55 %attr(755,root,root) %{_bindir}/pbzip2
56 %attr(755,root,root) %{_bindir}/pbunzip2
57 %{_mandir}/man1/pbzip2.1*
This page took 0.102001 seconds and 3 git commands to generate.